|
@@ -90,6 +90,7 @@
|
|
|
|
|
|
<script>
|
|
|
const _ = require('lodash');
|
|
|
+const { policyType, discounttype, usetype, classify } = require('@common/dict/index');
|
|
|
import { mapState, createNamespacedHelpers } from 'vuex';
|
|
|
const { mapActions: policy } = createNamespacedHelpers('policy');
|
|
|
export default {
|
|
@@ -100,11 +101,13 @@ export default {
|
|
|
return {
|
|
|
form: {},
|
|
|
// 创新券类型
|
|
|
- typeList: ['研发补贴', '奖励兑现', '创新券'],
|
|
|
+ typeList: policyType,
|
|
|
// 折扣类型
|
|
|
- discounttypeList: ['全额折扣券', '折扣券', '定额券'],
|
|
|
- usetypeList: ['服务类型1', '服务类型2', '服务类型3'],
|
|
|
- classifyList: ['分类1', '分类2', '分类3'],
|
|
|
+ discounttypeList: discounttype,
|
|
|
+ // 适用服务类型
|
|
|
+ usetypeList: usetype,
|
|
|
+ // 所属分类
|
|
|
+ classifyList: classify,
|
|
|
};
|
|
|
},
|
|
|
created() {
|