|
|
@@ -7,7 +7,7 @@
|
|
|
<el-input v-model="formInline.name" placeholder="输入保险公司查找" clearable />
|
|
|
</el-form-item>
|
|
|
<el-form-item>
|
|
|
- <el-button type="primary" @click="companyQuery" >
|
|
|
+ <el-button type="primary" @click="companyQuery">
|
|
|
<template #icon>
|
|
|
<SvgIcon name="i-ep:search" />
|
|
|
</template>
|
|
|
@@ -15,7 +15,7 @@
|
|
|
</el-form-item>
|
|
|
</el-form>
|
|
|
<div>
|
|
|
- <el-button type="primary" @click="companyAdd" >
|
|
|
+ <el-button type="primary" @click="companyAdd">
|
|
|
<template #icon>
|
|
|
<el-icon>
|
|
|
<Plus />
|
|
|
@@ -29,8 +29,7 @@
|
|
|
ref="multipleTableRef" :expand-column-key="expandColumnKey" header-class="header-class">
|
|
|
<template #cell="scope">
|
|
|
<div v-if="scope.column.key == 'option'" class="flex j-s a-c">
|
|
|
- <el-button type="primary" link @click="addSubsidiary(scope.rowData)"
|
|
|
- > 添加子公司
|
|
|
+ <el-button type="primary" link @click="addSubsidiary(scope.rowData)"> 添加子公司
|
|
|
</el-button>
|
|
|
<el-dropdown placement="bottom-start">
|
|
|
<span class="el-dropdown-link">
|
|
|
@@ -38,12 +37,8 @@
|
|
|
</span>
|
|
|
<template #dropdown>
|
|
|
<el-dropdown-menu>
|
|
|
- <Auth :value="'insuranceCompanyConfig.edit'">
|
|
|
- <el-dropdown-item @click="companyEdit(scope.rowData)">编辑</el-dropdown-item>
|
|
|
- </Auth>
|
|
|
- <Auth :value="'insuranceCompanyConfig.delete'">
|
|
|
- <el-dropdown-item @click="companyDel(scope.rowData)">删除</el-dropdown-item>
|
|
|
- </Auth>
|
|
|
+ <el-dropdown-item @click="companyEdit(scope.rowData)">编辑</el-dropdown-item>
|
|
|
+ <el-dropdown-item @click="companyDel(scope.rowData)">删除</el-dropdown-item>
|
|
|
</el-dropdown-menu>
|
|
|
</template>
|
|
|
</el-dropdown>
|
|
|
@@ -516,15 +511,15 @@ const close = (formEl: FormInstance | undefined) => {
|
|
|
formEl.resetFields()
|
|
|
cpmpanyform.code = '';
|
|
|
cpmpanyform.name = '';
|
|
|
- cpmpanyform.companyCode="";
|
|
|
- cpmpanyform.id="";
|
|
|
+ cpmpanyform.companyCode = "";
|
|
|
+ cpmpanyform.id = "";
|
|
|
cpmpanyform.parentId = '0';
|
|
|
cpmpanyform.parentName = '';
|
|
|
cpmpanyform.nameSimple = '';
|
|
|
cpmpanyform.remark = '';
|
|
|
cpmpanyform.type = '';
|
|
|
cpmpanyform.logo = '';
|
|
|
- companyImgUrl.value="";
|
|
|
+ companyImgUrl.value = "";
|
|
|
provinceoptions.value = [];
|
|
|
|
|
|
}
|