From a8e17feaaaafd549c81ea7e18f5c968af28d9391 Mon Sep 17 00:00:00 2001
From: huanghongfeng <huanghongfeng@hnkhzn.com>
Date: 星期二, 09 七月 2024 14:01:13 +0800
Subject: [PATCH] 工单清理,检测线段
---
代码管理/PCS/WCS_Client/src/extension/widesea_wcs/wcs/VV_Dispatch.js | 21 +++++++++++++++++----
1 files changed, 17 insertions(+), 4 deletions(-)
diff --git "a/\344\273\243\347\240\201\347\256\241\347\220\206/PCS/WCS_Client/src/extension/widesea_wcs/wcs/VV_Dispatch.js" "b/\344\273\243\347\240\201\347\256\241\347\220\206/PCS/WCS_Client/src/extension/widesea_wcs/wcs/VV_Dispatch.js"
index d0bbd3f..4472d0c 100644
--- "a/\344\273\243\347\240\201\347\256\241\347\220\206/PCS/WCS_Client/src/extension/widesea_wcs/wcs/VV_Dispatch.js"
+++ "b/\344\273\243\347\240\201\347\256\241\347\220\206/PCS/WCS_Client/src/extension/widesea_wcs/wcs/VV_Dispatch.js"
@@ -5,12 +5,13 @@
**甯哥敤绀轰緥瑙侊細http://v2.volcore.xyz/document/vueDev
**鍚庡彴鎿嶄綔瑙侊細http://v2.volcore.xyz/document/netCoreDev
*****************************************************************************************/
+import Upload from "@/views/Upload"
//姝s鏂囦欢鏄敤鏉ヨ嚜瀹氫箟鎵╁睍涓氬姟浠g爜锛屽彲浠ユ墿灞曚竴浜涜嚜瀹氫箟椤甸潰鎴栬�呴噸鏂伴厤缃敓鎴愮殑浠g爜
let extension = {
components: {
//鏌ヨ鐣岄潰鎵╁睍缁勪欢
- gridHeader: '',
+ gridHeader: Upload,
gridBody: '',
gridFooter: '',
//鏂板缓銆佺紪杈戝脊鍑烘鎵╁睍缁勪欢
@@ -38,6 +39,15 @@
this.startServe();
}
}
+ // , {
+ // name: "涓婁紶鏂囦欢",
+ // // icon: 'el-icon-video-play',
+ // index: 5,
+ // type: 'primary',
+ // onClick: function () {
+ // this.Upload();
+ // }
+ // }
], box: [], detail: []
}, //鎵╁睍鐨勬寜閽�
methods: {
@@ -150,23 +160,26 @@
//鍚姩鏈嶅姟
startServe() {
this.http.post('/api/VV_Dispatch/StartServe', {}, true).then((x) => {
+ this.search();
if (!x.status) return this.$error(x.message);
this.$success(x.message);
- this.search();
this.$emit("onChangeWCSState", true);
});
},
//鍏抽棴鏈嶅姟
CloseServe() {
this.http.post('/api/VV_Dispatch/CloseServe', {}, true).then((x) => {
+ this.search();
if (!x.status) return this.$error(x.message);
this.$success(x.message);
- this.search();
//閲嶆柊鍔犺浇椤甸潰
// location.reload()
this.$emit("onChangeWCSState", false);
});
- }
+ },
+ Upload() {
+ this.$refs.gridHeader.detialBox=true;
+ },
}
};
export default extension;
--
Gitblit v1.9.3