浏览代码

提示语改变,禁用删除

Luolei 6 年之前
父节点
当前提交
c6805c8cca
共有 2 个文件被更改,包括 6 次插入3 次删除
  1. 5 2
      src/components/icss/CommonTemplate.vue
  2. 1 1
      src/components/icss/TemplateMaintenance.vue

+ 5 - 2
src/components/icss/CommonTemplate.vue

@@ -38,7 +38,8 @@
     </div>
     <div class="bottomPartRight bottomPartRightTemplate">
       <p class="poolTitle poolTitleTmp">模板内容:
-        <span style="color:#22ccc8;fontSize:12px" v-if="type == 1 || type == 2 || type == 3">主诉中的主/伴症状,引用到现病史中显示的位置和现病史中添加其他症状显示的位置</span>
+        <span style="color:#22ccc8;fontSize:12px" v-if="type == 1">特殊标记1-只可放入主诉模块中,放入其他模块数据会显示异常</span>
+        <span style="color:#22ccc8;fontSize:12px" v-if="type == 2 || type == 3">特殊标记4-只可放入现病史模块中,放入其他模块数据会显示异常</span>
         <span style="color:#22ccc8;fontSize:12px" v-if="type == 5">特殊标记1-只可放入主诉模块中,放入其他模块数据会显示异常;特殊标记4-只可放入现病史模块中,放入其他模块数据会显示异常;</span>
       </p>
         <div v-if="type == 5">
@@ -200,6 +201,9 @@ export default {
               reviewList[m].type = 'input'
               reviewList[m].text = reviewList[m].tagName
             }else{    //这个是标签
+              if(reviewList[m].flag == 1 || reviewList[m].flag == 4){
+                
+              }
               reviewList[m].id = reviewList[m].questionId
             }
           }
@@ -469,7 +473,6 @@ export default {
         "tagName": this.searchVal,
         "type": this.type == 4?3:1,
         "noIds": notIds,
-        "notTagType": [8]
       }
       api.getQuestionInfos(param).then((res) => {
         if (res.data.code === '0') {

+ 1 - 1
src/components/icss/TemplateMaintenance.vue

@@ -52,7 +52,7 @@
                         label="操作">
                     <template slot-scope="scope">
                         <el-button  @click="modifyIndeptTag(scope.row)" type="text" size="small">修改</el-button>
-                        <el-button @click="showDelDialog(scope.row.id)" class="delete" type="text" size="small">删除</el-button>
+                        <!-- <el-button @click="showDelDialog(scope.row.id)" class="delete" type="text" size="small">删除</el-button> -->
                     </template>
                 </el-table-column>
             </el-table>