From 7db683b85295f3516ccad9db2a8bf36d618a4b2d Mon Sep 17 00:00:00 2001 From: wenshijun Date: Tue, 17 Mar 2026 11:21:29 +0800 Subject: [PATCH] =?UTF-8?q?=E5=94=AF=E4=B8=80=E7=A0=81=E7=94=9F=E6=88=90?= =?UTF-8?q?=E9=A1=B5=E9=9D=A2=E4=BF=AE=E6=94=B9=E9=80=BB=E8=BE=91?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/api/unique/code.js | 10 +++++----- src/views/unique/code/index.vue | 10 +++++----- 2 files changed, 10 insertions(+), 10 deletions(-) diff --git a/src/api/unique/code.js b/src/api/unique/code.js index a440566..5c51fba 100644 --- a/src/api/unique/code.js +++ b/src/api/unique/code.js @@ -1,6 +1,6 @@ import request from '@/utils/request' -// 查询唯一码列表 +// 查询唯一码管理列表 export function listCode(query) { return request({ url: '/unique/code/list', @@ -9,7 +9,7 @@ export function listCode(query) { }) } -// 查询唯一码详细 +// 查询唯一码管理详细 export function getCode(id) { return request({ url: '/unique/code/' + id, @@ -17,7 +17,7 @@ export function getCode(id) { }) } -// 新增唯一码 +// 新增唯一码管理 export function addCode(data) { return request({ url: '/unique/code', @@ -26,7 +26,7 @@ export function addCode(data) { }) } -// 修改唯一码 +// 修改唯一码管理 export function updateCode(data) { return request({ url: '/unique/code', @@ -35,7 +35,7 @@ export function updateCode(data) { }) } -// 删除唯一码 +// 删除唯一码管理 export function delCode(id) { return request({ url: '/unique/code/' + id, diff --git a/src/views/unique/code/index.vue b/src/views/unique/code/index.vue index 2811a0d..65adbd0 100644 --- a/src/views/unique/code/index.vue +++ b/src/views/unique/code/index.vue @@ -124,7 +124,7 @@ @pagination="getList" /> - + @@ -199,7 +199,7 @@ const data = reactive({ const { queryParams, form, rules } = toRefs(data) -/** 查询唯一码列表 */ +/** 查询唯一码管理列表 */ function getList() { loading.value = true listCode(queryParams.value).then(response => { @@ -258,7 +258,7 @@ function handleSelectionChange(selection) { function handleAdd() { reset() open.value = true - title.value = "添加唯一码" + title.value = "添加唯一码管理" } /** 修改按钮操作 */ @@ -268,7 +268,7 @@ function handleUpdate(row) { getCode(_id).then(response => { form.value = response.data open.value = true - title.value = "修改唯一码" + title.value = "修改唯一码管理" }) } @@ -296,7 +296,7 @@ function submitForm() { /** 删除按钮操作 */ function handleDelete(row) { const _ids = row.id || ids.value - proxy.$modal.confirm('是否确认删除唯一码编号为"' + _ids + '"的数据项?').then(function() { + proxy.$modal.confirm('是否确认删除唯一码管理编号为"' + _ids + '"的数据项?').then(function() { return delCode(_ids) }).then(() => { getList()