@@ -85,7 +85,7 @@
+ :style="formInline.taskType == 'TEXT_REMIND' ? '' : 'height:160px'">
@@ -146,8 +146,8 @@
推送方式:人工电话
-
+ inactive-value="0">
+
@@ -167,6 +167,11 @@ export default {
data() {
return {
updata: {
+ signPatientRecordId: '',
+ patientId: '',
+ patientName: '',
+ departmentId: '',
+ departmentName: '',
routeName: '',
suitRange: '',
routeNodeList: [],
@@ -193,7 +198,7 @@ export default {
officialPushSign: '0',
messagePushSign: '0',
appletPushSign: '0',
- phonePushSign:'0',
+ phonePushSign: '0',
},
list: [
{
@@ -211,7 +216,7 @@ export default {
officialPushSign: '0',
messagePushSign: '0',
appletPushSign: '0',
- phonePushSign:'0',
+ phonePushSign: '0',
}
],
listindex: 0,
@@ -219,6 +224,11 @@ export default {
},
created() {
this.formInline = this.list[0]
+ this.updata.signPatientRecordId = this.$route.query.signPatientRecordId
+ this.updata.patientId = this.$route.query.patientId
+ this.updata.patientName = this.$route.query.patientName
+ this.updata.departmentId = this.$route.query.departmentId
+ this.updata.departmentName = this.$route.query.departmentName
},
methods: {
addtriggerCondition() {
@@ -265,7 +275,7 @@ export default {
officialPushSign: '0',
messagePushSign: '0',
appletPushSign: '0',
- phonePushSign:'0',
+ phonePushSign: '0',
})
},
delitem(item, index) {
@@ -274,7 +284,19 @@ export default {
upload() {
this.updata.routeNodeList = this.list
signrouteadd(this.updata).then(res => {
-
+ this.$notify({
+ type: 'success',
+ title: '提示',
+ message: '保存成功,即将返回签约患者列表',
+ duration: 3000
+ });
+ setTimeout(() => {
+ this.$store.dispatch('tagsView/delView', this.$route).then(({ visitedViews }) => {
+ this.$router.push({
+ path: "/patient/signRecord",
+ });
+ })
+ }, 3000);
})
},
}
diff --git a/src/views/system/components/script.vue b/src/views/system/components/script.vue
index e6a1b9b..ad17561 100644
--- a/src/views/system/components/script.vue
+++ b/src/views/system/components/script.vue
@@ -164,7 +164,7 @@ export default {
handleselect(item) {
this.handleselectId = item.id
this.handleselectName = item.commonScriptName
- this.$emit("on-template", { templateId: item.id, templateName: item.commonScriptName });
+ this.$emit("on-template", { templateId: item.id, templateName: item.commonScriptName, templateContent: item.scriptIntroduction });
this.classificationOpen = false
},
classificationOpenfalse() {