|
@@ -51,7 +51,7 @@
|
|
|
<el-col :xs="24" :sm="12" :md="12" :lg="12" :xl="12">
|
|
|
<el-form-item label="呼叫分配方式" prop="distribution" :rules="[{ required: true, message: '请选择ivr类型', trigger: 'change' }]">
|
|
|
<el-select v-model="state.ruleForm.distribution" placeholder="请选择呼叫分配方式" class="w100">
|
|
|
- <el-option v-for="item in state.distributions" :key="item.key" :label="item.value" :value="item.key" />
|
|
|
+ <el-option v-for="item in state.distributionOptions" :key="item.key" :label="item.value" :value="item.key" />
|
|
|
</el-select>
|
|
|
</el-form-item>
|
|
|
</el-col>
|
|
@@ -140,7 +140,7 @@ const state = reactive<any>({
|
|
|
distribution: '',
|
|
|
isDefault: false,
|
|
|
},
|
|
|
- distributions: [],
|
|
|
+ distributionOptions: [],
|
|
|
loading: false,
|
|
|
tableData: [],
|
|
|
voiceData: [],
|
|
@@ -171,7 +171,7 @@ const queryList = async () => {
|
|
|
};
|
|
|
});
|
|
|
// 获取页面基础信息
|
|
|
- state.distributions = res[2].result?.distributions ?? [];
|
|
|
+ state.distributionOptions = res[2].result?.distributions ?? [];
|
|
|
// 分机列表
|
|
|
state.telsList = res[3].result ?? [];
|
|
|
state.loading = false;
|