diff --git a/src/pages/index/code/code_module/index.vue b/src/pages/index/code/code_module/index.vue index 32f0681..7581ede 100644 --- a/src/pages/index/code/code_module/index.vue +++ b/src/pages/index/code/code_module/index.vue @@ -284,21 +284,24 @@ function handleAudit(row) { const Ids = row.code_module_guid || selectionData.value.map(v => v.code_module_guid).join() console.log(Ids); - ElMessageBox.confirm("是否通过审核?", "系统提示", { + ElMessageBox.prompt("是否通过审核?
(可在下方输入框填写审核结果消息附言)", "系统提示", { distinguishCancelAndClose: true, + dangerouslyUseHTMLString: true, confirmButtonText: '通过', cancelButtonText: '驳回', type: "warning", }) - .then(async () => { + .then(async (info) => { AuditData.code_module_audit = 2 AuditData.code_module_guid = Ids + AuditData.ps = info.value Audit() }) .catch((action) => { if (action == 'cancel') { AuditData.code_module_audit = 3 AuditData.code_module_guid = Ids + AuditData.ps = info.value Audit() // console.log("拒绝"); } @@ -314,6 +317,7 @@ async function Audit() { if (res.code == 0) { AuditData.code_module_audit = null AuditData.code_module_guid = null + AuditData.ps = null // ElMessageBox.alert(res.msg, "受理信息", { // dangerouslyUseHTMLString: true, // confirmButtonText: "确定", diff --git a/src/pages/index/code/code_module_category/components/AddCodeModuleCategoryDialog.vue b/src/pages/index/code/code_module_category/components/AddCodeModuleCategoryDialog.vue index 1806a8a..2e31163 100644 --- a/src/pages/index/code/code_module_category/components/AddCodeModuleCategoryDialog.vue +++ b/src/pages/index/code/code_module_category/components/AddCodeModuleCategoryDialog.vue @@ -112,7 +112,7 @@ async function getCustomerOptions() { //获取代码块类目树形列表 const dataList = ref([]) async function getList() { - await getCodeModuleCategoryList({ all: true }).then((res) => { + await getCodeModuleCategoryList({ all: true ,code_module_category_audit : 2}).then((res) => { if (res.code == 0) { dataList.value = res.data } diff --git a/src/pages/index/code/code_module_category/components/EditCodeModuleCategoryDialog.vue b/src/pages/index/code/code_module_category/components/EditCodeModuleCategoryDialog.vue index 6c52e48..5116f39 100644 --- a/src/pages/index/code/code_module_category/components/EditCodeModuleCategoryDialog.vue +++ b/src/pages/index/code/code_module_category/components/EditCodeModuleCategoryDialog.vue @@ -107,10 +107,10 @@ async function getCustomerOptions() { customerOptionList.value = res.data }) } - +//获取代码块类目树形列表 const dataList = ref([]) async function getList() { - await getCodeModuleCategoryList({ all: true }).then((res) => { + await getCodeModuleCategoryList({ all: true ,code_module_category_audit : 2}).then((res) => { if (res.code == 0) { dataList.value = res.data } diff --git a/src/pages/index/code/code_module_category/index.vue b/src/pages/index/code/code_module_category/index.vue index 594f474..6248be7 100644 --- a/src/pages/index/code/code_module_category/index.vue +++ b/src/pages/index/code/code_module_category/index.vue @@ -239,16 +239,18 @@ const handleDelete = data => { //审核数据 const handleAudit = data => { let code_module_category_guid = data.map(v => v.code_module_category_guid).join() - ElMessageBox.confirm("是否通过审核?", "系统提示", { + ElMessageBox.prompt("是否通过审核?
(可在下方输入框填写审核结果消息附言)", "系统提示", { distinguishCancelAndClose: true, + dangerouslyUseHTMLString: true, confirmButtonText: '通过', cancelButtonText: '驳回', type: "warning", }) - .then(async () => { + .then(async (info) => { const res = await auditCodeModuleCategory({ code_module_category_guid: code_module_category_guid, code_module_category_audit: 2, + ps: info.value }); if (res) { getList() @@ -259,6 +261,7 @@ const handleAudit = data => { const res = await auditCodeModuleCategory({ code_module_category_guid: code_module_category_guid, code_module_category_audit: 3, + ps: info.value }); if (res) { getList() diff --git a/src/pages/index/customer/customer_message/index.vue b/src/pages/index/customer/customer_message/index.vue index a21fa89..9d1fe04 100644 --- a/src/pages/index/customer/customer_message/index.vue +++ b/src/pages/index/customer/customer_message/index.vue @@ -54,6 +54,21 @@ + + +