| | |
| | | // fun: this.handleExport |
| | | // }, |
| | | ], |
| | | operator: [ |
| | | // { |
| | | // text: '删除', |
| | | // type: 'text', |
| | | // size: 'small', |
| | | // fun: this.deleteHandle |
| | | // }, |
| | | { |
| | | text: '提交审核', |
| | | type: 'text', |
| | | size: 'small', |
| | | fun: this.Submitreview |
| | | }, |
| | | { |
| | | text: '审核结果', |
| | | type: 'text', |
| | | size: 'small', |
| | | fun: this.AuditResult |
| | | } |
| | | ], |
| | | operator: null, |
| | | operatorConfig: { |
| | | fixed: 'right', |
| | | label: '操作', |
| | |
| | | }, |
| | | created() { |
| | | // this.getType() |
| | | let arr = [] |
| | | if(this.permissions.quality_processconfiguration_submit){ |
| | | arr.push({ |
| | | text: '提交审核', |
| | | type: 'text', |
| | | size: 'small', |
| | | fun: this.Submitreview |
| | | }) |
| | | } |
| | | if(this.permissions.quality_processconfiguration_result){ |
| | | arr.push({ |
| | | text: '审核结果', |
| | | type: 'text', |
| | | size: 'small', |
| | | fun: this.AuditResult |
| | | }) |
| | | } |
| | | this.table.operator = arr.length>0 ? arr : null |
| | | }, |
| | | methods: { |
| | | getQueryParam(data){ |