|
|
|
@ -210,280 +210,39 @@
|
|
|
|
|
<el-tabs type="border-card" style="margin: 15px">
|
|
|
|
|
|
|
|
|
|
<el-tab-pane label="处方使用耗材明细">
|
|
|
|
|
<el-table v-loading="preDiLoading" :data="preDiDetailList" style="width: 100%" border>
|
|
|
|
|
<template v-for="(item, index) in tableHeader2">
|
|
|
|
|
<el-table-column
|
|
|
|
|
v-if="item.columnType == 'id' && executeEval(row,item.expression,true)"
|
|
|
|
|
type="index" :label="item.columnDesc"></el-table-column>
|
|
|
|
|
<el-table-column
|
|
|
|
|
v-if="item.columnType == 'selection'"
|
|
|
|
|
type="selection"
|
|
|
|
|
:width="item.width"
|
|
|
|
|
:selectable="(row,number) => executeFuc(row,'3',item.clickFuc)"
|
|
|
|
|
></el-table-column>
|
|
|
|
|
|
|
|
|
|
<el-table-column
|
|
|
|
|
v-if="item.columnType == 'radio' && executeEval(row,item.expression,true)"
|
|
|
|
|
:prop="item.columnName"
|
|
|
|
|
:label="item.columnDesc"
|
|
|
|
|
:sortable="item.sort"
|
|
|
|
|
:width="item.width"
|
|
|
|
|
:show-overflow-tooltip="item.tooltip"
|
|
|
|
|
:key="item.columnName"
|
|
|
|
|
>
|
|
|
|
|
<template slot-scope="scope">
|
|
|
|
|
<el-radio :label="scope.row.id" v-model="radioCheck"><span></span></el-radio>
|
|
|
|
|
</template>
|
|
|
|
|
</el-table-column>
|
|
|
|
|
<el-table-column
|
|
|
|
|
v-if="item.columnType == 'laber' && executeEval(row,item.expression,true)"
|
|
|
|
|
:prop="item.columnName"
|
|
|
|
|
:label="item.columnDesc"
|
|
|
|
|
:sortable="item.sort"
|
|
|
|
|
:width="item.width"
|
|
|
|
|
:show-overflow-tooltip="item.tooltip"
|
|
|
|
|
:key="item.columnName"
|
|
|
|
|
>
|
|
|
|
|
<template slot-scope="scope">
|
|
|
|
|
<span :style="{color: executeFuc(scope.row,'4',item.lableRuleObj[scope.row[item.columnName]])}">{{
|
|
|
|
|
item.lableRuleObj[scope.row[item.columnName]]
|
|
|
|
|
}}</span>
|
|
|
|
|
</template>
|
|
|
|
|
</el-table-column>
|
|
|
|
|
<el-table-column
|
|
|
|
|
v-if="item.columnType == 'eltag' && executeEval(row,item.expression,true)"
|
|
|
|
|
:prop="item.columnName"
|
|
|
|
|
:label="item.columnDesc"
|
|
|
|
|
:sortable="item.sort"
|
|
|
|
|
:width="item.width"
|
|
|
|
|
:show-overflow-tooltip="item.tooltip"
|
|
|
|
|
:key="item.columnName"
|
|
|
|
|
>
|
|
|
|
|
<template slot-scope="scope">
|
|
|
|
|
<el-tag
|
|
|
|
|
:type="executeFuc(scope.row,'4',item,item.lableRuleObj?item.lableRuleObj[scope.row[item.columnName]]:scope.row[item.columnName])">
|
|
|
|
|
<span>{{
|
|
|
|
|
item.lableRuleObj ? item.lableRuleObj[scope.row[item.columnName]] : scope.row[item.columnName]
|
|
|
|
|
}}</span>
|
|
|
|
|
</el-tag>
|
|
|
|
|
</template>
|
|
|
|
|
</el-table-column>
|
|
|
|
|
<el-table-column
|
|
|
|
|
v-if="item.columnType == 'button' && executeEval(row,item.expression,true)"
|
|
|
|
|
:prop="item.columnName"
|
|
|
|
|
:label="item.columnDesc"
|
|
|
|
|
:width="item.width"
|
|
|
|
|
:key="item.columnName"
|
|
|
|
|
fixed="right"
|
|
|
|
|
>
|
|
|
|
|
<template slot-scope="scope">
|
|
|
|
|
<el-button v-for="(buttonItem, buttonIndex) in item.buttonRulObj"
|
|
|
|
|
:type="buttonItem.type"
|
|
|
|
|
:size="buttonItem.size"
|
|
|
|
|
:style="buttonItem.style"
|
|
|
|
|
:key="buttonItem"
|
|
|
|
|
v-if="executeEval(scope.row,buttonItem.hasPermi,true)"
|
|
|
|
|
:disabled="executeEval(scope.row,buttonItem.disabledFuc,false)"
|
|
|
|
|
@click.native.stop="executeFuc(scope.row,'1',buttonItem.clickFuc)"
|
|
|
|
|
>{{ buttonItem.name }}
|
|
|
|
|
</el-button>
|
|
|
|
|
</template>
|
|
|
|
|
</el-table-column>
|
|
|
|
|
<el-table-column
|
|
|
|
|
v-if="item.columnType == 'text' && !(item.columnName == 'productDate' || item.columnName == 'expireDate') && executeEval(row,item.expression,true)"
|
|
|
|
|
:prop="item.columnName"
|
|
|
|
|
:label="item.columnDesc"
|
|
|
|
|
:sortable="item.sort"
|
|
|
|
|
:width="item.width"
|
|
|
|
|
:show-overflow-tooltip="item.tooltip"
|
|
|
|
|
:key="item.columnName"
|
|
|
|
|
>
|
|
|
|
|
<template slot-scope="scope">
|
|
|
|
|
<span :style="{color: executeFuc(scope.row,'4',item,scope.row[item.columnName])}">{{
|
|
|
|
|
scope.row[item.columnName]
|
|
|
|
|
}}</span>
|
|
|
|
|
</template>
|
|
|
|
|
</el-table-column>
|
|
|
|
|
<el-table-column
|
|
|
|
|
v-if="item.columnType == 'text' && (item.columnName == 'productDate' || item.columnName == 'expireDate') && executeEval(row,item.expression,true)"
|
|
|
|
|
:prop="item.columnName"
|
|
|
|
|
:label="item.columnDesc"
|
|
|
|
|
:sortable="item.sort"
|
|
|
|
|
:width="item.width"
|
|
|
|
|
:show-overflow-tooltip="item.tooltip"
|
|
|
|
|
:key="item.columnName"
|
|
|
|
|
>
|
|
|
|
|
<template slot-scope="scope">
|
|
|
|
|
<span :style="{color: executeFuc(scope.row,'4',item,scope.row[item.columnName])}">{{
|
|
|
|
|
convertDateFun(scope.row[item.columnName])
|
|
|
|
|
}}</span>
|
|
|
|
|
</template>
|
|
|
|
|
</el-table-column>
|
|
|
|
|
</template>
|
|
|
|
|
</el-table>
|
|
|
|
|
<pagination
|
|
|
|
|
v-show="preDiTotal>0"
|
|
|
|
|
:total="preDiTotal"
|
|
|
|
|
:limit.sync="preDiQuery.limit"
|
|
|
|
|
:page.sync="preDiQuery.page"
|
|
|
|
|
@pagination="preDiHandleCurrentChange"
|
|
|
|
|
></pagination>
|
|
|
|
|
<prescribeOriginDiPanel
|
|
|
|
|
v-if="panelALive"
|
|
|
|
|
:prescribeData="curRow"
|
|
|
|
|
></prescribeOriginDiPanel>
|
|
|
|
|
</el-tab-pane>
|
|
|
|
|
<el-tab-pane label="原始处方明细">
|
|
|
|
|
|
|
|
|
|
<el-table v-loading="preLoading" :data="preDetailList" style="width: 100%" border>
|
|
|
|
|
<template v-for="(item, index) in tableHeader1">
|
|
|
|
|
<el-table-column
|
|
|
|
|
v-if="item.columnType == 'id' && executeEval(row,item.expression,true)"
|
|
|
|
|
type="index" :label="item.columnDesc"></el-table-column>
|
|
|
|
|
<el-table-column
|
|
|
|
|
v-if="item.columnType == 'selection'"
|
|
|
|
|
type="selection"
|
|
|
|
|
:width="item.width"
|
|
|
|
|
:selectable="(row,number) => executeFuc(row,'3',item.clickFuc)"
|
|
|
|
|
></el-table-column>
|
|
|
|
|
|
|
|
|
|
<el-table-column
|
|
|
|
|
v-if="item.columnType == 'radio' && executeEval(row,item.expression,true)"
|
|
|
|
|
:prop="item.columnName"
|
|
|
|
|
:label="item.columnDesc"
|
|
|
|
|
:sortable="item.sort"
|
|
|
|
|
:width="item.width"
|
|
|
|
|
:show-overflow-tooltip="item.tooltip"
|
|
|
|
|
:key="item.columnName"
|
|
|
|
|
>
|
|
|
|
|
<template slot-scope="scope">
|
|
|
|
|
<el-radio :label="scope.row.id" v-model="radioCheck"><span></span></el-radio>
|
|
|
|
|
</template>
|
|
|
|
|
</el-table-column>
|
|
|
|
|
<el-table-column
|
|
|
|
|
v-if="item.columnType == 'laber' && executeEval(row,item.expression,true)"
|
|
|
|
|
:prop="item.columnName"
|
|
|
|
|
:label="item.columnDesc"
|
|
|
|
|
:sortable="item.sort"
|
|
|
|
|
:width="item.width"
|
|
|
|
|
:show-overflow-tooltip="item.tooltip"
|
|
|
|
|
:key="item.columnName"
|
|
|
|
|
>
|
|
|
|
|
<template slot-scope="scope">
|
|
|
|
|
<span :style="{color: executeFuc(scope.row,'4',item.lableRuleObj[scope.row[item.columnName]])}">{{
|
|
|
|
|
item.lableRuleObj[scope.row[item.columnName]]
|
|
|
|
|
}}</span>
|
|
|
|
|
</template>
|
|
|
|
|
</el-table-column>
|
|
|
|
|
<el-table-column
|
|
|
|
|
v-if="item.columnType == 'eltag' && executeEval(row,item.expression,true)"
|
|
|
|
|
:prop="item.columnName"
|
|
|
|
|
:label="item.columnDesc"
|
|
|
|
|
:sortable="item.sort"
|
|
|
|
|
:width="item.width"
|
|
|
|
|
:show-overflow-tooltip="item.tooltip"
|
|
|
|
|
:key="item.columnName"
|
|
|
|
|
>
|
|
|
|
|
<template slot-scope="scope">
|
|
|
|
|
<el-tag
|
|
|
|
|
:type="executeFuc(scope.row,'4',item,item.lableRuleObj?item.lableRuleObj[scope.row[item.columnName]]:scope.row[item.columnName])">
|
|
|
|
|
<span>{{
|
|
|
|
|
item.lableRuleObj ? item.lableRuleObj[scope.row[item.columnName]] : scope.row[item.columnName]
|
|
|
|
|
}}</span>
|
|
|
|
|
</el-tag>
|
|
|
|
|
</template>
|
|
|
|
|
</el-table-column>
|
|
|
|
|
<el-table-column
|
|
|
|
|
v-if="item.columnType == 'button' && executeEval(row,item.expression,true)"
|
|
|
|
|
:prop="item.columnName"
|
|
|
|
|
:label="item.columnDesc"
|
|
|
|
|
:width="item.width"
|
|
|
|
|
:key="item.columnName"
|
|
|
|
|
fixed="right"
|
|
|
|
|
>
|
|
|
|
|
<template slot-scope="scope">
|
|
|
|
|
<el-button v-for="(buttonItem, buttonIndex) in item.buttonRulObj"
|
|
|
|
|
:type="buttonItem.type"
|
|
|
|
|
:size="buttonItem.size"
|
|
|
|
|
:style="buttonItem.style"
|
|
|
|
|
:key="buttonItem"
|
|
|
|
|
v-if="executeEval(scope.row,buttonItem.hasPermi,true)"
|
|
|
|
|
:disabled="executeEval(scope.row,buttonItem.disabledFuc,false)"
|
|
|
|
|
@click.native.stop="executeFuc(scope.row,'1',buttonItem.clickFuc)"
|
|
|
|
|
>{{ buttonItem.name }}
|
|
|
|
|
</el-button>
|
|
|
|
|
</template>
|
|
|
|
|
</el-table-column>
|
|
|
|
|
<el-table-column
|
|
|
|
|
v-if="item.columnType == 'text' && !(item.columnName == 'productDate' || item.columnName == 'expireDate') && executeEval(row,item.expression,true)"
|
|
|
|
|
:prop="item.columnName"
|
|
|
|
|
:label="item.columnDesc"
|
|
|
|
|
:sortable="item.sort"
|
|
|
|
|
:width="item.width"
|
|
|
|
|
:show-overflow-tooltip="item.tooltip"
|
|
|
|
|
:key="item.columnName"
|
|
|
|
|
>
|
|
|
|
|
<template slot-scope="scope">
|
|
|
|
|
<span :style="{color: executeFuc(scope.row,'4',item,scope.row[item.columnName])}">{{
|
|
|
|
|
scope.row[item.columnName]
|
|
|
|
|
}}</span>
|
|
|
|
|
</template>
|
|
|
|
|
</el-table-column>
|
|
|
|
|
<el-table-column
|
|
|
|
|
v-if="item.columnType == 'text' && (item.columnName == 'productDate' || item.columnName == 'expireDate') && executeEval(row,item.expression,true)"
|
|
|
|
|
:prop="item.columnName"
|
|
|
|
|
:label="item.columnDesc"
|
|
|
|
|
:sortable="item.sort"
|
|
|
|
|
:width="item.width"
|
|
|
|
|
:show-overflow-tooltip="item.tooltip"
|
|
|
|
|
:key="item.columnName"
|
|
|
|
|
>
|
|
|
|
|
<template slot-scope="scope">
|
|
|
|
|
<span :style="{color: executeFuc(scope.row,'4',item,scope.row[item.columnName])}">{{
|
|
|
|
|
convertDateFun(scope.row[item.columnName])
|
|
|
|
|
}}</span>
|
|
|
|
|
</template>
|
|
|
|
|
</el-table-column>
|
|
|
|
|
</template>
|
|
|
|
|
</el-table>
|
|
|
|
|
|
|
|
|
|
<pagination
|
|
|
|
|
v-show="preTotal>0"
|
|
|
|
|
:total="preTotal"
|
|
|
|
|
:limit.sync="preQuery.limit"
|
|
|
|
|
:page.sync="preQuery.page"
|
|
|
|
|
@pagination="preHandleCurrentChange"
|
|
|
|
|
></pagination>
|
|
|
|
|
|
|
|
|
|
<prescribeOriginPanel
|
|
|
|
|
v-if="panelALive"
|
|
|
|
|
:prescribeData="curRow"
|
|
|
|
|
></prescribeOriginPanel>
|
|
|
|
|
</el-tab-pane>
|
|
|
|
|
<el-tab-pane label="自动赋码明细">
|
|
|
|
|
<prescribeCodePanel
|
|
|
|
|
v-if="panelALive"
|
|
|
|
|
:prescribeData="curRow"
|
|
|
|
|
></prescribeCodePanel>
|
|
|
|
|
</el-tab-pane>
|
|
|
|
|
<el-tab-pane label="拆零赋码明细">
|
|
|
|
|
<prescribeCodePanel
|
|
|
|
|
v-if="panelALive"
|
|
|
|
|
:prescribeData="curRow"
|
|
|
|
|
:fifoSplit="1"
|
|
|
|
|
></prescribeCodePanel>
|
|
|
|
|
</el-tab-pane>
|
|
|
|
|
<el-tab-pane label="整取赋码明细">
|
|
|
|
|
<prescribeCodePanel
|
|
|
|
|
v-if="panelALive"
|
|
|
|
|
:prescribeData="curRow"
|
|
|
|
|
:fifoSplit="2"
|
|
|
|
|
></prescribeCodePanel>
|
|
|
|
|
</el-tab-pane>
|
|
|
|
|
</el-tabs>
|
|
|
|
|
|
|
|
|
|
<el-dialog
|
|
|
|
|
title="下载处方"
|
|
|
|
|
:visible.sync="downloadPrescriptionVisible"
|
|
|
|
|
:close-on-click-modal="false"
|
|
|
|
|
:close-on-press-escape="false"
|
|
|
|
|
v-if="downloadPrescriptionVisible"
|
|
|
|
|
width="65%"
|
|
|
|
|
append-to-body
|
|
|
|
|
>
|
|
|
|
|
<prescribeDownloadDialog
|
|
|
|
|
:closeDialog="this.closeDialog"
|
|
|
|
|
></prescribeDownloadDialog>
|
|
|
|
|
</el-dialog>
|
|
|
|
|
|
|
|
|
|
<el-dialog
|
|
|
|
|
title="下载处方"
|
|
|
|
|
:visible.sync="bindWorkPlaceVisible"
|
|
|
|
|
:close-on-click-modal="false"
|
|
|
|
|
:close-on-press-escape="false"
|
|
|
|
|
v-if="bindWorkPlaceVisible"
|
|
|
|
|
width="45%"
|
|
|
|
|
append-to-body
|
|
|
|
|
>
|
|
|
|
|
<bindWorkDialog
|
|
|
|
|
:prescribeList="this.multiplePreSelection"
|
|
|
|
|
:closeDialog="this.closeDialog"
|
|
|
|
|
></bindWorkDialog>
|
|
|
|
|
</el-dialog>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
</div>
|
|
|
|
|
</template>
|
|
|
|
|
|
|
|
|
@ -492,10 +251,10 @@ import addOrder from "@/views/inout/DialogCreateOrder";
|
|
|
|
|
import errOrder from "@/views/inout/IoCreateErrorOrder";
|
|
|
|
|
import {executeFuc, getHead} from "@/utils/customConfig";
|
|
|
|
|
import {convertDate} from "@/utils/date";
|
|
|
|
|
import {detail, page as prescribePage, deleteDataByCode} from "@/api/basic/sicker/prescribeApi";
|
|
|
|
|
import prescribeDownloadDialog from "@/views/inout/split/prescribeDownloadDialog";
|
|
|
|
|
import bindWorkDialog from "@/views/inout/split/bindWorkDialog";
|
|
|
|
|
import {skPrescribeDi} from "@/api/basic/sicker/skPersonApi";
|
|
|
|
|
import {page as prescribePage, deleteDataByCode} from "@/api/basic/sicker/prescribeApi";
|
|
|
|
|
import prescribeCodePanel from "@/views/inout/split/prescribeCodePanel";
|
|
|
|
|
import prescribeOriginPanel from "@/views/inout/split/prescribeOriginPanel";
|
|
|
|
|
import prescribeOriginDiPanel from "@/views/inout/split/prescribeOriginDiPanel";
|
|
|
|
|
|
|
|
|
|
export default {
|
|
|
|
|
name: "prescribeAllotIngPanel",
|
|
|
|
@ -514,16 +273,6 @@ export default {
|
|
|
|
|
queryList: [],
|
|
|
|
|
tableObj: [],
|
|
|
|
|
fromList: [],
|
|
|
|
|
//处方明细
|
|
|
|
|
tableHeader1: [],
|
|
|
|
|
queryList1: [],
|
|
|
|
|
tableObj1: [],
|
|
|
|
|
fromList1: [],
|
|
|
|
|
//处方使用耗材明细
|
|
|
|
|
tableHeader2: [],
|
|
|
|
|
queryList2: [],
|
|
|
|
|
tableObj2: [],
|
|
|
|
|
fromList2: [],
|
|
|
|
|
convertDateFun: convertDate,
|
|
|
|
|
//界面配置-------------end
|
|
|
|
|
|
|
|
|
@ -537,7 +286,6 @@ export default {
|
|
|
|
|
loading: false,
|
|
|
|
|
list: [],
|
|
|
|
|
total: 0,
|
|
|
|
|
downloadPrescriptionVisible: false,
|
|
|
|
|
deleteData: {},
|
|
|
|
|
preLoading: false,
|
|
|
|
|
preDetailList: [],
|
|
|
|
@ -557,13 +305,14 @@ export default {
|
|
|
|
|
limit: 10,
|
|
|
|
|
},
|
|
|
|
|
|
|
|
|
|
bindWorkPlaceVisible: false,
|
|
|
|
|
curRow: null,
|
|
|
|
|
panelALive: false,
|
|
|
|
|
multiplePreSelection: [],
|
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
|
|
|
|
|
components: {
|
|
|
|
|
addOrder, errOrder, prescribeDownloadDialog, bindWorkDialog
|
|
|
|
|
addOrder, errOrder, prescribeOriginPanel, prescribeOriginDiPanel, prescribeCodePanel
|
|
|
|
|
},
|
|
|
|
|
methods: {
|
|
|
|
|
|
|
|
|
@ -607,7 +356,6 @@ export default {
|
|
|
|
|
return
|
|
|
|
|
}
|
|
|
|
|
this.bindWorkPlaceVisible = true;
|
|
|
|
|
|
|
|
|
|
},
|
|
|
|
|
|
|
|
|
|
closeDialog() {
|
|
|
|
@ -636,54 +384,16 @@ export default {
|
|
|
|
|
this.getList();
|
|
|
|
|
},
|
|
|
|
|
|
|
|
|
|
prescribeClick(_this, row) {
|
|
|
|
|
this.getPrescribeDetail(_this, row)
|
|
|
|
|
this.getCodeDetail(_this, row)
|
|
|
|
|
},
|
|
|
|
|
|
|
|
|
|
getPrescribeDetail(_this, row) {
|
|
|
|
|
if (row != null) {
|
|
|
|
|
_this.preQuery.page = 1
|
|
|
|
|
_this.preQuery.prescribeCode = row.code
|
|
|
|
|
}
|
|
|
|
|
_this.preLoading = true;
|
|
|
|
|
detail(_this.preQuery).then(res => {
|
|
|
|
|
_this.preLoading = false
|
|
|
|
|
if (res.code != 20000) {
|
|
|
|
|
_this.$message.error(res.message)
|
|
|
|
|
return
|
|
|
|
|
}
|
|
|
|
|
_this.preDetailList = res.data.items
|
|
|
|
|
_this.preLoading = false
|
|
|
|
|
}).catch(() => {
|
|
|
|
|
_this.preLoading = false
|
|
|
|
|
_this.$message.error("数据加载失败")
|
|
|
|
|
})
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
if (row != null) {
|
|
|
|
|
_this.preDiQuery.page = 1
|
|
|
|
|
_this.preDiQuery.prescribeCode = row.code
|
|
|
|
|
}
|
|
|
|
|
_this.preDiLoading = true;
|
|
|
|
|
skPrescribeDi(_this.preDiQuery).then(res => {
|
|
|
|
|
_this.preLoading = false
|
|
|
|
|
if (res.code != 20000) {
|
|
|
|
|
_this.$message.error(res.message)
|
|
|
|
|
return
|
|
|
|
|
}
|
|
|
|
|
_this.preDiDetailList = res.data.list
|
|
|
|
|
_this.preDiLoading = false
|
|
|
|
|
}).catch(() => {
|
|
|
|
|
_this.preDiLoading = false
|
|
|
|
|
_this.$message.error("数据加载失败")
|
|
|
|
|
})
|
|
|
|
|
prescribeClick(_this, row) {
|
|
|
|
|
_this.curRow = row;
|
|
|
|
|
_this.refreshCodesPanel(_this);
|
|
|
|
|
},
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
preHandleCurrentChange(val) {
|
|
|
|
|
this.filterQuery.page = val.page;
|
|
|
|
|
this.getPrescribeDetail(this, null);
|
|
|
|
|
refreshCodesPanel(_this) {
|
|
|
|
|
_this.panelALive = false;
|
|
|
|
|
_this.$nextTick(() => {
|
|
|
|
|
_this.panelALive = true;
|
|
|
|
|
});
|
|
|
|
|
},
|
|
|
|
|
|
|
|
|
|
deleteDialog(_this, row) {
|
|
|
|
@ -737,27 +447,20 @@ export default {
|
|
|
|
|
this.getList();
|
|
|
|
|
});
|
|
|
|
|
|
|
|
|
|
getHead("prescribeIng-1", "1").then((re) => {
|
|
|
|
|
// 处理返回的数据
|
|
|
|
|
this.tableObj1 = re.data;
|
|
|
|
|
this.tableHeader1 = re.data.tableList;
|
|
|
|
|
this.queryList1 = re.data.queryList;
|
|
|
|
|
this.fromList1 = re.data.fromList;
|
|
|
|
|
});
|
|
|
|
|
|
|
|
|
|
getHead("prescribeIng-2", "1").then((re) => {
|
|
|
|
|
// 处理返回的数据
|
|
|
|
|
this.tableObj2 = re.data;
|
|
|
|
|
this.tableHeader2 = re.data.tableList;
|
|
|
|
|
this.queryList2 = re.data.queryList;
|
|
|
|
|
this.fromList2 = re.data.fromList;
|
|
|
|
|
this.getList();
|
|
|
|
|
});
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
</script>
|
|
|
|
|
<style scoped>
|
|
|
|
|
.query-form {
|
|
|
|
|
display: flex;
|
|
|
|
|
flex-wrap: wrap;
|
|
|
|
|
width: 100%;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.query-form-item {
|
|
|
|
|
margin-right: 5px;
|
|
|
|
|
margin-bottom: 6px;
|
|
|
|
|
}
|
|
|
|
|
</style>
|
|
|
|
|