同步修改,联动控制

master
anthonywj 3 years ago
parent eb80e540f7
commit ff540b152a

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

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

@ -227,6 +227,18 @@
</el-col>
</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-row :gutter="20" class="el-row" type="flex">
<el-col :span="4" class="el-col">

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

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

Loading…
Cancel
Save