Browse Source

成本模型——警告

wyh 1 year ago
parent
commit
007c2fadfa
1 changed files with 6 additions and 0 deletions
  1. 6 0
      src/views/module_kzks/costModelList/CostModelList.vue

+ 6 - 0
src/views/module_kzks/costModelList/CostModelList.vue

@@ -106,6 +106,8 @@
         </template>
 
         <span slot="action" slot-scope="text, record">
+          <a @click="handleJG(record)" style="color:#FFA11E;" v-if="record.modelStatus == 1">警告</a>
+          <a-divider type="vertical" v-if="record.modelStatus == 1"/>
           <a @click="handleEdit(record)">编辑</a>
 
           <a-divider type="vertical" />
@@ -457,6 +459,10 @@ import CostModelDetailModal from './modulesDetail/CostModelDetailModal.vue'
         fieldList.push({type:'string',value:'glf',text:'管理费',dictCode:''})
         fieldList.push({type:'string',value:'totalPrice',text:'总价',dictCode:''})
         this.superFieldList = fieldList
+      },
+      // 警告
+      handleJG(record){
+        console.log(record)
       }
     }
   }