子路径修改
This commit is contained in:
parent
9661ae223f
commit
d8b6f155b7
@ -7,6 +7,7 @@
|
|||||||
<div class="nodes">
|
<div class="nodes">
|
||||||
<!-- 一级 -->
|
<!-- 一级 -->
|
||||||
<div class="node" v-if="updata">
|
<div class="node" v-if="updata">
|
||||||
|
<!-- {{ updata.length }} -->
|
||||||
<el-select
|
<el-select
|
||||||
v-model="updata.triggerConditionCode"
|
v-model="updata.triggerConditionCode"
|
||||||
style="width: 120px"
|
style="width: 120px"
|
||||||
@ -777,6 +778,8 @@ import {
|
|||||||
list,
|
list,
|
||||||
triggerConditionList,
|
triggerConditionList,
|
||||||
} from "@/api/system/specialDiseaseNode";
|
} from "@/api/system/specialDiseaseNode";
|
||||||
|
import Cookies from "js-cookie";
|
||||||
|
|
||||||
export default {
|
export default {
|
||||||
components: {
|
components: {
|
||||||
wangeditor,
|
wangeditor,
|
||||||
@ -893,6 +896,7 @@ export default {
|
|||||||
routeName: "",
|
routeName: "",
|
||||||
specialDiseaseNodeList: [],
|
specialDiseaseNodeList: [],
|
||||||
},
|
},
|
||||||
|
updataname: "",
|
||||||
rules: {
|
rules: {
|
||||||
routeCheckStatus: [
|
routeCheckStatus: [
|
||||||
{ required: true, message: "请选择节点审核状态", trigger: "change" },
|
{ required: true, message: "请选择节点审核状态", trigger: "change" },
|
||||||
@ -966,6 +970,10 @@ export default {
|
|||||||
message: "修改触发条件成功",
|
message: "修改触发条件成功",
|
||||||
});
|
});
|
||||||
this.routeName = res.data;
|
this.routeName = res.data;
|
||||||
|
Cookies.remove("routeName");
|
||||||
|
|
||||||
|
Cookies.set("routeName", this.routeName);
|
||||||
|
// Cookies.set("username", this.loginForm.username, { expires: 30 });
|
||||||
}
|
}
|
||||||
this.infolist();
|
this.infolist();
|
||||||
this.openfalse();
|
this.openfalse();
|
||||||
@ -973,20 +981,20 @@ export default {
|
|||||||
},
|
},
|
||||||
// 关闭弹框
|
// 关闭弹框
|
||||||
openfalse() {
|
openfalse() {
|
||||||
this.openlist.triggerConditionList = [
|
// this.openlist.triggerConditionList = [
|
||||||
{
|
// {
|
||||||
routeId: "",
|
// routeId: "",
|
||||||
routeName: "",
|
// routeName: "",
|
||||||
triggerConditionName: "",
|
// triggerConditionName: "",
|
||||||
triggerConditionOperator: "",
|
// triggerConditionOperator: "",
|
||||||
triggerConditionValue: "",
|
// triggerConditionValue: "",
|
||||||
triggerConditionName: "",
|
// triggerConditionName: "",
|
||||||
triggerConditionOperatorName: "",
|
// triggerConditionOperatorName: "",
|
||||||
|
|
||||||
triggerLogic: "",
|
// triggerLogic: "",
|
||||||
triggerLogicName: "",
|
// triggerLogicName: "",
|
||||||
},
|
// },
|
||||||
];
|
// ];
|
||||||
this.open = false;
|
this.open = false;
|
||||||
this.resetForm("openlist");
|
this.resetForm("openlist");
|
||||||
},
|
},
|
||||||
@ -1105,7 +1113,11 @@ export default {
|
|||||||
this.changelisy();
|
this.changelisy();
|
||||||
}, 30);
|
}, 30);
|
||||||
this.itemlist.specialDiseaseRouteId = this.$route.query.id;
|
this.itemlist.specialDiseaseRouteId = this.$route.query.id;
|
||||||
this.itemlist.routeName = this.$route.query.routeName;
|
this.itemlist.routeName = Cookies.get("routeName");
|
||||||
|
console.log(this.itemlist.routeName, " this.itemlist.routeName");
|
||||||
|
// Cookies.remove("routeName");
|
||||||
|
|
||||||
|
// this.itemlist.routeName = this.$route.query.routeName;
|
||||||
selectSpecialDisease(this.$route.query.id).then((res) => {
|
selectSpecialDisease(this.$route.query.id).then((res) => {
|
||||||
loading.close();
|
loading.close();
|
||||||
this.agreeNumber = res.data.agreeNumber;
|
this.agreeNumber = res.data.agreeNumber;
|
||||||
@ -1235,9 +1247,9 @@ export default {
|
|||||||
this.routeId = this.$route.query.id;
|
this.routeId = this.$route.query.id;
|
||||||
triggerConditionList(this.routeId).then((res) => {
|
triggerConditionList(this.routeId).then((res) => {
|
||||||
this.openlist.triggerConditionList = res.data;
|
this.openlist.triggerConditionList = res.data;
|
||||||
|
|
||||||
if (res.data.length == 1) {
|
if (res.data.length == 1) {
|
||||||
this.updata = res.data[0];
|
this.updata = res.data[0];
|
||||||
|
this.updatalist = [];
|
||||||
} else {
|
} else {
|
||||||
this.updata = res.data[0];
|
this.updata = res.data[0];
|
||||||
res.data.splice(0, 1);
|
res.data.splice(0, 1);
|
||||||
@ -1342,11 +1354,12 @@ export default {
|
|||||||
// !e.taskSubdivision &&
|
// !e.taskSubdivision &&
|
||||||
// !e.taskStatus
|
// !e.taskStatus
|
||||||
// );
|
// );
|
||||||
if (this.routeName) {
|
// if (this.routeName) {
|
||||||
this.itemlist.routeName = this.routeName;
|
// this.itemlist.routeName = this.routeName;
|
||||||
} else {
|
// } else {
|
||||||
this.itemlist.routeName = this.$route.query.routeName;
|
// this.itemlist.routeName = this.$route.query.routeName;
|
||||||
}
|
// }
|
||||||
|
this.itemlist.routeName = Cookies.get("routeName");
|
||||||
specialDiseaseNode(this.itemlist).then((res) => {
|
specialDiseaseNode(this.itemlist).then((res) => {
|
||||||
this.info();
|
this.info();
|
||||||
loading.close();
|
loading.close();
|
||||||
|
|||||||
@ -351,6 +351,7 @@ import {
|
|||||||
triggerCondition,
|
triggerCondition,
|
||||||
triggerConditionedit,
|
triggerConditionedit,
|
||||||
} from "@/api/system/editorialSpecialization";
|
} from "@/api/system/editorialSpecialization";
|
||||||
|
import Cookies from "js-cookie";
|
||||||
import { servicepackageinfo } from "@/api/manage/signRecord.js";
|
import { servicepackageinfo } from "@/api/manage/signRecord.js";
|
||||||
import { getAgencytype } from "@/api/system/agency";
|
import { getAgencytype } from "@/api/system/agency";
|
||||||
|
|
||||||
@ -695,6 +696,8 @@ export default {
|
|||||||
routeName: uitem.routeName,
|
routeName: uitem.routeName,
|
||||||
},
|
},
|
||||||
});
|
});
|
||||||
|
Cookies.set("routeName", uitem.routeName);
|
||||||
|
|
||||||
// const loading = this.$loading({
|
// const loading = this.$loading({
|
||||||
// lock: true,
|
// lock: true,
|
||||||
// text: "Loading",
|
// text: "Loading",
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user