From 065306e51150347f0d5d0af7d9594e08fd8a578f Mon Sep 17 00:00:00 2001 From: liuye Date: Wed, 28 Aug 2024 14:40:49 +0800 Subject: [PATCH 01/11] =?UTF-8?q?=E7=A7=AF=E5=88=86=E8=A7=84=E5=88=99?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../components/gridScoreRules.vue | 19 +++++++++++++++++-- 1 file changed, 17 insertions(+), 2 deletions(-) diff --git a/project/biaopin/AppGridMemberScore/components/gridScoreRules.vue b/project/biaopin/AppGridMemberScore/components/gridScoreRules.vue index 9e1ff72d..acb7ca93 100644 --- a/project/biaopin/AppGridMemberScore/components/gridScoreRules.vue +++ b/project/biaopin/AppGridMemberScore/components/gridScoreRules.vue @@ -77,14 +77,19 @@ --> - + - + + + + + + @@ -178,6 +183,7 @@ export default { ); }, }, + {prop: "workHoursLimit", label: "工单处理要求时长", align: "center"}, {slot: "integral", label: "积分分值", align: "center"}, { prop: "validRangeType", @@ -204,6 +210,7 @@ export default { integral: "", validRangeType: "0", validRangeData: "", + workHoursLimit: 1 }, formRules: { systemRuleId: [ @@ -215,6 +222,9 @@ export default { scoringCycle: [ {required: true, message: "请选择周期范围", trigger: "change"}, ], + workHoursLimit: [ + {required: true, message: "请输入工单处理要求时长", trigger: "change"}, + ], integral: [{required: true, validator: validcode, trigger: "blur"},], validRangeType: [ {required: true, message: "请选择有效范围", trigger: "change"}, @@ -242,6 +252,7 @@ export default { girdNameList: [], list: [], isOneAndTen: false, + isWorkOrder: false }; }, created() { @@ -352,11 +363,15 @@ export default { this.getList(); }, handleTypeForm(v) { + console.log(v) + this.isWorkOrder = false if (this.dialog) { if(v[0] == '1' || v[0]== '10') { this.form.scoringCycle = '0' this.form.numberLimit = '1' this.isOneAndTen = true + } else if(v[0] == '20') { //工单处理 + this.isWorkOrder = true } else { this.form.scoringCycle = '' this.form.numberLimit = '' From cd314f3da7c90f8d12e1a065cd96cbefe4aa0f4a Mon Sep 17 00:00:00 2001 From: liuye Date: Wed, 28 Aug 2024 14:59:42 +0800 Subject: [PATCH 02/11] =?UTF-8?q?=E7=A7=AF=E5=88=86=E8=A7=84=E5=88=99?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../biaopin/AppGridMemberScore/components/gridScoreRules.vue | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/project/biaopin/AppGridMemberScore/components/gridScoreRules.vue b/project/biaopin/AppGridMemberScore/components/gridScoreRules.vue index acb7ca93..5861e557 100644 --- a/project/biaopin/AppGridMemberScore/components/gridScoreRules.vue +++ b/project/biaopin/AppGridMemberScore/components/gridScoreRules.vue @@ -301,6 +301,10 @@ export default { this.$nextTick(() => { this.dialog = true; }); + this.isWorkOrder = false + if(row.parentRuleName == '工单处理') { + this.isWorkOrder = true + } }, remove(id) { this.$confirm("删除后不可恢复,是否要删除该规则?", { From 494cc25c4d0fbd12dd50f8bc885121d1211dbc1f Mon Sep 17 00:00:00 2001 From: liuye Date: Wed, 28 Aug 2024 17:55:36 +0800 Subject: [PATCH 03/11] =?UTF-8?q?=E7=A7=AF=E5=88=86=E8=A7=84=E5=88=99?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../components/gridScoreRules.vue | 119 ++++++++++++++---- 1 file changed, 98 insertions(+), 21 deletions(-) diff --git a/project/biaopin/AppGridMemberScore/components/gridScoreRules.vue b/project/biaopin/AppGridMemberScore/components/gridScoreRules.vue index 5861e557..e6232429 100644 --- a/project/biaopin/AppGridMemberScore/components/gridScoreRules.vue +++ b/project/biaopin/AppGridMemberScore/components/gridScoreRules.vue @@ -5,7 +5,7 @@