dev
This commit is contained in:
parent
ed7f9dba4c
commit
366d67dab5
|
|
@ -20,4 +20,10 @@ export enum apiConfig{
|
|||
"OrganizationSectionAllList"="organization/section/allList",//获取所有科室列表
|
||||
"OrganizationSectionListByMemberId"="organization/section/listByMemberId",//获取当前成员所属科室列表
|
||||
"OrganizationMemberListBySectionId"="organization/member/listBySectionId",//获取当前科室的所有医生列表
|
||||
|
||||
/**
|
||||
* 收费接口
|
||||
*/
|
||||
|
||||
"ChargeListChargeLog"="charge/listChargeLog"//查询收费记录
|
||||
}
|
||||
|
|
|
|||
|
|
@ -110,7 +110,7 @@ onUnmounted(() => {
|
|||
emit('changeLoading',false)
|
||||
})
|
||||
const close = () => {
|
||||
socialCard.value.data = null
|
||||
socialCard.value = null
|
||||
}
|
||||
defineExpose({close})
|
||||
</script>
|
||||
|
|
|
|||
|
|
@ -233,17 +233,18 @@ const close = () => {
|
|||
}
|
||||
const form = ref()
|
||||
const save = () => {
|
||||
debugger
|
||||
let data = {
|
||||
...edit_data.value,
|
||||
psnNo: socialCard.value.data?.baseinfo.psn_no,
|
||||
insutype: socialCard.value.data?.insuinfo[0].insutype
|
||||
psnNo: socialCard.value?.data?.baseinfo.psn_no,
|
||||
insutype: socialCard.value?.data?.insuinfo[0].insutype
|
||||
}
|
||||
form.value.validate((v: any) => {
|
||||
if (v) {
|
||||
if (edit_data.value.id) {
|
||||
post('registration/edit', {
|
||||
data: data, mdtrtCertNo: socialCard.value.mdtrtCertNo,
|
||||
mdtrtCertType: socialCard.value.mdtrtCertType
|
||||
data: data, mdtrtCertNo: socialCard.value?.mdtrtCertNo,
|
||||
mdtrtCertType: socialCard.value?.mdtrtCertType
|
||||
}).then(() => {
|
||||
ElMessage.success('修改成功')
|
||||
close()
|
||||
|
|
@ -252,8 +253,8 @@ const save = () => {
|
|||
console.log(socialCard.value)
|
||||
post('registration/add', {
|
||||
data: data,
|
||||
mdtrtCertNo: socialCard.value.mdtrtCertNo,
|
||||
mdtrtCertType: socialCard.value.mdtrtCertType
|
||||
mdtrtCertNo: socialCard.value?.mdtrtCertNo,
|
||||
mdtrtCertType: socialCard.value?.mdtrtCertType
|
||||
}).then(() => {
|
||||
ElMessage.success('新建成功')
|
||||
close()
|
||||
|
|
|
|||
|
|
@ -110,7 +110,7 @@ const formatDate = (isoStr:any) => {
|
|||
</template>
|
||||
|
||||
<style scoped lang="scss">
|
||||
@use "@/assets/base.scss";
|
||||
@use "@/assets/scss/base.scss";
|
||||
.container-wrapper {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
|
|
@ -128,7 +128,7 @@ const formatDate = (isoStr:any) => {
|
|||
height: 60px;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
background: base.$background-color-panel;
|
||||
background: base.$background-color-base;
|
||||
}
|
||||
}
|
||||
</style>
|
||||
|
|
@ -197,7 +197,7 @@ const formatDate = (isoStr: any) => {
|
|||
|
||||
|
||||
<style scoped lang="scss">
|
||||
@use "@/assets/base.scss";
|
||||
@use "@/assets/scss/base.scss";
|
||||
.container {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
|
|
@ -218,7 +218,7 @@ const formatDate = (isoStr: any) => {
|
|||
height: 60px;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
background: base.$background-color-panel;
|
||||
background: base.$background-color-base;
|
||||
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -163,7 +163,7 @@ const formatDate = (isoStr:any) => {
|
|||
</script>
|
||||
|
||||
<style scoped lang="scss">
|
||||
@use "@/assets/base.scss";
|
||||
@use "@/assets/scss/base.scss";
|
||||
.container {
|
||||
height: 100%;
|
||||
display: flex;
|
||||
|
|
@ -180,7 +180,7 @@ const formatDate = (isoStr:any) => {
|
|||
height: 60px;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
background: base.$background-color-panel;
|
||||
background: base.$background-color-base;
|
||||
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -92,7 +92,7 @@ let change_search = ()=>{
|
|||
</template>
|
||||
|
||||
<style scoped lang="scss">
|
||||
@use "@/assets/base.scss";
|
||||
@use "@/assets/scss/base.scss";
|
||||
.container {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
|
|
@ -108,7 +108,7 @@ let change_search = ()=>{
|
|||
height: 60px;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
background: base.$background-color-panel;
|
||||
background: base.$background-color-base;
|
||||
}
|
||||
}
|
||||
</style>
|
||||
|
|
@ -133,16 +133,33 @@ const router = createRouter({
|
|||
},
|
||||
{
|
||||
path: '/social',
|
||||
component: () => import('../views/Layout.vue'),
|
||||
component: () => import('../views/LayoutSocial.vue'),
|
||||
children: [
|
||||
{
|
||||
path: "",
|
||||
redirect: "/social/index",
|
||||
redirect: "/social/directory",
|
||||
},
|
||||
{
|
||||
path: "index",
|
||||
component: () => import('../views/social/directory.vue'),
|
||||
}
|
||||
path: "directory",
|
||||
component: () => import('@/views/social/directory.vue'),
|
||||
},
|
||||
{
|
||||
path: "update",
|
||||
component: () => import('@/views/social/update.vue'),
|
||||
},
|
||||
{
|
||||
path: "inventoryUp",
|
||||
component: () => import('@/views/social/inventoryUp.vue'),
|
||||
},
|
||||
{
|
||||
path: "costRecord",
|
||||
component: () => import('@/views/social/costRecord.vue'),
|
||||
},
|
||||
{
|
||||
path: "accountRecord",
|
||||
component: () => import('@/views/social/accountRecords.vue'),
|
||||
},
|
||||
|
||||
]
|
||||
},
|
||||
{
|
||||
|
|
|
|||
|
|
@ -0,0 +1,79 @@
|
|||
<template>
|
||||
<div class="layout-container">
|
||||
<Header class="header" />
|
||||
<div class="childMenu">
|
||||
<router-link :to="item.path" class="child-item" v-for="(item,index) in childMenuList" :key="index">
|
||||
{{ item.name }}
|
||||
</router-link>
|
||||
</div>
|
||||
<div class="space"></div>
|
||||
<main class="layout-main">
|
||||
<router-view/>
|
||||
</main>
|
||||
<div class="space"></div>
|
||||
<Footer class="footer" />
|
||||
</div>
|
||||
|
||||
</template>
|
||||
|
||||
<style scoped lang="scss">
|
||||
.childMenu {
|
||||
width: 100%;
|
||||
height: 60px;
|
||||
background: #fff;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
.child-item {
|
||||
display: inline-block;
|
||||
color: #151515;
|
||||
outline: none;
|
||||
text-decoration: none;
|
||||
font-size: 18px;
|
||||
margin-left: 10px;
|
||||
margin-right: 10px;
|
||||
height: 35px;
|
||||
position: relative;
|
||||
}
|
||||
|
||||
.router-link-active:after {
|
||||
content: '';
|
||||
display: block;
|
||||
width: 100%;
|
||||
height: 2px;
|
||||
background-color: #151515; // 下划线颜色
|
||||
position: absolute;
|
||||
bottom: -5px; // 调整下划线与文字的距离
|
||||
left: 0;
|
||||
}
|
||||
}
|
||||
</style>
|
||||
|
||||
|
||||
<script setup lang="ts">
|
||||
import "@/assets/scss/layout.scss"
|
||||
import Header from "@/components/common/Header.vue";
|
||||
import Footer from "@/components/common/Footer.vue";
|
||||
import {ref} from "vue";
|
||||
const childMenuList = ref([
|
||||
{
|
||||
name: '医保目录',
|
||||
path: '/social/directory',
|
||||
},
|
||||
{
|
||||
name: '目录更新',
|
||||
path: '/social/update',
|
||||
},
|
||||
{
|
||||
name: '进销存上报',
|
||||
path: '/social/inventoryUp',
|
||||
},
|
||||
{
|
||||
name: '收费记录',
|
||||
path: '/social/costRecord',
|
||||
},
|
||||
{
|
||||
name: '对账',
|
||||
path: '/social/accountRecord',
|
||||
}
|
||||
])
|
||||
</script>
|
||||
|
|
@ -95,8 +95,8 @@ const save = () => {
|
|||
const data = {
|
||||
registrationId: registerId.value,
|
||||
patientId: patientId.value,
|
||||
itemList: itemDetail.value,
|
||||
goodsList: goodsList.value,
|
||||
itemList: formData.value.itemDetail,
|
||||
goodsList: formData.value.goodsDetail,
|
||||
diagnosisMedicalRecord: medicalRecord,
|
||||
|
||||
}
|
||||
|
|
|
|||
|
|
@ -40,6 +40,7 @@
|
|||
import {onMounted, ref} from "vue";
|
||||
import {post} from "@/utils/request.ts";
|
||||
import {getToday, formatDateArray} from "@/utils/dateUtils.ts";
|
||||
import {apiConfig} from "@/assets/config/apiConfig.ts";
|
||||
|
||||
const tableData = ref([])
|
||||
const date = ref()
|
||||
|
|
@ -50,7 +51,7 @@ const dateChangeHandler = () => {
|
|||
|
||||
|
||||
const getTableData = () => {
|
||||
post("retail/reconciliation/getChargeList", {beginTime: date.value[0], endTime: date.value[1]}).then((res: any) => {
|
||||
post(apiConfig.ChargeListChargeLog, {beginTime: date.value[0], endTime: date.value[1]}).then((res: any) => {
|
||||
tableData.value = res
|
||||
})
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue