zzw
103 分钟以前 d47868f6343b4dc24150d6040e47ca66b920c1b3
emergency-repair-web/src/views/fault/SimpleApproval.vue
@@ -17,7 +17,7 @@
    </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>
@@ -81,11 +81,13 @@
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]
    },