From 482ed6306545c04f9051372c44dca537bf7ce44e Mon Sep 17 00:00:00 2001 From: gaoluyang <2820782392@qq.com> Date: 星期六, 12 七月 2025 11:27:55 +0800 Subject: [PATCH] 1.销售管理-优化:部位本条数据录入人不可修改数据。表格展示优化 --- src/views/personnelManagement/contractManagement/index.vue | 13 +++++++++---- 1 files changed, 9 insertions(+), 4 deletions(-) diff --git a/src/views/personnelManagement/contractManagement/index.vue b/src/views/personnelManagement/contractManagement/index.vue index f1fe264..46a73e1 100644 --- a/src/views/personnelManagement/contractManagement/index.vue +++ b/src/views/personnelManagement/contractManagement/index.vue @@ -31,7 +31,7 @@ @selection-change="handleSelectionChange" :tableLoading="tableLoading" @pagination="pagination" - :total="total" + :total="page.total" ></PIMTable> </div> <form-dia ref="formDia" @close="handleQuery"></form-dia> @@ -98,6 +98,7 @@ { label: "瀹跺涵浣忓潃", prop: "adress", + width:200 }, { label: "绗竴瀛﹀巻", @@ -106,10 +107,12 @@ { label: "涓撲笟", prop: "profession", + width:100 }, { label: "韬唤璇佸彿", prop: "identityCard", + width:200 }, { label: "骞撮緞", @@ -118,6 +121,7 @@ { label: "鑱旂郴鐢佃瘽", prop: "phone", + width:150 }, { label: "绱ф�ヨ仈绯讳汉", @@ -125,8 +129,9 @@ width: 120 }, { - label: "鑱旂郴鐢佃瘽", + label: "绱ф�ヨ仈绯讳汉鐢佃瘽", prop: "emergencyContactPhone", + width:150 }, { label: "鍚堝悓骞撮檺", @@ -164,8 +169,8 @@ const page = reactive({ current: 1, size: 100, + total: 0, }); -const total = ref(0); const formDia = ref() const { proxy } = getCurrentInstance() @@ -185,7 +190,7 @@ staffOnJobListPage({...page, ...searchForm.value,}).then(res => { tableLoading.value = false; tableData.value = res.data.records - total.value = res.data.total; + page.total = res.data.total; }).catch(err => { tableLoading.value = false; }) -- Gitblit v1.9.3