doum
2025-09-11 7298d5354963a88643a543b51b90192dc9fc934c
admin/src/views/platform/LogisticsRecord/subscribe.vue
@@ -45,11 +45,12 @@
      </el-table-column>
      <el-table-column prop="auditName" label="当前审批人" min-width="100" show-overflow-tooltip />
      <el-table-column prop="editDate" label="操作时间" min-width="150" show-overflow-tooltip />
      <el-table-column prop="editUserName" label="最后操作人员" min-width="150" show-overflow-tooltip />
      <el-table-column prop="name" label="操作" min-width="170" align="center" fixed="right" show-overflow-tooltip>
        <template v-slot="scope">
          <el-button type="text" v-permissions="['business:platformbooks:detail']"
            @click="handleDetail(scope.row)">预约详情</el-button>
          <el-button type="text" @click="complete([scope.row.jobId])" v-if="[0,1].includes(scope.row.jobStatus)">完成作业</el-button>
          <el-button type="text" @click="complete([scope.row.jobId])" v-if="[0,1,2].includes(scope.row.jobStatus)">完成作业</el-button>
          <el-button type="text" class="red" v-permissions="['business:platformbooks:delete']"
            @click="handleDel(scope.row)">删除</el-button>
        </template>
@@ -188,6 +189,26 @@
            label: '合同单号'
          },
          {
            filed: 'jobStatus',
            type: 'select',
            label: '作业状态',
            options: [
              { value: 0, label: '待确认' },
              { value: 1, label: '待签到' },
              { value: 2, label: '等待叫号' },
              { value: 3, label: '入园等待' },
              { value: 4, label: '月台等待' },
              { value: 5, label: '作业中' },
              { value: 6, label: '作业完成' },
              { value: 7, label: '转移中' },
              { value: 8, label: '异常挂起' },
              { value: 9, label: '已授权离园' },
              // { value: 10, label: '已离园' },
              { value: 11, label: '已过号' },
              { value: 12, label: '已取消' },
            ]
          },
          {
            filed: 'status',
            type: 'select',
            label: '审批结果',
@@ -209,7 +230,7 @@
            filed1: 'arriveDateStart',
            filed2: 'arriveDateEnd',
            type: 'datetime',
            label: '操作时间'
            label: '预约到场时间'
          },
          {
            type: 'slot',
@@ -356,7 +377,7 @@
    },
    getplatformReasons() {
      platformReasonList().then(res => {
        this.queryFormConfig.formItems[4].options = (res || []).map(item => {
        this.queryFormConfig.formItems[5].options = (res || []).map(item => {
          return {
            value: item.id,
            label: item.reason