同步修改

ywj_dev
anthonywj 2 years ago
parent cd73415433
commit a0767fda37

@ -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
@ -22,7 +23,7 @@
<el-col :span="14" class="el-col">
<div>
<span style="color: red"
>说明:&nbsp;修改同步参数时,请关闭数据同步服务
>说明:&nbsp;修改同步参数时,请关闭数据同步服务
</span>
</div>
</el-col>
@ -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">
@ -50,7 +51,7 @@
style="margin-left: 20px"
:disabled="configQuery.downstreamEnable"
:loading="testLoading"
>测试连通
>测试连通
</el-button>
</div>
</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>
@ -77,7 +78,7 @@
splaceholder="请输入内容"
></el-input>
<span style="margin-left: 30px"
>延时上传(单位:分钟):&nbsp;</span
>延时上传(单位:分钟):&nbsp;</span
>
<el-input
style="width: 100px"
@ -89,7 +90,7 @@
></el-input>
<span style="margin-left: 30px"
>数据下载时间间隔(单位:分钟):&nbsp;</span
>数据下载时间间隔(单位:分钟):&nbsp;</span
>
<el-input
style="width: 100px"
@ -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">
@ -332,7 +333,7 @@
size="small"
:disabled="configQuery.downstreamEnable"
@click="addToInBusTypeDialog()"
>添加扫码单据类型
>添加扫码单据类型
</el-button>
</div>
<el-table :data="checkedToInBusTypes" border style="width: 100%">
@ -367,7 +368,7 @@
size="small"
:disabled="configQuery.downstreamEnable"
@click.native="removeToInBus(scope.$index, scope.row)"
>移除
>移除
</el-button>
</template>
</el-table-column>
@ -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">
@ -401,7 +402,7 @@
></el-input>
<span style="margin-left: 30px"
>单据下载时间间隔(单位:分钟):&nbsp;</span
>单据下载时间间隔(单位:分钟):&nbsp;</span
>
<el-input
style="width: 100px"
@ -426,7 +427,7 @@
size="small"
:disabled="configQuery.downstreamEnable"
@click="addBusTypeDialog()"
>添加扫码单据类型
>添加扫码单据类型
</el-button>
</div>
<el-table :data="checkedBusTypes" border style="width: 100%">
@ -461,7 +462,7 @@
size="small"
:disabled="configQuery.downstreamEnable"
@click.native="remveBus(scope.$index, scope.row)"
>移除
>移除
</el-button>
</template>
</el-table-column>
@ -488,7 +489,7 @@
size="small"
:disabled="configQuery.downstreamEnable"
@click="addChangeBusTypeDialog()"
>添加业务单据类型
>添加业务单据类型
</el-button>
</div>
<el-table :data="checkedChangeBusTypes" border style="width: 100%">
@ -522,7 +523,7 @@
size="small"
:disabled="configQuery.downstreamEnable"
@click.native="removeChangeBus(scope.$index, scope.row)"
>移除
>移除
</el-button>
</template>
</el-table-column>
@ -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;

Loading…
Cancel
Save