患者出库远程搜索,证书预览问题,创建人,审核人等问题

zyy_db
anthonywj 1 year ago
parent dca51b45d9
commit 95848a6a23

@ -38,11 +38,12 @@ ENV = 'production'
# VUE_APP_BASE_API = 'http://127.0.0.1:9150/UDI_WMS_MC/'
# 长泰医院
VUE_APP_BASE_API = 'http://192.168.6.189:9150/UDI_WMS_MC/'
# VUE_APP_BASE_API = 'http://192.168.6.189:9150/UDI_WMS_MC/'
# 三明大田医院
# VUE_APP_BASE_API = 'http://172.20.124.4:9150/UDI_WMS_MC/'
VUE_APP_BASE_API = 'http://172.20.124.4:9150/UDI_WMS_MC/'
# VUE_APP_BASE_API = 'http://192.168.0.207:9150/UDI_WMS_MC/'
@ -51,7 +52,13 @@ VUE_APP_BASE_API = 'http://192.168.6.189:9150/UDI_WMS_MC/'
# 林纪裕centos
# VUE_APP_BASE_API = 'http://192.168.0.86:9150/UDI_WMS_MC/'
# VUE_APP_BASE_API = 'http://192.168.31.2:9150/UDI_WMS_MC/'
# VUE_APP_BASE_API = 'http://116.204.106.103:9150/UDI_WMS_MC/'
# VUE_APP_BASE_API = 'http://192.168.80.80:9150/UDI_WMS_MC/'
# VUE_APP_BASE_API = 'http://192.168.0.207:9160/UDI_WMS_MC/'
# 应用访问路径 例如使用前缀 /admin/
VUE_APP_CONTEXT_PATH = '/UDI_WMS_NEW/'

