Ver código fonte

data字段回显

duy 1 mês atrás
pai
commit
8dd61ac2a1
1 arquivos alterados com 4 adições e 12 exclusões
  1. 4 12
      src/views/manager/projectinfo/codeSet.vue

+ 4 - 12
src/views/manager/projectinfo/codeSet.vue

@@ -79,12 +79,8 @@
            </div>
             <!-- <span v-else>{{ scope.row.data }}</span> -->
              <div v-else>
-               <span v-if="scope.row.rule===1">*输入生成编号时包含的固定字符</span>
-               <span v-if="scope.row.rule===2">*自动获取当前合同段编号</span>
-                <span v-if="scope.row.rule===3">*自动获取各试验参数掩码</span>
-                <span v-if="scope.row.rule===4">*自动获取当前年份</span>
-                  <span v-if="scope.row.rule===5">*自动获取当前月份</span>
-                    <span v-if="scope.row.rule===6">*{{ scope.row.data }}</span>
+               
+                    <span>{{ scope.row.data }}</span>
              </div>
           </template>
         </el-table-column>
@@ -149,12 +145,8 @@
         <el-table-column label="数据填充">
           <template  slot-scope="scope">
              <div>
-               <span v-if="scope.row.rule===1">*输入生成编号时包含的固定字符</span>
-               <span v-if="scope.row.rule===2">*自动获取当前合同段编号</span>
-                <span v-if="scope.row.rule===3">*自动获取各试验参数掩码</span>
-                <span v-if="scope.row.rule===4">*自动获取当前年份</span>
-                  <span v-if="scope.row.rule===5">*自动获取当前月份</span>
-                    <span v-if="scope.row.rule===6">*{{ scope.row.data }}</span>
+          
+                    <span >{{ scope.row.data }}</span>
              </div>
           </template>
         </el-table-column>