| | |
| | | </div> |
| | | |
| | | <div class="table-panel"> |
| | | <el-table :data="rows" border stripe height="calc(100vh - 230px)" :header-cell-style="{ textAlign: 'center' }" @selection-change="selection = $event"> |
| | | <el-table :data="rows" border stripe height="calc(100vh - 270px)" :header-cell-style="{ textAlign: 'center' }" @selection-change="selection = $event"> |
| | | <el-table-column type="selection" width="46"></el-table-column> |
| | | <el-table-column prop="taskStatus" label="任务状态" width="145" fixed> |
| | | <template slot-scope="{ row }"><el-tag size="mini" :type="taskMeta(row.taskStatus).type">{{ taskMeta(row.taskStatus).text }}</el-tag></template> |
| | |
| | | |
| | | export default { |
| | | name: 'SimpleApproval', |
| | | props: { |
| | | stage: { type: String, required: true } |
| | | }, |
| | | data() { |
| | | return { rows: [], selection: [], keyword: '', dialogVisible: false, saving: false, form: { result: 'PASS', opinion: '' } } |
| | | }, |
| | | computed: { |
| | | stage() { return this.$route.meta.stage }, |
| | | pageTitle() { |
| | | return { CMB: 'CMB领导审批', JCC_ASSISTANT: 'JCC助理审批', JCC_DIRECTOR: 'JCC处长审批' }[this.stage] |
| | | }, |