| | |
| | | <el-form ref="elForm" :model="formDat" :rules="rules" size="medium" label-width="100px"> |
| | | |
| | | <el-form-item label="时间" prop="createTime"> |
| | | <el-input v-model="formDat.createTime" placeholder="请输入创建时间" clearable :style="{width: '100%'}" > |
| | | <el-input v-model="formDat.createTime" type='date' placeholder='选择日期' clearable :style="{width: '100%'}" > |
| | | </el-input> |
| | | </el-form-item> |
| | | <!-- <el-form-item label="获得时间" prop="happenTime">--> |
| | | <!-- <el-date-picker v-model='formDat.happenTime' type='date' placeholder='选择日期'></el-date-picker>--> |
| | | <!-- </el-form-item>--> |
| | | <el-form-item label="类别" prop="type"> |
| | | <!-- <el-input v-model="formDat.type" placeholder="请输入类别" clearable :style="{width: '100%'}" >--> |
| | | <!-- </el-input>--> |
| | |
| | | </el-input> |
| | | </el-form-item> |
| | | <el-form-item label="有效时间" prop="validityDate"> |
| | | <el-input v-model="formDat.validityDate" placeholder="请输入有效时间" clearable :style="{width: '100%'}" > |
| | | <el-input v-model="formDat.validityDate" type='date' placeholder='选择日期' clearable :style="{width: '100%'}" > |
| | | </el-input> |
| | | </el-form-item> |
| | | <el-form-item label="获得时间" prop="getDate"> |
| | | <el-input v-model="formDat.getDate" placeholder="请输入获得时间" clearable :style="{width: '100%'}" > |
| | | <el-input v-model="formDat.getDate" type='date' placeholder='选择日期' clearable :style="{width: '100%'}" > |
| | | </el-input> |
| | | </el-form-item> |
| | | <el-form-item label="存放位置" prop="location"> |
| | |
| | | /** 查询记录列表 */ |
| | | getList() { |
| | | this.loading = true; |
| | | // console.log(this.queryParams) |
| | | console.log(this.queryParams) |
| | | this.queryParams.happenStartTime = this.dateRange.length > 0 && this.dateRange[0] |
| | | this.queryParams.happenEndTime = this.dateRange.length > 0 && this.dateRange[1] |
| | | // listProperty(this.addDateRange(this.queryParams, this.dateRange)).then(response => { |
| | | listHonor(this.queryParams).then(response => { |
| | | // alert(123) |
| | |
| | | }, |
| | | //类别选择 |
| | | getSrc(type) { |
| | | if (type === '出生证'){ |
| | | if (type === 1){ |
| | | return '出生证' |
| | | }else if(type === '牙科'){ |
| | | return '牙科' |
| | | }else if(type === '内科'){ |
| | | return '内科' |
| | | }else if(type === 2){ |
| | | return '学生证' |
| | | }else if(type === 3){ |
| | | return '毕业证' |
| | | }else if(type === 4){ |
| | | return '结婚证' |
| | | }else if(type === 5){ |
| | | return '户口簿' |
| | | }else if(type === 6){ |
| | | return '独生子女证' |
| | | }else if(type === 7){ |
| | | return '高级职称' |
| | | }else if(type === 8){ |
| | | return '护照' |
| | | }else if(type === 9){ |
| | | return '通行证' |
| | | }else { |
| | | return '其它' |
| | | } |
| | |
| | | /** 查看详细信息 */ |
| | | handleCheck(row){ |
| | | const id = row.id; |
| | | this.$router.push("/self/honor/honorInfo/" + id); |
| | | this.$router.push("/self/Honor/honorInfo/" + id); |
| | | }, |
| | | /** 修改按钮操作 */ |
| | | handleUpdate(row) { |
| | |
| | | let jd = true |
| | | |
| | | this.$router.push({ |
| | | path:"/self/honor/honorInfo/" + id, |
| | | path:"/self/Honor/honorInfo/" + id, |
| | | query:{ |
| | | detail:jd |
| | | } |