| | |
| | | <el-input v-model="evidence.caseAction" placeholder="请输入案由"></el-input> |
| | | </el-form-item> |
| | | <!-- 当事人信息 --> |
| | | <el-form-item label="当事人信息:" prop="userInfo"> |
| | | <el-form-item label="当事人信息:" prop="userInfo" class="sp-user-info"> |
| | | <el-input suffix-icon="el-icon-s-order" v-model="evidence.userInfo" @focus="openDialog"></el-input> |
| | | </el-form-item> |
| | | <!-- 情况描述 --> |
| | |
| | | <el-form ref="userForm" label-width="120px" :model="user" :rules="userRules" autoComplete="on"> |
| | | <!-- 类型 --> |
| | | <el-form-item label="类型:" prop="illegalType"> |
| | | <el-select v-model="user.illegalType" placeholder="请选择"> |
| | | <el-option v-for="item in typeOptions" :key="item.value" :label="item.label" |
| | | :value="item.value"> |
| | | </el-option> |
| | | </el-select> |
| | | <el-input v-model="basecase"></el-input> |
| | | </el-form-item> |
| | | <!-- 姓名、手机号 --> |
| | | <div class="user-item"> |
| | |
| | | label: '大学及以上', |
| | | value: 4 |
| | | }, |
| | | ] |
| | | ], |
| | | basecase:"" |
| | | } |
| | | }, |
| | | created() { |
| | |
| | | this.getNationList(); |
| | | console.log(this.mytype); |
| | | this.user.illegalType = JSON.parse(JSON.stringify(this.mytype)); |
| | | const {mycode}=this; |
| | | this.getEventInfo(mycode) |
| | | }, |
| | | methods: { |
| | | // 获取案件信息 |
| | | async getEventInfo(mycode) { |
| | | await this.$axios({ |
| | | method: 'get', |
| | | url: `sccg/base_case/baseCaseDetail/${mycode}` |
| | | }) |
| | | .then(res => { |
| | | if(this.mytype == 1){ |
| | | this.basecase = res.data.baseCase.violations.typeText; |
| | | }else{ |
| | | this.basecase = res.data.baseCase.illegalBuilding.categoryText; |
| | | } |
| | | console.log(this.basecase) |
| | | }) |
| | | }, |
| | | handleSuccess2(res, file, filelist) { |
| | | const baseUrl = 'http://140.143.152.226:8410/'; |
| | | console.log(res); |
| | |
| | | deep: true, |
| | | } |
| | | }, |
| | | props:['mytype'] |
| | | props:['mytype','mycode'] |
| | | } |
| | | </script> |
| | | <style lang="scss" scoped> |
| | |
| | | |
| | | padding-bottom: 60px; |
| | | } |
| | | |
| | | .sp-user-info{ |
| | | ::v-deep .el-input{ |
| | | width: 200px; |
| | | } |
| | | } |
| | | .user-form-content { |
| | | padding-top: 20px; |
| | | |