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