|  |  |  | 
|---|
|  |  |  | <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> | 
|---|
|  |  |  | 
|---|
|  |  |  | 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: '审批结果', | 
|---|
|  |  |  | 
|---|
|  |  |  | filed1: 'arriveDateStart', | 
|---|
|  |  |  | filed2: 'arriveDateEnd', | 
|---|
|  |  |  | type: 'datetime', | 
|---|
|  |  |  | label: '操作时间' | 
|---|
|  |  |  | label: '预约到场时间' | 
|---|
|  |  |  | }, | 
|---|
|  |  |  | { | 
|---|
|  |  |  | type: 'slot', | 
|---|
|  |  |  | 
|---|
|  |  |  | }, | 
|---|
|  |  |  | 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 | 
|---|