| | |
| | | <template> |
| | | <!-- 调查询问笔录 --> |
| | | <el-main> |
| | | <el-form ref="form" |
| | | <el-form |
| | | :disabled="form.registerState == '1'" |
| | | ref="form" |
| | | :model="form" |
| | | label-width="80px"> |
| | | <el-form-item label="案由"> |
| | |
| | | :value-format="`yyyy-MM-dd HH:mm:ss`" |
| | | range-separator="至" |
| | | start-placeholder="开始日期" |
| | | end-placeholder="结束日期"> |
| | | end-placeholder="结束日期" |
| | | :unlink-panels="false" |
| | | :picker-options="pickerOptions"> |
| | | </el-date-picker> |
| | | </el-form-item> |
| | | <el-form-item label="地址"> |
| | |
| | | </el-form-item> |
| | | </div> |
| | | </el-form> |
| | | <div style="text-align: center;margin: 20px 0"> |
| | | <el-button type="primary" |
| | | icon="el-icon-circle-plus" |
| | | @click="addEle"> |
| | | <!-- <img src="../../../assets/lawImg/addIcon.png" alt="">--> |
| | | </el-button> |
| | | </div> |
| | | <div style="text-align: center"> |
| | | <el-button v-if="form.approvalState==null||form.approvalState=='2'" |
| | | @click="dataFormSubmit('0')">保存</el-button> |
| | |
| | | <el-button v-if="form.approvalState=='1'" |
| | | type="success" |
| | | @click="downloadWord(form.id)">下载</el-button> |
| | | <el-button type="primary" |
| | | icon="el-icon-circle-plus" |
| | | @click="addEle"> |
| | | <!-- <img src="../../../assets/lawImg/addIcon.png" alt="">--> |
| | | </el-button> |
| | | </div> |
| | | </el-main> |
| | | </template> |
| | |
| | | export default { |
| | | name: 'mangeBL', |
| | | data() { |
| | | let that = this |
| | | return { |
| | | id: '', |
| | | value1: [], |
| | |
| | | ], |
| | | fingerprint: '', |
| | | }, |
| | | pickerOptions: { |
| | | shortcuts: [{ |
| | | text: '7天', |
| | | onClick(picker) { |
| | | let startDate = new Date() |
| | | let endDate = new Date() |
| | | endDate.setDate(new Date().getDay() + 8) |
| | | picker.$emit('pick',[startDate,endDate]) |
| | | |
| | | } |
| | | },{ |
| | | text: '一个月', |
| | | onClick(picker) { |
| | | let startDate = new Date() |
| | | let endDate = new Date() |
| | | endDate.setMonth(new Date().getMonth() + 1) |
| | | picker.$emit('pick', [startDate, endDate]); |
| | | } |
| | | },{ |
| | | text: '三个月', |
| | | onClick(picker) { |
| | | let startDate = new Date() |
| | | let endDate = new Date() |
| | | endDate.setMonth(new Date().getMonth() + 3) |
| | | picker.$emit('pick', [startDate, endDate]); |
| | | } |
| | | }] |
| | | } |
| | | } |
| | | }, |
| | | mounted() { |
| | |
| | | console.log('调查询问笔录请求的数据', data) |
| | | if (data.code == 0) { |
| | | this.form = res.data.data |
| | | console.log(this.form,'this.form----') |
| | | this.value1.push(res.data.data.startTime) |
| | | this.value1.push(res.data.data.endTime) |
| | | if (data.data.fingerprint == '' || data.data.fingerprint == null) { |
| | |
| | | inquiry(this.form).then((res) => { |
| | | if (res.data.code == 0) { |
| | | this.$message.success('保存成功') |
| | | this.$emit('isKeep1',true) //isKeep 是否点击了保存 |
| | | } |
| | | }) |
| | | |
| | | }, |
| | | //点击预览 |
| | | viewVord(data) { |