|
|
@@ -334,7 +334,7 @@ export default {
|
|
|
},
|
|
|
|
|
|
methods: {
|
|
|
- ...mapActions("sopSelectPoints", ["setSopEdit", "setSopLook"]),
|
|
|
+ ...mapActions("sopSelectPoints", ["setSopEdit", "setSopLook","setMapData"]),
|
|
|
// 格式化日期查询数据
|
|
|
formatDate(date) {
|
|
|
if (date && date instanceof Date && !isNaN(date)) {
|
|
|
@@ -443,7 +443,7 @@ export default {
|
|
|
/** 新增按钮操作a */
|
|
|
handleAdd() {
|
|
|
this.reset();
|
|
|
-
|
|
|
+ this.setMapData(null)
|
|
|
this.setSopLook(false);
|
|
|
this.$router.push("/mes/sop/sopm/NewSop?sopId=null");
|
|
|
this.title = "添加隔离点";
|