Commit 9fa9ef7c authored by yanglilong's avatar yanglilong

调整

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