假数据
This commit is contained in:
		| @@ -143,6 +143,26 @@ export default { | ||||
|         }); | ||||
|       } | ||||
|     }, | ||||
|     deleteHandle(id, name, index, data) { | ||||
|       this.$confirm(`确认要删除序号为${index}的数据项?`, "提示", { | ||||
|         confirmButtonText: "确定", | ||||
|         cancelButtonText: "取消", | ||||
|         type: "warning", | ||||
|       }) | ||||
|         .then(() => { | ||||
|           this.urlOptions.deleteURL(id).then(({ data }) => { | ||||
|             this.$message({ | ||||
|               message: "操作成功", | ||||
|               type: "success", | ||||
|               duration: 1500, | ||||
|               onClose: () => { | ||||
|                 this.getDataList(); | ||||
|               }, | ||||
|             }); | ||||
|           }); | ||||
|         }) | ||||
|         .catch(() => { }); | ||||
|     }, | ||||
|     // 获取数据列表 | ||||
|     getDict() { | ||||
|       getWorkOrderList().then((res) => { | ||||
|   | ||||
		Reference in New Issue
	
	Block a user