Merge branch 'feature/GFRS-693【待确定】自助入司流程优化(app端)' into feature/GFRS-1198【待确定】自助入司改造(涉及销管)

This commit is contained in:
yuweiqi
2020-06-19 14:04:44 +08:00
2 changed files with 38 additions and 8 deletions

View File

@@ -23,7 +23,17 @@
</van-radio-group>
<div v-if="item.impartAnswer == '0'">
<van-cell-group>
<van-field v-model="item.impartRemark" type="textarea" autosize rows="1" placeholder="请输入" label="详细说明:" clearable v-validate="'required'" data-vv-name="答案" />
<van-field
v-model="item.impartRemark"
type="textarea"
autosize
rows="1"
placeholder="如xx年xx月在xx医院住院/门诊治疗诊断为xxx是否康复出院有无后遗症如有复查说明xx年xx月复查XX如b超/ct有无异常。"
label="详细说明:"
clearable
v-validate="'required'"
data-vv-name="答案"
/>
</van-cell-group>
</div>
<!-- 读取的题目 -->
@@ -44,7 +54,17 @@
<van-radio name="1"></van-radio>
</van-radio-group>
<div v-if="it.impartAnswer == '0'">
<van-field v-model="it.impartRemark" type="textarea" autosize rows="1" placeholder="请输入" label="详细说明:" clearable v-validate="'required'" data-vv-name="答案" />
<van-field
v-model="it.impartRemark"
type="textarea"
autosize
rows="1"
placeholder="如xx年xx月在xx医院住院/门诊治疗诊断为xxx是否康复出院有无后遗症如有复查说明xx年xx月复查XX如b超/ct有无异常。"
label="详细说明:"
clearable
v-validate="'required'"
data-vv-name="答案"
/>
</div>
</van-cell-group>
</div>
@@ -142,7 +162,17 @@ export default {
item.bigCode = 'A' + index + 1
if (item.itemDtoLst) {
item.itemDtoLst.map((it, index) => {
let showSubLst = showLst.filter(itemB => {
// let showSubLst = showLst.filter(itemB => {
let showSubLst = showLst[0].itemDtoLst.filter(itemB => {
console.log(
'!!!!!!!!!!',
item.itemDtoLst,
showLst,
showLst[0].itemDtoLst,
it,
itemB,
itemB.impartNo == it.impartNo && itemB.impartType == it.impartType
)
return itemB.impartNo == it.impartNo && itemB.impartType == it.impartType
})
if (showSubLst && showSubLst.length > 0) {
@@ -337,7 +367,7 @@ export default {
}
/deep/ .van-field__label {
width: 38%;
width: 25%;
}
/deep/ .van-cell__value {
margin-left: 20px;

View File

@@ -39,10 +39,10 @@ export default {
},
methods: {
//获取新的被增人员的手机号、证件号
// setLogAccount() {
// this.agentEnterApplyMobil = this.$store.getters.getAgentEnterApplyMsg.agentEnterApplyMobil
// this.agentEnterApplyIdNo = this.$store.getters.getAgentEnterApplyMsg.agentEnterApplyIdNo
// },
setLogAccount() {
this.agentEnterApplyMobil = this.$store.getters.getAgentEnterApplyMsg.agentEnterApplyMobil
this.agentEnterApplyIdNo = this.$store.getters.getAgentEnterApplyMsg.agentEnterApplyIdNo
},
goBack() {
this.$jump({
flag: 'goBack',