Commit 9fa9ef7c authored by yanglilong's avatar yanglilong

调整

parent 84bcda83
......@@ -8,7 +8,7 @@
<title><%= webpackConfig.name %></title>
<script
type="text/javascript"
src="//at.alicdn.com/t/font_3020450_zp10lll5k4g.js"
src="//at.alicdn.com/t/font_3020450_llubsxk8eyf.js"
></script>
</head>
<body>
......
......@@ -49,5 +49,6 @@ export default {
vertical-align: -0.15em;
fill: currentColor;
overflow: hidden;
color: red;
}
</style>
......@@ -2,7 +2,8 @@ export default [
{
icon: "ssihome",
path: "/home",
title: "主页面"
title: "主页面",
children: [],
},
{
icon: "ssiuser",
......
function SubMenu(h, menu, selectMenu) {
let icon;
let icon, icon_arrow;
if (menu.icon) {
// 菜单激活的时候图标要变颜色 图标名称要处理好 应该是在默认的基础上加个'_active'
const iconName =
selectMenu.indexOf(menu.path) < 0 ? menu.icon : menu.icon + "_active";
icon = <Icon name={iconName} size={18} />;
}
if(menu.children && menu.children.length>0){
icon_arrow = <Icon class="arrow" name={selectMenu.indexOf(menu.path) < 0 ?'ssixiangyou': 'ssixiangyou_active'} size={14} />;
}
console.log(menu, icon_arrow,111)
return (
<a-sub-menu key={menu.path}>
<span slot="title" class="submenu-title-wrapper">
{icon}
{menu.title}
{icon_arrow}
</span>
{menu.children.map((item) => {
return createMenu.call(this, h, item);
......
......@@ -35,6 +35,14 @@ export default {
};
</script>
<style>
.icon-class.arrow{
position: absolute;
right: 0;
top: 50%;
transform: translateY(-50%);
}
</style>
<style lang="less" scoped>
.menu-layout {
background-color: #f8fafb;
......@@ -59,6 +67,9 @@ export default {
height: calc(100vh - 68px);
overflow: auto;
background-color: #fff;
li{
position: relative;
}
}
}
</style>
......@@ -46,6 +46,9 @@
<a-button class="mar-left10" type="primary" @click="handlerSearch">
<Icon name="ssisearch_active" :size="14" />查询
</a-button>
<a-button class="mar-left10" type="primary" @click="reset">
<Icon name="ssireset" :size="14" />重置
</a-button>
<a-button class="mar-left10" type="primary" @click="addPreAuth">
<Icon name="ssiadd" :size="14" />新建预授权</a-button>
</a-form-model-item>
......@@ -59,6 +62,9 @@
<template slot="authProject" slot-scope="text">
{{formatProject(text)}}
</template>
<template slot="rejectReason" slot-scope="text">
{{formatReason(text)}}
</template>
<template slot="authorizeItemVoList" slot-scope="text, record">
<a-button type="link" @click.stop="seeEvt(record)">查看</a-button>
</template>
......@@ -92,7 +98,7 @@ export default{
{ title: "申请状态", dataIndex: "authorStatus", width: 100, align: 'center', scopedSlots: { customRender: "authorStatus" } },
{ title: "申请日期", dataIndex: "createDate", width: 130, align: 'center' },
{ title: "批准金额", dataIndex: "approvalAmount", width: 100, align: 'center' },
{ title: "不予批准原因", dataIndex: "rejectReason", width: 120, align: 'center', scopedSlots: { customRender: "authorStatus" } },
{ title: "不予批准原因", dataIndex: "rejectReason", width: 120, align: 'center', scopedSlots: { customRender: "rejectReason" } },
{ title: "预授权使用情况", dataIndex: "authorizeItemVoList", width: 130, align: 'center', scopedSlots: { customRender: "authorizeItemVoList" } },
// { title: "备注", dataIndex: "remark", width: 100, align: 'center' },
{ title: "操作", dataIndex: "operation", scopedSlots: { customRender: "operation" }, fixed: "right", width: "200px", align: 'center'},
......@@ -110,6 +116,7 @@ export default{
},
companyOptions: [], //保险公司
ProjectList: [], //预授权项目
rejectReason: [], //拒绝原因
dataList: [],
pagination: {
pageNum: 1,
......@@ -138,6 +145,25 @@ export default{
});
return item? item.descCh: "";
},
formatReason(val){
if (!val) {
return;
}
const item = this.rejectReason.find((item) => {
return item.refcd == val;
});
return item? item.descCh: "";
},
reset(){
this.form = {
dateRange: [],
payorCode: '',
authProject: '',
authorStatus: '',
mrnNo: '',
patientName: '',
};
},
//新建预授权
addPreAuth(){
this.$router.push({
......@@ -156,6 +182,13 @@ export default{
},
// 获取码表
getRefcdByRefgrp() {
//拒绝原因
this.$apis.GETREFCDBYREFGRP({
modid: "CI",
refgrp: "REJECT_REASON"
}).then((res) => {
this.rejectReason = res.content || [];
});
//预授权项目
this.$apis.GETREFCDBYREFGRP({
modid: "CI",
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment