|
@@ -116,6 +116,22 @@
|
|
|
</el-table-column>
|
|
|
</el-table>
|
|
|
</el-dialog>
|
|
|
+
|
|
|
+ <!-- 批量绑定 -->
|
|
|
+ <el-dialog :title="title" :visible.sync="open1" width="600px" append-to-body :before-close="cancel" :close-on-click-modal="false" >
|
|
|
+ <el-form ref="queryParams" :model="queryParams" :rules="rules" label-width="120px" >
|
|
|
+ <el-form-item label="到账比例:" prop="id">
|
|
|
+ <el-select v-model="queryParams.id" style="width: 240px" placeholder="请选择到账比例" clearable size="small" >
|
|
|
+ <el-option :label="`${item.identity}:${item.proportion}`" :value="item.id" v-for="(item, index) in radioList" :key="index" />
|
|
|
+ </el-select>
|
|
|
+ </el-form-item>
|
|
|
+ </el-form>
|
|
|
+ <div slot="footer" class="dialog-footer">
|
|
|
+ <el-button type="primary" @click="submitForm" v-if="!loading">确 定</el-button>
|
|
|
+ <el-button :loading="loading" type="primary" @click="submitForm" v-else>提交中...</el-button>
|
|
|
+ <el-button @click="cancel" plain>取 消</el-button>
|
|
|
+ </div>
|
|
|
+ </el-dialog>
|
|
|
<pagination
|
|
|
v-show="total>0"
|
|
|
:total="total"
|
|
@@ -155,6 +171,7 @@ export default {
|
|
|
title: "异常信息",
|
|
|
// 是否显示弹出层
|
|
|
open: false,
|
|
|
+ open1:false,
|
|
|
// 类型数据字典
|
|
|
typeOptions: [],
|
|
|
// 日期范围
|
|
@@ -260,6 +277,7 @@ export default {
|
|
|
// 取消按钮
|
|
|
cancel() {
|
|
|
this.open = false;
|
|
|
+ this.open1 = false;
|
|
|
this.reset();
|
|
|
},
|
|
|
// 表单重置
|
|
@@ -322,7 +340,7 @@ export default {
|
|
|
batchChange(change){
|
|
|
if(this.ids.length>0){
|
|
|
if(change == "1"){
|
|
|
- this.open = true;
|
|
|
+ this.open1 = true;
|
|
|
this.title = "修改参数";
|
|
|
}else{
|
|
|
this.loading = true;
|
|
@@ -337,8 +355,10 @@ export default {
|
|
|
this.loading = false;
|
|
|
this.msgSuccess('批量解绑完成')
|
|
|
this.getList();
|
|
|
+ this.open1 = false;
|
|
|
}).catch(err=>{
|
|
|
this.loading = false;
|
|
|
+ this.open1 = false;
|
|
|
})
|
|
|
}
|
|
|
}else{
|