pengjun 2 years ago
parent
commit
9ddd6ee88f
  1. 40
      src/router/index.js
  2. 262
      src/views/Home.vue
  3. 7
      src/views/basic-dictionary/MaritalStatus.vue
  4. 7
      src/views/basic-dictionary/SampleContainer.vue
  5. 2
      src/views/doctorCheck/personnelBatch.vue
  6. 101
      src/views/doctorCheck/positiveresults.vue
  7. 124
      src/views/doctorCheck/unitphysicalexamination.vue
  8. 101
      src/views/fee-settings/diseaseStatistics.vue
  9. 74
      src/views/workload/registrar.vue

40
src/router/index.js

@ -136,24 +136,24 @@ const routes = [
{
path: "/invoice-item-type",
component: () => import("../views/fee-settings/InvoiceItemType.vue"),
},
},
{
path: "/pay-mode",
component: () => import("../views/fee-settings/PayMode.vue"),
},
{
path: "/cardType",
name:"会员卡类别",
name: "会员卡类别",
component: () => import("../views/fee-settings/cardType.vue"),
},
{
path: "/cardRegister",
name:"会员卡登记",
name: "会员卡登记",
component: () => import("../views/fee-settings/cardRegister.vue"),
},
{
path: "/cardBill",
name:"会员卡记账",
name: "会员卡记账",
component: () => import("../views/fee-settings/cardBill.vue"),
},
//---------------------- 收费设置 start ----------------------
@ -276,7 +276,8 @@ const routes = [
path: "/sumDoctorCheck",
name: "总检医生诊台",
component: () => import("../views/doctorCheck/sumDoctorCheck.vue"),
},
},
//---------------------- 体 检 end ----------------------
//---------------------- 体检查询 start ----------------------
{
@ -293,13 +294,38 @@ const routes = [
path: "/chargeAsbitem",
name: "人员费用组合项目",
component: () => import("../views/report/chargeAsbitem.vue"),
},
},
{
path: "/unCheckAsbitem",
name: "人员未检组合项目",
component: () => import("../views/report/unCheckAsbitem.vue"),
},
},
//---------------------- 体检查询 end ----------------------
//---------------------- 体 检 end ----------------------
//---------------------- 疾病人数登记 ----------------------
{
path: "/diseaseStatistics",
name: "疾病人数统计",
component: () => import("../views/fee-settings/diseaseStatistics.vue"),
},
{
path: "/positiveresults",
name: "阳性结果清单",
component: () => import("../views/doctorCheck/positiveresults.vue"),
},
{
path: "/unitphysicalexamination",
name: "单位体检报表",
component: () => import("../views/doctorCheck/unitphysicalexamination.vue"),
},
//---------------------- 工作量登记 ----------------------
{
path: "/registrar",
name: "登记员工作量",
component: () => import("../views/workload/registrar.vue"),
}
],
},
];

262
src/views/Home.vue

@ -8,10 +8,16 @@
<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 +26,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 +89,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 +110,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 +129,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 +155,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 +185,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>
@ -116,15 +198,60 @@
<div style="margin-left: 10px">
<el-dropdown @command="handleCommand">
<span class="el-dropdown-link">体检查询</span>
<el-dropdown-menu slot="dropdown" style="width:170px;">
<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-item command="doctorCheck"
>体检医生诊台</el-dropdown-item
>
<el-dropdown-item command="sumDoctorCheck"
>总检医生诊台</el-dropdown-item
>
</el-dropdown-menu>
</el-dropdown>
</div>
<!-- 客户报表 -->
<div class="physicalexamination" style="margin-left: 15px">
<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-menu>
</el-dropdown>
</div>
<!-- 工作量统计 -->
<div class="physicalexamination" style="margin-left: 15px">
<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-menu>
</el-dropdown>
</div>
<!-- -->
<!-- -->
<div class="btn">
当前用户{{ user }}
<!-- <i class="el-icon-arrow-down el-icon--right"></i> -->
@ -133,24 +260,51 @@
操作 <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="logout"
>退出登录</el-dropdown-item
>
<el-dropdown-item @click.native="editpassword"
>修改密码</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">
@ -413,7 +567,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(() => {});
}
},
//

7
src/views/basic-dictionary/MaritalStatus.vue

@ -32,7 +32,12 @@
</el-table>
<div class="cancelorconfirm"></div>
<!-- BIA编辑修改弹框 -->
<el-dialog title="修改" :visible.sync="dialogVisible" width="30%" :close-on-click-modal="false">
<el-dialog
title="修改"
:visible.sync="dialogVisible"
width="30%"
:close-on-click-modal="false"
>
<el-form ref="form" :model="form">
<el-row>
<el-col :span="12">

7
src/views/basic-dictionary/SampleContainer.vue

