| | |
| | | name: "SampleDisposal", |
| | | data() { |
| | | return { |
| | | activeName:'填写', |
| | | activeName:'历史记录', |
| | | title:'新增', |
| | | addDialogVisible:false, |
| | | addLoading:false, |
| | |
| | | id: 'handleAdd0', |
| | | font: '修改', |
| | | type: 'text', |
| | | method: 'handleAdd0' |
| | | method: 'handleAdd0', |
| | | disabFun: (row, index) => { |
| | | return !this.addPower||this.currentInfo.examineState=='通过' |
| | | } |
| | | },{ |
| | | id: 'delete', |
| | | font: '删除', |
| | | type: 'text', |
| | | method: 'doDiy' |
| | | method: 'doDiy', |
| | | disabFun: (row, index) => { |
| | | return !this.addPower||this.currentInfo.examineState=='通过' |
| | | } |
| | | }], |
| | | tagField: {}, |
| | | selectField: {}, |
| | |
| | | addPower:false, |
| | | }; |
| | | }, |
| | | watch: { |
| | | 'activeName' (val1, val2) { |
| | | if(val1=='填写'){ |
| | | this.componentData0.do.forEach((item)=>{ |
| | | item.disabFun = (row, index) => { |
| | | return !this.addPower||this.currentInfo.examineState=='通过' |
| | | } |
| | | }) |
| | | } |
| | | } |
| | | }, |
| | | mounted() { |
| | | this.entityCopy = this.HaveJson(this.componentData.entity); |
| | | this.getCustomPageList() |
| | |
| | | name: "SampleDisposal", |
| | | data() { |
| | | return { |
| | | activeName:'填写', |
| | | activeName:'历史记录', |
| | | title:'新增', |
| | | addDialogVisible:false, |
| | | addLoading:false, |
| | |
| | | id: 'handleAdd0', |
| | | font: '修改', |
| | | type: 'text', |
| | | method: 'handleAdd0' |
| | | method: 'handleAdd0', |
| | | disabFun:(row, index) => { |
| | | return !this.addPower||this.currentInfo.examineState=='通过' |
| | | } |
| | | },{ |
| | | id: 'delete', |
| | | font: '删除', |
| | | type: 'text', |
| | | method: 'doDiy' |
| | | method: 'doDiy', |
| | | disabFun:(row, index) => { |
| | | return !this.addPower||this.currentInfo.examineState=='通过' |
| | | } |
| | | }], |
| | | tagField: {}, |
| | | selectField: {}, |
| | |
| | | addPower:true, |
| | | }; |
| | | }, |
| | | watch: { |
| | | 'activeName' (val1, val2) { |
| | | if(val1=='填写'){ |
| | | this.componentData0.do.forEach((item)=>{ |
| | | item.disabFun = (row, index) => { |
| | | return !this.addPower||this.currentInfo.examineState=='通过' |
| | | } |
| | | }) |
| | | } |
| | | } |
| | | }, |
| | | mounted() { |
| | | this.entityCopy = this.HaveJson(this.componentData.entity); |
| | | this.getCustomPageList() |
| | |
| | | data(){ |
| | | return{ |
| | | title0:'查看', |
| | | activeName:'填写', |
| | | activeName:'历史记录', |
| | | lookDialogVisible:false, |
| | | noCheckLoading:false, |
| | | checkLoading:false, |
| | |
| | | id: 'update', |
| | | font: '修改', |
| | | type: 'text', |
| | | method: 'doDiy' |
| | | method: 'doDiy', |
| | | disabFun:(row, index) => { |
| | | return !this.addPower||!!this.currentInfo.ratifyUserName |
| | | } |
| | | },{ |
| | | id: 'delete', |
| | | font: '删除', |
| | | type: 'text', |
| | | method: 'doDiy' |
| | | method: 'doDiy', |
| | | disabFun:(row, index) => { |
| | | return !this.addPower||!!this.currentInfo.ratifyUserName |
| | | } |
| | | }], |
| | | tagField: {}, |
| | | selectField: {}, |
| | |
| | | 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() |
| | |
| | | }, |
| | | data() { |
| | | return { |
| | | activeName:'填写', |
| | | activeName:'历史记录', |
| | | title0:'新增', |
| | | addPower:true, |
| | | outPower:true, |
| | |
| | | font: '删除', |
| | | type: 'text', |
| | | method: 'doDiy', |
| | | disabFun:(row, index) => { |
| | | return !this.addPower||!!this.currentInfo.ratifyUserName |
| | | } |
| | | }, { |
| | | id: 'handleEdit', |
| | | font: '修改', |
| | | type: 'text', |
| | | method: 'handleEdit', |
| | | field:[], |
| | | disabFun:(row, index) => { |
| | | return !this.addPower||!!this.currentInfo.ratifyUserName |
| | | } |
| | | }], |
| | | tagField: { |
| | | // documentType:{ |
| | |
| | | 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); |