完善疫情上报

This commit is contained in:
1098226878 2021-08-26 17:05:51 +08:00
parent f244d0cfd6
commit 7b3196d898
3 changed files with 18 additions and 12 deletions

View File

@ -47,6 +47,14 @@
</div>
</div>
</div>
<div class="row" v-if="userQuestionAnswerManageInfo.moreCondition">
<div class="col-sm-4">
<div class="form-group">
<input type="text" placeholder="请输入被登记人名称"
v-model="userQuestionAnswerManageInfo.personName" class=" form-control">
</div>
</div>
</div>
</div>
</div>
</div>

View File

@ -12,7 +12,10 @@
records: 1,
moreCondition: false,
reportInfoSettings: [],
settingId:''
settingId:'',
communityId:vc.getCurrentCommunity().communityId,
personId: '',
personName: ''
}
},
_initMethod: function () {
@ -57,6 +60,7 @@
}
});
vc.component.userQuestionAnswerManageInfo.moreCondition = true;
}, function (errInfo, error) {
console.log('请求失败处理');
}
@ -110,7 +114,7 @@
},
_saveUserQuestionAnswer: function () {
vc.http.apiPost(
'/userQuestionAnswer/saveUserQuestionAnswerValue',
'/reportInfoAnswerValue/saveReportInfoAnswerValue',
JSON.stringify(vc.component.userQuestionAnswerManageInfo),
{
emulateJSON: true

View File

@ -10,12 +10,6 @@
</div>
<div class="ibox-content">
<div class="row">
<div class="col-sm-4">
<div class="form-group">
<input type="text" placeholder="请输入提交着名称"
v-model="reportInfoAnswerValueManageInfo.conditions.userName" class=" form-control">
</div>
</div>
<div class="col-sm-4">
<select class="custom-select"
v-model="reportInfoAnswerValueManageInfo.conditions.repName">
@ -68,10 +62,10 @@
<table class="footable table table-stripped toggle-arrow-tiny" data-page-size="15">
<thead>
<tr>
<th class="text-center">提交着</th>
<th class="text-center">项目</th>
<th class="text-center">登记人</th>
<th class="text-center">题目</th>
<th class="text-center">说明</th>
<th class="text-center">内容</th>
<th class="text-center">类型</th>
<th class="text-center">时间</th>
@ -79,10 +73,10 @@
</thead>
<tbody>
<tr v-for="value in reportInfoAnswerValueManageInfo.values">
<td class="text-center">{{value.userName}}</td>
<td class="text-center">{{value.repName}}</td>
<td class="text-center">{{value.personName}}</td>
<td class="text-center">{{value.repTitle}}</td>
<td class="text-center">{{value.repValue}}</td>
<td class="text-center">{{value.valueContent}}</td>
<td class="text-center">{{value.repTypeName}}</td>
<td class="text-center">{{value.createTime}}</td>