+
-
+
- 项目类别:
- 项目类别:
+
+ }" size="small">
-
-
-
+
+
+
-
+
- 搜索选择:
-
-
+ ">搜索选择:
+
+
-
-
-
+
+
+
@@ -316,89 +194,49 @@
-
-
-
+
+
+
-
-
-
+
+
+
-
+
-
+
-
-
+
+
@@ -406,28 +244,13 @@
-
新增
+
新增
- 删除
+ 删除
- 保存
+ 保存
@@ -440,85 +263,42 @@
-
新增
+
新增
- 编辑
+ 编辑
- 删除
+ 删除
- 置顶
+ 置顶
- 置底
+ 置底
- 排序
+ 排序
- 取消
+ 取消
- 确定项目
+ 确定项目
- 取消项目
+ 取消项目
-
+
-
+
@@ -532,103 +312,55 @@
>
-->
-
+ }" size="small">
- changeUpdate($event, 'displayName')"
- size="small"
- >
+ changeUpdate($event, 'displayName')" size="small">
- changeUpdate($event, 'shortName')"
- size="small"
- >
+ changeUpdate($event, 'shortName')"
+ size="small">
-
-
+
+
- changeUpdate($event, 'price')"
- size="small"
- >
+ changeUpdate($event, 'price')"
+ size="small">
-
-
+
+
-
-
+
+
@@ -647,11 +379,7 @@
>
-->
-
+
@@ -665,60 +393,44 @@
>
-->
-
+
- changeUpdate($event, 'clinicalMeaning')"
- />
+ changeUpdate($event, 'clinicalMeaning')" />
- changeUpdate($event, 'warn')"
- />
+ changeUpdate($event, 'warn')" />
-
+
- changeUpdate($event, 'defaultResult')"
- />
-
-
+ changeUpdate($event, 'defaultResult')" />
+
+
+
+
+
+
+
+
+
+
+
+
-
+
-
-
+
+
@@ -773,37 +472,19 @@
>
-->
-
+
- changeUpdate($event, 'queueTime')"
- size="small"
- >
+ changeUpdate($event, 'queueTime')"
+ size="small">
-
-
+
+
@@ -822,11 +503,7 @@
>
-->
-
+
@@ -840,27 +517,14 @@
>
-->
-
+
-
-
+
+
@@ -876,11 +540,7 @@
>
-->
-
+
@@ -894,11 +554,7 @@
>
-->
-
+
@@ -906,79 +562,41 @@
-
+
-
+
-
+
-
+
-
+
-
+
-
-
+
+
@@ -999,22 +617,14 @@
-
+
-
+
@@ -1025,38 +635,21 @@
-
+
-
+
@@ -1205,12 +798,14 @@ export default {
isPictureRotate: "N",
isCheck: "N",
isActive: "Y",
- collectItemTypeId:"",
- barcodeMode:"0",
- isWebAppoint:"Y",
- warn:"",
- diseaseScreeningTypeId:null,
- isDiagnosisFunctionBox: false
+ collectItemTypeId: "",
+ barcodeMode: "0",
+ isWebAppoint: "Y",
+ warn: "",
+ diseaseScreeningTypeId: null,
+ isDiagnosisFunctionBox: false,
+ isDisablePreparePregnancy: 'N',
+ isDisablePregnancy: 'N',
},
forSexId: [], //性别
itemTypeId: [], //项目类别
@@ -1367,19 +962,19 @@ export default {
],
guide: [{ required: true, message: "请输入指引信息", trigger: "blur" }],
},
- collectItemType:[],
- diseaseScreeningType:[],
- barcodeMode:[{
- id:"0",
- displayName:"使用项目类别设置"
+ collectItemType: [],
+ diseaseScreeningType: [],
+ barcodeMode: [{
+ id: "0",
+ displayName: "使用项目类别设置"
},
{
- id:"1",
- displayName:"打印人员登记号"
+ id: "1",
+ displayName: "打印人员登记号"
},
{
- id:"2",
- displayName:"不打印"
+ id: "2",
+ displayName: "不打印"
}]
};
},
@@ -1393,16 +988,16 @@ export default {
this.typeid();
},
updated() {
- this.$nextTick(() => {
- this.$refs.table.doLayout()
- })
- },
+ this.$nextTick(() => {
+ this.$refs.table.doLayout()
+ })
+ },
computed: {
...mapState(["window"]),
},
methods: {
changeBox(type) {
- //赋值
+ //赋值
if (this.form[type + "Box"]) {
this.$delete(this.form, type);
this.$set(this.form, type, "Y");
@@ -1436,7 +1031,7 @@ export default {
this.initfiletelists.forEach((item) => {
if (
item.displayName.toLowerCase().indexOf(keyWords.toLowerCase()) >
- -1 ||
+ -1 ||
item.simpleCode.toLowerCase().indexOf(keyWords.toLowerCase()) > -1
// || item.shortName.toLowerCase().indexOf(keyWords.toLowerCase()) > - 1
) {
@@ -1453,7 +1048,7 @@ export default {
this.initprojectid.forEach((item) => {
if (
item.displayName.toLowerCase().indexOf(keyWords.toLowerCase()) >
- -1 ||
+ -1 ||
item.simpleCode.toLowerCase().indexOf(keyWords.toLowerCase()) > -1
// || item.shortName.toLowerCase().indexOf(keyWords.toLowerCase()) > - 1
) {
@@ -1514,7 +1109,7 @@ export default {
this.initTableData.forEach((item) => {
if (
item.displayName.toLowerCase().indexOf(keyWords.toLowerCase()) >
- -1 ||
+ -1 ||
item.simpleCode.toLowerCase().indexOf(keyWords.toLowerCase()) > -1
// || item.shortName.toLowerCase().indexOf(keyWords.toLowerCase()) > - 1
) {
@@ -1562,15 +1157,15 @@ export default {
this.remoteMethodes();
}
},
- searchup(data,index) {
- this.$nextTick(()=>{
- if(index==0){
- index=1
- }
- const targetTop = this.$refs["tableData"].$el.querySelectorAll('.el-table__body tr')[index-1].getBoundingClientRect().top
- const containerTop = this.$refs["tableData"].$el.querySelector('.el-table__body').getBoundingClientRect().top
- const scrollParent = this.$refs["tableData"].$el.querySelector('.el-table__body-wrapper')
- scrollParent.scrollTop = targetTop - containerTop
+ searchup(data, index) {
+ this.$nextTick(() => {
+ if (index == 0) {
+ index = 1
+ }
+ const targetTop = this.$refs["tableData"].$el.querySelectorAll('.el-table__body tr')[index - 1].getBoundingClientRect().top
+ const containerTop = this.$refs["tableData"].$el.querySelector('.el-table__body').getBoundingClientRect().top
+ const scrollParent = this.$refs["tableData"].$el.querySelector('.el-table__body-wrapper')
+ scrollParent.scrollTop = targetTop - containerTop
})
},
expandParents(node) {
@@ -1613,8 +1208,8 @@ export default {
confirmButtonText: "是",
cancelButtonText: "否",
type: "warning",
- cancelButtonClass:"difference",
- confirmButtonClass:"commonbutton"
+ cancelButtonClass: "difference",
+ confirmButtonClass: "commonbutton"
})
.then(() => {
this.formdata.guidanceinformationdata.splice(
@@ -1968,8 +1563,8 @@ export default {
}
});
postapi("/api/app/DiseaseScreeningType/GetList").then((res) => {
- if(res.code!=-1){
- this.diseaseScreeningType=[...res.data]
+ if (res.code != -1) {
+ this.diseaseScreeningType = [...res.data]
}
});
// groupsandlist(this.pages).then((res) => {
@@ -2026,7 +1621,7 @@ export default {
}
},
bindidclose() {
- this.form=this.$options.data().form
+ this.form = this.$options.data().form
},
rowDrop() {
this.$nextTick(() => {
@@ -2059,8 +1654,8 @@ export default {
(res) => {
if (res.code != -1) {
this.tableData = res.data;
- this.$message.info("操作取消");
- this.isshow = true;
+ this.$message.info("操作取消");
+ this.isshow = true;
}
}
);
@@ -2071,7 +1666,7 @@ export default {
this.tableData.forEach((item, index) => {
// const currentDisplayOrder = this.initTableData[index].displayOrder;
// if (item.displayOrder != currentDisplayOrder) {
- result.push({ id: item.id, displayOrder: index+1 });
+ result.push({ id: item.id, displayOrder: index + 1 });
// }
});
combination({ itemList: result }).then((res) => {
@@ -2120,8 +1715,8 @@ export default {
confirmButtonText: "确定",
cancelButtonText: "取消",
type: "warning",
- cancelButtonClass:"difference",
- confirmButtonClass:"commonbutton"
+ cancelButtonClass: "difference",
+ confirmButtonClass: "commonbutton"
}).then(() => {
deletescombinationprojectid(this.form.id).then((res) => {
if (res.code != -1) {
@@ -2151,7 +1746,7 @@ export default {
}
asbitemgetid(this.form.id).then((res) => {
if (res.code != -1) {
- this.form = {...res.data};
+ this.form = { ...res.data };
if (res.data.isDiagnosisFunction == "Y") {
this.form.isDiagnosisFunctionBox = true;
} else {
@@ -2165,7 +1760,7 @@ export default {
// });
//适用性别
getapi("/api/app/for-sex").then((res) => {
- if(res.code!=-1){
+ if (res.code != -1) {
this.forSexId = res.data;
}
});
@@ -2186,10 +1781,10 @@ export default {
// }
// });
postapi("/api/app/CollectItemType/GetList").then((res) => {
- if (res.code != -1) {
- this.collectItemType=[...res.data]
- }
- });
+ if (res.code != -1) {
+ this.collectItemType = [...res.data]
+ }
+ });
}
},
editcancellation() {
@@ -2220,11 +1815,13 @@ export default {
isPictureRotate: this.form.isPictureRotate,
isCheck: this.form.isCheck,
isActive: this.form.isActive,
- collectItemTypeId:this.form.collectItemTypeId,
- barcodeMode:this.form.barcodeMode,
- isWebAppoint:this.form.isWebAppoint,
- warn:this.form.warn,
- diseaseScreeningTypeId:this.form.diseaseScreeningTypeId
+ collectItemTypeId: this.form.collectItemTypeId,
+ barcodeMode: this.form.barcodeMode,
+ isWebAppoint: this.form.isWebAppoint,
+ warn: this.form.warn,
+ diseaseScreeningTypeId: this.form.diseaseScreeningTypeId,
+ isDisablePreparePregnancy: this.form.isDisablePreparePregnancy,
+ isDisablePregnancy: this.form.isDisablePregnancy,
};
newcombination(obj).then((res) => {
if (res.code != -1) {
@@ -2258,11 +1855,13 @@ export default {
isPictureRotate: this.form.isPictureRotate,
isCheck: this.form.isCheck,
isActive: this.form.isActive,
- collectItemTypeId:this.form.collectItemTypeId,
- barcodeMode:this.form.barcodeMode,
- isWebAppoint:this.form.isWebAppoint,
- warn:this.form.warn,
- diseaseScreeningTypeId:this.form.diseaseScreeningTypeId
+ collectItemTypeId: this.form.collectItemTypeId,
+ barcodeMode: this.form.barcodeMode,
+ isWebAppoint: this.form.isWebAppoint,
+ warn: this.form.warn,
+ diseaseScreeningTypeId: this.form.diseaseScreeningTypeId,
+ isDisablePreparePregnancy: this.form.isDisablePreparePregnancy,
+ isDisablePregnancy: this.form.isDisablePregnancy,
};
updateombination(this.form.id, obj).then((res) => {
if (res.code != -1) {
@@ -2302,7 +1901,7 @@ export default {
if (this.$refs.ruleForm !== undefined) {
this.$refs.ruleForm.resetFields();
}
- this.form=this.$options.data().form
+ this.form = this.$options.data().form
this.form.itemTypeId = this.initItemTypeId;
this.$nextTick(() => {
this.$refs.refinput.focus();
@@ -2314,7 +1913,7 @@ export default {
// }
// });
getapi("/api/app/for-sex").then((res) => {
- if(res.code!=-1){
+ if (res.code != -1) {
this.forSexId = res.data;
}
});
@@ -2335,10 +1934,10 @@ export default {
// }
// });
postapi("/api/app/CollectItemType/GetList").then((res) => {
- if (res.code != -1) {
- this.collectItemType=[...res.data]
- }
- });
+ if (res.code != -1) {
+ this.collectItemType = [...res.data]
+ }
+ });
}
},
rowick(row) {
@@ -2369,21 +1968,21 @@ export default {
this.getobtainguidance(this.curRow.id);
this.publicapi();
},
- getSummaries(param){
- const { columns, data } = param;
- const sums = [];
- columns.forEach((column, index) => {
- if (index === 0) {
- sums[index] = '合计';
- return;
- }
- if(index === 1){
- sums[index] = data.length+'个';
- return;
- }
- });
+ getSummaries(param) {
+ const { columns, data } = param;
+ const sums = [];
+ columns.forEach((column, index) => {
+ if (index === 0) {
+ sums[index] = '合计';
+ return;
+ }
+ if (index === 1) {
+ sums[index] = data.length + '个';
+ return;
+ }
+ });
- return sums;
+ return sums;
},
getlist() {
groupsandlist().then((res) => {
@@ -2404,9 +2003,11 @@ export default {
@import "../../assets/css/global_form.css";
@import "../../assets/css/global_input.css";
@import "../../assets/css/global.css";
+
.mainleftbox {
flex: 1;
}
+
.Selectbutton {
margin: 0 20px;
display: flex;
@@ -2414,84 +2015,104 @@ export default {
justify-content: center;
align-items: center;
}
+
.mainbox {
display: flex;
justify-content: center;
margin-top: 5px;
}
+
.box {
display: flex;
flex-direction: column;
}
+
/* form表单每一项的下边距 */
:deep .el-form-item {
margin-bottom: 14px;
}
+
/* 去掉input textarea的手动扩张样式 */
:deep(.el-textarea__inner) {
resize: none;
}
+
/* el-dialog的头部样式 */
:deep .el-dialog__header {
padding: 11px 20px 11px;
}
+
/* el-dialog的主体样式 */
:deep .el-dialog__body {
padding: 0px 20px 0px;
}
+
/* el-divider样式 */
:deep .el-divider--horizontal {
margin: 0px 0 12px;
}
+
/* el-dialog的底部样式 */
:deep .el-dialog__footer {
padding: 0px 20px 14px;
}
+
/* 默认结果后面下拉框样式 */
:deep .downText .el-input--suffix .el-input__inner {
width: 0;
height: 100%;
padding: 0 19px;
}
+
/* 默认结果后面下拉框图标样式 */
:deep .downText .el-input--suffix .el-input__suffix {
right: 12px;
}
+
/* 默认结果后面下拉框 */
:deep .downText {
display: flex !important;
}
+
/* 诊断函数后面按钮样式 */
:deep .el-input-group__append {
padding: 0 11px;
}
+
/* 默认结果整体样式 */
.my-el-form-item :deep .el-form-item__content {
line-height: 0 !important;
}
+
.my-el-form-item :deep .el-input__icon {
line-height: 0 !important;
}
+
/* 指引信息 */
.guidelines :deep .el-form-item {
margin-bottom: 0;
}
+
.seachinput {
width: 250px;
margin-right: 110px;
}
+
:deep .seachinput .el-select {
width: 100%;
}
+
.layeredleftright {
width: 95%;
display: flex;
flex-direction: column;
}
-:deep .el-tree-node>.el-tree-node__children{
+
+:deep .el-tree-node>.el-tree-node__children {
overflow: visible;
}
+
:deep .el-form-item {
- margin-bottom: 8px;
+ margin-bottom: 8px;
}