pengjun 2 years ago
parent
commit
3f346a8a83
  1. BIN
      src/assets/images/logn.png
  2. 271
      src/views/Home.vue
  3. 3
      src/views/doctorCheck/positiveresults.vue
  4. 1
      src/views/doctorCheck/unitphysicalexamination.vue
  5. 7
      src/views/fee-settings/diseaseStatistics.vue
  6. 90
      src/views/login/Login.vue

BIN
src/assets/images/logn.png

After

Width: 1920  |  Height: 1080  |  Size: 155 KiB

271
src/views/Home.vue

@ -1,17 +1,26 @@
<template>
<div>
<el-container style="background: ">
<el-header style="background-color: #ccc; line-height: 50px">
<el-header
style="background-color: ; line-height: 50px"
class="principalheader"
>
<div class="navs">
<!-- <div class="maintitle">神豚医疗信息系统</div> -->
<div style="">
<el-dropdown @command="handleCommand">
<span class="el-dropdown-link">用户权限管理</span>
<el-dropdown-menu slot="dropdown">
<el-dropdown-item command="organization-units">科室设置</el-dropdown-item>
<el-dropdown-item command="organization-units"
>科室设置</el-dropdown-item
>
<el-dropdown-item command="role">角色管理</el-dropdown-item>
<el-dropdown-item command="user-list">用户管理</el-dropdown-item>
<el-dropdown-item command="audit-log">安全日志</el-dropdown-item>
<el-dropdown-item command="user-list"
>用户管理</el-dropdown-item
>
<el-dropdown-item command="audit-log"
>安全日志</el-dropdown-item
>
</el-dropdown-menu>
</el-dropdown>
</div>
@ -20,27 +29,61 @@
<el-dropdown @command="handleCommand">
<span class="el-dropdown-link">基础字典</span>
<el-dropdown-menu slot="dropdown">
<el-dropdown-item command="guide-type">导引类别</el-dropdown-item>
<el-dropdown-item command="medical-report-type">体检报告类别</el-dropdown-item>
<el-dropdown-item command="guide-type"
>导引类别</el-dropdown-item
>
<el-dropdown-item command="medical-report-type"
>体检报告类别</el-dropdown-item
>
<el-dropdown-item command="sex">性别</el-dropdown-item>
<el-dropdown-item command="marital-status">婚姻状况</el-dropdown-item>
<el-dropdown-item command="marital-status"
>婚姻状况</el-dropdown-item
>
<el-dropdown-item command="nation">民族</el-dropdown-item>
<el-dropdown-item command="birth-place">籍贯</el-dropdown-item>
<el-dropdown-item command="result-status">结果状态</el-dropdown-item>
<el-dropdown-item command="medical-type">体检类别</el-dropdown-item>
<el-dropdown-item command="personnel-type">人员类别</el-dropdown-item>
<el-dropdown-item command="device-type">仪器类别</el-dropdown-item>
<el-dropdown-item command="sample-type">标本类型</el-dropdown-item>
<el-dropdown-item command="result-status"
>结果状态</el-dropdown-item
>
<el-dropdown-item command="medical-type"
>体检类别</el-dropdown-item
>
<el-dropdown-item command="personnel-type"
>人员类别</el-dropdown-item
>
<el-dropdown-item command="device-type"
>仪器类别</el-dropdown-item
>
<el-dropdown-item command="sample-type"
>标本类型</el-dropdown-item
>
<el-dropdown-item command="unit">计量单位</el-dropdown-item>
<el-dropdown-item command="diagnosis-postfix">诊断后缀</el-dropdown-item>
<el-dropdown-item command="medical-conclusion-type">体检结论类别</el-dropdown-item>
<el-dropdown-item command="medical-conclusion">体检结论</el-dropdown-item>
<el-dropdown-item command="sample-container">标本容器</el-dropdown-item>
<el-dropdown-item command="common-char-type">常用字符类别</el-dropdown-item>
<el-dropdown-item command="common-char">常用字符</el-dropdown-item>
<el-dropdown-item command="customer-org-type">客户单位类别</el-dropdown-item>
<el-dropdown-item command="item-default-result">项目默认结果</el-dropdown-item>
<el-dropdown-item command="diagnosis-level">诊断级别</el-dropdown-item>
<el-dropdown-item command="diagnosis-postfix"
>诊断后缀</el-dropdown-item
>
<el-dropdown-item command="medical-conclusion-type"
>体检结论类别</el-dropdown-item
>
<el-dropdown-item command="medical-conclusion"
>体检结论</el-dropdown-item
>
<el-dropdown-item command="sample-container"
>标本容器</el-dropdown-item
>
<el-dropdown-item command="common-char-type"
>常用字符类别</el-dropdown-item
>
<el-dropdown-item command="common-char"
>常用字符</el-dropdown-item
>
<el-dropdown-item command="customer-org-type"
>客户单位类别</el-dropdown-item
>
<el-dropdown-item command="item-default-result"
>项目默认结果</el-dropdown-item
>
<el-dropdown-item command="diagnosis-level"
>诊断级别</el-dropdown-item
>
</el-dropdown-menu>
</el-dropdown>
</div>
@ -49,11 +92,19 @@
<el-dropdown @command="handleCommand">
<span class="el-dropdown-link">收费设置</span>
<el-dropdown-menu slot="dropdown">
<el-dropdown-item command="invoice-item-type">发票项目类别</el-dropdown-item>
<el-dropdown-item command="invoice-item-type"
>发票项目类别</el-dropdown-item
>
<el-dropdown-item command="pay-mode">支付方式</el-dropdown-item>
<el-dropdown-item command="cardType">会员卡类别</el-dropdown-item>
<el-dropdown-item command="cardRegister">会员卡登记</el-dropdown-item>
<el-dropdown-item command="cardBill">会员卡记账</el-dropdown-item>
<el-dropdown-item command="cardType"
>会员卡类别</el-dropdown-item
>
<el-dropdown-item command="cardRegister"
>会员卡登记</el-dropdown-item
>
<el-dropdown-item command="cardBill"
>会员卡记账</el-dropdown-item
>
</el-dropdown-menu>
</el-dropdown>
</div>
@ -62,10 +113,14 @@
<el-dropdown @command="handleCommand">
<span class="el-dropdown-link">常用设置</span>
<el-dropdown-menu slot="dropdown">
<el-dropdown-item command="item-type">项目类别</el-dropdown-item>
<el-dropdown-item command="item-type"
>项目类别</el-dropdown-item
>
<el-dropdown-item command="item">项目设置</el-dropdown-item>
<el-dropdown-item command="asbitem">组合项目</el-dropdown-item>
<el-dropdown-item command="sample-group">条码分组</el-dropdown-item>
<el-dropdown-item command="sample-group"
>条码分组</el-dropdown-item
>
<!-- <el-dropdown-item
@click.native="$router.push({ path: '/reference-range' })"
>参考范围</el-dropdown-item
@ -77,12 +132,24 @@
>性激素参考范围</el-dropdown-item
> -->
<el-dropdown-item command="diagnosis">诊断</el-dropdown-item>
<el-dropdown-item command="diagnosis-template">诊断模板</el-dropdown-item>
<el-dropdown-item command="item-result-template">项目结果模板</el-dropdown-item>
<el-dropdown-item command="item-result-match">项目结果匹配</el-dropdown-item>
<el-dropdown-item command="item-template">项目模板</el-dropdown-item>
<el-dropdown-item command="medical-package">套餐</el-dropdown-item>
<el-dropdown-item command="sys-parm-type">系统参数</el-dropdown-item>
<el-dropdown-item command="diagnosis-template"
>诊断模板</el-dropdown-item
>
<el-dropdown-item command="item-result-template"
>项目结果模板</el-dropdown-item
>
<el-dropdown-item command="item-result-match"
>项目结果匹配</el-dropdown-item
>
<el-dropdown-item command="item-template"
>项目模板</el-dropdown-item
>
<el-dropdown-item command="medical-package"
>套餐</el-dropdown-item
>
<el-dropdown-item command="sys-parm-type"
>系统参数</el-dropdown-item
>
</el-dropdown-menu>
</el-dropdown>
</div>
@ -91,13 +158,27 @@
<el-dropdown @command="handleCommand">
<span class="el-dropdown-link">体检登记</span>
<el-dropdown-menu slot="dropdown">
<el-dropdown-item command="customerOrg">体检单位设置</el-dropdown-item>
<el-dropdown-item command="customerOrgGroup">单位分组设置</el-dropdown-item>
<el-dropdown-item command="patientRegister">体检人员登记</el-dropdown-item>
<el-dropdown-item command="personnelBatch">人员批量登记</el-dropdown-item>
<el-dropdown-item command="patientRegisterSign">体检人员签到</el-dropdown-item>
<el-dropdown-item command="patientRegisterRecover">体检表回收</el-dropdown-item>
<el-dropdown-item command="patientRegisterRefuse">弃检登记</el-dropdown-item>
<el-dropdown-item command="customerOrg"
>体检单位设置</el-dropdown-item
>
<el-dropdown-item command="customerOrgGroup"
>单位分组设置</el-dropdown-item
>
<el-dropdown-item command="patientRegister"
>体检人员登记</el-dropdown-item
>
<el-dropdown-item command="personnelBatch"
>人员批量登记</el-dropdown-item
>
<el-dropdown-item command="patientRegisterSign"
>体检人员签到</el-dropdown-item
>
<el-dropdown-item command="patientRegisterRecover"
>体检表回收</el-dropdown-item
>
<el-dropdown-item command="patientRegisterRefuse"
>弃检登记</el-dropdown-item
>
<el-dropdown-item command="charge">体检收费</el-dropdown-item>
</el-dropdown-menu>
</el-dropdown>
@ -107,8 +188,12 @@
<el-dropdown @command="handleCommand">
<span class="el-dropdown-link">体检</span>
<el-dropdown-menu slot="dropdown">
<el-dropdown-item command="doctorCheck">体检医生诊台</el-dropdown-item>
<el-dropdown-item command="sumDoctorCheck">总检医生诊台</el-dropdown-item>
<el-dropdown-item command="doctorCheck"
>体检医生诊台</el-dropdown-item
>
<el-dropdown-item command="sumDoctorCheck"
>总检医生诊台</el-dropdown-item
>
</el-dropdown-menu>
</el-dropdown>
</div>
@ -118,10 +203,18 @@
<span class="el-dropdown-link">体检查询</span>
<el-dropdown-menu slot="dropdown" style="width: 170px">
<el-dropdown-item command="report">体检报告</el-dropdown-item>
<el-dropdown-item command="checkStatus">组合项目检查状态</el-dropdown-item>
<el-dropdown-item command="chargeAsbitem">人员费用组合项目</el-dropdown-item>
<el-dropdown-item command="unCheckAsbitem">人员未检组合项目</el-dropdown-item>
<el-dropdown-item command="patientRegisterRecover">回收表格查询</el-dropdown-item>
<el-dropdown-item command="checkStatus"
>组合项目检查状态</el-dropdown-item
>
<el-dropdown-item command="chargeAsbitem"
>人员费用组合项目</el-dropdown-item
>
<el-dropdown-item command="unCheckAsbitem"
>人员未检组合项目</el-dropdown-item
>
<el-dropdown-item command="patientRegisterRecover"
>回收表格查询</el-dropdown-item
>
</el-dropdown-menu>
</el-dropdown>
</div>
@ -130,9 +223,15 @@
<el-dropdown @command="handleCommand">
<span class="el-dropdown-link"> 客户报表 </span>
<el-dropdown-menu slot="dropdown">
<el-dropdown-item command="diseaseStatistics">疾病人数统计</el-dropdown-item>
<el-dropdown-item command="positiveresults">阳性结果人员</el-dropdown-item>
<el-dropdown-item command="unitphysicalexamination">单位体检报表</el-dropdown-item>
<el-dropdown-item command="diseaseStatistics"
>疾病人数统计</el-dropdown-item
>
<el-dropdown-item command="positiveresults"
>阳性结果人员</el-dropdown-item
>
<el-dropdown-item command="unitphysicalexamination"
>单位体检报表</el-dropdown-item
>
</el-dropdown-menu>
</el-dropdown>
</div>
@ -162,10 +261,18 @@
<el-dropdown @command="handleCommand">
<span class="el-dropdown-link"> 工作量统计 </span>
<el-dropdown-menu slot="dropdown">
<el-dropdown-item command="registrar">登记员工作量</el-dropdown-item>
<el-dropdown-item command="doctorstaionworkload">医生站工作量</el-dropdown-item>
<el-dropdown-item command="directordoctor">总检工作量</el-dropdown-item>
<el-dropdown-item command="deskwork">科室工作量</el-dropdown-item>
<el-dropdown-item command="registrar"
>登记员工作量</el-dropdown-item
>
<el-dropdown-item command="doctorstaionworkload"
>医生站工作量</el-dropdown-item
>
<el-dropdown-item command="directordoctor"
>总检工作量</el-dropdown-item
>
<el-dropdown-item command="deskwork"
>科室工作量</el-dropdown-item
>
</el-dropdown-menu>
</el-dropdown>
</div>
@ -189,32 +296,61 @@
</div>
<!-- -->
<div class="btn">
当前用户{{ user }}
当前用户:{{ user }}
<!-- <i class="el-icon-arrow-down el-icon--right"></i> -->
<el-dropdown>
<span class="el-dropdown-link">
操作 <i class="el-icon-arrow-down el-icon--right"></i>
</span>
<el-dropdown-menu slot="dropdown">
<el-dropdown-item @click.native="logout">退出登录</el-dropdown-item>
<el-dropdown-item @click.native="editpassword">修改密码</el-dropdown-item>
<el-dropdown-item @click.native="toggleDevTools">调试工具</el-dropdown-item>
<el-dropdown-item @click.native="logout"
>退出登录</el-dropdown-item
>
<el-dropdown-item @click.native="editpassword"
>修改密码</el-dropdown-item
>
<el-dropdown-item @click.native="toggleDevTools"
>调试工具</el-dropdown-item
>
</el-dropdown-menu>
</el-dropdown>
</div>
</div>
</el-header>
<!-- 修改密码弹框 -->
<el-dialog title="修改密码" :visible.sync="dialogVisible" width="30%" :close-on-click-modal="false">
<el-form :model="form" :rules="rules" ref="ruleForm" label-width="100px">
<el-dialog
title="修改密码"
:visible.sync="dialogVisible"
width="30%"
:close-on-click-modal="false"
>
<el-form
:model="form"
:rules="rules"
ref="ruleForm"
label-width="100px"
>
<el-form-item label="旧密码" prop="oldPassWord">
<el-input v-model="form.oldPassWord" autocomplete="new-password" show-password></el-input>
<el-input
v-model="form.oldPassWord"
autocomplete="new-password"
show-password
></el-input>
</el-form-item>
<el-form-item label="新密码" prop="newPassWord">
<el-input v-model="form.newPassWord" autocomplete="new-password" show-password></el-input>
<el-input
v-model="form.newPassWord"
autocomplete="new-password"
show-password
></el-input>
</el-form-item>
<el-form-item label="确认密码" prop="newPassWord">
<el-input v-model="confirmpassword" type="password" autocomplete="new-password" show-password></el-input>
<el-input
v-model="confirmpassword"
type="password"
autocomplete="new-password"
show-password
></el-input>
</el-form-item>
</el-form>
<span slot="footer" class="dialog-footer">
@ -477,7 +613,7 @@ export default {
handleCommand(command) {
if (this.router.path != command) {
this.router.path = command;
this.$router.push({ path: command }).catch(() => { });
this.$router.push({ path: command }).catch(() => {});
}
},
//
@ -517,7 +653,7 @@ export default {
},
//
toggleDevTools(){
toggleDevTools() {
this.$peisAPI.toggleDevTools();
},
},
@ -525,10 +661,15 @@ export default {
};
</script>
<style scoped>
.principalheader {
background-color: #fff;
opacity: 0.8;
color: #ccc;
border: 1px solid #ccc;
}
.el-dropdown-item {
text-align: center;
}
.el-dropdown-menu {
text-align: center;
overflow: scroll;

3
src/views/doctorCheck/positiveresults.vue

@ -1,8 +1,9 @@
<template>
<div class="box" :style="CustomerOrgRightStyle">
<el-card class="cards">
<div class="publiccss">阳性结果人员</div>
<el-row>
<el-form ref="form" :model="form" label-width="120px">
<el-form ref="form" :model="form" label-width="120px" style="margin-top:20px">
<el-col :span="4">
<el-form-item label="单位">
<el-select

1
src/views/doctorCheck/unitphysicalexamination.vue

@ -64,6 +64,7 @@
</div>
</template>
<script>
import { getapi } from "@/api/api";
export default {
data() {
return {

7
src/views/fee-settings/diseaseStatistics.vue

@ -1,7 +1,8 @@
<template>
<div class="box" :style="CustomerOrgRightStyle">
<el-card class="cards">
<el-row>
<div class="publiccss">疾病人数统计</div>
<el-row style="margin-top: 20px">
<el-form ref="form" :model="form" label-width="120px">
<el-col :span="4">
<el-form-item label="单位">
@ -21,7 +22,7 @@
</el-form-item>
</el-col>
<el-col :span="4">
<el-form-item label="诊断" style="margin-left:-50px">
<el-form-item label="诊断" style="margin-left: -50px">
<el-select v-model="form.diagnosis" placeholder="请选择">
<el-option
v-for="item in diagnosisdata"
@ -34,7 +35,7 @@
</el-form-item>
</el-col>
<el-col :span="4">
<el-form-item label="疾病来源" style="margin-left:-50px">
<el-form-item label="疾病来源" style="margin-left: -50px">
<el-select v-model="form.diagnosis" placeholder="请选择">
<el-option
v-for="item in diagnosisdata"

90
src/views/login/Login.vue

@ -23,7 +23,6 @@
placeholder="密码"
type="password"
prefix-icon="el-icon-unlock"
></el-input>
</el-form-item>
<el-button type="primary" class="btn" @click="onSubmit(form)"
@ -62,7 +61,6 @@ export default {
};
},
methods: {
onSubmit() {
this.$refs.form.validate((valid) => {
if (valid) {
@ -71,41 +69,14 @@ export default {
// password: this.form.Password,11
// });
var msgs = "";
postapi(`/api/identity/users/login?UserName=${this.form.Username}&PassWord=${this.form.Password}`,
// {
// UserName: this.form.Username,
// PassWord: this.form.Password,
// }
)
.then((res) => {
msgs = res.data.msg;
this.$message.success(msgs)
if (res.code != -1 && res.data.code == 1 ) {
window.sessionStorage.setItem("peisid",res.data.peisid); //
//console.log('res',res);
return this.$axios.post(
mm.apiurl + "/connect/token",
{
client_id: "Peis_App",
grant_type: "password",
username: this.form.Username,
password: this.form.Password,
scope: "Peis offline_access",
},
{
headers: {
"Content-Type": "application/x-www-form-urlencoded",
},
}
);
} else {
this.$message.warning(ret.data.msg);
}
})
postapi(`/api/identity/users/login`, {
userName: this.form.Username,
passWord: this.form.Password,
})
.then((res) => {
writetoken(res.data.expires_in);
msgs = res.data.msg;
if(res.code==1){
writetoken(res.data.expires_in);
window.localStorage.setItem("token", res.data.access_token);
window.localStorage.setItem(
"refresh_token",
@ -113,10 +84,49 @@ export default {
);
window.localStorage.setItem("tokentype", res.data.token_type);
window.localStorage.setItem("user", this.form.Username);
// this.$message.success(ret.data.msg);
this.$router.push({ path: "home" });
this.$store.state.changepassword = this.form.Password;
}
this.$message.success(msgs);
console.log(res,'res');
// if (res.code != -1 && res.data.code == 1) {
// window.sessionStorage.setItem("peisid", res.data.peisid); //
// return this.$axios.post(
// mm.apiurl + "/connect/token",
// {
// client_id: "Peis_App",
// grant_type: "password",
// username: this.form.Username,
// password: this.form.Password,
// scope: "Peis offline_access",
// },
// {
// headers: {
// "Content-Type": "application/x-www-form-urlencoded",
// },
// }
// );
// } else {
// this.$message.warning(ret.data.msg);
// }
})
// .then((res) => {
// writetoken(res.data.expires_in);
// window.localStorage.setItem("token", res.data.access_token);
// window.localStorage.setItem(
// "refresh_token",
// res.data.refresh_token
// );
// window.localStorage.setItem("tokentype", res.data.token_type);
// window.localStorage.setItem("user", this.form.Username);
// this.$router.push({ path: "home" });
// this.$store.state.changepassword = this.form.Password;
// })
.catch((err) => {});
// console.log(res);
@ -274,7 +284,8 @@ export default {
.bg {
background-color: black;
// background: url("https://img.zcool.cn/community/013c8b5b62d108a801206a35bea1eb.jpg@2o.jpg");1
background: url("https://img1.baidu.com/it/u=1097534320,1746985227&fm=253&fmt=auto&app=138&f=JPEG?w=889&h=500");
// background: url("https://img1.baidu.com/it/u=1097534320,1746985227&fm=253&fmt=auto&app=138&f=JPEG?w=889&h=500");
background: url("@/assets/images/logn.png");
height: 100%;
width: 100%;
min-height: 100vh;
@ -284,7 +295,8 @@ export default {
width: 400px;
height: 300px;
display: flex;
background: #fff;
// background: #fff;
background: rgb(190, 243, 210);
position: absolute;
left: 50%;
top: 50%;

Loading…
Cancel
Save