|
|
@ -2,60 +2,33 @@ |
|
|
<div style="display: flex"> |
|
|
<div style="display: flex"> |
|
|
<div> |
|
|
<div> |
|
|
<div> |
|
|
<div> |
|
|
<div> |
|
|
|
|
|
批量调整分组只针对单位体检有效,个人体检将忽略此操作;不能调整已收费或已检的项目及已总检的体检人员。 |
|
|
|
|
|
</div> |
|
|
|
|
|
|
|
|
<div>批量调整分组只针对单位体检有效,个人体检将忽略此操作;不能调整已收费或已检的项目及已总检的体检人员。</div> |
|
|
<div> |
|
|
<div> |
|
|
<br /><span>分组</span> |
|
|
<br /><span>分组</span> |
|
|
<el-select |
|
|
|
|
|
v-model="groupBatch.customerOrgGroupId" |
|
|
|
|
|
placeholder="请选择" |
|
|
|
|
|
filterable |
|
|
|
|
|
size="small" |
|
|
|
|
|
> |
|
|
|
|
|
<el-option |
|
|
|
|
|
v-for="item in customerOrgGroup" |
|
|
|
|
|
:key="item.id" |
|
|
|
|
|
:label="item.displayName" |
|
|
|
|
|
:value="item.id" |
|
|
|
|
|
/> |
|
|
|
|
|
|
|
|
<el-select v-model="groupBatch.customerOrgGroupId" placeholder="请选择" filterable size="small"> |
|
|
|
|
|
<el-option v-for="item in customerOrgGroup" :key="item.id" :label="item.displayName" :value="item.id" /> |
|
|
</el-select> |
|
|
</el-select> |
|
|
</div> |
|
|
</div> |
|
|
<div> |
|
|
<div> |
|
|
<br /><el-radio v-model="groupBatch.payTypeFlag" label="0" |
|
|
|
|
|
>个人支付</el-radio |
|
|
|
|
|
> |
|
|
|
|
|
<br /><el-radio v-model="groupBatch.payTypeFlag" label="1" |
|
|
|
|
|
>单位支付</el-radio |
|
|
|
|
|
> |
|
|
|
|
|
<br /><el-radio v-model="groupBatch.payTypeFlag" label="2" |
|
|
|
|
|
>免费</el-radio |
|
|
|
|
|
> |
|
|
|
|
|
|
|
|
<br /><el-radio v-model="groupBatch.payTypeFlag" label="0">个人支付</el-radio> |
|
|
|
|
|
<br /><el-radio v-model="groupBatch.payTypeFlag" label="1">单位支付</el-radio> |
|
|
|
|
|
<br /><el-radio v-model="groupBatch.payTypeFlag" label="2">免费</el-radio> |
|
|
</div> |
|
|
</div> |
|
|
<div> |
|
|
<div> |
|
|
<br /><el-checkbox v-model="groupBatch.isReserveAddAsbitem" |
|
|
|
|
|
>保留加做项目(包括不属于原分组的、没有设置分组的)</el-checkbox |
|
|
|
|
|
> |
|
|
|
|
|
|
|
|
<br /><el-checkbox v-model="groupBatch.isReserveAddAsbitem">保留加做项目(包括不属于原分组的、没有设置分组的)</el-checkbox> |
|
|
</div> |
|
|
</div> |
|
|
</div> |
|
|
</div> |
|
|
<div style="display: flex;margin-top: 5px;justify-content:space-between;"> |
|
|
<div style="display: flex;margin-top: 5px;justify-content:space-between;"> |
|
|
<div></div> |
|
|
<div></div> |
|
|
<div> |
|
|
<div> |
|
|
<el-button type="primary" @click="groupBatchHandle">确 定</el-button> |
|
|
|
|
|
<el-button @click="dialogWin.PatientRegisterEditGroupBatch = false">取 消</el-button> |
|
|
|
|
|
|
|
|
<el-button class="commonbutton" type="primary" @click="groupBatchHandle">确 定</el-button> |
|
|
|
|
|
<el-button class="commonbutton" @click="dialogWin.PatientRegisterEditGroupBatch = false">取 消</el-button> |
|
|
</div> |
|
|
</div> |
|
|
</div> |
|
|
</div> |
|
|
</div> |
|
|
</div> |
|
|
<!-- 通用进度条 --> |
|
|
<!-- 通用进度条 --> |
|
|
<el-dialog |
|
|
|
|
|
title="数据处理中……" |
|
|
|
|
|
:visible.sync="elProgress.display" |
|
|
|
|
|
width="600px" |
|
|
|
|
|
height="400" |
|
|
|
|
|
:show-close="false" |
|
|
|
|
|
:close-on-click-modal="false" |
|
|
|
|
|
:append-to-body="true" |
|
|
|
|
|
> |
|
|
|
|
|
|
|
|
<el-dialog title="数据处理中……" :visible.sync="elProgress.display" width="600px" height="400" :show-close="false" |
|
|
|
|
|
:close-on-click-modal="false" :append-to-body="true"> |
|
|
<ElProgressOCX /> |
|
|
<ElProgressOCX /> |
|
|
</el-dialog> |
|
|
</el-dialog> |
|
|
</div> |
|
|
</div> |
|
|
@ -92,17 +65,17 @@ export default { |
|
|
payTypeFlag: "1", //0:个人付费,1:单位付费 2:免费 |
|
|
payTypeFlag: "1", //0:个人付费,1:单位付费 2:免费 |
|
|
isReserveAddAsbitem: true, //是否保留加做项目 |
|
|
isReserveAddAsbitem: true, //是否保留加做项目 |
|
|
}, |
|
|
}, |
|
|
|
|
|
|
|
|
|
|
|
groupBatchInit:{}, |
|
|
}; |
|
|
}; |
|
|
}, |
|
|
}, |
|
|
|
|
|
|
|
|
created() { |
|
|
created() { |
|
|
|
|
|
|
|
|
|
|
|
this.groupBatchInit = deepCopy(this.groupBatch) |
|
|
}, |
|
|
}, |
|
|
|
|
|
|
|
|
//挂载完成 |
|
|
//挂载完成 |
|
|
mounted() { |
|
|
mounted() { |
|
|
|
|
|
|
|
|
|
|
|
this.getCustomerOrgGroup(this.multipleSelection[0].customerOrgRegisterId) |
|
|
}, |
|
|
}, |
|
|
computed: { |
|
|
computed: { |
|
|
...mapState([ |
|
|
...mapState([ |
|
|
@ -119,15 +92,18 @@ export default { |
|
|
moment, dddw, deepCopy, |
|
|
moment, dddw, deepCopy, |
|
|
|
|
|
|
|
|
//获取单位分组 /api/app/customer-org-group/in-customer-org-id/3a0c0444-d7a0-871f-4074-19faf1655caf |
|
|
//获取单位分组 /api/app/customer-org-group/in-customer-org-id/3a0c0444-d7a0-871f-4074-19faf1655caf |
|
|
getCustomerOrgGroup(customerOrgId) { |
|
|
|
|
|
|
|
|
getCustomerOrgGroup(customerOrgRegisterId) { |
|
|
|
|
|
this.customerOrgGroup = [] |
|
|
|
|
|
this.groupBatch = deepCopy(this.groupBatchInit) |
|
|
getapi( |
|
|
getapi( |
|
|
`/api/app/customer-org-group/in-customer-org-id/${customerOrgId}` |
|
|
|
|
|
|
|
|
`/api/app/customerorggroup/getlistinfilter?CustomerOrgRegisterId=${customerOrgRegisterId}` |
|
|
).then((res) => { |
|
|
).then((res) => { |
|
|
console.log("getCustomerOrgGroup", res.data); |
|
|
console.log("getCustomerOrgGroup", res.data); |
|
|
if (res.code == 1) { |
|
|
if (res.code == 1) { |
|
|
this.customerOrgGroup = res.data; |
|
|
|
|
|
|
|
|
this.customerOrgGroup = res.data.items; |
|
|
} |
|
|
} |
|
|
}); |
|
|
}); |
|
|
|
|
|
|
|
|
}, |
|
|
}, |
|
|
|
|
|
|
|
|
//批量更新分组处理(确定) |
|
|
//批量更新分组处理(确定) |
|
|
@ -170,12 +146,12 @@ export default { |
|
|
|
|
|
|
|
|
//监听事件 |
|
|
//监听事件 |
|
|
watch: { |
|
|
watch: { |
|
|
"dataTransOpts.refresh.asbitem.M":{ |
|
|
|
|
|
immediate: true, // 立即执行 |
|
|
|
|
|
|
|
|
"dataTransOpts.plus.PatientRegisterEditGroupBatch": { |
|
|
|
|
|
// immediate: true, // 立即执行 |
|
|
// deep: true, // 深度监听复杂类型内变化 |
|
|
// deep: true, // 深度监听复杂类型内变化 |
|
|
handler(newVal, oldVal) { |
|
|
handler(newVal, oldVal) { |
|
|
console.log(`watch: 刷新单位分组 newVal: ${newVal} oldVal:${oldVal}`) |
|
|
console.log(`watch: 刷新单位分组 newVal: ${newVal} oldVal:${oldVal}`) |
|
|
this.getCustomerOrgGroup(this.multipleSelection[0].customerOrgParentId) |
|
|
|
|
|
|
|
|
if (newVal != oldVal) this.getCustomerOrgGroup(this.multipleSelection[0].customerOrgRegisterId) |
|
|
} |
|
|
} |
|
|
}, |
|
|
}, |
|
|
}, |
|
|
}, |
|
|
@ -199,5 +175,4 @@ export default { |
|
|
.btnClass { |
|
|
.btnClass { |
|
|
width: 100px; |
|
|
width: 100px; |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
</style> |
|
|
</style> |