From 4e98b32990fa6f539aaa4b5189432af92ebbce83 Mon Sep 17 00:00:00 2001
From: loulijun2021 <1694218219@qq.com>
Date: 星期一, 08 五月 2023 16:53:57 +0800
Subject: [PATCH] 1.工单批量关闭下拉框修改

---
 src/views/scgl/gdplgb.vue |   31 +++++++++++++++++++++++++++++--
 vue.config.js             |    4 ++--
 2 files changed, 31 insertions(+), 4 deletions(-)

diff --git a/src/views/scgl/gdplgb.vue b/src/views/scgl/gdplgb.vue
index cf08a4e..e92c656 100644
--- a/src/views/scgl/gdplgb.vue
+++ b/src/views/scgl/gdplgb.vue
@@ -16,7 +16,21 @@
         >
           <div class="elForm">
             <el-form-item label="宸ュ崟鐘舵��" style=" display: flex;">
-              <el-input v-model="form.mesorderstus" placeholder="璇疯緭鍏�" style="width: 200px" />
+              <el-select
+                v-model="form.mesorderstus"
+                :popper-append-to-body="false"
+                style="width: 200px"
+                placeholder="璇烽�夋嫨"
+                filterable
+                @change="erporderstusChange"
+              >
+                <el-option
+                  v-for="item in erporderstusArr"
+                  :key="item.code"
+                  :label="item.name"
+                  :value="item.code"
+                />
+              </el-select>
             </el-form-item>
             <el-form-item label="宸ュ崟缂栧彿" style=" display: flex;">
               <el-input v-model="form.mesordercode" placeholder="璇疯緭鍏�" style="width: 200px" />
@@ -404,7 +418,16 @@
       ],
       total: 10,
       tableData: [],
-
+      erporderstusArr: [
+        { code: 'NEW', name: '鏂板伐鍗�' },
+        // { code: 'CREATING', name: '鎵ц涓�' },
+        // { code: 'CREATED', name: '宸插叧闂�' }
+        { code: 'ALLO', name: '宸叉淳鍙�' },
+        { code: 'START', name: '寮�宸�' },
+        { code: 'CLOSED', name: '瀹屽伐' }
+        // { code: 'NOSCHED', name: '寰呮帓绋�' },
+        // { code: 'SCHED', name: '宸叉帓绋�' }
+      ],
       multipleSelection: [],
 
       title_value: '鏁版嵁瀵煎叆 / 鐐规閮ㄤ綅',
@@ -433,6 +456,10 @@
       this.tableData = res.data
       this.total = res.count
     },
+    // 璁㈠崟鐘舵�佹敼鍙樻椂
+    erporderstusChange(val) {
+      this.form.mesorderstus = val
+    },
     // 鎺掑簭鏀瑰彉鏃�
     sortChange({ column, prop, order }) {
       if (order === 'descending') {
diff --git a/vue.config.js b/vue.config.js
index 8a18c07..e1c8fee 100644
--- a/vue.config.js
+++ b/vue.config.js
@@ -53,8 +53,8 @@
     proxy: {
       [process.env.VUE_APP_BASE_API]: {
         // target: 'http://121.196.36.24:8011', // 璇锋眰鐨勭涓夆絽鎺モ紳鍦板潃       鏈湴寮�鍙戞湇鍔″櫒
-        // target: 'http://192.168.1.102:8001', // 璇锋眰鐨勭涓夆絽鎺モ紳鍦板潃   鑾辩   锛堟湭涓婁簯锛�
-        target: 'http://tr3b6v.natappfree.cc', // 璇锋眰鐨勭涓夆絽鎺モ紳鍦板潃   鑾辩    (涓婁簯)
+        target: 'http://192.168.1.102:8001', // 璇锋眰鐨勭涓夆絽鎺モ紳鍦板潃   鑾辩   锛堟湭涓婁簯锛�
+        // target: 'http://tr3b6v.natappfree.cc', // 璇锋眰鐨勭涓夆絽鎺モ紳鍦板潃   鑾辩    (涓婁簯)
 
         changeOrigin: true, // 璇锋眰璺ㄥ煙鏃讹紝闇� 閰嶇疆姝ら」
         pathRewrite: { // 璺緞閲嶅啓,鏇挎崲target涓殑璇穤姹傚湴鍧�

--
Gitblit v1.9.3