@ -203,6 +203,7 @@ import {
specimentopbottom,
specimensort,
} from "../../request/systemapi";
import { lognis } from "@/request/ruquset";
export default {
data() {
return {
@ -234,7 +235,7 @@ export default {
containerColor: 1089274,
containerRemark: "",
},
color16: "#409EFF",
color16: "",
curRow: {},
};
},
@ -259,7 +260,6 @@ export default {
hexColor = hexColor.substring(1);
//
this.form.containerColor = parseInt(hexColor, 16);
console.log(this.form.containerColor);
// this.form.containerColor = parseInt(v)
// console.log(this.form.containerColor);
@ -297,7 +297,6 @@ export default {
Sortable.create(tbody, {
handle: ".move",
animation: 300,
onEnd({ newIndex, oldIndex }) {
_this.isshow = false;
const currRow = _this.tableData.splice(oldIndex, 1)[0];
@ -382,6 +381,8 @@ export default {
},
//id
rowick(row) {
this.inputcontainerColor(this.form.containerColor);
console.log(this.form.containerColor);
Containerid(row.id).then((res) => {
this.curRow = { ...res.data };
// console.log(res);

2
src/views/doctorCheck/personnelBatch.vue

@ -342,7 +342,7 @@ export default {
//
async submitBatch() {
let res = null,
confirm = null;
confirm = null;
for (let i = 0; i < this.tableData.length; i++) {
this.tableData[i].isAutoCreateDepartment =
this.form.isAutoCreateDepartment;

101
src/views/doctorCheck/positiveresults.vue

@ -0,0 +1,101 @@
<template>
<div class="box">
<el-card>
<el-row>
<el-form ref="form" :model="form" label-width="80px">
<el-col :span="6">
<el-form-item label="单位">
<el-select v-model="form.unitgrouping" placeholder="请选择">
<el-option
v-for="item in customerorgdata"
:key="item.id"
:label="item.displayName"
:value="item.id"
>
</el-option>
</el-select>
</el-form-item>
</el-col>
<el-col :span="6" style="line-height: 30px">
<el-radio-group v-model="form.radio">
<el-radio :label="3">疾病</el-radio>
<el-radio :label="6">综述</el-radio>
<el-radio :label="9">综述建议</el-radio>
<el-radio :label="12">综述建议疾病</el-radio>
</el-radio-group>
</el-col>
<el-col :span="6">
<el-form-item label="疾病来源">
<el-select v-model="form.diseasesource" placeholder="请选择">
<el-option
v-for="item in diseasesourcedata"
:key="item.value"
:label="item.label"
:value="item.value"
>
</el-option>
</el-select>
</el-form-item>
</el-col>
</el-form>
</el-row>
<!-- tabl标题 -->
<h3 class="tabtitle">人员体检结果清单</h3>
<!-- tab区域 -->
<el-table :data="tableData" style="width: 100%">
<el-table-column prop="date" label="档案号" width=""> </el-table-column>
<el-table-column prop="name" label="性别" width=""> </el-table-column>
<el-table-column prop="address" label="姓名"> </el-table-column>
<el-table-column prop="address1" label="年龄"> </el-table-column>
</el-table>
<!-- -->
</el-card>
</div>
</template>
<script>
import { getapi, postapi } from "@/api/api";
export default {
data() {
return {
form: {
unitgrouping: "",
radio: "9",
diseasesource: "",
},
tableData: [],
customerorgdata: [], //
diseasesourcedata: [
{
value: "1",
label: "综述",
},
{
value: "2",
label: "建议",
},
{
value: "3",
label: "疾病列表",
},
], //
};
},
mounted() {
this.obtainingunits();
},
methods: {
//
obtainingunits() {
getapi("/api/app/customer-org/by-code-all").then((res) => {
this.customerorgdata = res.data;
});
},
},
};
</script>
<style scoped>
.tabtitle {
text-align: center;
margin-top: 20px;
}
</style>

124
src/views/doctorCheck/unitphysicalexamination.vue

@ -0,0 +1,124 @@
<template>
<div class="box">
<el-card>
<el-row>
<el-form :model="form">
<el-col :span="4">
<el-form-item label="单位">
<el-select v-model="form.customerorg" placeholder="请选择">
<el-option
v-for="item in customerorgdata"
:key="item.id"
:label="item.displayName"
:value="item.id"
>
</el-option>
</el-select>
</el-form-item>
</el-col>
<el-col :span="4">
<el-form-item label="疾病来源">
<el-select
v-model="form.diseasesource"
placeholder="请选择"
style="width: 60%"
>
<el-option
v-for="item in diseasesourcedata"
:key="item.value"
:label="item.label"
:value="item.value"
>
</el-option>
</el-select>
</el-form-item>
</el-col>
<el-col :span="2">
<el-checkbox v-model="checked">备选项</el-checkbox>
</el-col>
<el-col :span="3">
<el-radio v-model="radio" label="1">疾病</el-radio>
<el-radio v-model="radio" label="2">综述</el-radio>
</el-col>
<el-col :span="4">
<el-form-item label="报表格式">
<el-select v-model="form.report" placeholder="请选择">
<el-option
v-for="item in reportdata"
:key="item.value"
:label="item.label"
:value="item.value"
>
</el-option>
</el-select>
</el-form-item>
</el-col>
</el-form>
</el-row>
<!-- -->
<div class="mainarea"></div>
</el-card>
</div>
</template>
<script>
export default {
data() {
return {
radio: "1",
checked: false,
form: {
customerorg: "",
diseasesource: "",
report: "",
},
customerorgdata: [],
reportdata: [
{
value: "1",
label: "标准格式",
},
{
value: "2",
label: "精简格式",
},
{
value: "3",
label: "Word格式",
},
], //
diseasesourcedata: [
{
value: "1",
label: "综述",
},
{
value: "2",
label: "建议",
},
{
value: "3",
label: "疾病列表",
},
], //
};
},
mounted() {
this.obtainingunits();
},
methods: {
//
obtainingunits() {
getapi("/api/app/customer-org/by-code-all").then((res) => {
this.customerorgdata = res.data;
});
},
},
};
</script>
<style scoped>
.mainarea {
width: 60%;
height: 600px;
border: 1px solid #ccc;
}
</style>

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

@ -0,0 +1,101 @@
<template>
<div class="box">
<el-card>
<el-row>
<el-form ref="form" :model="form" label-width="120px">
<el-col :span="6">
<el-form-item label="单位">
<el-select v-model="form.unit" placeholder="请选择">
<el-option
v-for="item in customerorgdata"
:key="item.id"
:label="item.displayName"
:value="item.id"
>
</el-option>
</el-select>
</el-form-item>
</el-col>
<el-col :span="6">
<el-form-item label="诊断">
<el-select v-model="form.diagnosis" placeholder="请选择">
<el-option
v-for="item in diagnosisdata"
:key="item.id"
:label="item.displayName"
:value="item.id"
>
</el-option>
</el-select>
</el-form-item>
</el-col>
<el-col :span="6">
<el-form-item label="疾病来源">
<el-select v-model="form.diagnosis" placeholder="请选择">
<el-option
v-for="item in diagnosisdata"
:key="item.id"
:label="item.displayName"
:value="item.id"
>
</el-option>
</el-select>
</el-form-item>
</el-col>
</el-form>
</el-row>
<!-- tab区域 -->
<h3 class="tabtitle">疾病人数统计</h3>
<el-table :data="tableData" style="width: 100%">
<el-table-column prop="date" label="疾病" width="180">
</el-table-column>
<el-table-column prop="name" label="人数" width="180">
</el-table-column>
<el-table-column prop="address" label="占总检人数百分比">
</el-table-column>
</el-table>
<!-- -->
</el-card>
</div>
</template>
<script>
import { getapi, postapi } from "@/api/api";
export default {
data() {
return {
form: {
unit: "",
diagnosis: "",
},
tableData: [],
customerorgdata: [],
diagnosisdata: [],
};
},
mounted() {
this.obtainingunits();
this.getdiagnosis();
},
methods: {
//
obtainingunits() {
getapi("/api/app/customer-org/by-code-all").then((res) => {
this.customerorgdata = res.data;
});
},
//
getdiagnosis() {
postapi("/api/app/diagnosis/getlistinfilter").then((res) => {
this.diagnosisdata = res.data.items;
console.log(res);
});
},
},
};
</script>
<style scoped>
.tabtitle {
text-align: center;
margin-top: 20px;
}
</style>

74
src/views/workload/registrar.vue

@ -0,0 +1,74 @@
<template>
<div class="box">
<el-card>
<el-form :model="form">
<el-row>
<el-col :span="6">
<el-form-item label="登记员">
<el-select v-model="form.username" placeholder="请选择">
<el-option
v-for="item in registrardata"
:key="item.value"
:label="item.label"
:value="item.value"
>
</el-option>
</el-select>
</el-form-item>
</el-col>
<el-col :span="6">
<el-form-item label="登记日期">
<el-date-picker
v-model="form.registrationdate"
type="daterange"
range-separator="--"
start-placeholder="开始日期"
end-placeholder="结束日期"
>
</el-date-picker>
</el-form-item>
</el-col>
</el-row>
<!-- d登记标题 -->
<h3 class="tabtile">登记员工作量统计</h3>
</el-form>
<div>
登记员<span style="margin-left: 20px">xxx</span>
人数
<span style="margin-left: 20px">xxx</span>
站登记总人数百分比
<span style="margin-left: 20px">xxx</span>
</div>
</el-card>
</div>
</template>
<script>
export default {
data() {
return {
form: {
username: "",
registrationdate: "",
},
registrardata: [
{
value: "1",
label: "张三",
},
{
value: "2",
label: "测试",
},
],
};
},
mounted() {},
methods: {},
};
</script>
<style scoped>
.tabtile {
text-align: center;
margin-top: 20px;
}
</style>
Loading…
Cancel
Save