licp
2024-12-26 f0a1d1428a7a258a5493ad5f6c36161ce377c7b0
src/components/view/a8-external-document-confirmation-records.vue
@@ -69,7 +69,7 @@
  data(){
    return{
      title0:'查看',
      activeName:'填写',
      activeName:'历史记录',
      lookDialogVisible:false,
      noCheckLoading:false,
      checkLoading:false,
@@ -141,12 +141,12 @@
            id: 'update',
            font: '修改',
            type: 'text',
            method: 'doDiy'
            method: 'doDiy',
          },{
            id: 'delete',
            font: '删除',
            type: 'text',
            method: 'doDiy'
            method: 'doDiy',
          }],
          tagField: {},
          selectField: {},
@@ -176,6 +176,17 @@
      return this.javaApi +this.$api.manageRecordTotal.exportManageRecordVerify
    }
  },
  watch: {
    'activeName' (val1, val2) {
      if(val1=='填写'){
        this.componentData0.do.forEach((item)=>{
          item.disabFun = (row, index) => {
            return !this.addPower||!!this.currentInfo.ratifyUserName
          }
        })
      }
    }
  },
  mounted() {
    this.entityCopy = this.HaveJson(this.componentData.entity);
    this.getPower()