From 3e091224ab26252d8624b42b461ba773ee8bee0f Mon Sep 17 00:00:00 2001
From: gaoshp <291585735@qq.com>
Date: 星期日, 03 十一月 2024 19:16:31 +0800
Subject: [PATCH] update

---
 src/views/console/product-process/process-route/workmanship.vue |   15 +++++++--------
 1 files changed, 7 insertions(+), 8 deletions(-)

diff --git a/src/views/console/product-process/process-route/workmanship.vue b/src/views/console/product-process/process-route/workmanship.vue
index 6bcf9a0..35ea7f1 100644
--- a/src/views/console/product-process/process-route/workmanship.vue
+++ b/src/views/console/product-process/process-route/workmanship.vue
@@ -2,7 +2,7 @@
  * @Author: lzhe lzhe@example.com
  * @Date: 2024-05-24 11:25:26
  * @LastEditors: lzhe lzhe@example.com
- * @LastEditTime: 2024-05-27 16:58:03
+ * @LastEditTime: 2024-05-28 11:09:17
  * @FilePath: /src/views/console/product-process/process-route/workmanship.vue
  * @Description: 杩欐槸榛樿璁剧疆,璇疯缃甡customMade`, 鎵撳紑koroFileHeader鏌ョ湅閰嶇疆 杩涜璁剧疆: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
 -->
@@ -76,7 +76,6 @@
 <script>
 	import addWorkmanship from './addWorkmanship'
 	import saveDialog from './addWorking'
-import { rowProps } from 'element-plus';
 	export default {
 		name: 'workmanship',
 		components: {saveDialog,addWorkmanship},
@@ -136,7 +135,7 @@
 				}
 				this.$refs.mergeVisibleData.validate(async (valid) => {
 					if (valid) {
-						that.$HTTP.post("/api/blade-cps/production-craft-process/save-parallel",obj).then(res=> {
+						that.$HTTP.post("/api/smis/production-craft-process/save-parallel",obj).then(res=> {
 							if(res.code == 200) {
 								that.mergeVisible = false;
 								that.$message.success("鎿嶄綔鎴愬姛");
@@ -160,7 +159,7 @@
 				this.getcraftlList();
 			},
 			getcraftlList() {
-				// this.$HTTP.get(`/api/blade-cps/production-craft-version/detail/${this.craftId}`).then(res=> {
+				// this.$HTTP.get(`/api/smis/production-craft-version/detail/${this.craftId}`).then(res=> {
 				// 	if(res.code == 200) {
 				// 		res.data.processList.forEach((item,index)=> {
 				// 			item.index = index + 1;
@@ -168,7 +167,7 @@
 				// 		this.tableData = res.data.processList;
 				// 	}
 				// })
-				this.$HTTP.get(`/api/blade-cps/production-craft-process/child-tree?versionId=${this.craftId}`).then(res=> {
+				this.$HTTP.get(`/api/smis/production-craft-process/child-tree?versionId=${this.craftId}`).then(res=> {
 					if(res.code == 200) {
 						res.data.forEach((item,index)=> {
 							if(item.children && item.children.length > 0) {
@@ -189,7 +188,7 @@
 				this.$confirm(`宸ヨ壓璺嚎瀹氱増鍚庯紝涓嶆敮鎸佺紪杈戙�佸垹闄ゃ�佹坊鍔犲伐搴忥紝璇风‘璁ゆ槸鍚﹀畾鐗�?`, '', {
 					type: 'warning'
 				}).then(() => {
-					this.$HTTP.put(`/api/blade-cps/production-craft-version/fix-version/${this.craftId}`).then(res=> {
+					this.$HTTP.put(`/api/smis/production-craft-version/fix-version/${this.craftId}`).then(res=> {
 						if(res.code == 200) {
 							that.$message.success("鎿嶄綔鎴愬姛");
 						}else {
@@ -246,7 +245,7 @@
 						removeIds: [row.id],
 						versionId: that.craftId
 					}
-					this.$HTTP.post(`/api/blade-cps/production-craft-process/child-process-update`,obj).then(res=> {
+					this.$HTTP.post(`/api/smis/production-craft-process/child-process-update`,obj).then(res=> {
 						if(res.code == 200) {
 							that.$message.success("鎿嶄綔鎴愬姛");
 							that.getcraftlList();
@@ -277,7 +276,7 @@
 						removeIds: [row.parentId],
 						versionId: that.craftId
 					}
-					this.$HTTP.post(`/api/blade-cps/production-craft-process/child-process-update`,obj).then(res=> {
+					this.$HTTP.post(`/api/smis/production-craft-process/child-process-update`,obj).then(res=> {
 						if(res.code == 200) {
 							that.$message.success("鎿嶄綔鎴愬姛");
 							that.getcraftlList();

--
Gitblit v1.9.3