同步修改,联动控制

master
anthonywj 3 years ago
parent eb80e540f7
commit ff540b152a

@ -1,5 +1,5 @@
{ {
"BASE_URL": "http://192.168.0.109:9996", "BASE_URL": "http://192.168.0.115:9996",
"SERVER_IP": "http://192.168.0.109:9996", "SERVER_IP": "http://192.168.0.115:9996",
"hosp_name": "诏安县总医院(测试)" "hosp_name": "诏安县总医院(测试)"
} }

@ -204,6 +204,9 @@ export default {
useDyCount: null, useDyCount: null,
expireTip: true, expireTip: true,
prefix: null, prefix: null,
ullageFill: null,
scanPreIn: null,
vailInv: null,
}, },
enableMap: { enableMap: {
true: "是", true: "是",
@ -343,7 +346,13 @@ export default {
defaultUnit: row.defaultUnit, defaultUnit: row.defaultUnit,
useDyCount: row.useDyCount, useDyCount: row.useDyCount,
expireTip: row.expireTip, expireTip: row.expireTip,
prefix: row.prefix prefix: row.prefix,
ullageFill: row.ullageFill,
scanPreIn: row.scanPreIn,
vailInv: row.vailInv
}; };
this.modifyDialogVisible = true; this.modifyDialogVisible = true;
}, },

@ -227,6 +227,18 @@
</el-col> </el-col>
</el-row> </el-row>
<el-row :gutter="20" class="el-row" type="flex">
<el-col :span="24" class="el-col">
<div class="text item" style="margin-top: 6px">
<el-checkbox v-model="inputQuery.ullageFill"></el-checkbox>
<el-checkbox v-model="inputQuery.scanPreIn">
</el-checkbox>
<el-checkbox v-model="inputQuery.vailInv">访
</el-checkbox>
</div>
</el-col>
</el-row>
<el-divider></el-divider> <el-divider></el-divider>
<el-row :gutter="20" class="el-row" type="flex"> <el-row :gutter="20" class="el-row" type="flex">
<el-col :span="4" class="el-col"> <el-col :span="4" class="el-col">

