|
|
@@ -149,10 +149,7 @@
|
|
|
<el-select v-model="content.isBuy"
|
|
|
placeholder="请选择" size="mini"
|
|
|
style=" margin-right: 10px;" >
|
|
|
- <el-option label="未购" :value="1"></el-option>
|
|
|
- <el-option label="已购" :value="2"></el-option>
|
|
|
- <el-option label="升单未购" :value="3"></el-option>
|
|
|
- <el-option label="升单已购" :value="4"></el-option>
|
|
|
+ <el-option v-for="dict in orderBuyOptions" :key="dict.dictValue" :label="dict.dictLabel" :value="dict.dictValue" />
|
|
|
</el-select>
|
|
|
</el-form-item>
|
|
|
<el-form-item label="推送类别" v-if="content.type == 6 ">
|
|
|
@@ -818,13 +815,17 @@ export default {
|
|
|
gap: [
|
|
|
{required: true, message: '间隔天数不能为空', trigger: 'blur'}
|
|
|
],
|
|
|
- }
|
|
|
+ },
|
|
|
+ orderBuyOptions:[],
|
|
|
};
|
|
|
},
|
|
|
created() {
|
|
|
getRoles().then(res => {
|
|
|
this.roles = res.data;
|
|
|
- })
|
|
|
+ });
|
|
|
+ this.getDicts("upgrade_order_type").then(response => {
|
|
|
+ this.orderBuyOptions = response.data;
|
|
|
+ });
|
|
|
this.getDicts("sys_qwSopAi_contentType").then(response => {
|
|
|
this.sysQwSopAiContentType = response.data;
|
|
|
});
|