|
@@ -40,7 +40,8 @@
|
|
|
<ruleFeeDialogEdit :ruleFeeVisible="ruleFeeEditVisible" :headerTitle="ruleFeeHeaderTitle"
|
|
<ruleFeeDialogEdit :ruleFeeVisible="ruleFeeEditVisible" :headerTitle="ruleFeeHeaderTitle"
|
|
|
:agreementInfo="AgreementInfo" :RulesInfo="ruleInfo" :costitemEditInfo="costitemEditInfo" @save="ruleFeeEditSave"
|
|
:agreementInfo="AgreementInfo" :RulesInfo="ruleInfo" :costitemEditInfo="costitemEditInfo" @save="ruleFeeEditSave"
|
|
|
@cancel="ruleFeeEditVisible = false" :operationType="activeName == 'pendingReview' ? 'audit' : 'rejected'"
|
|
@cancel="ruleFeeEditVisible = false" :operationType="activeName == 'pendingReview' ? 'audit' : 'rejected'"
|
|
|
- @rejectOperation="rejectOperation" @auditOperation="auditOperation" :titleType="activeName == 'pendingReview' ? '费用审核' : '费用详情'" />
|
|
|
|
|
|
|
+ @rejectOperation="rejectOperation" @auditOperation="auditOperation"
|
|
|
|
|
+ :titleType="activeName == 'pendingReview' ? '费用审核' : '费用详情'" />
|
|
|
</template>
|
|
</template>
|
|
|
|
|
|
|
|
<script lang="ts" setup>
|
|
<script lang="ts" setup>
|
|
@@ -67,6 +68,7 @@ onBeforeMount(async () => {
|
|
|
getDeptTree();
|
|
getDeptTree();
|
|
|
agreement();
|
|
agreement();
|
|
|
getAgreement();//全部协议;
|
|
getAgreement();//全部协议;
|
|
|
|
|
+ initCompany();//保险公司
|
|
|
valid_status.value = getDict('valid_status');//生效状态
|
|
valid_status.value = getDict('valid_status');//生效状态
|
|
|
is_enable.value = getDict('is_enable');//协议状态
|
|
is_enable.value = getDict('is_enable');//协议状态
|
|
|
insurance_type.value = getDict('insurance_type')
|
|
insurance_type.value = getDict('insurance_type')
|
|
@@ -86,7 +88,13 @@ const valid_status = ref();
|
|
|
const audit_status = ref();
|
|
const audit_status = ref();
|
|
|
const is_enable = ref();
|
|
const is_enable = ref();
|
|
|
const agreementListALL = ref();//全部协议列表
|
|
const agreementListALL = ref();//全部协议列表
|
|
|
-
|
|
|
|
|
|
|
+const company_list = ref();//保险公司列表
|
|
|
|
|
+const companyIdprops = {
|
|
|
|
|
+ expandTrigger: 'hover' as const,
|
|
|
|
|
+ value: 'id',
|
|
|
|
|
+ label: 'name',
|
|
|
|
|
+ checkStrictly: true,
|
|
|
|
|
+}
|
|
|
const route = useRoute();
|
|
const route = useRoute();
|
|
|
const id = ref(route.query.id as string);//id参数
|
|
const id = ref(route.query.id as string);//id参数
|
|
|
const pendingReviewlength = ref(0);//待审核
|
|
const pendingReviewlength = ref(0);//待审核
|
|
@@ -136,6 +144,7 @@ const formInline = reactive({
|
|
|
failureTime: [],
|
|
failureTime: [],
|
|
|
auditTimeBegin: "",//审核时间开始
|
|
auditTimeBegin: "",//审核时间开始
|
|
|
auditTimeEnd: "",//审核时间结束
|
|
auditTimeEnd: "",//审核时间结束
|
|
|
|
|
+ companyId: '',//保险公司id
|
|
|
})
|
|
})
|
|
|
const companylist = computed(() => {
|
|
const companylist = computed(() => {
|
|
|
let list = [] as any;
|
|
let list = [] as any;
|
|
@@ -166,6 +175,11 @@ const fields = ref([
|
|
|
{
|
|
{
|
|
|
label: "险种", model: "productId", type: "select", options: insurance_type,
|
|
label: "险种", model: "productId", type: "select", options: insurance_type,
|
|
|
},
|
|
},
|
|
|
|
|
+ {
|
|
|
|
|
+ label: "保险公司", model: "companyId", type: "cascader", placeholder: "选择保险公司", options: company_list, props: companyIdprops, placement: 'left',onChange : (value: any) => {
|
|
|
|
|
+ formInline.companyId = value[value.length - 1];
|
|
|
|
|
+ }
|
|
|
|
|
+ },
|
|
|
{
|
|
{
|
|
|
label: "承保规则", model: "rulesName", type: "input", placeholder: "输入业务规则查找",
|
|
label: "承保规则", model: "rulesName", type: "input", placeholder: "输入业务规则查找",
|
|
|
},
|
|
},
|
|
@@ -216,7 +230,20 @@ const visibleFields = computed(() => {
|
|
|
}
|
|
}
|
|
|
return fields.value;
|
|
return fields.value;
|
|
|
})
|
|
})
|
|
|
-
|
|
|
|
|
|
|
+// 保险公司
|
|
|
|
|
+const initCompany = () => {
|
|
|
|
|
+ api.agreementApi.findTree({ name: "", systemCode: localStorage.getItem('login_system') }).then((res: any) => {
|
|
|
|
|
+ if (res.code == '200') {
|
|
|
|
|
+ company_list.value = res.data;
|
|
|
|
|
+ } else {
|
|
|
|
|
+ ElMessage({
|
|
|
|
|
+ type: 'error',
|
|
|
|
|
+ message: res.msg,
|
|
|
|
|
+ plain: true,
|
|
|
|
|
+ })
|
|
|
|
|
+ }
|
|
|
|
|
+ });
|
|
|
|
|
+}
|
|
|
//费用数据查询
|
|
//费用数据查询
|
|
|
function findpage(type: string) {
|
|
function findpage(type: string) {
|
|
|
formInline.auditStatus = type;
|
|
formInline.auditStatus = type;
|