spring
2025-03-19 07a41ade45c962e93a9d449ce1be0eec52e66a6a
src/components/view/a8-periodic-document-review-records.vue
@@ -161,7 +161,7 @@
  },
  data() {
    return {
      activeName:'填写',
      activeName:'历史记录',
      title0:'新增',
      addPower:true,
      outPower:true,
@@ -188,13 +188,13 @@
          id: 'delete',
          font: '删除',
          type: 'text',
          method: 'doDiy',
          method: 'doDiy'
        }, {
          id: 'handleEdit',
          font: '修改',
          type: 'text',
          method: 'handleEdit',
          field:[],
          field:[]
        }],
        tagField: {
          // documentType:{
@@ -295,6 +295,17 @@
      return this.javaApi +this.$api.manageRecordIntervals.exportInManageRecordIntervals
    }
  },
  watch: {
    'activeName' (val1, val2) {
      if(val1=='填写'){
        this.componentData.do.forEach((item)=>{
          item.disabFun = (row, index) => {
            return !this.addPower||!!this.currentInfo.ratifyUserName
          }
        })
      }
    }
  },
  mounted() {
    this.entityCopy = this.HaveJson(this.componentData.entity);
    this.entityCopy0 = this.HaveJson(this.componentData0.entity);
@@ -361,7 +372,7 @@
        this.outLoading = false
        if(res.code==201) return this.$message.error('导出失败')
        this.$message.success('导出成功')
        let url = this.javaApi+'word/'+res.message
        let url = this.javaApi+'/word/'+res.message
        const link = document.createElement('a');
        link.href = url;
        link.download = '文件定期审查记录';
@@ -511,7 +522,7 @@
      }
    },
    handleDown0(row){
      let url = this.javaApi+'word/'+row.url
      let url = this.javaApi+'/word/'+row.url
      const link = document.createElement('a');
      link.href = url;
      link.download = row.month+' 所有文件定期检查记录';