xiongchao 3 роки тому
батько
коміт
6374d8342a
1 змінених файлів з 6 додано та 0 видалено
  1. 6 0
      src/views/sb/info/modules/DetailSbInfo.vue

+ 6 - 0
src/views/sb/info/modules/DetailSbInfo.vue

@@ -35,6 +35,11 @@
           </a-popconfirm>
         </template>
       </span>
+      <span slot="status" slot-scope="text">
+        <badge
+          :status="DictCache.COLOR.SB_INFO_STATUS[text]"
+          :text="statusMap[text]" />
+      </span>
     </a-table>
     <sb-info-select-modal :type="'checkbox'" ref="sbInfoSelectModal" @selected="handleSbSelected"/>
   </div>
@@ -80,6 +85,7 @@ export default {
       modalTitle: null,
       visible: false,
       typeMap: {},
+      statusMap: {},
       actionTypeMap: {},
       // 表头
       columns: [