From 3931e2728f618d0090f129b2665bc1285c4440c3 Mon Sep 17 00:00:00 2001
From: gaoshp <291585735@qq.com>
Date: 星期日, 03 十一月 2024 17:27:32 +0800
Subject: [PATCH] update

---
 src/views/console/basic-data/work-process.vue |   24 ++++++++++++------------
 1 files changed, 12 insertions(+), 12 deletions(-)

diff --git a/src/views/console/basic-data/work-process.vue b/src/views/console/basic-data/work-process.vue
index 1247d5e..d159fba 100644
--- a/src/views/console/basic-data/work-process.vue
+++ b/src/views/console/basic-data/work-process.vue
@@ -171,8 +171,8 @@
 				},
 				isAddData0: false,
 				isAddData1: false,
-				uploadUrl: "/api/blade-cps/employee/import-employee",
-				exportUrl: "/api/blade-cps/employee/export-template",
+				uploadUrl: "/api/smis/employee/import-employee",
+				exportUrl: "/api/smis/employee/export-template",
 				categoryList: [],
 				selection: [],
 				searchData: {
@@ -220,7 +220,7 @@
 					selStr += item.id + ","
 				})
 				selStr = selStr.replace(/,$/, '');
-				var url = `/api/blade-cps/process/remove?processIds=${selStr}&type=${type}`;
+				var url = `/api/smis/process/remove?processIds=${selStr}&type=${type}`;
 				this.$HTTP.delete(url).then(res=> {
 					if(res.code == 200) {
 						this.$message.success("鎿嶄綔鎴愬姛");
@@ -231,7 +231,7 @@
 				})
 			},
 			delTypeDataSingle(type) {
-				var url = `/api/blade-cps/process/remove?processIds=${this.leftId}&type=${type}`;
+				var url = `/api/smis/process/remove?processIds=${this.leftId}&type=${type}`;
 				this.$HTTP.delete(url).then(res=> {
 					if(res.code == 200) {
 						this.$message.success("鎿嶄綔鎴愬姛");
@@ -242,7 +242,7 @@
 				})
 			},
 			addData0Submit0() {
-				this.$HTTP.post(`/api/blade-cps/process/save`,this.addData0).then(res => {
+				this.$HTTP.post(`/api/smis/process/save`,this.addData0).then(res => {
 					if (res.code == 200) {
 						this.getData();
 						this.clearData0();
@@ -263,7 +263,7 @@
 			},
 			addData0Submit1() {
 				this.addData1.processId = this.id;
-				this.$HTTP.post(`/api/blade-cps/process-association/save`,this.addData1).then(res => {
+				this.$HTTP.post(`/api/smis/process-association/save`,this.addData1).then(res => {
 					if (res.code == 200) {
 						this.getPage1();
 						this.clearData1();
@@ -295,14 +295,14 @@
 				})
 			},
 			getBizIdList() {
-				this.$HTTP.get(`/api/blade-cps/workstation/page?workstationCode=&workstationName=&size=-1&groupId=&keyWord=`).then(res => {
+				this.$HTTP.get(`/api/smis/workstation/page?workstationCode=&workstationName=&size=-1&groupId=&keyWord=`).then(res => {
 					if (res.code == 200) {
 						this.bizIdList = res.data.records;
 					}
 				})
 			},
 			getExport() {
-				this.$HTTP.get(`/api/blade-cps/process/export-process?keyword=&status=1`).then(res => {
+				this.$HTTP.get(`/api/smis/process/export-process?keyword=&status=1`).then(res => {
 					if (res.code == 200) {
 						window.open(res.data.link);
 					}
@@ -315,14 +315,14 @@
 				this.getData();
 			},
 			getWorkDetail(id) {
-				this.$HTTP.get(`/api/blade-cps/process/get?processId=${this.id}`).then(res=> {
+				this.$HTTP.get(`/api/smis/process/get?processId=${this.id}`).then(res=> {
 					if(res.code == 200) {
 						this.workDetail = res.data;
 					}
 				})
 			},
 			getData() {
-				this.$HTTP.get(`/api/blade-cps/process/page?status=${this.searchData.status}&keyword=${this.searchData.keyword}&current=${this.searchData.current}&size=${this.searchData.size}`).then(res=> {
+				this.$HTTP.get(`/api/smis/process/page?status=${this.searchData.status}&keyword=${this.searchData.keyword}&current=${this.searchData.current}&size=${this.searchData.size}`).then(res=> {
 					if(res.code == 200) {
 						this.tableData0 = res.data.records;
 						if(this.tableData0.length != 0) {
@@ -341,7 +341,7 @@
 				})
 			},
 			getPage1() {
-				this.$HTTP.get(`/api/blade-cps/process-association/page?processId=${this.id}`).then(res=> {
+				this.$HTTP.get(`/api/smis/process-association/page?processId=${this.id}`).then(res=> {
 					if(res.code == 200) {
 						this.tableData1 = res.data.workstationList;
 					}
@@ -354,7 +354,7 @@
 			},
 			//鍒犻櫎
 			biz_table_del(row) {
-				var url = `/api/blade-cps/process-association/remove?bizId=${row.id}&processId=${this.id}`;
+				var url = `/api/smis/process-association/remove?bizId=${row.id}&processId=${this.id}`;
 				this.$HTTP.delete(url).then(res=> {
 					if(res.code == 200) {
 						this.$message.success("鎿嶄綔鎴愬姛");

--
Gitblit v1.9.3