BUG 28972

This commit is contained in:
aixianling
2022-04-08 18:37:13 +08:00
parent 8f1ef4dc7e
commit f05c9703c5

View File

@@ -11,14 +11,14 @@
v-model="search.classification"
@change="search.current = 1, getList()"
placeholder="请选择分类"
:selectList="dict.getDict('atWillReportType')">
:selectList="dict.getDict('classification')">
</ai-select>
<!-- <ai-select-->
<!-- v-model="search.integralType"-->
<!-- @change="search.current = 1, getList()"-->
<!-- placeholder="请选择类型"-->
<!-- :selectList="dict.getDict('integralIntegralType')">-->
<!-- </ai-select>-->
<!-- <ai-select-->
<!-- v-model="search.integralType"-->
<!-- @change="search.current = 1, getList()"-->
<!-- placeholder="请选择类型"-->
<!-- :selectList="dict.getDict('integralIntegralType')">-->
<!-- </ai-select>-->
<ai-select
v-model="search.ruleStatus"
@change="search.current = 1, getList()"
@@ -29,11 +29,11 @@
<template slot="right">
</template>
</ai-search-bar>
<!-- <ai-search-bar style="margin-top: 16px;">-->
<!-- <template #left>-->
<!-- <el-button type="primary" icon="iconfont iconAdd" @click="addRule">添加</el-button>-->
<!-- </template>-->
<!-- </ai-search-bar>-->
<!-- <ai-search-bar style="margin-top: 16px;">-->
<!-- <template #left>-->
<!-- <el-button type="primary" icon="iconfont iconAdd" @click="addRule">添加</el-button>-->
<!-- </template>-->
<!-- </ai-search-bar>-->
<ai-table
:tableData="tableData"
:col-configs="colConfigs"
@@ -89,7 +89,7 @@
label-suffix=""
label-width="120px">
<el-form-item label="类别" prop="classification">
<ai-select v-model="dialogInfo.classification" :selectList="dict.getDict('atWillReportType')"
<ai-select v-model="dialogInfo.classification" :selectList="dict.getDict('classification')"
:disabled="!!dialogInfo.id"/>
</el-form-item>
<el-form-item label="获得积分" prop="integral">
@@ -189,13 +189,9 @@ export default {
},
total: 10,
colConfigs: [
{
prop: "classification", label: "类型", width: 168,
formart: (classification) =>
this.dict.getLabel("atWillReportType", classification),
},
{prop: "classification", label: "类型", width: 168, dict: 'classification'},
{prop: "ruleDescription", label: "规则说明", width: 390},
{prop: "upperLimit", label: "每天获取次数",align: 'center'},
{prop: "upperLimit", label: "每天获取次数", align: 'center'},
{slot: "integral", label: "分值", width: 70},
{
prop: "ruleStatus",
@@ -267,7 +263,7 @@ export default {
},
created() {
this.dict.load(["classification", "integralIntegralType", "integralRuleStatus", 'atWillReportType']).then(() => {
this.dict.load(["classification", "integralIntegralType", "integralRuleStatus"]).then(() => {
this.getList();
});
},