|
@@ -66,7 +66,7 @@ interface PageInfo {
|
|
|
onBeforeMount(async () => {
|
|
onBeforeMount(async () => {
|
|
|
await loadDicts(['valid_status', 'is_enable', 'audit_status', 'insurance_type']);//获取多个字典
|
|
await loadDicts(['valid_status', 'is_enable', 'audit_status', 'insurance_type']);//获取多个字典
|
|
|
if (id.value) {
|
|
if (id.value) {
|
|
|
- formInline.agreement = id.value;
|
|
|
|
|
|
|
+ formInline.agreementIds = [id.value];
|
|
|
}
|
|
}
|
|
|
findpage("0");//列表数据
|
|
findpage("0");//列表数据
|
|
|
findpage("1");//列表数据
|
|
findpage("1");//列表数据
|
|
@@ -139,8 +139,8 @@ const pageInfo = computed(() => {
|
|
|
}
|
|
}
|
|
|
});
|
|
});
|
|
|
const formInline = reactive({
|
|
const formInline = reactive({
|
|
|
- agreement: '',//协议信息
|
|
|
|
|
- productId: "",//归属
|
|
|
|
|
|
|
+ agreementIds: [],//协议信息
|
|
|
|
|
+ productIds: [],//归属
|
|
|
rulesName: '',//保险公司id
|
|
rulesName: '',//保险公司id
|
|
|
costRules: [],//费用规则
|
|
costRules: [],//费用规则
|
|
|
agreementStatus: "",//有效状态
|
|
agreementStatus: "",//有效状态
|
|
@@ -172,14 +172,14 @@ const companylist = computed(() => {
|
|
|
//表格字段数据(待审核时隐藏"审核人"筛选项)
|
|
//表格字段数据(待审核时隐藏"审核人"筛选项)
|
|
|
const fields = ref([
|
|
const fields = ref([
|
|
|
{
|
|
{
|
|
|
- label: "所属协议", model: "agreement", type: "select", placeholder: "输入代码,名称,简称查找", options: agreementListALL,
|
|
|
|
|
|
|
+ label: "所属协议", model: "agreementIds", type: "select", multiple: true, placeholder: "输入代码,名称,简称查找", options: agreementListALL,
|
|
|
props: {
|
|
props: {
|
|
|
label: 'agreementTitle',
|
|
label: 'agreementTitle',
|
|
|
- value: 'agreementTitle'
|
|
|
|
|
|
|
+ value: 'id'
|
|
|
}, filterable: true
|
|
}, filterable: true
|
|
|
},
|
|
},
|
|
|
{
|
|
{
|
|
|
- label: "险种", model: "productId", type: "select", options: insurance_type,
|
|
|
|
|
|
|
+ label: "险种", model: "productIds", type: "select", multiple: true, placeholder: "请选择险种", options: insurance_type,
|
|
|
},
|
|
},
|
|
|
{
|
|
{
|
|
|
label: "保险公司", model: "companyId", type: "cascader", placeholder: "选择保险公司", options: company_list, props: companyIdprops, placement: 'left', onChange: (value: any) => {
|
|
label: "保险公司", model: "companyId", type: "cascader", placeholder: "选择保险公司", options: company_list, props: companyIdprops, placement: 'left', onChange: (value: any) => {
|
|
@@ -556,8 +556,8 @@ const auditSuccess = async (list: string[], automatic?: boolean) => {
|
|
|
});
|
|
});
|
|
|
}
|
|
}
|
|
|
const resetForm = () => {
|
|
const resetForm = () => {
|
|
|
- formInline.agreement = '';//协议信息
|
|
|
|
|
- formInline.productId = "";//归属
|
|
|
|
|
|
|
+ formInline.agreementIds = [];//协议信息
|
|
|
|
|
+ formInline.productIds = [];//归属
|
|
|
formInline.rulesName = '';//保险公司id
|
|
formInline.rulesName = '';//保险公司id
|
|
|
formInline.costRules = [];//协议类型
|
|
formInline.costRules = [];//协议类型
|
|
|
formInline.agreementStatus = "";//有效状态
|
|
formInline.agreementStatus = "";//有效状态
|