|
@@ -2341,7 +2341,7 @@
|
2341
|
2341
|
this.templateFormTwoVisible = false
|
2342
|
2342
|
},
|
2343
|
2343
|
submitTemplateTwo(formName) {
|
2344
|
|
-
|
|
2344
|
+
|
2345
|
2345
|
this.templateForm['template_id'] = this.current_template_id
|
2346
|
2346
|
this.templateForm['advice_type'] = this.form.advice_type
|
2347
|
2347
|
|
|
@@ -2358,7 +2358,8 @@
|
2358
|
2358
|
return s && s.trim()
|
2359
|
2359
|
}).join(',')
|
2360
|
2360
|
}
|
2361
|
|
-
|
|
2361
|
+ console.log("编辑模板",this.templateForm)
|
|
2362
|
+
|
2362
|
2363
|
// 编辑创建医嘱模版
|
2363
|
2364
|
CreateSingleAdviceTemplate(this.templateForm).then(response => {
|
2364
|
2365
|
if (response.data.state == 0) {
|
|
@@ -2695,7 +2696,7 @@
|
2695
|
2696
|
template_id: this.current_template_id
|
2696
|
2697
|
}
|
2697
|
2698
|
console.log("params---",params)
|
2698
|
|
- return
|
|
2699
|
+
|
2699
|
2700
|
updateTemplateName(params).then(response => {
|
2700
|
2701
|
if (response.data.state == 0) {
|
2701
|
2702
|
this.$message.error(response.data.msg)
|