diff --git a/project/sanjianxi/apps/AppScoreRules/AppScoreRules.vue b/project/sanjianxi/apps/AppScoreRules/AppScoreRules.vue index 6f3088f7..aab80f9a 100644 --- a/project/sanjianxi/apps/AppScoreRules/AppScoreRules.vue +++ b/project/sanjianxi/apps/AppScoreRules/AppScoreRules.vue @@ -6,6 +6,7 @@ + 暂无应用权限 - + +
- + + + - - -
- 添加 - - - - - - - - - - - - - + + + + + + + 常规 + 区间 + 阶梯 + - + + + + + + + + + + +
+
+ +
+
+ +
+
+ +
+
+
+ + + 添加 + + + + + 删除 + + + + + + + + + + + + + + + + + +
+ + + @@ -152,6 +207,11 @@ export default { {prop: "status", label: "状态", align: "center", width: 96, dict: "integralRuleStatus"}, {slot: "options", label: "操作", align: "center"}, ], + integralConfigs: [ + {prop: "event", label: "加分项", dict: "integralRuleEvent"}, + {prop: "event", label: "获得积分", dict: "integralRuleEvent"}, + {slot: "options", label: "操作", align: "center"}, + ], tableData: [], dialog: false, form: {ladderRule: []}, @@ -161,7 +221,12 @@ export default { integral: [{required: true, pattern: /^\d*[.\d]\d?$/, message: "请输入积分分值,最多保留一位小数"}], numberLimit: [{pattern: /^\d*$/, message: "请输入正整数"}] }, - cacheOps: [] + cacheOps: [], + integralFrom: '', + integralTo: '', + integralData: [], + innerVisible: false, + forms: {}, }; }, created() { @@ -198,6 +263,19 @@ export default { }) }) }, + + typeChange() { + this.form.integral = '' + }, + + handleInputFrom(event) { + this.$emit('focusfrom', event) + }, + + handleInputTo(event) { + this.$emit('blurto', event) + }, + remove(id) { this.$confirm("删除后不可恢复,是否要删除该事项?", { type: 'error' @@ -299,5 +377,38 @@ export default { } } } + + + ::v-deep .el-input--mini .el-input__inner { + border: 0px; + margin: 0; + padding: 0 15px; + background-color: transparent; + } + .input-number-range { + background-color: #fff; + border: 1px solid #dcdfe6; + border-radius: 4px; + } + + .flex { + display: flex; + flex-direction: row; + width: 100%; + // justify-content: space-between; + align-items: center; + + .center { + margin: 0 20px; + margin-top: 1px; + } + } + .is-disabled { + background-color: #eef0f6; + border-color: #e4e7ed; + color: #c0c4cc; + cursor: not-allowed; + } + }