diff --git a/src/views/manage/script/index.vue b/src/views/manage/script/index.vue index 50c4abe..b011108 100644 --- a/src/views/manage/script/index.vue +++ b/src/views/manage/script/index.vue @@ -481,6 +481,7 @@ export default { this.$router.push({ path: "/knowledge/preview", query: { + path: "/knowledge/script", id: row.id, scriptId: row.scriptId }, @@ -490,6 +491,7 @@ export default { this.$router.push({ path: "/knowledge/Scriptpreview", query: { + path: "/knowledge/script", id: row.id, }, }); diff --git a/src/views/manage/servicepackage/index.vue b/src/views/manage/servicepackage/index.vue index 6ef7f66..58dcb9d 100644 --- a/src/views/manage/servicepackage/index.vue +++ b/src/views/manage/servicepackage/index.vue @@ -114,8 +114,8 @@ diff --git a/src/views/system/bank/index.vue b/src/views/system/bank/index.vue index 56ad234..1389ef2 100644 --- a/src/views/system/bank/index.vue +++ b/src/views/system/bank/index.vue @@ -281,11 +281,9 @@ export default { }, methods: { change(e) { - console.log(e); this.form.termLevel = this.treeOptions?.find( (f) => f.termCode == e )?.termLevel; - console.log(this.form.termLevel, "this.form.termLevel"); }, // 左侧提交 submitForms() { @@ -310,11 +308,8 @@ export default { cancels() { this.opens = false this.reset(); - }, // change(e) { - // console.log(e, "78"); - // // console.log(this.$refs.cascader) // // this.form.parentId = e; // if (e) { // this.form.parentId = e[e.length - 1]; @@ -324,7 +319,6 @@ export default { // agencyList().then((res) => { // // 接口请求 // this.deptOptions = res.data; - // this.treeOptions = res.data.map((item) => { // return { value: item.id, ...item }; // }); @@ -333,7 +327,6 @@ export default { // // checkStrictly: true, // // lazyLoad: this.lazyLoad, // // }; - // // console.log(res.data, "58", this.treeOptions); // }); // }, // 左侧服务方式列表 @@ -345,7 +338,6 @@ export default { // let sum = 0; // this.DepartmentoList.forEach((item) => { // if (item.serviceContentNum) { - // console.log(item.countNum); // sum += item.serviceContentNum; // } // this.count = sum; @@ -355,32 +347,23 @@ export default { }, // 左侧科室 itemdata(item) { - if (item) { - console.log(item, "9999"); this.queryParams.parentTermCode = item.termCode; this.queryParams.termLevel = 2; this.bankList = []; this.getList(); - - this.itemname = item.id; - } else { this.itemname = null; - this.queryParams.termLevel = 2; this.queryParams.parentTermCode = ''; - this.bankList = []; - this.getList(); } }, // 修改服务方式 handleedit() { this.resetformat(); - console.log(this.itemname); this.format.id = this.itemname; if (this.itemname) { getBank(this.itemname).then((response) => { @@ -397,7 +380,6 @@ export default { handledelete() { this.resetformat(); const id = this.itemname; - console.log(id, "111111111"); this.$modal .confirm("是否确认删除此内容?") .then(function () { @@ -425,13 +407,11 @@ export default { response.rows.forEach((e) => { // if(e.termLevel==1){ // this.DepartmentoList.push(e); - // } // else if (e.termLevel == 2) { this.bankList.push(e); // this.bankList.push(e); - console.log(this.bankList); this.total = this.bankList.length; } }); @@ -509,11 +489,11 @@ export default { this.title = "添加常用术语(知识库)"; }, handle(row) { - console.log(row, "row"); // this.$store.dispatch('tagsView/delView', this.$route).then(({ visitedViews }) => { this.$router.push({ path: "/knowledge/bankSpecialization", query: { + path: "/knowledge/bank", parentTermCode: row.termCode, termLevel: row.termLevel, termContent: row.termContent, diff --git a/src/views/system/question/index.vue b/src/views/system/question/index.vue index 3f7f06d..60b4ba7 100644 --- a/src/views/system/question/index.vue +++ b/src/views/system/question/index.vue @@ -302,22 +302,26 @@ export default { }, /** 新增按钮操作 */ handleAdd() { - this.$store.dispatch('tagsView/delView', this.$route).then(({ visitedViews }) => { - this.$router.push({ - path: "/knowledge/addQuestionnaire", - }); - }) + // this.$store.dispatch('tagsView/delView', this.$route).then(({ visitedViews }) => { + this.$router.push({ + path: "/knowledge/addQuestionnaire", + query: { + path: "/knowledge/question", + }, + }); + // }) }, /** 修改按钮操作 */ handleUpdate(row) { - this.$store.dispatch('tagsView/delView', this.$route).then(({ visitedViews }) => { - this.$router.push({ - path: "/knowledge/addQuestionnaire", - query: { - id: row.id, - }, - }); - }) + // this.$store.dispatch('tagsView/delView', this.$route).then(({ visitedViews }) => { + this.$router.push({ + path: "/knowledge/addQuestionnaire", + query: { + path: "/knowledge/question", + id: row.id, + }, + }); + // }) }, updateCPage(index, size) { this.queryParams.pageNum = index diff --git a/src/views/system/satisfactionSurvey/index.vue b/src/views/system/satisfactionSurvey/index.vue index a568fea..faa3058 100644 --- a/src/views/system/satisfactionSurvey/index.vue +++ b/src/views/system/satisfactionSurvey/index.vue @@ -136,28 +136,29 @@ export default { }, //跳转详情 goQuestionnaireDetails(row) { - this.$store.dispatch('tagsView/delView', this.$route).then(({ visitedViews }) => { - this.$router.push({ - path: "/satisfactionSurvey/SatisfactionQuestionnaireDetails", - query: { - patientQuestionSubmitResultId: row.patientQuestionSubmitResultId, - taskContent: row.taskContent, - taskType: row.taskType, - templateId: row.templateId, - cardNo: row.cardNo, - patientName: row.patientName, - patientPhone: row.patientPhone, - sex: row.sex, - routeHandleRemark: row.routeHandleRemark, - textRemindContent: row.textRemindContent, - birthDate: row.birthDate, - address: row.address, - patientSource: row.patientSource, - createTime: row.createTime, - age: row.birthDate ? getAge(row.birthDate) : "", - }, - }); - }) + // this.$store.dispatch('tagsView/delView', this.$route).then(({ visitedViews }) => { + this.$router.push({ + path: "/satisfactionSurvey/SatisfactionQuestionnaireDetails", + query: { + path: "/satisfactionSurvey/satisfactionSurvey", + patientQuestionSubmitResultId: row.patientQuestionSubmitResultId, + taskContent: row.taskContent, + taskType: row.taskType, + templateId: row.templateId, + cardNo: row.cardNo, + patientName: row.patientName, + patientPhone: row.patientPhone, + sex: row.sex, + routeHandleRemark: row.routeHandleRemark, + textRemindContent: row.textRemindContent, + birthDate: row.birthDate, + address: row.address, + patientSource: row.patientSource, + createTime: row.createTime, + age: row.birthDate ? getAge(row.birthDate) : "", + }, + }); + // }) }, /** 搜索按钮操作 */ handleQuery() { diff --git a/src/views/unitconfig/patientConfiguration/index.vue b/src/views/unitconfig/patientConfiguration/index.vue index 2d8fb44..600e9e5 100644 --- a/src/views/unitconfig/patientConfiguration/index.vue +++ b/src/views/unitconfig/patientConfiguration/index.vue @@ -439,6 +439,7 @@ export default { this.$router.push({ path: "/unitconfig/PatientConfigurationVisitRecords", query: { + path: "/unitconfig/patientConfiguration", patientId: row.id, cardNo: row.cardNo, patientName: row.patientName,