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

+ 5 - 1
pages/index/index.vue

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