@ -3,11 +3,13 @@
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
<!-- <meta http-equiv="Content-Security-Policy" content="script-src 'self'; object-src 'none'; style-src example.org third-party.org;">-->
<!-- <meta http-equiv=Content-Security-Policy content="default-src 'self';">-->
<meta name="renderer" content="webkit">
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no">
<link rel="icon" href="<%= BASE_URL %>favicon.ico">
<title><%= webpackConfig.name %></title>
<!--[if lt IE 11]><script>window.location.href='/html/ie.html';</script><![endif]-->
<style>
html,
body,
@ -16,6 +18,7 @@
margin: 0px;
padding: 0px;
}
.chromeframe {
margin: 0.2em 0;
background: #ccc;

@ -26,6 +26,17 @@ export function downloadSick(query) {
});
}
/**
* 远程下载
*/
export function remoteFilter(query) {
return axios({
url: "/udiwms/basic/sk/sicker/filter/remote",
method: "get",
params: query
});
}
/**
* 处方使用耗材明细

@ -76,7 +76,7 @@ let query = {
code: "",
adNum: "",
thirdSys: "thirdId",
selectSickers: [],
selectSickers: null,
page: 1,
limit: 10
}
@ -139,6 +139,7 @@ export default {
return
}
let selectData = this.multipleSelection;
this.filterQuery.selectSickers = []
selectData.forEach((obj) => {
this.filterQuery.selectSickers.push(obj);
});

@ -217,6 +217,7 @@
:remote-method="findSickMethod"
:loading="loading"
@change="sickChange"
@keyup.enter.native="remoteFindSickMethod"
:disabled="corpOrderIdDisabled"
>
<el-option
@ -448,16 +449,7 @@
<el-tabs type="border-card" style="margin: 5px">
<el-tab-pane label="处方使用耗材" v-if="viewSickVisible">
<diSkPrescribePanel
:perscribeData="orderFormData"
:curAction="curAction"
:refreshPanel="refreshCodesPanel"
:sickerAdNum="orderFormData.sickerAdNum"
:viewType="viewType"
v-if="isSickerAlive"
></diSkPrescribePanel>
</el-tab-pane>
<el-tab-pane label="校验详情" v-if="viewCheckVisible || viewType == 7">
<checkResultPanel
:idQuery="orderFormData"
@ -497,6 +489,16 @@
:selectUnitTitle="selectUnitTitle"
></codesPanel>
</el-tab-pane>
<el-tab-pane label="处方使用耗材" v-if="viewSickVisible">
<diSkPrescribePanel
:perscribeData="orderFormData"
:curAction="curAction"
:refreshPanel="refreshCodesPanel"
:sickerAdNum="orderFormData.sickerAdNum"
:viewType="viewType"
v-if="isSickerAlive"
></diSkPrescribePanel>
</el-tab-pane>
</el-tabs>
<el-dialog
:title="editTitle"
@ -631,7 +633,7 @@ import selectRlDialog from "./DialogSelectRl";
import DialogSelectSpace from "./DialogSelectSpace";
import {isBlank} from "@/utils/strUtil";
import {getDetailBizs} from "@/api/inout/orderDetailCode";
import {filterNoPage, page} from "@/api/basic/sicker/skPersonApi";
import {filterNoPage, page, remoteFilter} from "@/api/basic/sicker/skPersonApi";
import {selectSysParamByKey} from "@/api/param/systemParamConfig";
export default {
@ -964,6 +966,21 @@ export default {
}).catch(() => {
});
},
remoteFindSickMethod(e) {
console.log(e.target.value)
let sickQuery = {
page: 1,
limit: 10,
adNum: e.target.value,
};
remoteFilter(sickQuery).then(res => {
this.fromSickOptions = res.data.list || []
}).catch(() => {
});
},
//
actionChange(item) {
this.orderFormData.checkPreInOption = null;

@ -139,8 +139,6 @@
<span>{{ scope.row.auditTime }}</span>
</template>
</el-table-column>
<el-table-column label="所属部门" prop="deptName" width="120">
</el-table-column>
<el-table-column label="所属仓库" prop="invName" width="120">

@ -143,6 +143,8 @@
</el-table-column>
<el-table-column label= prop="invName" width="120">
</el-table-column>
<el-table-column label= prop="createUserName" width="120">
</el-table-column>
<el-table-column label="来源单据号" prop="corpOrderId" show-overflow-tooltip width="140"></el-table-column>
<el-table-column label="来源" prop="fromType" width="140">
<template slot-scope="scope">

@ -121,6 +121,8 @@
</el-table-column>
<el-table-column label= prop="invName" width="120">
</el-table-column>
<el-table-column label= prop="createUserName" width="120">
</el-table-column>
<el-table-column label="来源单据号" prop="corpOrderId" show-overflow-tooltip width="140"></el-table-column>
<el-table-column label="来源" prop="fromType" width="140">
<template slot-scope="scope">

@ -161,6 +161,8 @@
</el-table-column>
<el-table-column label="所属仓库" prop="invName" width="120">
</el-table-column>
<el-table-column label= prop="createUserName" width="120">
</el-table-column>
<el-table-column label="来源单号" prop="corpOrderId" show-overflow-tooltip width="180"></el-table-column>
<el-table-column label="来源" prop="fromType" width="120">
<template slot-scope="scope">

@ -158,6 +158,8 @@
</el-table-column>
<el-table-column label= prop="invName" width="120">
</el-table-column>
<el-table-column label= prop="createUserName" width="120">
</el-table-column>
<el-table-column label="来源单据号" prop="corpOrderId" show-overflow-tooltip width="140"></el-table-column>
<el-table-column label="来源" prop="fromType" width="140">
<template slot-scope="scope">

@ -140,6 +140,8 @@
</el-table-column>
<el-table-column label="所属仓库" prop="invName" width="120">
</el-table-column>
<el-table-column label= prop="createUserName" width="120">
</el-table-column>
<el-table-column label="来源单号" prop="corpOrderId" show-overflow-tooltip width="180"></el-table-column>
<el-table-column label="来源" prop="fromType" width="140">
<template slot-scope="scope">

@ -140,6 +140,8 @@
</el-table-column>
<el-table-column label="所属仓库" prop="invName" width="120">
</el-table-column>
<el-table-column label= prop="createUserName" width="120">
</el-table-column>
<el-table-column label="来源单号" prop="corpOrderId" show-overflow-tooltip width="180"></el-table-column>
<el-table-column label="来源" prop="fromType" width="140">
<template slot-scope="scope">

@ -7,12 +7,14 @@
<el-row>
<el-col :span="6">
<el-form-item label="配送企业名称:">
<el-input v-model="filterQuery.companyName" style="width: 90%" placeholder="请输入配送企业名称" clearable></el-input>
<el-input v-model="filterQuery.companyName" style="width: 90%" placeholder="请输入配送企业名称"
clearable></el-input>
</el-form-item>
</el-col>
<el-col :span="6">
<el-form-item label="统一社会信用号:">
<el-input v-model="filterQuery.creditNum" style="width: 90%" placeholder="请输入统一社会信用号" clearable></el-input>
<el-input v-model="filterQuery.creditNum" style="width: 90%" placeholder="请输入统一社会信用号"
clearable></el-input>
</el-form-item>
</el-col>
</el-row>
@ -76,7 +78,6 @@
</el-table-column>
<el-table-column label="操作" width="120">
<template slot-scope="scope">
<el-button

@ -11,7 +11,9 @@
<div style="display: flex;">
<el-button v-if="editType==2" type="primary" size="mini" icon="search" @click="onPassSubmit"></el-button>
<el-button v-if="editType==2" type="primary" size="mini" @click="onRejectSubmit"></el-button>
<el-button v-if="editType==1 && auditType!=1" type="primary" size="mini" icon="search" @click="printSupCertAll"></el-button>
<el-button v-if="editType==1 && auditType!=1" type="primary" size="mini" icon="search"
@click="printSupCertAll">打印
</el-button>
</div>
<el-row :gutter="20" class="el-row" type="flex" style="margin-top: 20px">
@ -148,7 +150,8 @@
<el-table-column label="确认说明" prop="auditComment" show-overflow-tooltip></el-table-column>
<el-table-column label="操作" width="120px">
<template slot-scope="scope">
<el-button v-if="editType==1 && auditType!=1" type="text" size="small" @click.native="printSupCert(scope.row)">
<el-button v-if="editType==1 && auditType!=1" type="text" size="small"
@click.native="printSupCert(scope.row)">打印
</el-button>
<el-button type="text" size="small" v-if="editType==2" @click.native="auditCert(scope.row)"></el-button>
<el-button
@ -163,6 +166,12 @@
</template>
</el-table-column>
</el-table>
<el-image-viewer
v-if="imgViewer"
style="z-index: 9999"
:on-close="closeImgViewer"
:url-list="imgList"
/>
<el-pagination
:page-size="certQuery.limit"
@current-change="certHandleCurrentChange"
@ -325,6 +334,7 @@ export default {
BASE_URL: process.env.VUE_APP_BASE_API,
headers: {},
imgViewerVisible: false,
imgViewer: false,
imgList: [],
classesDisplay: false,
selectedOptions: [],
@ -539,6 +549,7 @@ export default {
},
closeImgViewer() {
this.imgViewerVisible = false;
this.imgViewer = false;
const m = (e) => {
e.preventDefault()
};

@ -13,7 +13,8 @@
<el-button v-if="editType==2" type="primary" size="mini" icon="search" @click="onPassSubmit"></el-button>
<el-button v-if="editType==2" type="primary" size="mini" icon="search" @click="onRejectSubmit">
</el-button>
<el-button v-if="editType==1 && auditType!=1" type="primary" size="mini" icon="search" @click="printSupCertAll">
<el-button v-if="editType==1 && auditType!=1" type="primary" size="mini" icon="search"
@click="printSupCertAll">打印
</el-button>
</div>
<el-row :gutter="20" class="el-row" type="flex" style="margin-top: 20px">
@ -200,15 +201,28 @@
</el-table-column>
<el-table-column label="操作" width="250">
<template slot-scope="scope">
<el-button v-if="editType==1 && auditType!=1" type="text" size="small" @click.native="printSupCert(scope.row)">
<el-button v-if="editType==1 && auditType!=1" type="text" size="small"
@click.native="printSupCert(scope.row)">打印
</el-button>
<el-button type="text" size="small" v-if="editType==2" @click.native="auditCert(scope.row)"></el-button>
<el-button
type="text"
size="small"
@click.native="showImgViewer(scope.row)"
>预览
</el-button>
<el-button type="text" size="small" v-if="scope.row.auditStatus==1" @click.native="revoke(scope.row)">
撤回
</el-button>
</template>
</el-table-column>
</el-table>
<el-image-viewer
v-if="imgViewer"
style="z-index: 9999"
:on-close="closeImgViewer"
:url-list="imgList"
/>
<el-pagination
:page-size="certQuery.limit"
@current-change="certHandleCurrentChange"
@ -298,7 +312,6 @@
:url-list="imgList"/>
</el-form-item>
</el-col>
</el-row>
<el-row style="margin-top: 12px">
<el-col :span="22">
@ -362,6 +375,7 @@ export default {
selectedOptions: [],
selectedOptions2: [],
imgViewerVisible: false,
imgViewer: false,
imgList: [],
options: regionDataPlus,
rules: {
@ -559,6 +573,7 @@ export default {
this.imgList = response.data;
}
});
this.imgViewer = true;
this.imgViewerVisible = true;
const m = (e) => {
e.preventDefault()
@ -568,6 +583,7 @@ export default {
},
closeImgViewer() {
this.imgViewerVisible = false;
this.imgViewer = false;
const m = (e) => {
e.preventDefault()
};

@ -212,7 +212,8 @@
</el-form>
<el-card class="el-card">
<el-table v-loading="certLoading" :data="certList" ref="certTable" style="width: 100%" border highlight-current-row>
<el-table v-loading="certLoading" :data="certList" ref="certTable" style="width: 100%" border
highlight-current-row>
<el-table-column type="selection" width="55"></el-table-column>
<el-table-column type="index" label="序号" width="50"></el-table-column>
<el-table-column label="证书名称" prop="name"></el-table-column>
@ -235,14 +236,28 @@
<el-table-column label="操作" width="250">
<template slot-scope="scope">
<el-button v-if="editType==1 && auditType!=1" type="text" size="small" @click.native="printSupCert(scope.row)"></el-button>
<el-button v-if="editType==1 && auditType!=1" type="text" size="small"
@click.native="printSupCert(scope.row)">打印
</el-button>
<el-button type="text" size="small" v-if="editType==2" @click.native="auditCert(scope.row)"></el-button>
<el-button
type="text"
size="small"
@click.native="showImgViewer(scope.row)"
>预览
</el-button>
<el-button type="text" size="small" v-if="scope.row.auditStatus==1" @click.native="revoke(scope.row)">
撤回
</el-button>
</template>
</el-table-column>
</el-table>
<el-image-viewer
v-if="imgViewer"
style="z-index: 9999"
:on-close="closeImgViewer"
:url-list="imgList"
/>
<el-pagination
:page-size="certQuery.limit"
@current-change="certHandleCurrentChange"
@ -327,7 +342,8 @@
<el-col :span="11">
<el-form-item label="证书文件:">
<el-button type="primary" size="mini" @click.native="showImgViewer(currentAudit)">证书预览</el-button>
<el-image-viewer v-if="imgViewerVisible" style="z-index:9999" :on-close="closeImgViewer" :url-list="imgList" />
<el-image-viewer v-if="imgViewerVisible" style="z-index:9999" :on-close="closeImgViewer"
:url-list="imgList"/>
</el-form-item>
</el-col>
@ -335,7 +351,8 @@
<el-row style="margin-top: 12px">
<el-col :span="22">
<el-form-item label="结果说明:">
<el-input type="textarea":disabled="isOpen==1" v-model="currentAudit.auditComment" autocomplete="off" autosize></el-input>
<el-input type="textarea" :disabled="isOpen==1" v-model="currentAudit.auditComment" autocomplete="off"
autosize></el-input>
</el-form-item>
</el-col>
</el-row>
@ -398,6 +415,8 @@ export default {
fromPMOptions: [],
imgViewerVisible: false,
imgList: [],
imgViewer: false,
pmQuery: {
customerId: null,
companyName: null,
@ -556,8 +575,7 @@ export default {
},
isAssetTypeAnImage(ext) {
return [
'png', 'jpg', 'jpeg', 'bmp', 'gif', 'webp', 'psd', 'svg', 'tiff'].
indexOf(ext.toLowerCase()) !== -1;
'png', 'jpg', 'jpeg', 'bmp', 'gif', 'webp', 'psd', 'svg', 'tiff'].indexOf(ext.toLowerCase()) !== -1;
},
showImgViewer(row) {
// let newWindow = window.open();
@ -570,13 +588,19 @@ export default {
}
});
this.imgViewerVisible = true;
const m = (e) => { e.preventDefault() };
this.imgViewer = true;
const m = (e) => {
e.preventDefault()
};
document.body.style.overflow = 'hidden';
document.addEventListener("touchmove", m, false); //
},
closeImgViewer() {
this.imgViewerVisible = false;
const m = (e) => { e.preventDefault() };
this.imgViewer = false;
const m = (e) => {
e.preventDefault()
};
document.body.style.overflow = 'auto';
document.removeEventListener("touchmove", m, true);
},

Loading…
Cancel
Save