Browse Source

page seo

master
pengjun 2 years ago
parent
commit
b8e0ff5f44
  1. 2
      src/components/customerOrg/ContactPerson.vue
  2. 8
      src/components/customerOrg/customerOrgEdit.vue
  3. 2
      src/components/customerOrg/customerOrgRegister.vue
  4. 2
      src/components/customerOrg/customerOrgTree.vue
  5. 47
      src/components/patientRegister/PatientRegisterEdit.vue
  6. 20
      src/components/patientRegister/PatientRegisterItem.vue
  7. 4
      src/components/patientRegister/PatientRegisterList.vue
  8. 2
      src/components/patientRegister/customerOrgTreeAll.vue
  9. 2
      src/components/patientRegister/patientRegisterAsbItem.vue
  10. 2
      src/components/patientRegister/patientRegisterQuery.vue
  11. 12
      src/views/customerOrg/customerOrg.vue
  12. 6
      src/views/customerOrg/patientRegister.vue

2
src/components/customerOrg/ContactPerson.vue

@ -1,7 +1,7 @@
<template>
<div>
<div style="display: flex;">
<div :style="'width:' + (window.pageWidth - 200 - 120 - 50) + 'px;'">
<div :style="'width:' + (window.pageWidth - 200 - 120 - 30) + 'px;'">
<el-table :data="customerOrg.contactPersonList" border :height="(window.pageHeight < 600 ? 84:window.pageHeight - 432)/2"
size="small" highlight-current-row @row-click="rowClick" ref="customerOrg.contactPersonList">
<el-table-column prop="displayName" label="姓名" min-width="70" align="center"/>

8
src/components/customerOrg/customerOrgEdit.vue

@ -1,6 +1,6 @@
<template>
<div style="display: flex">
<div :style="'margin-left: 5px;width:' + (window.pageWidth - 200 - 120 - 45) + 'px;'">
<div :style="'margin-left: 5px;width:' + (window.pageWidth - 200 - 120 - 25) + 'px;'">
<!--overflow-y: scroll;height:200px;-->
<el-form ref="form" :model="form" label-width="85px" :rules="rules" size="medium">
<el-row>
@ -9,7 +9,7 @@
<el-cascader v-model="form.parentId" :options="customerOrg.customerOrgTree"
:props="{checkStrictly: true,expandTrigger: 'hover',...customerOrg.treeprops,}"
:show-all-levels="false" clearable filterable disabled
:style="'width:' + Math.floor((window.pageWidth - 620) / 3) + 'px;'">
:style="'width:' + Math.floor((window.pageWidth - 600) / 3) + 'px;'">
</el-cascader>
</el-form-item>
</el-col>
@ -32,7 +32,7 @@
placeholder="请选择"
filterable
:disabled="peisid ? true : false"
:style="'width:' + Math.floor((window.pageWidth - 620) / 3) + 'px;'"
:style="'width:' + Math.floor((window.pageWidth - 600) / 3) + 'px;'"
>
<el-option
v-for="item in data.organizationdata"
@ -49,7 +49,7 @@
v-model="form.orgTypeId"
placeholder="请选择"
filterable
:style="'width:' + Math.floor((window.pageWidth - 620) / 3) + 'px;'"
:style="'width:' + Math.floor((window.pageWidth - 600) / 3) + 'px;'"
>
<el-option
v-for="item in data.customerOrgType"

2
src/components/customerOrg/customerOrgRegister.vue

@ -1,6 +1,6 @@
<template>
<div style="display: flex;">
<div :style="'width:' + (window.pageWidth - 200 - 120 - 50) + 'px;'">
<div :style="'width:' + (window.pageWidth - 200 - 120 - 30) + 'px;'">
<el-table :data="customerOrg.customerOrgRegisterList" border :height="window.pageHeight < 600 ? 168:window.pageHeight - 432" size="small"
highlight-current-row @row-click="rowClick" ref="customerOrg.customerOrgRegisterList">
<el-table-column prop="medicalTimes" label="体检次数" width="70" align="center"/>

