|
|
@ -317,7 +317,7 @@
|
|
|
|
</el-form-item>
|
|
|
|
</el-form-item>
|
|
|
|
</el-col>
|
|
|
|
</el-col>
|
|
|
|
<el-col :span="24">
|
|
|
|
<el-col :span="24">
|
|
|
|
<el-form-item class="query-form-item" label-width="35%" label="业务类型:">
|
|
|
|
<el-form-item class="query-form-item" label-width="35%" label="业务名称:">
|
|
|
|
<el-input
|
|
|
|
<el-input
|
|
|
|
v-model="info.busTypeName"
|
|
|
|
v-model="info.busTypeName"
|
|
|
|
placeholder=""
|
|
|
|
placeholder=""
|
|
|
@ -423,7 +423,7 @@ import CollectOrderAllotDetail from "./CollectOrderAllotDetail";
|
|
|
|
import {filterWorkOptimize} from "@/api/basic/workPlace/sysWorkplaceManage";
|
|
|
|
import {filterWorkOptimize} from "@/api/basic/workPlace/sysWorkplaceManage";
|
|
|
|
import {getUserBindWork} from '@/api/basic/collectPoint/userWorkplace'
|
|
|
|
import {getUserBindWork} from '@/api/basic/collectPoint/userWorkplace'
|
|
|
|
import {decideOrder, deleteByOrder, orderPage, orderTop} from '@/api/collect/collectOrder'
|
|
|
|
import {decideOrder, deleteByOrder, orderPage, orderTop} from '@/api/collect/collectOrder'
|
|
|
|
import {getWorkBindBusTypes, removeBusTypeById} from '@/api/basic/workPlace/sysWorkplaceDocuments'
|
|
|
|
import {getWorkBindBusTypes, removeBusTypeById,filterListByWorkplace} from '@/api/basic/workPlace/sysWorkplaceDocuments'
|
|
|
|
import {isBlank} from '@/utils/strUtil'
|
|
|
|
import {isBlank} from '@/utils/strUtil'
|
|
|
|
|
|
|
|
|
|
|
|
export default {
|
|
|
|
export default {
|
|
|
@ -463,6 +463,38 @@ export default {
|
|
|
|
companyName: this.$store.getters.companyName,
|
|
|
|
companyName: this.$store.getters.companyName,
|
|
|
|
},
|
|
|
|
},
|
|
|
|
//界面配置相关
|
|
|
|
//界面配置相关
|
|
|
|
|
|
|
|
pickerOptions: {
|
|
|
|
|
|
|
|
shortcuts: [
|
|
|
|
|
|
|
|
{
|
|
|
|
|
|
|
|
text: "最近一周",
|
|
|
|
|
|
|
|
onClick(picker) {
|
|
|
|
|
|
|
|
const end = new Date();
|
|
|
|
|
|
|
|
const start = new Date();
|
|
|
|
|
|
|
|
start.setTime(start.getTime() - 3600 * 1000 * 24 * 7);
|
|
|
|
|
|
|
|
picker.$emit("pick", [start, end]);
|
|
|
|
|
|
|
|
},
|
|
|
|
|
|
|
|
},
|
|
|
|
|
|
|
|
{
|
|
|
|
|
|
|
|
text: "最近一个月",
|
|
|
|
|
|
|
|
onClick(picker) {
|
|
|
|
|
|
|
|
const end = new Date();
|
|
|
|
|
|
|
|
const start = new Date();
|
|
|
|
|
|
|
|
start.setTime(start.getTime() - 3600 * 1000 * 24 * 30);
|
|
|
|
|
|
|
|
picker.$emit("pick", [start, end]);
|
|
|
|
|
|
|
|
},
|
|
|
|
|
|
|
|
},
|
|
|
|
|
|
|
|
{
|
|
|
|
|
|
|
|
text: "最近三个月",
|
|
|
|
|
|
|
|
onClick(picker) {
|
|
|
|
|
|
|
|
const end = new Date();
|
|
|
|
|
|
|
|
const start = new Date();
|
|
|
|
|
|
|
|
start.setTime(start.getTime() - 3600 * 1000 * 24 * 90);
|
|
|
|
|
|
|
|
picker.$emit("pick", [start, end]);
|
|
|
|
|
|
|
|
},
|
|
|
|
|
|
|
|
},
|
|
|
|
|
|
|
|
],
|
|
|
|
|
|
|
|
},
|
|
|
|
|
|
|
|
actDateRange: [],
|
|
|
|
//患者处方
|
|
|
|
//患者处方
|
|
|
|
tableHeader: [],
|
|
|
|
tableHeader: [],
|
|
|
|
queryList: [],
|
|
|
|
queryList: [],
|
|
|
@ -525,7 +557,8 @@ export default {
|
|
|
|
},
|
|
|
|
},
|
|
|
|
showType: 1,
|
|
|
|
showType: 1,
|
|
|
|
routerParam: this.$route.query.routerParam,
|
|
|
|
routerParam: this.$route.query.routerParam,
|
|
|
|
timer: null
|
|
|
|
timer: null,
|
|
|
|
|
|
|
|
selectLoading: false
|
|
|
|
}
|
|
|
|
}
|
|
|
|
},
|
|
|
|
},
|
|
|
|
|
|
|
|
|
|
|
@ -558,15 +591,16 @@ export default {
|
|
|
|
return
|
|
|
|
return
|
|
|
|
})
|
|
|
|
})
|
|
|
|
},
|
|
|
|
},
|
|
|
|
timerAuto() {
|
|
|
|
//todo 改完之后要取消注释定时器
|
|
|
|
//启动定时器
|
|
|
|
// timerAuto() {
|
|
|
|
this.timer = setInterval(() => {
|
|
|
|
// //启动定时器
|
|
|
|
this.getList()
|
|
|
|
// this.timer = setInterval(() => {
|
|
|
|
}, 10000)
|
|
|
|
// this.getList()
|
|
|
|
|
|
|
|
// }, 10000)
|
|
|
|
//清楚定时器的方法
|
|
|
|
//
|
|
|
|
// clearInterval(this.timer)
|
|
|
|
// //清楚定时器的方法
|
|
|
|
},
|
|
|
|
// // clearInterval(this.timer)
|
|
|
|
|
|
|
|
// },
|
|
|
|
changeInvRemind(val) {
|
|
|
|
changeInvRemind(val) {
|
|
|
|
let post = {
|
|
|
|
let post = {
|
|
|
|
workPlaceCode: val
|
|
|
|
workPlaceCode: val
|
|
|
@ -713,13 +747,28 @@ export default {
|
|
|
|
if (_this == null)
|
|
|
|
if (_this == null)
|
|
|
|
_this = this
|
|
|
|
_this = this
|
|
|
|
_this.filterQuery.page = 1;
|
|
|
|
_this.filterQuery.page = 1;
|
|
|
|
|
|
|
|
_this.selectLoading = true;
|
|
|
|
|
|
|
|
const loading = _this.$loading({
|
|
|
|
|
|
|
|
lock: true,
|
|
|
|
|
|
|
|
text: 'Loading',
|
|
|
|
|
|
|
|
spinner: 'el-icon-loading',
|
|
|
|
|
|
|
|
background: 'rgba(0, 0, 0, 0.7)'
|
|
|
|
|
|
|
|
});
|
|
|
|
_this.getList();
|
|
|
|
_this.getList();
|
|
|
|
|
|
|
|
loading.close();
|
|
|
|
},
|
|
|
|
},
|
|
|
|
|
|
|
|
|
|
|
|
getList() {
|
|
|
|
getList() {
|
|
|
|
this.loading = true;
|
|
|
|
this.loading = true;
|
|
|
|
|
|
|
|
if (this.actDateRange !== null) {
|
|
|
|
|
|
|
|
this.filterQuery.startTime = this.actDateRange[0];
|
|
|
|
|
|
|
|
this.filterQuery.endTime = this.actDateRange[1];
|
|
|
|
|
|
|
|
} else {
|
|
|
|
|
|
|
|
this.filterQuery.startTime = null;
|
|
|
|
|
|
|
|
this.filterQuery.endTime = null;
|
|
|
|
|
|
|
|
}
|
|
|
|
let query = JSON.parse(JSON.stringify(this.filterQuery));
|
|
|
|
let query = JSON.parse(JSON.stringify(this.filterQuery));
|
|
|
|
query.workPlaceCode = null
|
|
|
|
// query.workPlaceCode = null
|
|
|
|
orderPage(query).then(res => {
|
|
|
|
orderPage(query).then(res => {
|
|
|
|
this.loading = false
|
|
|
|
this.loading = false
|
|
|
|
this.list = res.data.list || []
|
|
|
|
this.list = res.data.list || []
|
|
|
@ -823,6 +872,7 @@ export default {
|
|
|
|
this.showType = 2
|
|
|
|
this.showType = 2
|
|
|
|
}
|
|
|
|
}
|
|
|
|
this.findWorkPlace(this, "");
|
|
|
|
this.findWorkPlace(this, "");
|
|
|
|
|
|
|
|
this.getWorkBindBusTypes(this, "");
|
|
|
|
getHead("prescribeAllot", "1").then((re) => {
|
|
|
|
getHead("prescribeAllot", "1").then((re) => {
|
|
|
|
// 处理返回的数据
|
|
|
|
// 处理返回的数据
|
|
|
|
this.tableObj = re.data;
|
|
|
|
this.tableObj = re.data;
|
|
|
|