|
@@ -55,7 +55,7 @@
|
|
|
<el-dialog title="员工积分记录" :visible.sync="dialogFormVisible" width="70%">
|
|
|
<div class="filter-container">
|
|
|
<el-select v-model="itemListQuery.type" clearable placeholder="请选择积分类型" style="top: -4px;width: 200px;">
|
|
|
- <el-option :key="item.type" v-for="item in allTypeList" :label="item.name" :value="item.type">
|
|
|
+ <el-option :key="item.dictValue" v-for="item in allTypeList" :label="item.dictLabel" :value="item.dictValue">
|
|
|
</el-option>
|
|
|
</el-select>
|
|
|
<el-button class="filter-item" type="primary" v-waves icon="el-icon-search"
|
|
@@ -108,7 +108,7 @@
|
|
|
|
|
|
<script>
|
|
|
import { getPointList, getItemPointList, pointRulesTypeList } from "@/api/pointManage";
|
|
|
-import { companyTypeList, depTypeList } from "@/api/public";
|
|
|
+import { companyTypeList, depTypeList,dataTypeList } from "@/api/public";
|
|
|
import waves from "@/directive/waves"; // 水波纹指令
|
|
|
import Tinymce from '@/components/Tinymce'
|
|
|
|
|
@@ -177,7 +177,7 @@ export default {
|
|
|
}).catch(() => {});
|
|
|
},
|
|
|
getPointRulesType() {
|
|
|
- pointRulesTypeList().then(response => {
|
|
|
+ dataTypeList({dictType:'integral_rule_type'}).then(response => {
|
|
|
this.allTypeList = response.data.data;
|
|
|
}).catch(() => {
|
|
|
|