| | |
| | | <!-- 上传页面 --> |
| | | <el-dialog :visible.sync="dialogUpload" width="80%" title="上传处置结果" v-if="dialogUpload" |
| | | :before-close="handleClose"> |
| | | <uploadVio v-if="mystatus === 1" :imageResourceId="imageResourceId" :caseId="caseId" :mycode="caseCode" :vioData="vioData" @closeDialog="closeDialog"></uploadVio> |
| | | <uploadVio v-if="mystatus === 1" :illegalType="illegalType" :imageResourceId="imageResourceId" :caseId="caseId" :vioData="vioData" @closeDialog="closeDialog"></uploadVio> |
| | | <uploadIll v-else :caseId="caseId" :mycode="caseCode" @closeDialog="closeDialog" :vioData="vioData" :illData="illData"></uploadIll> |
| | | </el-dialog> |
| | | <!-- tools --> |
| | |
| | | caseId: '', |
| | | caseCode: null, |
| | | vioData: null, |
| | | illData: null |
| | | illData: null, |
| | | illegalType: null |
| | | } |
| | | }, |
| | | created() { |
| | |
| | | .then(({ baseCase, currentSitVo, filesPictureVo, handlePassVo }) => { |
| | | this.vioData = currentSitVo; |
| | | this.imageResourceId = filesPictureVo.imageResources[0]?.id; |
| | | this.illegalType = this.mystatus === 1 ? baseCase.violations.actionCause : baseCase.violations.typeText; |
| | | }) |
| | | .catch(err => this.$message.error(err)) |
| | | this.dialogUpload = true; |
| | |
| | | <div class="user-form-content"> |
| | | <el-form ref="userForm" label-width="120px" :model="user" :rules="userRules" autoComplete="on"> |
| | | <!-- 类型 --> |
| | | <el-form-item label="类型:" prop="illegalType"> |
| | | <el-form-item label="类型:" prop="illegalType" :disabled="true"> |
| | | <el-input v-model="user.illegalType"></el-input> |
| | | </el-form-item> |
| | | <!-- 姓名、手机号 --> |
| | |
| | | this.evidence = deepClone(this.evidenceData); |
| | | this.evidence.pic = this.evidenceData.pic.split(','); |
| | | this.user = this.evidence.partyInfo; |
| | | this.user.illegalType = this.illegalType; |
| | | this.evidence.userInfo = this.evidence.partyInfo.name; |
| | | this.user.illegalType = JSON.parse(JSON.stringify(this.mytype)); |
| | | } |
| | | }, |
| | | methods: { |
| | |
| | | this.evidence.pic.splice(this.evidence.pic.indexOf(baseUrl + url),1); |
| | | } |
| | | }, |
| | | props:['mytype','mycode', 'evidenceData'] |
| | | props:['evidenceData', 'illegalType'] |
| | | } |
| | | </script> |
| | | <style lang="scss" scoped> |
| | |
| | | <!-- 到达现场情况 --> |
| | | <MyArrive ref="arrive" :arriveData="arriveData"></MyArrive> |
| | | <!-- 调查取证 --> |
| | | <MyEvidence ref="evidence" :evidenceData="evidenceData" :mytype="1" :mycode="mycode"></MyEvidence> |
| | | <MyEvidence ref="evidence" :illegal-type="illegalType" :evidenceData="evidenceData"></MyEvidence> |
| | | <!-- 底部按钮 --> |
| | | <div class="footer"> |
| | | <el-button @click="handleSubmit" type="primary">确定</el-button> |
| | |
| | | evidenceData: null |
| | | } |
| | | }, |
| | | props: ['caseId', 'closeDialog','mycode', 'vioData', 'imageResourceId'], |
| | | props: ['caseId', 'closeDialog', 'vioData', 'imageResourceId', 'illegalType'], |
| | | created() { |
| | | this.arriveData = this.vioData.arrivalSituation; |
| | | this.evidenceData = this.vioData.investigation; |