LAPTOP-FO2T5SIU\35838 10 місяців тому
батько
коміт
e36933b446
2 змінених файлів з 15 додано та 1 видалено
  1. 10 0
      js_sdk/http.js
  2. 5 1
      pages/index/index.vue

+ 10 - 0
js_sdk/http.js

@@ -317,6 +317,7 @@ export function readListAll(e) {
         e, {})
 }
 
+// 获取待阅数量
 export function getReadSizeByTypes(e) {
     return $http.post(
         '/wx/workPaneController/getReadSizeByTypes',
@@ -329,6 +330,15 @@ export function userRead(e) {
         '/wx/workPaneController/userRead',
         e, {})
 }
+
+// 获取待办数量
+export function getHandleSizeTypes(e) {
+    return $http.post(
+        '/wx/workPaneController/getHandleSizeTypes',
+        e, {})
+}
+
+
 // handleList?
 export function findCompanyTags(e) {
     return $http.post(

+ 5 - 1
pages/index/index.vue

@@ -16,7 +16,7 @@
             <span style="color: #666666; font-size: 3.5vw"
               >需处理待办<span
                 style="color: #0365f9; font-weight: 600; margin-left: 0.5vw"
-                >3</span
+                >{{ handleSize }}</span
               ></span
             >
           </div>
@@ -78,6 +78,7 @@ export default {
   data() {
     return {
       readSize: 0,
+      handleSize: 0,
       userType: false,
       mapList: [
         // {
@@ -233,6 +234,9 @@ export default {
       getReadSizeByTypes(data).then(res=>{
         this.readSize = res
       })
+    },
+    getHandleSize(){
+
     },
     toMsgPage(e) {
       uni.navigateTo({