|
|
|
@ -6,11 +6,12 @@
|
|
|
|
|
<el-descriptions class="margin-top" :column="1" :size="100" border>
|
|
|
|
|
<template slot="extra">
|
|
|
|
|
<el-button type="primary" size="small" @click="saveConfig()"
|
|
|
|
|
>保存</el-button
|
|
|
|
|
>保存
|
|
|
|
|
</el-button
|
|
|
|
|
>
|
|
|
|
|
</template>
|
|
|
|
|
<el-descriptions-item>
|
|
|
|
|
<template slot="label"> 同步服务 </template>
|
|
|
|
|
<template slot="label"> 同步服务</template>
|
|
|
|
|
<el-row :gutter="20" class="el-row" type="flex">
|
|
|
|
|
<el-col :span="6" class="el-col">
|
|
|
|
|
<el-switch
|
|
|
|
@ -30,7 +31,7 @@
|
|
|
|
|
</el-descriptions-item>
|
|
|
|
|
|
|
|
|
|
<el-descriptions-item>
|
|
|
|
|
<template slot="label"> 地址设置 </template>
|
|
|
|
|
<template slot="label"> 地址设置</template>
|
|
|
|
|
|
|
|
|
|
<el-row :gutter="20" class="el-row" type="flex">
|
|
|
|
|
<el-col :span="20" class="el-col">
|
|
|
|
@ -63,7 +64,7 @@
|
|
|
|
|
<el-descriptions class="margin-top" :column="1" :size="100" border>
|
|
|
|
|
<!-- 参数设置 -->
|
|
|
|
|
<el-descriptions-item>
|
|
|
|
|
<template slot="label"> 参数设置 </template>
|
|
|
|
|
<template slot="label"> 参数设置</template>
|
|
|
|
|
<el-row :gutter="20" class="el-row" type="flex">
|
|
|
|
|
<el-col :span="20" class="el-col">
|
|
|
|
|
<div>
|
|
|
|
@ -105,7 +106,7 @@
|
|
|
|
|
</el-descriptions-item>
|
|
|
|
|
<!-- 系统设置信息 -->
|
|
|
|
|
<el-descriptions-item>
|
|
|
|
|
<template slot="label"> 系统设置信息 </template>
|
|
|
|
|
<template slot="label"> 系统设置信息</template>
|
|
|
|
|
<el-form label-positiom="right" label-width="200px" :inline="true">
|
|
|
|
|
<el-form-item label="系统运行参数">
|
|
|
|
|
<el-select v-model="configQuery.systemConfig">
|
|
|
|
@ -151,7 +152,7 @@
|
|
|
|
|
</el-descriptions-item>
|
|
|
|
|
<!-- 单据类型 -->
|
|
|
|
|
<el-descriptions-item>
|
|
|
|
|
<template slot="label"> 单据类型 </template>
|
|
|
|
|
<template slot="label"> 单据类型</template>
|
|
|
|
|
<el-form label-positiom="right" label-width="200px" :inline="true">
|
|
|
|
|
<el-form-item label="业务单据类型">
|
|
|
|
|
<el-select v-model="configQuery.typeBus">
|
|
|
|
@ -178,7 +179,7 @@
|
|
|
|
|
</el-descriptions-item>
|
|
|
|
|
<!-- 用户信息 -->
|
|
|
|
|
<el-descriptions-item>
|
|
|
|
|
<template slot="label"> 用户信息 </template>
|
|
|
|
|
<template slot="label"> 用户信息</template>
|
|
|
|
|
<el-form label-positiom="right" label-width="200px" :inline="true">
|
|
|
|
|
<el-form-item label="部门信息">
|
|
|
|
|
<el-select v-model="configQuery.basicDept">
|
|
|
|
@ -205,7 +206,7 @@
|
|
|
|
|
</el-descriptions-item>
|
|
|
|
|
<!-- 基础数据 -->
|
|
|
|
|
<el-descriptions-item>
|
|
|
|
|
<template slot="label"> 基础数据 </template>
|
|
|
|
|
<template slot="label"> 基础数据</template>
|
|
|
|
|
<el-form label-positiom="right" label-width="200px" :inline="true">
|
|
|
|
|
<el-form-item label="耗材字典">
|
|
|
|
|
<el-select v-model="configQuery.basicProducts">
|
|
|
|
@ -232,7 +233,7 @@
|
|
|
|
|
</el-descriptions-item>
|
|
|
|
|
<!-- 第三方基础信息 -->
|
|
|
|
|
<el-descriptions-item>
|
|
|
|
|
<template slot="label"> 第三方基础信息 </template>
|
|
|
|
|
<template slot="label"> 第三方基础信息</template>
|
|
|
|
|
<el-form label-positiom="right" label-width="200px" :inline="true">
|
|
|
|
|
<el-form-item label="第三方产品信息">
|
|
|
|
|
<el-select v-model="configQuery.basicThirdProducts">
|
|
|
|
@ -268,7 +269,7 @@
|
|
|
|
|
</el-descriptions-item>
|
|
|
|
|
<!-- 国家库DI数据 -->
|
|
|
|
|
<el-descriptions-item>
|
|
|
|
|
<template slot="label"> 国家库DI数据 </template>
|
|
|
|
|
<template slot="label"> 国家库DI数据</template>
|
|
|
|
|
<el-form label-positiom="right" label-width="200px" :inline="true">
|
|
|
|
|
<el-form-item label="DI产品信息">
|
|
|
|
|
<el-select v-model="configQuery.dbDiProducts">
|
|
|
|
@ -278,7 +279,7 @@
|
|
|
|
|
</el-select>
|
|
|
|
|
</el-form-item>
|
|
|
|
|
<el-form-item label="医疗器械注册人">
|
|
|
|
|
<el-select v-model="configQuery.dbDiProducts">
|
|
|
|
|
<el-select v-model="configQuery.dbDiCompany">
|
|
|
|
|
<el-option :value="0" label="不同步"></el-option>
|
|
|
|
|
<el-option :value="1" label="由内向外"></el-option>
|
|
|
|
|
<el-option :value="2" label="由外向内"></el-option>
|
|
|
|
@ -303,7 +304,7 @@
|
|
|
|
|
border
|
|
|
|
|
>
|
|
|
|
|
<el-descriptions-item>
|
|
|
|
|
<template slot="label"> 参数设置 </template>
|
|
|
|
|
<template slot="label"> 参数设置</template>
|
|
|
|
|
|
|
|
|
|
<el-row :gutter="20" class="el-row" type="flex">
|
|
|
|
|
<el-col :span="20" class="el-col">
|
|
|
|
@ -385,7 +386,7 @@
|
|
|
|
|
border
|
|
|
|
|
>
|
|
|
|
|
<el-descriptions-item>
|
|
|
|
|
<template slot="label"> 参数设置 </template>
|
|
|
|
|
<template slot="label"> 参数设置</template>
|
|
|
|
|
|
|
|
|
|
<el-row :gutter="20" class="el-row" type="flex">
|
|
|
|
|
<el-col :span="20" class="el-col">
|
|
|
|
@ -540,7 +541,8 @@
|
|
|
|
|
>
|
|
|
|
|
<div style="float: right; margin-bottom: 10px; margin-right: 25px">
|
|
|
|
|
<el-button type="primary" size="small" @click="addToInBusType()"
|
|
|
|
|
>选入</el-button
|
|
|
|
|
>选入
|
|
|
|
|
</el-button
|
|
|
|
|
>
|
|
|
|
|
</div>
|
|
|
|
|
<el-table
|
|
|
|
@ -585,7 +587,8 @@
|
|
|
|
|
>
|
|
|
|
|
<div style="float: right; margin-bottom: 10px; margin-right: 25px">
|
|
|
|
|
<el-button type="primary" size="small" @click="addBusType()"
|
|
|
|
|
>选入</el-button
|
|
|
|
|
>选入
|
|
|
|
|
</el-button
|
|
|
|
|
>
|
|
|
|
|
</div>
|
|
|
|
|
<el-table
|
|
|
|
@ -631,7 +634,8 @@
|
|
|
|
|
>
|
|
|
|
|
<div style="float: right; margin-bottom: 10px; margin-right: 25px">
|
|
|
|
|
<el-button type="primary" size="small" @click="addChangeBusType()"
|
|
|
|
|
>选入</el-button
|
|
|
|
|
>选入
|
|
|
|
|
</el-button
|
|
|
|
|
>
|
|
|
|
|
</div>
|
|
|
|
|
<el-table
|
|
|
|
@ -677,8 +681,8 @@ import {
|
|
|
|
|
updateConfig,
|
|
|
|
|
} from "@/api/sync/spsSyncStatus";
|
|
|
|
|
import store from "@/store";
|
|
|
|
|
import { getBussinessType } from "@/api/basic/bussinessType";
|
|
|
|
|
import { getBusTypeChangeList } from "@/api/basic/busTypeChange";
|
|
|
|
|
import {getBussinessType} from "@/api/basic/bussinessType";
|
|
|
|
|
import {getBusTypeChangeList} from "@/api/basic/busTypeChange";
|
|
|
|
|
|
|
|
|
|
export default {
|
|
|
|
|
name: "SysUdimsConfig",
|
|
|
|
@ -723,6 +727,7 @@ export default {
|
|
|
|
|
printConfig: null,
|
|
|
|
|
scanChangeConfig: null,
|
|
|
|
|
busChangeConfig: null,
|
|
|
|
|
dbDiCompany: null,
|
|
|
|
|
},
|
|
|
|
|
checkedBusTypes: [],
|
|
|
|
|
checkedToInBusTypes: [],
|
|
|
|
@ -793,7 +798,8 @@ export default {
|
|
|
|
|
this.loading = false;
|
|
|
|
|
});
|
|
|
|
|
})
|
|
|
|
|
.catch(() => {});
|
|
|
|
|
.catch(() => {
|
|
|
|
|
});
|
|
|
|
|
},
|
|
|
|
|
|
|
|
|
|
testConnect() {
|
|
|
|
@ -826,7 +832,8 @@ export default {
|
|
|
|
|
this.busTypes = response.data.list || [];
|
|
|
|
|
this.total = response.data.total || 0;
|
|
|
|
|
})
|
|
|
|
|
.catch(() => {});
|
|
|
|
|
.catch(() => {
|
|
|
|
|
});
|
|
|
|
|
},
|
|
|
|
|
|
|
|
|
|
addBusTypeDialog() {
|
|
|
|
@ -952,6 +959,7 @@ export default {
|
|
|
|
|
/deep/ .el-select {
|
|
|
|
|
width: 100px;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/deep/ .el-collapse-item__header {
|
|
|
|
|
font-size: 18px;
|
|
|
|
|
font-weight: bold;
|
|
|
|
|