This commit is contained in:
zxx 2023-11-03 14:47:10 +08:00
parent 591c91363a
commit f00bb5f4a4
3 changed files with 9 additions and 13 deletions

View File

@ -123,7 +123,8 @@ export default {
url: this.actions.get, url: this.actions.get,
loading: "加载中...", loading: "加载中...",
data: { data: {
id: this.dataId id: this.dataId,
target_uid: this.dataId
} }
}).then(a => { }).then(a => {
this.formOptions.data = a.data.BaseAdmin; this.formOptions.data = a.data.BaseAdmin;
@ -179,6 +180,4 @@ export default {
}; };
</script> </script>
<style> <style></style>
</style>

View File

@ -1,7 +1,7 @@
<template> <template>
<basic-page-list ref="listPage" :desc="desc" :options="pageOptions" @loadData="loadData"> <basic-page-list ref="listPage" :desc="desc" :options="pageOptions" @loadData="loadData">
<template v-slot:column1="{ row }"> <template v-slot:column1="{ row }">
<a-button @click.stop="pageDetail(row)">查看详情</a-button> <a-button @click.stop="pageDetail(row)">布产单详情</a-button>
</template> </template>
<template v-slot:column2="{ row }"> <template v-slot:column2="{ row }">
@ -135,8 +135,6 @@ export default {
// //
searchFormItems: [ // searchFormItems: [ //
{ {
title: '部门', span: 5, title: '部门', span: 5,
field: 'department_id', field: 'department_id',
@ -201,7 +199,7 @@ export default {
sortConfig: { sortConfig: {
defaultSort: { defaultSort: {
field: 'complete_time', field: 'complete_time',
order: 'asc' order: 'desc'
}, },
trigger: 'cell', // trigger: 'cell', //
remote: true // remote: true //
@ -216,7 +214,7 @@ export default {
{ slots: { default: 'column1' }, title: '查看详情', width: 120 }, { slots: { default: 'column1' }, title: '查看详情', width: 120 },
{ field: 'department_name', title: '部门', sortable: true, width: 100 }, { field: 'department_name', title: '部门', sortable: true, width: 140 },
{ field: 'process_name', title: '工序名称', sortable: true, width: 100 }, { field: 'process_name', title: '工序名称', sortable: true, width: 100 },
{ title: '模具图片', slots: { default: 'column4' }, width: 90 }, { title: '模具图片', slots: { default: 'column4' }, width: 90 },
{ field: 'production_code', title: '布产单号', sortable: true, width: 100 }, { field: 'production_code', title: '布产单号', sortable: true, width: 100 },

View File

@ -224,7 +224,6 @@
</template> </template>
</vxe-column> </vxe-column>
<vxe-column field="department_name" title="部门" align="center" width="150"></vxe-column>
<vxe-column field="process_name" title="工序名称" align="center" width="110"></vxe-column> <vxe-column field="process_name" title="工序名称" align="center" width="110"></vxe-column>
<vxe-column title="图片" width="75"> <vxe-column title="图片" width="75">
<template #default="{ row }"> <template #default="{ row }">