yusheng 10 kuukautta sitten
vanhempi
commit
ffd8d0a5fc

+ 19 - 1
src/views/bpm/handleTask/components/certificateQualifications/certificateQualificationsDialog.vue

@@ -22,6 +22,10 @@
         <template slot="label"> 有效期至 </template>
         {{ form.validityStartTime + ' — ' + form.validityEndTime }}
       </el-descriptions-item>
+      <el-descriptions-item >
+        <template slot="label"> 等级 </template>
+        {{ levelOptions.find(item=>item.value==form.level)?.label }}
+      </el-descriptions-item>
       <el-descriptions-item>
         <template slot="label"> 状态 </template>
         {{ getDictValue('规则状态', form.status) }}
@@ -62,7 +66,21 @@
     //注册组件
     data() {
       return {
-        form: {}
+        form: {},
+        levelOptions: [
+          {
+            label: '初级',
+            value: '1'
+          },
+          {
+            label: '中级',
+            value: '2'
+          },
+          {
+            label: '高级',
+            value: '3'
+          }
+        ],
       };
     },
     props: {