Преглед изворни кода

Merge branch '20201014_pc_vue_new_branch' of http://git.shengws.com/csx/Vue_New into 20201014_pc_vue_new_branch

See999 пре 4 година
родитељ
комит
e952d73cee
1 измењених фајлова са 4 додато и 3 уклоњено
  1. 4 3
      src/xt_pages/data/druguseTemplate.vue

+ 4 - 3
src/xt_pages/data/druguseTemplate.vue Прегледај датотеку

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