| | |
| | | <u-input v-model="info.phone" border="none" placeholder="请输入" placeholderClass="f-28 c-99" |
| | | inputAlign="right"></u-input> |
| | | </u-form-item> |
| | | <u-form-item label="学生姓名" prop="realName" borderBottom ref="realName" v-if="info.type != 2"> |
| | | <u-form-item label="学生姓名" prop="realName" borderBottom ref="realName" v-if="info.type == 2"> |
| | | <u-input v-model="info.realName" border="none" placeholder="请输入" placeholderClass="f-28 c-99" |
| | | inputAlign="right"></u-input> |
| | | </u-form-item> |
| | | <u-form-item label="学生班级" prop="gradeAndClass" borderBottom ref="gradeAndClass" v-if="info.type != 2"> |
| | | <u-form-item label="学生班级" prop="gradeAndClass" borderBottom ref="gradeAndClass" v-if="info.type == 2"> |
| | | <u-input v-model="info.gradeAndClass" border="none" placeholder="请输入" placeholderClass="f-28 c-99" |
| | | inputAlign="right"></u-input> |
| | | </u-form-item> |
| | |
| | | this.info.type = 1; |
| | | } else { |
| | | this.info.houseCode = uni.getStorageSync("siteInfo").houseCode; |
| | | this.info.placeName = uni.getStorageSync("siteInfo").name; |
| | | } |
| | | |
| | | }, |
| | |
| | | this.info.houseCode = uni.getStorageSync("siteInfo").houseCode; |
| | | if (uni.getStorageSync("activeRole").roleAlias == "xyty") { |
| | | this.$set(this.info, "confirmFlag", 4) |
| | | } else { |
| | | this.$set(this.info, "isReporting", 1) |
| | | } |
| | | addTroubleReport(this.info).then(res => { |
| | | this.$showTips("提交成功", "success") |
| | |
| | | const params = { |
| | | name: this.keyWord, |
| | | confirmFlag: this.tabStatus, |
| | | type: this.type |
| | | type: this.type, |
| | | isReporting: 1 |
| | | } |
| | | if (this.selectDate.length) { |
| | | params.startTime = this.selectDate[0], |
| | |
| | | } else if (i.name.trim() == "无诈申请") { |
| | | i.count = data.wztj; |
| | | } else if (i.name.trim() == "校园安全隐患排查") { |
| | | i.count = data.xyaqyhpc; |
| | | i.count = data.xyyh; |
| | | } else if (i.name.trim() == "校园纠纷矛盾") { |
| | | i.count = data.xyjfmd; |
| | | } else if (i.name.trim() == "校园安保检查") { |
| | | i.count = data.xyyh; |
| | | i.count = data.xyaqyhpc; |
| | | } else { |
| | | i.count = data.qbhs; |
| | | } |