|
@ -98,7 +98,7 @@ |
|
|
icon="el-icon-refresh" |
|
|
icon="el-icon-refresh" |
|
|
@click="reload" |
|
|
@click="reload" |
|
|
> |
|
|
> |
|
|
{{ $t('auto.common.synchronous') }} |
|
|
{{ $t('common.synchronous') }} |
|
|
</el-button> |
|
|
</el-button> |
|
|
</crudOperation> |
|
|
</crudOperation> |
|
|
<!--表单组件--> |
|
|
<!--表单组件--> |
|
@ -124,8 +124,8 @@ |
|
|
</el-form-item> |
|
|
</el-form-item> |
|
|
</el-form> |
|
|
</el-form> |
|
|
<div slot="footer" class="dialog-footer"> |
|
|
<div slot="footer" class="dialog-footer"> |
|
|
<el-button type="text" @click="crud.cancelCU">{{ $t('auto.common.Cancel') }}</el-button> |
|
|
<el-button type="text" @click="crud.cancelCU">{{ $t('common.Cancel') }}</el-button> |
|
|
<el-button :loading="crud.cu === 2" type="primary" @click="crud.submitCU">{{ $t('auto.common.Confirm') }}</el-button> |
|
|
<el-button :loading="crud.cu === 2" type="primary" @click="crud.submitCU">{{ $t('common.Confirm') }}</el-button> |
|
|
</div> |
|
|
</div> |
|
|
</el-dialog> |
|
|
</el-dialog> |
|
|
<!--表格渲染--> |
|
|
<!--表格渲染--> |
|
@ -148,8 +148,8 @@ |
|
|
<el-table-column prop="put_point_code" :label="$t('Inst.table.put_point_code')" :min-width="flexWidth('put_point_code',crud.data,$t('Inst.table.put_point_code'))" /> |
|
|
<el-table-column prop="put_point_code" :label="$t('Inst.table.put_point_code')" :min-width="flexWidth('put_point_code',crud.data,$t('Inst.table.put_point_code'))" /> |
|
|
<el-table-column prop="execute_device_code" :label="$t('Inst.table.execute_device_code')" :min-width="flexWidth('execute_device_code',crud.data,$t('Inst.table.execute_device_code'))" /> |
|
|
<el-table-column prop="execute_device_code" :label="$t('Inst.table.execute_device_code')" :min-width="flexWidth('execute_device_code',crud.data,$t('Inst.table.execute_device_code'))" /> |
|
|
<!-- <el-table-column prop="link_num" label="关联编号" />--> |
|
|
<!-- <el-table-column prop="link_num" label="关联编号" />--> |
|
|
<el-table-column prop="task_code" :label="$t('Inst.table.task_code')" :min-width="flexWidth('task_code',crud.data,$t('Inst.table.task_code'))"/> |
|
|
<el-table-column prop="task_code" :label="$t('Inst.table.task_code')" :min-width="flexWidth('task_code',crud.data,$t('Inst.table.task_code'))" /> |
|
|
<el-table-column prop="vehicle_code" :label="$t('Inst.table.vehicle_code')" :min-width="flexWidth('vehicle_code',crud.data,$t('Inst.table.vehicle_code'))"/> |
|
|
<el-table-column prop="vehicle_code" :label="$t('Inst.table.vehicle_code')" :min-width="flexWidth('vehicle_code',crud.data,$t('Inst.table.vehicle_code'))" /> |
|
|
<el-table-column prop="instruction_status" :label="$t('Inst.table.instruction_status')" :min-width="flexWidth('instruction_status',crud.data,$t('Inst.table.instruction_status'))"> |
|
|
<el-table-column prop="instruction_status" :label="$t('Inst.table.instruction_status')" :min-width="flexWidth('instruction_status',crud.data,$t('Inst.table.instruction_status'))"> |
|
|
<template slot-scope="scope"> |
|
|
<template slot-scope="scope"> |
|
|
<span v-if="scope.row.instruction_status=='0' ">{{ $t('Inst.table.ready') }}</span> |
|
|
<span v-if="scope.row.instruction_status=='0' ">{{ $t('Inst.table.ready') }}</span> |
|
@ -179,7 +179,7 @@ |
|
|
<el-table-column prop="update_time" :label="$t('Inst.table.update_time')" :min-width="flexWidth('update_time',crud.data,$t('Inst.table.update_time'))" /> |
|
|
<el-table-column prop="update_time" :label="$t('Inst.table.update_time')" :min-width="flexWidth('update_time',crud.data,$t('Inst.table.update_time'))" /> |
|
|
<el-table-column |
|
|
<el-table-column |
|
|
v-permission="['admin','instruction:edit','instruction:del']" |
|
|
v-permission="['admin','instruction:edit','instruction:del']" |
|
|
:label="$t('auto.common.Operate')" |
|
|
:label="$t('common.Operate')" |
|
|
width="250px" |
|
|
width="250px" |
|
|
align="center" |
|
|
align="center" |
|
|
> |
|
|
> |
|
@ -190,9 +190,9 @@ |
|
|
<!-- </span>--> |
|
|
<!-- </span>--> |
|
|
<!-- <el-dropdown-menu slot="dropdown">--> |
|
|
<!-- <el-dropdown-menu slot="dropdown">--> |
|
|
<!-- <el-dropdown-item :command="beforeHandleCommand(scope.$index, scope.row,'a')">{{ $t('Inst.table.Finish') }}</el-dropdown-item>--> |
|
|
<!-- <el-dropdown-item :command="beforeHandleCommand(scope.$index, scope.row,'a')">{{ $t('Inst.table.Finish') }}</el-dropdown-item>--> |
|
|
<!-- <el-dropdown-item :command="beforeHandleCommand(scope.$index, scope.row,'b')">{{ $t('auto.common.Cancel') }}</el-dropdown-item>--> |
|
|
<!-- <el-dropdown-item :command="beforeHandleCommand(scope.$index, scope.row,'b')">{{ $t('common.Cancel') }}</el-dropdown-item>--> |
|
|
<!-- <el-dropdown-item :command="beforeHandleCommand(scope.$index, scope.row,'c')">{{ $t('auto.common.Forced_cancellation') }}</el-dropdown-item>--> |
|
|
<!-- <el-dropdown-item :command="beforeHandleCommand(scope.$index, scope.row,'c')">{{ $t('common.Forced_cancellation') }}</el-dropdown-item>--> |
|
|
<!-- <el-dropdown-item :command="beforeHandleCommand(scope.$index, scope.row,'d')">{{ $t('auto.common.Initialize') }}</el-dropdown-item>--> |
|
|
<!-- <el-dropdown-item :command="beforeHandleCommand(scope.$index, scope.row,'d')">{{ $t('common.Initialize') }}</el-dropdown-item>--> |
|
|
<!-- </el-dropdown-menu>--> |
|
|
<!-- </el-dropdown-menu>--> |
|
|
<!-- </el-dropdown>--> |
|
|
<!-- </el-dropdown>--> |
|
|
<el-button |
|
|
<el-button |
|
@ -207,21 +207,21 @@ |
|
|
icon="el-icon-circle-close" |
|
|
icon="el-icon-circle-close" |
|
|
@click="handleCommand(scope.$index, scope.row,'b')" |
|
|
@click="handleCommand(scope.$index, scope.row,'b')" |
|
|
> |
|
|
> |
|
|
{{ $t('auto.common.Cancel') }} |
|
|
{{ $t('common.Cancel') }} |
|
|
</el-button> |
|
|
</el-button> |
|
|
<el-button |
|
|
<el-button |
|
|
type="text" |
|
|
type="text" |
|
|
icon="el-icon-error" |
|
|
icon="el-icon-error" |
|
|
@click="handleCommand(scope.$index, scope.row,'c')" |
|
|
@click="handleCommand(scope.$index, scope.row,'c')" |
|
|
> |
|
|
> |
|
|
{{ $t('auto.common.Forced_cancellation') }} |
|
|
{{ $t('common.Forced_cancellation') }} |
|
|
</el-button> |
|
|
</el-button> |
|
|
<el-button |
|
|
<el-button |
|
|
type="text" |
|
|
type="text" |
|
|
icon="el-icon-refresh" |
|
|
icon="el-icon-refresh" |
|
|
@click="handleCommand(scope.$index, scope.row,'d')" |
|
|
@click="handleCommand(scope.$index, scope.row,'d')" |
|
|
> |
|
|
> |
|
|
{{ $t('auto.common.Initialize') }} |
|
|
{{ $t('common.Initialize') }} |
|
|
</el-button> |
|
|
</el-button> |
|
|
</template> |
|
|
</template> |
|
|
</el-table-column> |
|
|
</el-table-column> |
|
|