rev:项目搭建

This commit is contained in:
2026-08-18 16:25:44 +08:00
parent b0dff536ee
commit a56541a1e9
33 changed files with 1691 additions and 123 deletions

View File

@@ -191,11 +191,11 @@
{{ scope.row.vehicle_code ? scope.row.vehicle_code : '-' }}
</template>
</el-table-column>
<el-table-column prop="vehicle_code2" label="载具编码2" :min-width="flexWidth('vehicle_code2',crud.data,'载具编码2')">
<!-- <el-table-column prop="vehicle_code2" label="载具编码2" :min-width="flexWidth('vehicle_code2',crud.data,'载具编码2')">
<template slot-scope="scope">
{{ scope.row.vehicle_code2 ? scope.row.vehicle_code2 : '-' }}
</template>
</el-table-column>
</el-table-column>-->
<!-- <el-table-column prop="task_class_id" label="任务分类" :min-width="flexWidth('task_class_id',crud.data,'任务分类')" />-->
<el-table-column prop="task_status" label="任务状态" :min-width="flexWidth('task_status',crud.data,'任务状态')">
<template slot-scope="scope">
@@ -213,8 +213,10 @@
<!-- </template>-->
<!-- </el-table-column>-->
<!-- <el-table-column prop="vehicle_qty" label="载具数量" :min-width="flexWidth('vehicle_qty',crud.data,'载具数量')" />-->
<el-table-column prop="material_name" label="物料名称" :min-width="flexWidth('material_name',crud.data,'物料名称')" />
<el-table-column prop="material_id" label="物料料号" :min-width="flexWidth('material_id',crud.data,'物料料号')" />
<el-table-column prop="material_pcsn" label="物料批次" :min-width="flexWidth('material_pcsn',crud.data,'物料批次')" />
<el-table-column prop="material_qty" label="物料重量" :min-width="flexWidth('material_qty',crud.data,'物料重量')" />
<el-table-column prop="unit_name" label="单位" :min-width="flexWidth('unit_name',crud.data,'单位')" />
<el-table-column v-if="false" prop="priority" label="优先级" :min-width="flexWidth('priority',crud.data,'优先级')" />
<el-table-column v-if="false" prop="handle_class" label="处理类" :min-width="flexWidth('handle_class',crud.data,'处理类')" />
<el-table-column v-if="false" prop="handle_status" label="处理状态" :min-width="flexWidth('handle_status',crud.data,'处理状态')" />
@@ -232,7 +234,7 @@
</el-table-column>-->
<!-- <el-table-column prop="acs_trace_id" label="链路标识" :min-width="flexWidth('acs_trace_id',crud.data,'链路标识')" />-->
<el-table-column prop="request_param" label="生成任务的请求参数" :min-width="flexWidth('request_param',crud.data,'生成任务的请求参数')" />
<el-table-column prop="response_param" label="下发任务的请求参数" :min-width="flexWidth('response_param',crud.data,'下发任务的请求参数')" />
<!-- <el-table-column prop="response_param" label="下发任务的请求参数" :min-width="flexWidth('response_param',crud.data,'下发任务的请求参数')" />-->
<el-table-column prop="create_name" label="创建人" :min-width="flexWidth('create_name',crud.data,'创建人')" />
<el-table-column prop="create_time" label="创建时间" :min-width="flexWidth('create_time',crud.data,'创建时间')" />
<el-table-column prop="update_name" label="修改人" :min-width="flexWidth('update_name',crud.data,'修改人')" />
@@ -256,6 +258,12 @@
@click="doOperate(scope.row, 'b')"
:disabled="scope.row.task_status==='5' || scope.row.task_status==='6'"
>取消</el-button>
<el-button
type="text"
icon="el-icon-error"
@click="returnTaskMes(scope.row)"
:disabled="scope.row.task_status !== '5'"
>回传</el-button>
</template>
</el-table-column>
</el-table>
@@ -406,6 +414,12 @@ export default {
console.log(err.response.data.message)
})
},
returnTaskMes(row) {
crudSchBaseTask.returnTaskMes(row).then(res => {
this.crud.notify('回传成功', CRUD.NOTIFICATION_TYPE.SUCCESS)
this.crud.toQuery()
})
},
down() {
if (this.currentRow !== null) {
const data = this.crud.query