From b719d504024bb698eaa909a9716b82d79f9025d7 Mon Sep 17 00:00:00 2001 From: kun <1422840143@qq.com> Date: Mon, 21 Aug 2023 19:15:49 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20BUG=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/api/modules/huizhou.ts | 5 + .../unitScore/components/scoreTableNew.vue | 608 ++++++++++++------ .../unitScore/index copy.vue | 7 - .../assessmentManagement/unitScore/index.vue | 22 +- 4 files changed, 448 insertions(+), 194 deletions(-) diff --git a/src/api/modules/huizhou.ts b/src/api/modules/huizhou.ts index e0fb282..a3cf981 100644 --- a/src/api/modules/huizhou.ts +++ b/src/api/modules/huizhou.ts @@ -293,6 +293,11 @@ export const rankCompanyCount = (params: any) => { return http.post(BASEURL + `/gov/enterpriseScore/rankEnterpriseStat`, params); }; +// 根据企业类型获取分项列表 +export const scoreSubItemList = (params: any) => { + return http.post(BASEURL + `/gov/enterpriseScoreStandard/subItemList`, params); +}; + // 企业端 // 获取项目信息 export const getEntProjectInfo = (params: any) => { diff --git a/src/views/goverment/huizhou/assessmentManagement/unitScore/components/scoreTableNew.vue b/src/views/goverment/huizhou/assessmentManagement/unitScore/components/scoreTableNew.vue index fc22b8c..7c871aa 100644 --- a/src/views/goverment/huizhou/assessmentManagement/unitScore/components/scoreTableNew.vue +++ b/src/views/goverment/huizhou/assessmentManagement/unitScore/components/scoreTableNew.vue @@ -3,29 +3,70 @@
审图单位服务考核评分表
服务单位名称
-
服务单位名称
-
服务单位名称
-
服务单位名称
-
服务单位名称
-
服务单位名称
+
+ + {{ formData.enterpriseName }} +
+
类别对象
+
+ {{ formData.enterpriseTypeName }} +
+
填表时间
+
+ +
-
服务单位名称
-
服务单位名称
-
服务单位名称
-
服务单位名称
+
服务项目名称
+
{{ formData.engineeringName }}
+
合同编号
+
+ +
-
服务单位名称
-
服务单位名称
+
服务考核区间
+
+ +
-
服务单位名称
-
服务单位名称
+
考核标准项
+
评分
优秀(10分)良好(8-9分)一般(6-7分)差(0-5分)
+
+
+ + {{ item }} + +
+
考核项目
考核得分
@@ -38,100 +79,200 @@
得分
扣分说明
-
+
-
类别
-
- 1 - 2 - 3 - 4 - 5 - 6 - 7 - 8 - 9 - 10 +
+ {{ key }}
-
- 考核内容 - 考核内容 - 考核内容 - 考核内容 - 考核内容 - 考核内容 - 考核内容 - 考核内容 - 考核内容 - 考核内容 -
-
- 总分值 - 总分值 - 总分值 - 总分值 - 总分值 - 总分值 - 总分值 - 总分值 - 总分值 - 总分值 -
-
- 得分 - 得分 - 得分 - 得分 - 得分 - 得分 - 得分 - 得分 - 得分 - 得分 -
-
- 扣分说明 - 扣分说明 - 扣分说明 - 扣分说明 - 扣分说明 - 扣分说明 - 扣分说明 - 扣分说明 - 扣分说明 - 扣分说明 +
+
+
+ {{ index2 + 1 }} +
+
{{ item.scoreCriteria }}
+
10
+
+ + + +
+
+
小计
100
-
100
-
早退
+
+ {{ sumAllScore(value.children) }} +
+
+ +
考核总评分
-
100
+
+ {{ sumAllScoreCount() }} +
+
+ 取消 + 保存 +
diff --git a/src/views/goverment/huizhou/assessmentManagement/unitScore/index copy.vue b/src/views/goverment/huizhou/assessmentManagement/unitScore/index copy.vue index 244d981..de16648 100644 --- a/src/views/goverment/huizhou/assessmentManagement/unitScore/index copy.vue +++ b/src/views/goverment/huizhou/assessmentManagement/unitScore/index copy.vue @@ -14,13 +14,6 @@
-
-
- - 返回 - -
-
diff --git a/src/views/goverment/huizhou/assessmentManagement/unitScore/index.vue b/src/views/goverment/huizhou/assessmentManagement/unitScore/index.vue index 5b45b4f..ab640e5 100644 --- a/src/views/goverment/huizhou/assessmentManagement/unitScore/index.vue +++ b/src/views/goverment/huizhou/assessmentManagement/unitScore/index.vue @@ -14,7 +14,7 @@ -
+
+
+
+ + 返回 + +
+ + +
@@ -99,8 +108,8 @@ 保存 - - +
@@ -115,9 +124,9 @@ import { ElMessage } from "element-plus"; import DialogForm from "@/components/DialogForm/index.vue"; import scoreTable from "./components/scoreTable.vue"; import addCompany from "./components/addCompany.vue"; +import scoreTableNew from "./components/scoreTableNew.vue"; import { getDicList } from "@/api/modules/jxjview"; import { scorePage, enterpriseList, engineerList, scoreAdd } from "@/api/modules/huizhou"; -import { ro } from "date-fns/locale"; const relativeInfo = ref({}); const dicMainData = ref([]); const openScore = ref(false); @@ -214,6 +223,10 @@ const companyType = ref({}); const proTable = ref(); const enterpriseDataList = ref([]); const engineerDataList = ref([]); +const confirmScore = (val: any) => { + console.log(val); + openScore.value = val; +}; const openScoreTable = (row: any) => { relativeInfo.value = row; relativeInfo.value.enterpriseType = companyType.value.dictLabel; @@ -340,6 +353,7 @@ const getTableList = (params: any) => { // div点击事件 const onSearch = async (params: any) => { console.log(params); + openScore.value = false; companyType.value = params; proTable.value.getTableList(); };