9/29 页面优化1.2

yanshishuju
wangwei 9 months ago
parent f91acd339f
commit 92625c7f4b

@ -710,6 +710,7 @@ export default {
deptCode: this.$store.getters.locDeptCode deptCode: this.$store.getters.locDeptCode
} }
this.getList() this.getList()
this.collectList = []
}, },
changeDept() { changeDept() {
this.collectList = [] this.collectList = []

@ -960,6 +960,8 @@ export default {
deptCode: this.$store.getters.locDeptCode, deptCode: this.$store.getters.locDeptCode,
} }
this.getList() this.getList()
this.busTypeList = []
this.userList = []
}, },
getList() { getList() {
listPage(this.query).then(res => { listPage(this.query).then(res => {

@ -54,7 +54,6 @@
:disabled="executeEval(null,item.disabledFuc,false)" :disabled="executeEval(null,item.disabledFuc,false)"
filterable filterable
remote remote
:remote-method="(query) => executeFuc(query,'5',item.clickFuc)"
clearable> clearable>
<el-option <el-option
v-for="item in options[item.clickFuc]" v-for="item in options[item.clickFuc]"
@ -571,7 +570,7 @@ export default {
}, },
getWorkBindBusTypes(_this, query) { getWorkBindBusTypes(_this, query) {
_this.busQuery.workplaceCode = query _this.busQuery.workplaceCode = query
getWorkBindBusTypes(this.busQuery).then(res => { getWorkBindBusTypes(_this.busQuery).then(res => {
if (res.code == 20000) { if (res.code == 20000) {
let busTypes = res.data.list || []; let busTypes = res.data.list || [];
// _this.options.getWorkPlace = res.data.list || []; // _this.options.getWorkPlace = res.data.list || [];

@ -44,7 +44,6 @@
:disabled="executeEval(null,item.disabledFuc,false)" :disabled="executeEval(null,item.disabledFuc,false)"
filterable filterable
remote remote
:remote-method="(query) => executeFuc(query,'5',item.clickFuc)"
clearable> clearable>
<el-option <el-option
v-for="item in options[item.clickFuc]" v-for="item in options[item.clickFuc]"

@ -953,7 +953,8 @@ export default {
startTime: null, startTime: null,
endTime: null, endTime: null,
workPlaceCode:null, workPlaceCode:null,
keyWords:null keyWords:null,
busType: null
}; };
this.actDateRange = []; this.actDateRange = [];
this.getList(); this.getList();
@ -1196,18 +1197,22 @@ export default {
this.getCodeList(); this.getCodeList();
}, },
onBizReset() { onBizReset() {
if (isBlank(this.currentRow.billNo)){
return this.$message.error("请先选择需要查询的单据")
}
this.bizQuery = { this.bizQuery = {
productName: null, productName: null,
orderIdFk: null, orderIdFk: null,
page: 1, page: 1,
limit: 10 limit: 10
}; };
this.getBizDetailList();
if (!isBlank(this.currentRow.billNo)) {
this.getBizDetailList();
}
}, },
onBizSubmit() { onBizSubmit() {
if (isBlank(this.currentRow.billNo)){
return this.$message.error("请先选择需要查询的单据")
}
this.bizQuery.page = 1; this.bizQuery.page = 1;
this.getBizDetailList(); this.getBizDetailList();
}, },

@ -372,6 +372,9 @@ export default {
// this.getList(); // this.getList();
}, },
downloadPrescription(status) { downloadPrescription(status) {
if (this.filterQuery.busType == null){
return this.$message.error("请选择业务名称")
}
if(status == 1){ if(status == 1){
if (this.selectList.length == 0) { if (this.selectList.length == 0) {
this.$message.error("请选择下载处方") this.$message.error("请选择下载处方")

Loading…
Cancel
Save