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