详情
This commit is contained in:
		| @@ -157,8 +157,9 @@ | ||||
|             <el-input type="input" size="small" v-model="talkForm.judgeAddress" clearable placeholder="请输入家庭住址" maxlength="30" show-word-limit></el-input> | ||||
|           </el-form-item> | ||||
|           <el-form-item label="排查内容" prop="judgeRiskList"  style="width: 100%;" :rules="[{required: true, message: '请选择排查内容', trigger: 'blur'}]"> | ||||
|             <el-checkbox-group v-model="talkForm.judgeRiskList"> | ||||
|               <el-checkbox label="1">经入户走访排查,不存在相关风险指标的,或经走访排查已现场化解纠纷的家庭户</el-checkbox> | ||||
|             <!-- <el-checkbox-group v-model="talkForm.judgeRiskList"> --> | ||||
|  | ||||
|               <!-- <el-checkbox label="1">经入户走访排查,不存在相关风险指标的,或经走访排查已现场化解纠纷的家庭户</el-checkbox> | ||||
|               <el-checkbox label="2">夫妻、婆媳、亲子、兄弟、邻里等家庭成员关系不和睦,经常因某一事件或问题发生争吵,但未出现暴力行为,当事双方能理性表达诉求,愿意寻求帮助化解纠纷</el-checkbox> | ||||
|               <el-checkbox label="3">家庭成员之间关系紧张,引发过暴力行为或有家暴性侵投诉,但情节轻微</el-checkbox> | ||||
|               <el-checkbox label="4">财产处置意见分歧较大,纠纷激化引发过暴力行为,但情节轻微</el-checkbox> | ||||
| @@ -171,8 +172,18 @@ | ||||
|               <el-checkbox label="11">存在遗弃或虐待家庭成员、重婚及其它疑难、复杂的家庭纠纷</el-checkbox> | ||||
|               <el-checkbox label="12">邻里纠纷经多次调解仍未化解.积怨较深、已发生暴力冲突</el-checkbox> | ||||
|               <el-checkbox label="13">有严重不良行为未成年人</el-checkbox> | ||||
|               <el-checkbox label="14">其它可能引发重大案(事)件</el-checkbox> | ||||
|             </el-checkbox-group> | ||||
|               <el-checkbox label="14">其它可能引发重大案(事)件</el-checkbox> --> | ||||
|  | ||||
|                | ||||
|  | ||||
|             <!-- </el-checkbox-group> --> | ||||
|  | ||||
|             <div class="check-flex" v-for="(item, index) in riskList" :key="index"> | ||||
|               <div> | ||||
|                 <el-checkbox :checked="item.isCheck" @change="riskChange(index)"></el-checkbox> | ||||
|               </div> | ||||
|               <p>{{item.dictName}}</p> | ||||
|             </div> | ||||
|           </el-form-item> | ||||
|         </el-form> | ||||
|       </ai-dialog> | ||||
| @@ -325,7 +336,8 @@ export default { | ||||
|         mediateMember: '', | ||||
|         mediateInfo: '' | ||||
|       }, | ||||
|       result: {} | ||||
|       result: {}, | ||||
|       riskList: [] | ||||
|     } | ||||
|   }, | ||||
|  | ||||
| @@ -341,6 +353,10 @@ export default { | ||||
|   created() { | ||||
|     this.getDict() | ||||
|     this.dict.load('qujingEventStatus', 'sex', 'qujingRisk', 'qujingEventType').then(() => { | ||||
|       this.riskList = this.$dict.getDict('qujingRisk') | ||||
|       this.riskList.map((item) => { | ||||
|         item.isCheck = false | ||||
|       }) | ||||
|       this.getDetail() | ||||
|     }) | ||||
|   }, | ||||
| @@ -384,6 +400,9 @@ export default { | ||||
|       } | ||||
|       if(this.detail.rightType == 1) { | ||||
|         this.isShowTalk = true | ||||
|         this.riskList.map((item) => { | ||||
|           item.isCheck = false | ||||
|         }) | ||||
|       } | ||||
|       if(this.detail.rightType == 2) { | ||||
|         this.mediateForm.mediateAreaId = this.user.areaId | ||||
| @@ -429,7 +448,6 @@ export default { | ||||
|     }, | ||||
|  | ||||
|     formatList(list) { | ||||
|       console.log(list) | ||||
|       for (let item of list) { | ||||
|         item.children = [item.girdList? item.girdList: [], item.girdMemberList?.map(e => ({ | ||||
|           ...e, isUser: true, girdName: item.girdName, | ||||
| @@ -439,7 +457,6 @@ export default { | ||||
|           this.formatList(item.girdList) | ||||
|         } | ||||
|       } | ||||
|       console.log(list) | ||||
|       return list | ||||
|     }, | ||||
|  | ||||
| @@ -574,6 +591,16 @@ export default { | ||||
|           }) | ||||
|         } | ||||
|       }) | ||||
|     }, | ||||
|  | ||||
|     riskChange(index) { | ||||
|       this.riskList[index].isCheck = !this.riskList[index].isCheck | ||||
|       this.talkForm.judgeRiskList = [] | ||||
|       this.riskList.map((item, index) => { | ||||
|         if(item.isCheck) { | ||||
|           this.talkForm.judgeRiskList.push(this.riskList[index].dictValue) | ||||
|         } | ||||
|       }) | ||||
|     } | ||||
|   } | ||||
| } | ||||
| @@ -768,5 +795,20 @@ export default { | ||||
|       } | ||||
|     } | ||||
|   } | ||||
|   .check-flex { | ||||
|     display: flex; | ||||
|     margin-bottom: 8px; | ||||
|     div { | ||||
|       width: 30px; | ||||
|       margin-top: -4px; | ||||
|     } | ||||
|     p { | ||||
|       width: 550px; | ||||
|       word-break: break-all; | ||||
|       font-size: 14px; | ||||
|       color: #666; | ||||
|       line-height: 30px; | ||||
|     } | ||||
|   } | ||||
| } | ||||
| </style> | ||||
|   | ||||
		Reference in New Issue
	
	Block a user