@ -10,7 +10,7 @@
同步服务 同步服务
</template> </template>
<el-row :gutter="20" class="el-row" type="flex"> <el-row :gutter="20" class="el-row" type="flex">
<el-col :span="6" class="el-col" > <el-col :span="6" class="el-col">
<el-switch <el-switch
v-model="configQuery.downstreamEnable" v-model="configQuery.downstreamEnable"
@ -23,17 +23,22 @@
<span style="color: red;">说明:&nbsp;修改同步参数时,请关闭数据同步服务 </span> <span style="color: red;">说明:&nbsp;修改同步参数时,请关闭数据同步服务 </span>
</div> </div>
</el-col> </el-col>
</el-row> </el-row>
</el-descriptions-item> </el-descriptions-item>
</el-descriptions>
<el-descriptions class="margin-top" title="同步至UDI管理系统基础数据" :column="1" :size="100" style="margin-top: 40px"
border>
<el-descriptions-item> <el-descriptions-item>
<template slot="label"> <template slot="label">
轮询时间设置 轮询时间设置
</template> </template>
<el-row :gutter="20" class="el-row" type="flex"> <el-row :gutter="20" class="el-row" type="flex">
<el-col :span="20" class="el-col"> <el-col :span="8" class="el-col">
<div> <div>
<span>数据同步轮询时间(单位:分钟):&nbsp;</span> <span>数据同步轮询时间(单位:分钟):&nbsp;</span>
<el-input <el-input
@ -45,60 +50,115 @@
></el-input> ></el-input>
</div> </div>
</el-col> </el-col>
<el-col :span="8" class="el-col">
<div>
<span>开始时间:&nbsp;</span>
<el-time-picker
:disabled="configQuery.downstreamEnable"
v-model="configQuery.basicSyncStart"
placeholder="开始时间">
</el-time-picker>
</div>
</el-col>
</el-row> </el-row>
</el-descriptions-item> </el-descriptions-item>
<el-descriptions-item>
<template slot="label">
运行参数
</template>
<el-checkbox v-model="configQuery.entrustAction" :disabled="configQuery.downstreamEnable"></el-checkbox>
</el-descriptions-item>
</el-descriptions>
<el-descriptions class="margin-top" title="同步至UDI管理系统基础数据" :column="1" :size="100" style="margin-top: 40px"
border>
<el-descriptions-item> <el-descriptions-item>
<template slot="label"> <template slot="label">
单据类型 单据类型
</template> </template>
<el-checkbox v-model="configQuery.typeBus" :disabled="configQuery.downstreamEnable"></el-checkbox> <el-checkbox v-model="configQuery.typeBus" :disabled="configQuery.downstreamEnable"></el-checkbox>
<el-checkbox v-model="configQuery.typeScan" :disabled="configQuery.downstreamEnable"></el-checkbox> <el-checkbox v-model="configQuery.typeScan" :disabled="configQuery.downstreamEnable">
<el-checkbox v-model="configQuery.typeThird" :disabled="configQuery.downstreamEnable"></el-checkbox> </el-checkbox>
<el-checkbox v-model="configQuery.typeThird" :disabled="configQuery.downstreamEnable">
</el-checkbox>
</el-descriptions-item> </el-descriptions-item>
<el-descriptions-item> <el-descriptions-item>
<template slot="label"> <template slot="label">
基础信息 基础信息
</template> </template>
<el-checkbox v-model="configQuery.sysUser" :disabled="configQuery.downstreamEnable"></el-checkbox> <el-checkbox v-model="configQuery.sysUser" :disabled="configQuery.downstreamEnable"></el-checkbox>
<el-checkbox v-model="configQuery.basicProducts" :disabled="configQuery.downstreamEnable"></el-checkbox> <el-checkbox v-model="configQuery.basicProducts" :disabled="configQuery.downstreamEnable">
<el-checkbox v-model="configQuery.basicCorp" :disabled="configQuery.downstreamEnable"></el-checkbox> </el-checkbox>
<el-checkbox v-model="configQuery.basicCorp" :disabled="configQuery.downstreamEnable">
</el-checkbox>
<el-checkbox v-model="configQuery.basicInv" :disabled="configQuery.downstreamEnable"></el-checkbox> <el-checkbox v-model="configQuery.basicInv" :disabled="configQuery.downstreamEnable"></el-checkbox>
</el-descriptions-item> </el-descriptions-item>
<el-descriptions-item> <el-descriptions-item>
<template slot="label"> <template slot="label">
第三方基础信息 第三方基础信息
</template> </template>
<el-checkbox v-model="configQuery.basicThirdProducts" :disabled="configQuery.downstreamEnable"></el-checkbox> <el-checkbox v-model="configQuery.basicThirdProducts" :disabled="configQuery.downstreamEnable">
<el-checkbox v-model="configQuery.basicThirdCorp" :disabled="configQuery.downstreamEnable"></el-checkbox> </el-checkbox>
<el-checkbox v-model="configQuery.basicThirdInv" :disabled="configQuery.downstreamEnable"></el-checkbox> <el-checkbox v-model="configQuery.basicThirdCorp" :disabled="configQuery.downstreamEnable">
<el-checkbox v-model="configQuery.basicThirdBusOrder" :disabled="configQuery.downstreamEnable"></el-checkbox> </el-checkbox>
<el-checkbox v-model="configQuery.basicThirdInv" :disabled="configQuery.downstreamEnable">
</el-checkbox>
<el-checkbox v-model="configQuery.basicThirdBusOrder" :disabled="configQuery.downstreamEnable">
</el-checkbox>
</el-descriptions-item> </el-descriptions-item>
<el-descriptions-item> <el-descriptions-item>
<template slot="label"> <template slot="label">
国家库DI数据 国家库DI数据
</template> </template>
<el-checkbox v-model="configQuery.dbDiProducts" :disabled="configQuery.downstreamEnable">DI</el-checkbox> <el-checkbox v-model="configQuery.dbDiProducts" :disabled="configQuery.downstreamEnable">DI
</el-checkbox>
</el-descriptions-item> </el-descriptions-item>
</el-descriptions> </el-descriptions>
<el-descriptions class="margin-top" title="同步至UDI管理系统单据" :column="1" :size="100" style="margin-top: 30px" <el-descriptions class="margin-top" title="同步至UDI管理系统单据" :column="1" :size="100" style="margin-top: 30px"
border> border>
<el-descriptions-item>
<template slot="label">
轮询时间设置
</template>
<el-row :gutter="20" class="el-row" type="flex">
<el-col :span="8" class="el-col">
<div>
<span>数据同步轮询时间(单位:分钟):&nbsp;</span>
<el-input
style="width: 100px"
size="small"
type="number"
v-model="configQuery.orderSyncTime" :disabled="configQuery.downstreamEnable"
splaceholder="请输入内容"
></el-input>
</div>
</el-col>
<el-col :span="8" class="el-col">
<div>
<span>开始时间:&nbsp;</span>
<el-time-picker
:disabled="configQuery.downstreamEnable"
v-model="configQuery.orderSyncStart"
placeholder="开始时间">
</el-time-picker>
</div>
</el-col>
</el-row>
</el-descriptions-item>
<el-descriptions-item> <el-descriptions-item>
<template slot="label"> <template slot="label">
单据(单据状态) 单据(单据状态)
</template> </template>
<el-checkbox v-model="configQuery.orderUnCheck" :disabled="configQuery.downstreamEnable"></el-checkbox> <el-checkbox v-model="configQuery.orderUnCheck" :disabled="configQuery.downstreamEnable">
<el-checkbox v-model="configQuery.orderUnReceive" :disabled="configQuery.downstreamEnable"></el-checkbox> </el-checkbox>
<el-checkbox v-model="configQuery.orderScanFinish" :disabled="configQuery.downstreamEnable"></el-checkbox> <el-checkbox v-model="configQuery.orderUnReceive" :disabled="configQuery.downstreamEnable">
</el-checkbox>
<el-checkbox v-model="configQuery.orderScanFinish" :disabled="configQuery.downstreamEnable">
</el-checkbox>
</el-descriptions-item> </el-descriptions-item>
<el-descriptions-item label="单据(单据类型)" label-style="width: 150px"> <el-descriptions-item label="单据(单据类型)" label-style="width: 150px">
@ -222,6 +282,10 @@ export default {
orderUnCheck: null, orderUnCheck: null,
orderUnReceive: null, orderUnReceive: null,
busTypes: [], busTypes: [],
basicSyncStart:null,
orderSyncTime:null,
orderSyncStart:null,
entrustAction:null,
}, },
checkedBusTypes: [], checkedBusTypes: [],
busQuery: { busQuery: {

@ -59,7 +59,7 @@
<el-button <el-button
type="text" type="text"
size="small" size="small"
@click.native="handleAuth(scope.row.id)" @click.native="handleAuth(scope.row)"
>授权 >授权
</el-button </el-button
> >
@ -346,10 +346,9 @@ export default {
handleAuth(row) { handleAuth(row) {
this.authFormData.role_id = row.id; this.authFormData.role_id = row.id;
this.authTitle = "授权角色<" + row.name + ">"; this.authTitle = "授权角色<" + row.name + ">";
this.authFormData.role_id = roleId;
this.authFormData.auth_rules = []; this.authFormData.auth_rules = [];
this.authList = []; this.authList = [];
authRoleAuthList({id: roleId}) authRoleAuthList({id: row.id})
.then(response => { .then(response => {
if (response.code !== 20000) { if (response.code !== 20000) {
this.authFormVisible = false; this.authFormVisible = false;

Loading…
Cancel
Save