mch 3 years ago
parent
commit
f40e0e6935
  1. 17
      src/App.vue
  2. 2
      src/views/basic-dictionary/MedicalReportType.vue
  3. 6
      src/views/common-settings/ItemType.vue
  4. 1
      src/views/fee-settings/Asbitem.vue
  5. 5
      src/views/fee-settings/Diagnosis.vue
  6. 42
      src/views/report/report.vue
  7. 49
      src/views/user-list/OrganizationUnits.vue
  8. 27
      src/views/user-list/Role.vue
  9. 12
      src/views/user-list/UserList.vue

17
src/App.vue

@ -32,10 +32,27 @@
// background: rgb(235, 235, 235); // background: rgb(235, 235, 235);
// opacity: 0.3; // opacity: 0.3;
} }
.addbottom {
color: rgb(65, 137, 104);
}
.editnottom {
color: rgb(65, 137, 104);
}
.determinebottom {
color: rgb(65, 137, 104);
}
.deletebottom {
color: rgb(65, 137, 104);
}
.cancellationbottom {
color: rgb(65, 137, 104);
}
.bulletcommit { .bulletcommit {
background: rgb(203, 236, 226) !important; background: rgb(203, 236, 226) !important;
color: rgb(65, 137, 104) !important; color: rgb(65, 137, 104) !important;
border: 1px solid rgb(65, 137, 104) !important; border: 1px solid rgb(65, 137, 104) !important;
border: 2px solid rgb(65, 137, 104);
} }
.el-dialog__title { .el-dialog__title {
color: rgb(31, 148, 96) !important; color: rgb(31, 148, 96) !important;

2
src/views/basic-dictionary/MedicalReportType.vue

@ -57,7 +57,7 @@
<el-table-column prop="id" label="编号" width="300"> <el-table-column prop="id" label="编号" width="300">
</el-table-column> </el-table-column>
<el-table-column prop="displayName" label="名称"> </el-table-column> <el-table-column prop="displayName" label="名称"> </el-table-column>
<el-table-column prop="createUserName" label="创建者">
<el-table-column prop="creatorName" label="创建者">
</el-table-column> </el-table-column>
<el-table-column prop="creationTime" label="创建时间" width="180"> <el-table-column prop="creationTime" label="创建时间" width="180">
<template slot-scope="scope"> <template slot-scope="scope">

6
src/views/common-settings/ItemType.vue

@ -32,7 +32,7 @@
<span slot-scope="{ node, data }"> <span slot-scope="{ node, data }">
<span style="padding: 5px">{{ node.label }}</span> <span style="padding: 5px">{{ node.label }}</span>
<span> <span>
<el-button
<el-button
type="primary" type="primary"
size="mini" size="mini"
style="padding: 5px; font-size: 15px; margin-left: 10%" style="padding: 5px; font-size: 15px; margin-left: 10%"
@ -76,9 +76,9 @@
width="40%" width="40%"
:close-on-click-modal="false" :close-on-click-modal="false"
> >
<span v-if="title==2?true:false">上级部门</span>
<span v-if="title == 2 ? true : false">上级部门</span>
<el-cascader <el-cascader
v-if="title==2"
v-if="title == 2"
ref="depref" ref="depref"
@change="cascaderchang" @change="cascaderchang"
:show-all-levels="false" :show-all-levels="false"

1
src/views/fee-settings/Asbitem.vue

@ -1273,6 +1273,7 @@ export default {
height: 240px; height: 240px;
border: 1px solid #ccc; border: 1px solid #ccc;
margin-left: 6%; margin-left: 6%;
overflow-y: scroll;
} }
.Selectbutton { .Selectbutton {
margin-left: 3%; margin-left: 3%;

5
src/views/fee-settings/Diagnosis.vue

@ -1,7 +1,7 @@
<template> <template>
<div class="box"> <div class="box">
<div style="width: 95%"> <div style="width: 95%">
<el-card class="elcard" style="border-radius: 15px">
<el-card class="elcard" style="border-radius: 15px; height: 800px">
<div class="publiccss">诊断</div> <div class="publiccss">诊断</div>
<div class="" style="display: flex"> <div class="" style="display: flex">
<div style="margin-left: 5px; margin-top: 15px; width: 15%"> <div style="margin-left: 5px; margin-top: 15px; width: 15%">
@ -14,7 +14,7 @@
<div style="width: 80%"> <div style="width: 80%">
<el-table <el-table
:data="tableData" :data="tableData"
style="width: 100%; margin-top: 20px"
style="width: 100%; margin-top: 20px; height: 500px"
row-key="id" row-key="id"
class="el-table__body-wrapper tbody" class="el-table__body-wrapper tbody"
@row-click="rowick" @row-click="rowick"
@ -599,6 +599,7 @@ export default {
// //
delets(row) { delets(row) {
this.form = { ...this.curRow }; this.form = { ...this.curRow };
console.log(row);
if (this.form.id == undefined) { if (this.form.id == undefined) {
this.$message.warning("请选择删除的数据"); this.$message.warning("请选择删除的数据");
} else { } else {

42
src/views/report/report.vue

@ -3,17 +3,37 @@
<el-card> <el-card>
<div class="publiccss">体检报告</div> <div class="publiccss">体检报告</div>
<div style="display: flex; margin-top: 20px"> <div style="display: flex; margin-top: 20px">
<div :style="'display: block; width:' + (window.pageWidth - 120 - 80) + 'px;'">
<div
:style="
'display: block; width:' + (window.pageWidth - 120 - 80) + 'px;'
"
>
<PatientRegisterQueryNobtn orgEnable="Y" /> <PatientRegisterQueryNobtn orgEnable="Y" />
<div style="display: flex"> <div style="display: flex">
<div :style="'width:' + Math.floor((window.pageWidth - 120 - 80) * 3 / 4) + 'px;'">
<div
:style="
'width:' +
Math.floor(((window.pageWidth - 120 - 80) * 3) / 4) +
'px;'
"
>
<PatientRegisterListNobtn /> <PatientRegisterListNobtn />
</div> </div>
<div :style="'margin-left: 2px;width:' + Math.floor((window.pageWidth - 120 - 80 - 8) / 4) + 'px;'">
<RegisterCheckStatus :patientRegisterId="patientRegister.patientRegisterId"/>
<div
:style="
'margin-left: 2px;width:' +
Math.floor((window.pageWidth - 120 - 80 - 8) / 4) +
'px;'
"
>
<RegisterCheckStatus
:patientRegisterId="patientRegister.patientRegisterId"
/>
</div> </div>
</div> </div>
<SumAsbItemStatus :patientRegisterId="patientRegister.patientRegisterId" />
<SumAsbItemStatus
:patientRegisterId="patientRegister.patientRegisterId"
/>
</div> </div>
<div style="margin-left: 10px; width: 110px"> <div style="margin-left: 10px; width: 110px">
<BtnReport /> <BtnReport />
@ -57,7 +77,7 @@ export default {
}, },
// //
mounted() { },
mounted() {},
computed: { computed: {
...mapState(["window", "dict", "patientRegister"]), ...mapState(["window", "dict", "patientRegister"]),
}, },
@ -183,10 +203,10 @@ export default {
</script> </script>
<style scoped> <style scoped>
/* 表格 表头 列间距控制 */ /* 表格 表头 列间距控制 */
::v-deep .el-table th.el-table__cell>.cell{
text-align: center; /* 表格 表头 对齐方式,默认 left */
padding-right: 2px; /* 表格 表头 列间距控制,默认 10px */
padding-left: 2px; /* 表格 表头 列间距控制,默认 10px */
::v-deep .el-table th.el-table__cell > .cell {
text-align: center; /* 表格 表头 对齐方式,默认 left */
padding-right: 2px; /* 表格 表头 列间距控制,默认 10px */
padding-left: 2px; /* 表格 表头 列间距控制,默认 10px */
} }
/* 表格 表体 首列左间距控制 */ /* 表格 表体 首列左间距控制 */
@ -196,7 +216,7 @@ export default {
/* 表格 行列间距控制 ,默认 10 px*/ /* 表格 行列间距控制 ,默认 10 px*/
::v-deep .el-table__cell { ::v-deep .el-table__cell {
padding: 2px 2px 2px 2px; /* 上,右,下,左 */
padding: 2px 2px 2px 2px; /* 上,右,下,左 */
} }
::v-deep .cell { ::v-deep .cell {

49
src/views/user-list/OrganizationUnits.vue

@ -115,10 +115,15 @@
<el-row> <el-row>
<el-col :span="8" style="line-height: 40px"> <el-col :span="8" style="line-height: 40px">
是否为体检中心 是否为体检中心
<el-radio-group v-model="form.isPeis">
<el-checkbox
v-model="isPeis"
:checked="isPeis"
@change="checkboxchange"
></el-checkbox>
<!-- <el-radio-group v-model="form.isPeis">
<el-radio label="Y"></el-radio> <el-radio label="Y"></el-radio>
<el-radio label="N"></el-radio> <el-radio label="N"></el-radio>
</el-radio-group>
</el-radio-group> -->
<!-- <el-radio v-model="form.isPeis" label="Y"></el-radio> <!-- <el-radio v-model="form.isPeis" label="Y"></el-radio>
<el-radio v-model="form.isPeis" label="N"></el-radio> --> <el-radio v-model="form.isPeis" label="N"></el-radio> -->
</el-col> </el-col>
@ -132,7 +137,10 @@
</el-row> </el-row>
<span slot="footer" class="dialog-footer"> <span slot="footer" class="dialog-footer">
<el-button @click="dialogVisible = false"> </el-button> <el-button @click="dialogVisible = false"> </el-button>
<el-button type="primary" @click="organizationtreeaddoredit" class="bulletcommit"
<el-button
type="primary"
@click="organizationtreeaddoredit"
class="bulletcommit"
> </el-button > </el-button
> >
</span> </span>
@ -152,6 +160,7 @@ export default {
data() { data() {
return { return {
showcheckbox: false, showcheckbox: false,
isPeis: true,
defaultKeys: [], defaultKeys: [],
selecttable: [], // selecttable: [], //
form: { form: {
@ -183,6 +192,14 @@ export default {
this.getonorganization(); this.getonorganization();
}, },
methods: { methods: {
checkboxchange(v) {
if (v == true) {
this.form.isPeis = "Y";
} else {
this.form.isPeis = "N";
}
console.log(this.isPeis);
},
cascaderchang(v) { cascaderchang(v) {
console.log(this.departmentname); console.log(this.departmentname);
this.departmentnames = v[v.length - 1]; this.departmentnames = v[v.length - 1];
@ -207,7 +224,7 @@ export default {
closethebulletbox() { closethebulletbox() {
this.dialogVisible = false; this.dialogVisible = false;
this.form = {}; this.form = {};
this.form.isPeis = "N";
// this.form.isPeis = "N";
}, },
// //
organizationtreeaddoredit() { organizationtreeaddoredit() {
@ -266,7 +283,7 @@ export default {
this.dialogVisible = false; this.dialogVisible = false;
// this.form = {}; // this.form = {};
this.form.displayName = ""; this.form.displayName = "";
this.form.isPeis = "N";
// this.form.isPeis = "N";
this.getonorganization(); this.getonorganization();
}); });
} }
@ -324,6 +341,8 @@ export default {
console.log(this.form); console.log(this.form);
} }
//
// if(this.natureoptions) // if(this.natureoptions)
// console.log(node, data); // console.log(node, data);
// if (this.natureoptions.length == 0) { // if (this.natureoptions.length == 0) {
@ -373,8 +392,16 @@ export default {
console.log(data); console.log(data);
}); });
}, },
//
//
rena(node, data) { rena(node, data) {
console.log(data, "11111111111111111");
if (data.parentId == null) {
this.isPeis = true;
} else {
this.isPeis = false;
}
let a = this.$refs.tree.getNode(data.id).parent.data.displayName; let a = this.$refs.tree.getNode(data.id).parent.data.displayName;
if (a == undefined) { if (a == undefined) {
this.departmentname = "已是最上级"; this.departmentname = "已是最上级";
@ -395,7 +422,15 @@ export default {
this.showcheckbox = true; this.showcheckbox = true;
this.form = data; this.form = data;
this.form.isPeis = "N"; this.form.isPeis = "N";
// console.log(this.selecttable, 5555);
this.isPeis = false;
//
getapi(`/api/app/organization-units?Id=${data.id}`).then((res) => {
if (res.data.isPeis == "Y") {
this.isPeis = true;
}
// console.log(res,'');
});
getapi( getapi(
`/api/app/organizationunit/getbycodeparent?OrganizationUnitId=${data.id}` `/api/app/organizationunit/getbycodeparent?OrganizationUnitId=${data.id}`
).then((res) => { ).then((res) => {

27
src/views/user-list/Role.vue

@ -9,7 +9,7 @@
:data="tableData" :data="tableData"
style="width: 100%; margin-top: 10px" style="width: 100%; margin-top: 10px"
border="" border=""
height="500"
:height="tableHeight"
> >
<el-table-column prop="name" label="角色名称" width="180"> <el-table-column prop="name" label="角色名称" width="180">
</el-table-column> </el-table-column>
@ -134,7 +134,12 @@
</el-form> </el-form>
<span slot="footer" class="dialog-footer"> <span slot="footer" class="dialog-footer">
<el-button @click="adddialogVisible = false"> </el-button> <el-button @click="adddialogVisible = false"> </el-button>
<el-button type="primary" @click="Confirmaddition" class="bulletcommit"> </el-button>
<el-button
type="primary"
@click="Confirmaddition"
class="bulletcommit"
> </el-button
>
</span> </span>
</el-dialog> </el-dialog>
</el-card> </el-card>
@ -154,6 +159,8 @@ import { getapi } from "@/api/api";
export default { export default {
data() { data() {
return { return {
tableHeight: window.innerHeight - 220, //
screenHeight: window.innerHeight, //
allChecked: false, // allChecked: false, //
allIndeterminate: false, allIndeterminate: false,
allCheckedLength: 0, allCheckedLength: 0,
@ -190,6 +197,22 @@ export default {
created() { created() {
this.getbolkeall(); this.getbolkeall();
}, },
mounted() {
window.onresize(() => {
return (() => {
// window.innerHeight:
window.screenHeight = window.innerHeight;
this.screenHeight = window.screenHeight;
})();
});
},
watch: {
// screenHeighttable
screenHeight(val) {
this.screenHeight = val;
this.tableHeight = this.screenHeight - 220;
},
},
methods: { methods: {
// //
newlyincreased() { newlyincreased() {

12
src/views/user-list/UserList.vue

@ -391,7 +391,7 @@
> >
</el-tree> --> </el-tree> -->
</el-tab-pane> </el-tab-pane>
<el-tab-pane label="科室设置">
<el-tab-pane label="科室操作权限">
<el-tree <el-tree
:data="newdepartment" :data="newdepartment"
show-checkbox show-checkbox
@ -692,14 +692,16 @@ export default {
handleNodeClick(data) { handleNodeClick(data) {
this.department = data.displayName; this.department = data.displayName;
console.log(this.department); console.log(this.department);
getapi(`/api/identity/users/getlistinorganizationunit?OrganizationUnitId=${data.id}`).then(res=>{
getapi(
`/api/identity/users/getlistinorganizationunit?OrganizationUnitId=${data.id}`
).then((res) => {
console.log(res); console.log(res);
this.tableData=res.data
})
this.tableData = res.data;
});
}, },
iscrentddepartment() { iscrentddepartment() {
this.department = this.$refs.department.getCheckedKeys(true); this.department = this.$refs.department.getCheckedKeys(true);
console.log(this.department, "www");
console.log(this.department, "wwww");
}, },
// //
Changepassword() { Changepassword() {

Loading…
Cancel
Save