فهرست منبع

Signed-off-by: 1004749546@qq.com <1004749546@qq.com>
bug修改

1004749546@qq.com 4 سال پیش
والد
کامیت
363ca1651c

+ 4 - 1
src/views/evaluation/evaluationItem/EvaluationItem.vue

@@ -134,7 +134,10 @@ export default {
         title: '考评项目说明',
         dataIndex: 'desc',
         width: 300,
-        align: 'center'
+        align: 'center',
+        customRender: (text) => {
+          return text || '--'
+        }
       },
       {
         title: '状态',

+ 1 - 1
src/views/evaluation/evaluationItem/SetEvaItemModal.vue

@@ -23,7 +23,7 @@
         <template slot="action" slot-scope="text, record">
           <a-icon v-hasPermission="'B_target_edit'" id="setEvaItemModal-edit" type="edit" class="actionBtn blue" @click="openModal(record)" />
           <a-icon v-hasPermission="'B_target_del'" id="setEvaItemModal-delete" type="delete" class="actionBtn red" @click="delect(record)" />
-          <span v-if="!$hasPermissions('B_target_edit') && !$hasPermissions('B_target_del')">-</span>
+          <span v-if="!$hasPermissions('B_target_edit') && !$hasPermissions('B_target_del')">--</span>
         </template>
       </a-table>
       <!-- 新增/编辑 弹窗 -->

+ 5 - 2
src/views/evaluation/evaluationPlan/EvaluationPlan.vue

@@ -64,7 +64,7 @@
           type="setting"
           class="actionBtn orange"
           @click="handleSet(record)" />
-        <span v-if="(!$hasPermissions('M_evaluationPlan_edit') && !$hasPermissions('B_evaluationPlan_del') && !$hasPermissions('M_evaluationPlan_setItem'))||(record.status == '1' && !$hasPermissions('M_evaluationPlan_setItem'))">-</span>
+        <span v-if="(!$hasPermissions('M_evaluationPlan_edit') && !$hasPermissions('B_evaluationPlan_del') && !$hasPermissions('M_evaluationPlan_setItem'))||(record.status == '1' && !$hasPermissions('M_evaluationPlan_setItem'))">--</span>
       </template>
       <!-- 启用禁用 -->
       <template slot="enable" slot-scope="text, row">
@@ -143,7 +143,10 @@ export default {
         title: '考评方案说明',
         dataIndex: 'desc',
         width: 300,
-        align: 'center'
+        align: 'center',
+        customRender: (text) => {
+		  return text || '--'
+        }
       },
       {
         title: '适用模式',