zzw
7 小时以前 d47868f6343b4dc24150d6040e47ca66b920c1b3
emergency-repair-web/src/views/acceptance/AcceptanceList.vue
@@ -16,7 +16,7 @@
    </div>
    <div class="table-panel">
      <el-table :data="filteredRows" border stripe height="calc(100vh - 230px)">
      <el-table :data="filteredRows" border stripe height="calc(100vh - 270px)">
        <el-table-column prop="workOrderNo" label="派工单编号" width="155" fixed></el-table-column>
        <el-table-column prop="status" label="验收状态" width="155" fixed>
          <template slot-scope="{ row }"><el-tag size="mini" :type="acceptanceMeta(row.status).type">{{ acceptanceMeta(row.status).text }}</el-tag></template>
@@ -83,6 +83,9 @@
export default {
  name: 'AcceptanceList',
  props: {
    stage: { type: String, required: true }
  },
  data() {
    return {
      rows: [],
@@ -95,7 +98,6 @@
    }
  },
  computed: {
    stage() { return this.$route.meta.stage },
    pageTitle() {
      return { APPLICATION: '验收申请', INSPECTOR: '质检员验收', LEADER: '质检负责人验收', PRINT: '完工验收打印输出', RATING: '修后质量评级' }[this.stage]
    },
@@ -125,7 +127,7 @@
    }
  },
  watch: {
    '$route.path': 'onRouteChange'
    stage: 'onRouteChange'
  },
  created() { this.load() },
  methods: {