ltao 3 роки тому
батько
коміт
b1dbde8519

+ 21 - 17
src/views/combatduty/Quantitative/index.vue

@@ -455,23 +455,7 @@ export default {
     });
     // 查询字典
     this.getdict()
-    // // 军车值班接口
-    militaryDuty().then(res=>{
-      // console.log(res.rows)
-      this.MilitaryDuty=res.rows
-      // console.log(res.rows)
-      this.MilitaryDuty.map((item)=>{
-        this.ziDian.map((items)=>{
-          console.log(items)
-            if(item.modelInfo==items.dictValue){
-              // console.log(items.dictLabel)
-             return item.modelInfo=items.dictLabel
-
-            }
-        })
-      })
-      console.log(this.MilitaryDuty)
-    })
+    
     
     // // 装备值班接口
     equipment().then(res=>{
@@ -491,6 +475,26 @@ export default {
     })
     
   },
+  mounted() {
+    // // 军车值班接口
+    militaryDuty().then(res=>{
+      // console.log(res.rows)
+      this.MilitaryDuty=res.rows
+      // console.log(res.rows)
+      this.MilitaryDuty.map((item)=>{
+        this.ziDian.map((items)=>{
+          // console.log(items)
+            if(item.modelInfo==items.dictValue){
+              // console.log(items.dictLabel)
+             return item.modelInfo=items.dictLabel
+
+            }
+            this.MilitaryDuty=this.MilitaryDuty
+        })
+      })
+      // console.log(this.MilitaryDuty)
+    })
+  },
   methods: {
     // 查询字典
     getdict() {

+ 2 - 2
src/views/workingArrangements/planTask/index.vue

@@ -53,7 +53,7 @@
           >新增</el-button
         >
       </el-col>
-      <el-col :span="1.5">
+      <!-- <el-col :span="1.5">
         <el-button
           type="success"
           plain
@@ -76,7 +76,7 @@
           v-hasPermi="['workingArrangements:planTask:remove']"
           >删除</el-button
         >
-      </el-col>
+      </el-col> -->
       <!-- <el-col :span="1.5">
         <el-button
           type="warning"

+ 2 - 2
src/views/workingArrangements/workTask/index.vue

@@ -95,7 +95,7 @@
           >新增</el-button
         >
       </el-col>
-      <el-col :span="1.5">
+      <!-- <el-col :span="1.5">
         <el-button
           type="success"
           plain
@@ -118,7 +118,7 @@
           v-hasPermi="['workingArrangements:workTask:remove']"
           >删除</el-button
         >
-      </el-col>
+      </el-col> -->
       <!-- <el-col :span="1.5">
         <el-button
           type="warning"