yrik пре 4 година
родитељ
комит
26d7e14b8f
2 измењених фајлова са 27 додато и 4 уклоњено
  1. 7 1
      ruoyi-ui/src/api/system/config.js
  2. 20 3
      ruoyi-ui/src/views/management/nstruction/index.vue

+ 7 - 1
ruoyi-ui/src/api/system/config.js

@@ -98,7 +98,13 @@ export function listConfigintegration(data) {
     // data: data
   })
 }
-
+export function listConfigintegrationsr(data) {
+  return request({
+    url: '/bmProject/project/' + data,
+    method: 'get'
+    // data: data
+  })
+}
 // 查询参数详细
 export function getConfig(configId) {
   return request({

+ 20 - 3
ruoyi-ui/src/views/management/nstruction/index.vue

@@ -67,14 +67,14 @@
               <span>*</span>
               <span>合同约定开工时间:</span>
             </p>
-            <p>{{ queryParamstwr.orderBeginTime }}</p>
+            <p>{{ timeList.orderBeginTime }}</p>
           </div>
           <div class="nstruction_navne">
             <p>
               <span>*</span>
               <span> 合同约定竣工时间:</span>
             </p>
-            <p>{{ queryParamstwr.orderEndTime }}</p>
+            <p>{{ timeList.orderEndTime }}</p>
           </div>
         </div>
         <div class="naue_tab">
@@ -707,6 +707,7 @@ import {
   listConfigfunding,
   listConfigarrival,
   listConfigintegration,
+  listConfigintegrationsr,
   getConfig,
   delConfig,
   delConfigther,
@@ -861,7 +862,8 @@ export default {
       hfeiteka:false,//判断新增点击
       ixndgh:false,
       nbjieug:false,
-      remou:[]
+      remou:[],
+      timeList:{}
     };
   },
   created() {
@@ -878,6 +880,7 @@ export default {
     console.log(this.bmjdeu);
     this.getList();
     this.getListtoi();
+    this.getListsever()
     // this.getListther()
     // this.getListfour()
     // this.getListfive()
@@ -1241,6 +1244,20 @@ export default {
         this.loading = false;
       });
     },
+    //合同约定时间查看接口
+    getListsever() {
+      this.loading = true;
+      listConfigintegrationsr(this.bmProjectId).then((response) => {
+        // this.fileListthertwo = [];
+        if (response.data !== undefined) {
+          this.timeList = response.data;
+        } else {
+
+        }
+
+        this.loading = false;
+      });
+    },
     // 参数系统内置字典翻译
     typeFormat(row, column) {
       return this.selectDictLabel(this.typeOptions, row.configType);