LAPTOP-FO2T5SIU\35838 hace 9 meses
padre
commit
c1388b9d41
Se han modificado 3 ficheros con 29 adiciones y 3 borrados
  1. 6 0
      js_sdk/http.js
  2. 4 3
      pages/subPackages/todo/index.vue
  3. 19 0
      pages/subPackages/todo/inventoryReview.vue

+ 6 - 0
js_sdk/http.js

@@ -411,6 +411,12 @@ export function companyExamineAdd(e) {
     return $http.post(
         "/wx/company/add", e, {})
 }
+
+export function companyExamineGetById(e) {
+    return $http.post(
+        "/wx/company/getById", e, {})
+}
+
 export function listByModel(e) {
     return $http.post(
         '/wx/SaleController/findSaleManagementListByRoomId',

+ 4 - 3
pages/subPackages/todo/index.vue

@@ -47,15 +47,16 @@ export default {
         })
       }else if(item.handleTypeStr.includes('报事报修')){
         uni.navigateTo({
-          url:'/pages/subPackages/todo/repairAcceptance'
+          url:'/pages/subPackages/todo/dispatch?item=' + JSON.stringify({id:item.routeParam.replace('id=','')})
         })
       }else if(item.handleTypeStr.includes('资源预约审核')){
         uni.navigateTo({
           url:'/pages/subPackages/todo/resourceReview?appointId=' + item.routeParam.replace('id=','')
         })
-      }else if(item.handleTypeStr.includes('企业入库审核')){
+      }else if(item.handleTypeStr.includes('企业审核')){
+        // id=5457A19F-9D2B-4027-BA2B-5BA3C665F871&proveType=1
         uni.navigateTo({
-          url:'/pages/subPackages/todo/inventoryReview'
+          url:'/pages/subPackages/todo/inventoryReview?' + item.routeParam
         })
       }
     }

+ 19 - 0
pages/subPackages/todo/inventoryReview.vue

@@ -365,8 +365,15 @@
 </template>
 
 <script>
+import { getUserLocalStorageInfo,getByCodes,companyExamineGetById } from "@/js_sdk/http";
+
 export default {
   name: "inventoryReview",
+  onLoad(options){
+    console.log('options:',options)
+    this.id = options.id
+    this.proveType = options.proveType
+  },
   data(){
     return{
       postData:{
@@ -376,12 +383,24 @@ export default {
         currency: '人民币',
         registrationTime: '2022-06-02',
         fileList:[],
+      },
+      form:{
+
       },
       radio: '在园',
       radio2: '通过',
+      id: '',
+      proveType: ''
     }
   },
   methods:{
+    getById(){
+      companyExamineGetById.then(res=>{
+        if(res){
+
+        }
+      })
+    },
     onChange(event) {
       this.setData({
         radio: event.detail,