2
src/components/customerOrg/customerOrgTree.vue

@ -3,7 +3,7 @@
<div style="margin:2px 2px 2px 2px;">
<el-input placeholder="输入关键字进行过滤" v-model="filterText" size="small" />
</div>
<div :style="'overflow: scroll;height:' +(window.pageHeight < 600 ? 410 : window.pageHeight - 190) + 'px;'">
<div :style="'overflow: scroll;height:' +(window.pageHeight < 600 ? 432 : window.pageHeight - 168) + 'px;'">
<el-tree :data="customerOrg.customerOrgTree" :props="customerOrg.treeprops"
node-key="id" :filter-node-method="filterNode"
:default-expanded-keys="customerOrg.defaultExpandedKeys"

47
src/components/patientRegister/PatientRegisterEdit.vue

@ -3,7 +3,7 @@
<div style="display: flex">
<div :style="'width:' + (window.pageWidth - 110 - 20) + 'px;'">
<!--查询条件-->
<div style="position: absolute;top:28px;left:180px;display: flex; flex-wrap: wrap; height:32px;border: 1px solid #DCDFE6;border-radius:5px;background-color: #F5F7FA;">
<div v-show="checkPagePriv(pagePriv.privs,'查找')" style="position: absolute;top:28px;left:180px;display: flex; flex-wrap: wrap; height:32px;border: 1px solid #DCDFE6;border-radius:5px;background-color: #F5F7FA;">
<div class="query">
<span class="querySpan">查找&nbsp;&nbsp;条码号</span>
<el-input placeholder="条码号" v-model="query.patientRegisterNo" size="small"
@ -32,7 +32,7 @@
<el-col :span="5">
<el-form-item label="单位名称" prop="customerOrgId">
<el-cascader v-model="form.customerOrgId" :options="patientRegister.customerOrgTreeAll"
:style="'width:' + Math.floor((window.pageWidth - 510) / 4.8) + 'px;'" filterable=""
:style="'width:' + Math.floor((window.pageWidth - 490) / 4.8) + 'px;'" filterable=""
:props="{ checkStrictly: true, expandTrigger: 'hover', ...customerOrg.treeprops, }"
:show-all-levels="false" :disabled="(form.id || form.registerManType == 'customer') ? true:false" size="small">
</el-cascader>
@ -361,47 +361,47 @@
</div>
</div>
<div style="margin-left: 10px;">
<div>
<div v-show="checkPagePriv(pagePriv.privs,'拍照')">
<el-button type="primary" class="btnClass" @click="photoGrah" icon="el-icon-camera">拍照</el-button>
</div>
<div class="btn">
<div v-show="checkPagePriv(pagePriv.privs,'读身份证')" class="btn">
<el-button @click="peopleIcCard" class="btnClass">读身份证</el-button>
</div>
<div class="btn">
<div v-show="checkPagePriv(pagePriv.privs,'复制新增')" class="btn">
<el-button type="primary" class="btnClass" @click="rdCopy">复制新增</el-button>
</div>
<div class="btn">
<div v-show="checkPagePriv(pagePriv.privs,'保存')" class="btn">
<el-button type="success" class="btnClass" @click="btnSubmit('form', true)">保存</el-button>
</div>
<div class="btn">
<div v-show="checkPagePriv(pagePriv.privs,'检验单申请')" class="btn">
<el-button type="primary" class="btnClass" @click="lisRequest">检验单申请</el-button>
</div>
<div class="btn">
<div v-show="checkPagePriv(pagePriv.privs,'条码打印')" class="btn">
<el-button type="primary" class="btnClass" @click="lisPrint('0002', false)">条码打印</el-button>
</div>
<div class="btn">
<div v-show="checkPagePriv(pagePriv.privs,'条码补打')" class="btn">
<el-button type="danger" class="btnClass" @click="reLisRequest">条码补打</el-button>
</div>
<div class="btn">
<div v-show="checkPagePriv(pagePriv.privs,'指引单打印')" class="btn">
<el-button type="primary" class="btnClass" @click="guidePrint('0001', false)">指引单打印</el-button>
</div>
<div class="btn">
<div v-show="checkPagePriv(pagePriv.privs,'指引单预览')" class="btn">
<el-button type="primary" class="btnClass" @click="guidePrint('0001', true)">指引单预览</el-button>
</div>
<div class="btn">
<div v-show="checkPagePriv(pagePriv.privs,'手动合并项目')" class="btn">
<el-button type="danger" class="btnClass" @click="reMergeAsbitem">手动合并项目</el-button>
</div>
<div style="margin-top: 30px;">
<div v-show="checkPagePriv(pagePriv.privs,'全个人支付')" style="margin-top: 30px;">
<el-button type="primary" class="btnClass" @click="prAsbOpraOpts.payTypeFlag = '0'">全个人支付</el-button>
</div>
<div class="btn">
<div v-show="checkPagePriv(pagePriv.privs,'全单位支付')" class="btn">
<el-button type="primary" class="btnClass" @click="prAsbOpraOpts.payTypeFlag = '1'">全单位支付</el-button>
</div>
<div class="btn">
<div v-show="checkPagePriv(pagePriv.privs,'全赠送')" class="btn">
<el-button type="primary" class="btnClass" @click="prAsbOpraOpts.payTypeFlag = '2'">全赠送</el-button>
</div>
<div class="btn">
<div v-show="checkPagePriv(pagePriv.privs,'收费')" class="btn">
<el-button type="success" class="btnClass" @click="toCharge(form.patientRegisterNo)">收费</el-button>
</div>
</div>
@ -639,7 +639,7 @@ import moment from "moment";
import { mapState, mapActions } from "vuex";
import { getapi, postapi, putapi, deletapi } from "@/api/api";
import mm from "../../utlis/mm";
import { objCopy, setNull, dddw,checkIDCode, parseID, birthdayToAge,ageToBirthday, deepCopy, arrayFilter, arrayReduce,parsIcCardtoLocal, photoParse, savePeoplePhoto, arrayExistObj } from "../../utlis/proFunc";
import { getPagePriv,checkPagePriv, objCopy, setNull, dddw,checkIDCode, parseID, birthdayToAge,ageToBirthday, deepCopy, arrayFilter, arrayReduce,parsIcCardtoLocal, photoParse, savePeoplePhoto, arrayExistObj } from "../../utlis/proFunc";
import Camera from "./Camera.vue";
import PatientRegisterItem from "./PatientRegisterItem.vue";
import LisRequest from "./LisRequest.vue";
@ -657,6 +657,11 @@ export default {
props: ['patientRegisterId','editTimes','refreshRegister'],
data() {
return {
pagePriv:{
routeUrlorPageName:'PatientRegisterEdit', //
privs:[] //
},
apiurl: mm.apiurl,
brushTimes: 0,
@ -776,6 +781,10 @@ export default {
},
created() {
//
let userPriv = window.sessionStorage.getItem('userPriv')
if(userPriv) this.pagePriv.privs = deepCopy(getPagePriv(this.pagePriv.routeUrlorPageName))
this.formInit = deepCopy(this.form)
//
this.dictInit()
@ -825,7 +834,7 @@ export default {
},
methods: {
...mapActions(['getPatientRegisterAbs']),
dddw,moment,
dddw,moment,checkPagePriv,
//
dictInit() {
@ -1934,7 +1943,7 @@ export default {
watch: {
//ID
"dataTransOpts.refresh.patient_register.S":{
immediate:true,
// immediate:true,
handler(newVal, oldVal) {
console.log(`watch 人员登记 newVal:${newVal} oldVal:${oldVal} registerCheckId: ${this.dataTransOpts.tableS.patient_register.id}`);
this.initFormData(this.dataTransOpts.tableS.patient_register.id)

20
src/components/patientRegister/PatientRegisterItem.vue

@ -34,19 +34,19 @@
</div>
<div style="width:100px;margin-top: 70px;">
<div class="btnList">
<div v-show="checkPagePriv(pagePriv.privs,'添加')" class="btnList">
<el-button type="primary" @click="addAbs(asbItemChoosed,'choosed')" style="width:90px;" :disabled="isComplete">添加 <i class="el-icon-arrow-right"></i>
</el-button>
</div>
<div class="btnList">
<div v-show="checkPagePriv(pagePriv.privs,'全添加')" class="btnList">
<el-button type="success" @click="addAbs(asbItemChoosed,'all')" style="width:90px;" :disabled="isComplete">全添加 <i class="el-icon-d-arrow-right"></i>
</el-button>
</div>
<div class="btnList">
<div v-show="checkPagePriv(pagePriv.privs,'移除')" class="btnList">
<el-button type="warning" @click="delAbs(patientRegisterAbsChoosed,'choosed')" style="width:90px;" :disabled="isComplete"><i class="el-icon-arrow-left"> 移除</i>
</el-button>
</div>
<div class="btnList">
<div v-show="checkPagePriv(pagePriv.privs,'全移除')" class="btnList">
<el-button type="danger" @click="delAbs(patientRegisterAbsChoosed,'all')" style="width:90px;" :disabled="isComplete"><i class="el-icon-d-arrow-left"> 全移除</i>
</el-button>
</div>
@ -159,13 +159,17 @@
import moment from 'moment';
import { mapState, mapActions } from "vuex";
import { getapi, postapi, putapi, deletapi } from "@/api/api";
import { arrayFilter, arrayReduce, arrayExistObj, dddw, deepCopy, tcdate} from "../../utlis/proFunc";
import { getPagePriv,checkPagePriv, arrayFilter, arrayReduce, arrayExistObj, dddw, deepCopy, tcdate} from "../../utlis/proFunc";
import proApi from "../../utlis/proApi";
export default {
props: ["prForm","prAsbOpraOpts","triggerHeadSave","refreshFormId"],
data() {
return {
pagePriv:{
routeUrlorPageName:'PatientRegisterEdit', //
privs:[] //
},
oldFormId:'', //使
itemType: [], //
itemTypeIds: '', //ID
@ -208,6 +212,10 @@ export default {
},
created(){
//
let userPriv = window.sessionStorage.getItem('userPriv')
if(userPriv) this.pagePriv.privs = deepCopy(getPagePriv(this.pagePriv.routeUrlorPageName))
this.dictInit()
},
@ -222,7 +230,7 @@ export default {
methods: {
...mapActions(['getCustomerOrgGroup', 'getPatientRegisterAbs']),
dddw,moment,deepCopy,
dddw,moment,deepCopy,checkPagePriv,
//
dictInit(){

4
src/components/patientRegister/PatientRegisterList.vue

@ -2,14 +2,14 @@
<div style="display: flex">
<div
:style="
'margin-left:5px;width:' + (window.pageWidth - 200 - 110 - 50) + 'px;'
'margin-left:5px;width:' + (window.pageWidth - 200 - 110 - 35) + 'px;'
"
@contextmenu.prevent="onContextmenu"
>
<div id="info">
<el-table @body-scrolling="load"
:data="patientRegister.prList"
border :height="window.pageHeight < 600 ? 202 : Math.floor(((window.pageHeight - 302) * 2) / 3)"
border :height="window.pageHeight < 600 ? 226 : Math.floor(((window.pageHeight - 261) * 2) / 3)"
highlight-current-row
@row-click="rowClick"
size="small" row-key="id"

2
src/components/patientRegister/customerOrgTreeAll.vue

@ -3,7 +3,7 @@
<div style="margin:2px 2px 2px 2px;">
<el-input placeholder="输入关键字进行过滤" v-model="filterText" size="small" />
</div>
<div :style="'overflow: scroll;height:' +(window.pageHeight < 600 ? 410 : window.pageHeight - 190) + 'px;'">
<div :style="'overflow: scroll;height:' +(window.pageHeight < 600 ? 430 : window.pageHeight - 170) + 'px;'">
<el-tree :data="patientRegister.customerOrgTreeAll" :props="customerOrg.treeprops"
node-key="id" :filter-node-method="filterNode"
@node-click="treeclick" highlight-current ref="customerOrgTree"/>

2
src/components/patientRegister/patientRegisterAsbItem.vue

@ -2,7 +2,7 @@
<div>
<div style="display: flex">
<el-table :data="dataTransOpts.tableM.register_asbitem" border
:height="window.pageHeight < 600 ? 100 : Math.floor((window.pageHeight - 302) / 3)" size="small"
:height="window.pageHeight < 600 ? 113 : Math.floor((window.pageHeight - 261) / 3)" size="small"
highlight-current-row :summary-method="getSummaries" show-summary
ref="patientRegister.patientRegisterAbs">
<el-table-column label="序号" width="50" align="center">

2
src/components/patientRegister/patientRegisterQuery.vue

@ -2,7 +2,7 @@
<div style="display: flex;">
<div :style="'margin-left: 5px;display: flex; flex-wrap: wrap; height:100px;width:' + (window.pageWidth - (orgEnable=='Y' ? 0:200) - 110 - 50) + 'px;'">
<div :style="'margin-left: 5px;display: flex; flex-wrap: wrap; height:100px;width:' + (window.pageWidth - (orgEnable=='Y' ? 0:200) - 110 - 30) + 'px;'">
<div class="query">
<span class="spanClass">登记日期</span>
<el-date-picker v-model="patientRegister.query.startDate" type="date" placeholder="起始日期" size="small" style="width:90px;"/>

12
src/views/customerOrg/customerOrg.vue

@ -7,27 +7,27 @@
<div style="display: flex;">
<!-- 单位树组件 -->
<div :style="'border: 1px solid;width:200px; height:' +
(window.pageHeight < 600 ? 450 : window.pageHeight - 150) +
(window.pageHeight < 600 ? 470 : window.pageHeight - 130) +
'px;'
">
<CustomerOrgTree />
</div>
<div :style="'display:block;width:' +
(window.pageWidth - 200 - 40) +
(window.pageWidth - 200 - 20) +
'px;height:' +
(window.pageHeight < 600 ? 450 : window.pageHeight - 150) +
(window.pageHeight < 600 ? 470 : window.pageHeight - 130) +
'px;' +
(window.pageHeight < 600 ? 'overflow-y: scroll;' : '')
">
<!-- 单位详情 录入与编辑 -->
<div style="height:228px;">
<div style="height:270px;">
<CustomerOrgEdit :id="customerOrg.customerOrgRd.id" />
</div>
<!-- 体检次数 联系人 -->
<el-tabs :style="'margin-left: 10px;width:' +
(window.pageWidth - 200 - 50) +
(window.pageWidth - 200 - 30) +
'px;height:' +
(window.pageHeight < 600 ? 222 : window.pageHeight - 378) +
(window.pageHeight < 600 ? 202 : window.pageHeight - 398) +
'px;'
" v-model="tabChoosed">
<!-- 体检次数 -->

6
src/views/customerOrg/patientRegister.vue

@ -9,7 +9,7 @@
<div
:style="
'border: 1px solid;width:200px; height:' +
(window.pageHeight < 600 ? 450 : window.pageHeight - 150) +
(window.pageHeight < 600 ? 470 : window.pageHeight - 130) +
'px;'
"
>
@ -18,9 +18,9 @@
<div
:style="
'display:block;width:' +
(window.pageWidth - 200 - 45) +
(window.pageWidth - 200 - 30) +
'px;height:' +
(window.pageHeight < 600 ? 450 : window.pageHeight - 150) +
(window.pageHeight < 600 ? 470 : window.pageHeight - 130) +
'px;' +
(window.pageHeight < 600 ? 'overflow-y: scroll;' : '')
"

Loading…
Cancel
Save