体检管理bug调整
This commit is contained in:
+4
-1
@@ -303,7 +303,10 @@ public class HealthCheckupListController {
|
||||
newHealthUser.setUnionName(user.getUnionName());
|
||||
newHealthUser.setUnionId(user.getUnionId());
|
||||
newHealthUser.setUnitName(user.getUnitName());
|
||||
newHealthUser.setUnitId(user.getUnitId());
|
||||
newHealthUser.setCard(user.getIdCard());
|
||||
newHealthUser.setPhone(user.getMobile());
|
||||
newHealthUser.setMarriage(user.getMarriage());
|
||||
newHealthUser.setPersonType(user.getPersonType());
|
||||
healthCheckupUsersToAdd.add(newHealthUser);
|
||||
|
||||
successCount++;
|
||||
|
||||
+2
-2
@@ -156,9 +156,9 @@ public class HealthCheckupSingleController {
|
||||
substring = Integer.parseInt(v.getString("idCard").substring(6, 10));
|
||||
}
|
||||
v.put("age", thisYear - substring);
|
||||
if(v.getString("personType").contains("在职教职工")){
|
||||
if(v.getString("projectName").contains("在职教职工")){
|
||||
v.put("personType", "在职教职工");
|
||||
} else if(v.getString("personType").contains("校聘高知")){
|
||||
} else if(v.getString("projectName").contains("校聘高知")){
|
||||
v.put("personType", "校聘高知保健对象");
|
||||
}
|
||||
});
|
||||
|
||||
+3
-1
@@ -237,7 +237,8 @@ public class HealthCheckupSingleServiceImpl extends BaseServiceImpl<HealthChecku
|
||||
concat(u.address,',',u.linkMan,',',u.contactNumber) receiveAddress,
|
||||
u.unionName,
|
||||
u.mobile,
|
||||
u.personType
|
||||
u.personType,
|
||||
hcp.name projectName
|
||||
FROM
|
||||
`health_checkup_user_selection` hcus
|
||||
LEFT JOIN `vw_user` u ON u.id = hcus.selectUserId
|
||||
@@ -245,6 +246,7 @@ public class HealthCheckupSingleServiceImpl extends BaseServiceImpl<HealthChecku
|
||||
LEFT JOIN `health_checkup_project_subject` hcps ON hcps.id = hcus.subjectId
|
||||
LEFT JOIN `health_checkup_project_subject_money` hcpsm ON hcpsm.projectId = @projectId and hcpsm.subjectId=hcps.id and hcus.subjectMoneyId=hcpsm.id
|
||||
LEFT JOIN `health_checkup_campus` hcc ON hcc.id = hcus.campus
|
||||
LEFT JOIN `health_checkup_project` hcp ON hcp.id = hcu.projectId
|
||||
$condition
|
||||
""").setParam("projectId", projectId);
|
||||
cnd.and("hcus.projectId", "=", projectId);
|
||||
|
||||
+4
-3
@@ -28,6 +28,9 @@ layout("/layouts/platform.html"){
|
||||
v-for="item in projectOptions"></el-option>
|
||||
</el-select>
|
||||
</search-item>
|
||||
<search-item label="姓名/工号">
|
||||
<el-input placeholder="请输入姓名或工号" clearable v-model="pageForm.searchKeyword"></el-input>
|
||||
</search-item>
|
||||
<search-item label="所选套餐">
|
||||
<el-select placeholder="请选择套餐" v-model="pageForm.subjectId"
|
||||
style="width: 100%;"
|
||||
@@ -62,9 +65,7 @@ layout("/layouts/platform.html"){
|
||||
:key="item.id"></el-option>
|
||||
</el-select>
|
||||
</search-item>
|
||||
<search-item label="姓名/工号">
|
||||
<el-input placeholder="请输入姓名或工号" clearable v-model="pageForm.searchKeyword"></el-input>
|
||||
</search-item>
|
||||
|
||||
</search>
|
||||
</el-card>
|
||||
|
||||
|
||||
+2
-2
@@ -25,7 +25,7 @@ layout("/layouts/platform_h5.html"){
|
||||
</div>
|
||||
<van-dialog v-model="show" title="温馨提醒" @confirm="confirmClick"
|
||||
:confirm-button-text="confirmButtonText"
|
||||
:before-close="test"
|
||||
:before-close="confirmStatusFun"
|
||||
:confirm-button-disabled="confirmDisabled">
|
||||
<div class="dialog-content">
|
||||
<div style="white-space: pre-line">{{project.friendlyReminderText}}</div>
|
||||
@@ -53,7 +53,7 @@ layout("/layouts/platform_h5.html"){
|
||||
}
|
||||
},
|
||||
methods: {
|
||||
test(action, done) {
|
||||
confirmStatusFun(action, done) {
|
||||
if (action === 'confirm' && this.count > 0) {
|
||||
done(false);
|
||||
} else {
|
||||
|
||||
Reference in New Issue
Block a user