|
|
|
@ -108,113 +108,235 @@
|
|
|
|
|
</el-button-group>
|
|
|
|
|
</div>
|
|
|
|
|
<el-divider style="margin: 15px"></el-divider>
|
|
|
|
|
<el-table v-loading="loading" :data="list" style="width: 100%;" border highlight-current-row
|
|
|
|
|
@row-click="(row) => executeFuc(row,'0',tableObj.handleChangeFuc)" ref="multipleTable"
|
|
|
|
|
:default-sort="defaultSort"
|
|
|
|
|
:row-style="{ height: '32px' }"
|
|
|
|
|
@sort-change="handleSortChange">
|
|
|
|
|
<template v-for="(item, index) in tableHeader">
|
|
|
|
|
<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">
|
|
|
|
|
<el-tabs type="border-card" style="margin-top: 55px">
|
|
|
|
|
<el-tab-pane label="原始单据">
|
|
|
|
|
|
|
|
|
|
<el-table v-loading="loading" :data="list" style="width: 100%;" border highlight-current-row
|
|
|
|
|
@row-click="(row) => executeFuc(row,'0',tableObj.handleChangeFuc)" ref="multipleTable"
|
|
|
|
|
:default-sort="defaultSort"
|
|
|
|
|
:row-style="{ height: '32px' }"
|
|
|
|
|
@sort-change="handleSortChange">
|
|
|
|
|
<template v-for="(item, index) in tableHeader">
|
|
|
|
|
<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])">
|
|
|
|
|
</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>
|
|
|
|
|
</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' && 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>
|
|
|
|
|
</template>
|
|
|
|
|
</el-table-column>
|
|
|
|
|
<el-table-column
|
|
|
|
|
v-if="item.columnType == 'text' && 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-table>
|
|
|
|
|
<pagination
|
|
|
|
|
v-show="total>0"
|
|
|
|
|
:total="total"
|
|
|
|
|
:limit.sync="filterQuery.limit"
|
|
|
|
|
:page.sync="filterQuery.page"
|
|
|
|
|
@pagination="handleCurrentChange"
|
|
|
|
|
></pagination>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
</el-tab-pane>
|
|
|
|
|
|
|
|
|
|
<el-tab-pane label="异常单据">
|
|
|
|
|
|
|
|
|
|
<el-table v-loading="loading" :data="errList" style="width: 100%;" border highlight-current-row
|
|
|
|
|
@row-click="(row) => executeFuc(row,'0',tableObj1.handleChangeFuc)" ref="multipleTable"
|
|
|
|
|
:default-sort="defaultSort"
|
|
|
|
|
:row-style="{ height: '32px' }"
|
|
|
|
|
@sort-change="handleSortChange">
|
|
|
|
|
<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' && 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>
|
|
|
|
|
</template>
|
|
|
|
|
</el-table-column>
|
|
|
|
|
</template>
|
|
|
|
|
</el-table>
|
|
|
|
|
<pagination
|
|
|
|
|
v-show="total>0"
|
|
|
|
|
:total="total"
|
|
|
|
|
:limit.sync="filterQuery.limit"
|
|
|
|
|
:page.sync="filterQuery.page"
|
|
|
|
|
@pagination="handleCurrentChange"
|
|
|
|
|
></pagination>
|
|
|
|
|
</el-table>
|
|
|
|
|
<pagination
|
|
|
|
|
v-show="errTotal>0"
|
|
|
|
|
:total="errTotal"
|
|
|
|
|
:limit.sync="errQuery.limit"
|
|
|
|
|
:page.sync="errQuery.page"
|
|
|
|
|
@pagination="handleCurrentChange"
|
|
|
|
|
></pagination>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
</el-tab-pane>
|
|
|
|
|
</el-tabs>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
</el-card>
|
|
|
|
|
<el-tabs type="border-card" style="margin: 15px">
|
|
|
|
|
<el-tab-pane label="单据明细">
|
|
|
|
@ -250,7 +372,7 @@ import {convertDate} from "@/utils/date";
|
|
|
|
|
import {detail} from "@/api/basic/sicker/prescribeApi";
|
|
|
|
|
import prescribeDownloadDialog from "@/views/collect/prescribe/prescribeDownloadDialog";
|
|
|
|
|
import prescribeOriginPanel from "./PannelOrderBiz";
|
|
|
|
|
import PannelOriginOrderDetail from "./PannelOriginOrderDetail"
|
|
|
|
|
import PannelOriginOrderDetail from "./PannelOriginOrderDetail"
|
|
|
|
|
import {
|
|
|
|
|
clearAllOrder,
|
|
|
|
|
deleteByOrder,
|
|
|
|
@ -281,36 +403,36 @@ export default {
|
|
|
|
|
return {
|
|
|
|
|
actDateRange: [],
|
|
|
|
|
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]);
|
|
|
|
|
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 * 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]);
|
|
|
|
|
{
|
|
|
|
|
text: "最近三个月",
|
|
|
|
|
onClick(picker) {
|
|
|
|
|
const end = new Date();
|
|
|
|
|
const start = new Date();
|
|
|
|
|
start.setTime(start.getTime() - 3600 * 1000 * 24 * 90);
|
|
|
|
|
picker.$emit("pick", [start, end]);
|
|
|
|
|
},
|
|
|
|
|
},
|
|
|
|
|
},
|
|
|
|
|
],
|
|
|
|
|
},
|
|
|
|
|
],
|
|
|
|
|
},
|
|
|
|
|
//界面配置相关
|
|
|
|
|
//患者处方
|
|
|
|
|
tableHeader: [],
|
|
|
|
@ -337,6 +459,11 @@ export default {
|
|
|
|
|
page: 1,
|
|
|
|
|
limit: 10,
|
|
|
|
|
},
|
|
|
|
|
|
|
|
|
|
errQuery: {
|
|
|
|
|
page: 1,
|
|
|
|
|
limit: 10,
|
|
|
|
|
},
|
|
|
|
|
DataQuery: {
|
|
|
|
|
busType: null,
|
|
|
|
|
page: 1,
|
|
|
|
@ -346,6 +473,10 @@ export default {
|
|
|
|
|
loading: false,
|
|
|
|
|
list: [],
|
|
|
|
|
total: 0,
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
errList: [],
|
|
|
|
|
errTotal: 0,
|
|
|
|
|
downloadPrescriptionVisible: false,
|
|
|
|
|
deleteData: {
|
|
|
|
|
billNo: null,
|
|
|
|
@ -375,7 +506,7 @@ export default {
|
|
|
|
|
},
|
|
|
|
|
|
|
|
|
|
components: {
|
|
|
|
|
addOrder, errOrder, prescribeDownloadDialog, prescribeOriginPanel,PannelOriginOrderDetail
|
|
|
|
|
addOrder, errOrder, prescribeDownloadDialog, prescribeOriginPanel, PannelOriginOrderDetail
|
|
|
|
|
},
|
|
|
|
|
methods: {
|
|
|
|
|
|
|
|
|
@ -498,8 +629,30 @@ export default {
|
|
|
|
|
this.list = []
|
|
|
|
|
this.total = 0
|
|
|
|
|
})
|
|
|
|
|
}
|
|
|
|
|
,
|
|
|
|
|
},
|
|
|
|
|
|
|
|
|
|
getErrorList(_this) {
|
|
|
|
|
_this.loading = true;
|
|
|
|
|
if (_this.actDateRange !== null) {
|
|
|
|
|
_this.errQuery.startTime = _this.actDateRange[0];
|
|
|
|
|
_this.errQuery.endTime = _this.actDateRange[1];
|
|
|
|
|
} else {
|
|
|
|
|
_this.errQuery.startTime = null;
|
|
|
|
|
_this.errQuery.endTime = null;
|
|
|
|
|
}
|
|
|
|
|
_this.errQuery.tagStatus = 4;
|
|
|
|
|
orderPage(_this.errQuery).then(res => {
|
|
|
|
|
_this.loading = false
|
|
|
|
|
_this.errList = res.data.list || []
|
|
|
|
|
_this.errTotal = res.data.total || 0
|
|
|
|
|
}).catch(() => {
|
|
|
|
|
_this.loading = false
|
|
|
|
|
_this.errList = []
|
|
|
|
|
_this.errTotal = 0
|
|
|
|
|
})
|
|
|
|
|
},
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
getList2(_this) {
|
|
|
|
|
_this.loading = true;
|
|
|
|
|
if (_this.actDateRange !== null) {
|
|
|
|
@ -622,8 +775,14 @@ export default {
|
|
|
|
|
return
|
|
|
|
|
})
|
|
|
|
|
},
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
submitDialog() {
|
|
|
|
|
|
|
|
|
|
},
|
|
|
|
|
|
|
|
|
|
errorHandle(_this, row) {
|
|
|
|
|
_this.$confirm("此操作将重新下载该订单, 是否处理?", "提示", {
|
|
|
|
|
_this.$confirm("此操作将重新下载该订单, 是否继续?", "提示", {
|
|
|
|
|
confirmButtonText: "确定",
|
|
|
|
|
cancelButtonText: "取消",
|
|
|
|
|
type: "warning",
|
|
|
|
@ -667,6 +826,16 @@ export default {
|
|
|
|
|
this.fromList = re.data.fromList;
|
|
|
|
|
this.getList();
|
|
|
|
|
});
|
|
|
|
|
getHead("prescribeDownloadError", "1").then((re) => {
|
|
|
|
|
// 处理返回的数据
|
|
|
|
|
this.tableObj1 = re.data;
|
|
|
|
|
this.tableHeader1 = re.data.tableList;
|
|
|
|
|
// this.queryList1 = re.data.queryList;
|
|
|
|
|
this.fromList1 = re.data.fromList;
|
|
|
|
|
this.getErrorList(this);
|
|
|
|
|
});
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
this.filterQuery.tagStatus = this.tagStatus
|
|
|
|
|
this.filterQuery.tagStatusList = this.tagStatusList
|
|
|
|
|
this.findWorkPlace(this, '')
|
|
|
|
|