From 1b19b0268dd95999bb5bf305e79a4c3030a19aa2 Mon Sep 17 00:00:00 2001 From: Esacpe <1113279529@qq.com> Date: Mon, 7 Jul 2025 10:29:09 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/router/index.js | 21 ++++++++++--------- .../JobAppraisal/components/addForm.vue | 3 +-- .../JobAppraisal/index.vue | 3 +-- 3 files changed, 13 insertions(+), 14 deletions(-) rename src/views/backOfficeSystem/{ExcavationResearch => HumanIntelligence}/JobAppraisal/components/addForm.vue (97%) rename src/views/backOfficeSystem/{ExcavationResearch => HumanIntelligence}/JobAppraisal/index.vue (97%) diff --git a/src/router/index.js b/src/router/index.js index 5af12c2..6f30e29 100644 --- a/src/router/index.js +++ b/src/router/index.js @@ -377,7 +377,16 @@ export const publicRoutes = [ title: "社会信息人员建设管理", icon: "article" } - } + }, + { + path: "/JobAppraisal", + name: "JobAppraisal", + component: () => import("@/views/backOfficeSystem/HumanIntelligence/JobAppraisal/index"), + meta: { + title: "社会员工工作信息考核", + icon: "article" + } + }, ] }, { @@ -433,15 +442,7 @@ export const publicRoutes = [ icon: "article" } }, - { - path: "/JobAppraisal", - name: "JobAppraisal", - component: () => import("@/views/backOfficeSystem/ExcavationResearch/JobAppraisal/index"), - meta: { - title: "社会员工工作信息考核", - icon: "article" - } - }, + ] }, { diff --git a/src/views/backOfficeSystem/ExcavationResearch/JobAppraisal/components/addForm.vue b/src/views/backOfficeSystem/HumanIntelligence/JobAppraisal/components/addForm.vue similarity index 97% rename from src/views/backOfficeSystem/ExcavationResearch/JobAppraisal/components/addForm.vue rename to src/views/backOfficeSystem/HumanIntelligence/JobAppraisal/components/addForm.vue index 332efbb..c286531 100644 --- a/src/views/backOfficeSystem/ExcavationResearch/JobAppraisal/components/addForm.vue +++ b/src/views/backOfficeSystem/HumanIntelligence/JobAppraisal/components/addForm.vue @@ -125,7 +125,6 @@ const formData = ref([ { label: "居住地地址", prop: "jzdDz", type: "textarea", width: "100%" }, { label: "考核分数", prop: "khfs", type: "input" }, { label: "奖惩类型", prop: "jclx", type: "select", options: props.dic.D_GS_RLQB_JCQK}, - { label: "奖励情况说明", prop: "jlqksm", type: "textarea", width: "100%" }, ]); const listQuery = ref({}); //表单 const loading = ref(false); @@ -149,7 +148,7 @@ const init = (type, row) => { }; // 根据id查询详情 const getDataById = (id) => { - qcckGet({}, "/mosty-gsxt/tbJlqk/selectByid" + id).then((res) => { + qcckGet({id}, "/mosty-gsxt/tbJlqk/selectByid").then((res) => { listQuery.value = res; }); }; diff --git a/src/views/backOfficeSystem/ExcavationResearch/JobAppraisal/index.vue b/src/views/backOfficeSystem/HumanIntelligence/JobAppraisal/index.vue similarity index 97% rename from src/views/backOfficeSystem/ExcavationResearch/JobAppraisal/index.vue rename to src/views/backOfficeSystem/HumanIntelligence/JobAppraisal/index.vue index f40014f..7b6b057 100644 --- a/src/views/backOfficeSystem/ExcavationResearch/JobAppraisal/index.vue +++ b/src/views/backOfficeSystem/HumanIntelligence/JobAppraisal/index.vue @@ -97,7 +97,6 @@ const pageData = reactive({ { label: "所在单位", prop: "rySzdw"}, { label: "考核分数", prop: "khfs" }, { label: "奖惩类型", prop: "jclx",showSolt: true }, - { label: "奖励情况说明", prop: "jlqksm" } ] }); @@ -140,7 +139,7 @@ const getList = () => { // 删除 const deleteRow = (id) => { proxy.$confirm("确定要删除", "警告", { type: "warning" }).then(() => { - qcckPost({}, "/mosty-gsxt/tbJlqk/delete/" + id).then(() => { + qcckPost({id}, "/mosty-gsxt/tbJlqk/delete").then(() => { proxy.$message({ type: "success", message: "删除成功" }); getList(); });