| | |
| | | <template> |
| | | <el-main style="width: 100%;font-size: 18px;"> |
| | | <el-form ref="form" :model="form" label-width="85px" size="24"> |
| | | <h1>{{id}}</h1> |
| | | <el-form-item label="案由"> |
| | | <el-input v-model="form.causePoint" placeholder="请填写案由"></el-input> |
| | | </el-form-item> |
| | |
| | | style="width: 100%" |
| | | v-model="value1" |
| | | type="datetimerange" |
| | | value-format="`yyyy-MM-dd HH:mm:ss`" |
| | | :value-format="`yyyy-MM-dd HH:mm:ss`" |
| | | range-separator="至" |
| | | start-placeholder="开始日期" |
| | | end-placeholder="结束日期"> |
| | |
| | | <div style="text-align: center"> |
| | | <el-button v-if="form.registerState=='0'||form.registerState==null" @click="dataFormSubmit('0')">保存</el-button> |
| | | <el-button type="primary" @click="viewVord(form)">预览</el-button> |
| | | <el-button v-if="form.registerState=='1'" type="success" @click="downloadWord(form)">下载</el-button> |
| | | <el-button type="success" @click="downloadWord(form)">下载</el-button> |
| | | </div> |
| | | </el-main> |
| | | </template> |
| | |
| | | window.getFingerUrl =this.getFingerUrl; |
| | | // this.getSignUrl(); |
| | | }, |
| | | mounted() { |
| | | /*mounted() { |
| | | console.log(this.id,'id=================') |
| | | }, |
| | | },*/ |
| | | methods: { |
| | | getDataList() { |
| | | |
| | | this.$nextTick(()=>{ |
| | | console.log(this.id,'this.id') |
| | | // console.log(this.id,'this.id') |
| | | inquiryquestion(this.id).then(res => { |
| | | this.form = res.data.data |
| | | /*this.value1.push(res.data.data.startTime) |
| | | this.value1.push(res.data.data.endTime)*/ |
| | | this.value1.push(res.data.data.startTime) |
| | | this.value1.push(res.data.data.endTime) |
| | | }) |
| | | }) |
| | | |
| | |
| | | path: '/WordYulan', |
| | | query: { |
| | | wordData: data, |
| | | src:'/wordes/inquiryCause.docx' |
| | | src:'/wordes/inquiryCause.docx', |
| | | name:'调查询问笔录', |
| | | } |
| | | }) |
| | | }, |
| | |
| | | path: '/WordYulan', |
| | | query: { |
| | | downWordData: data, |
| | | src:'/wordes/inquiryCause.docx' |
| | | src:'/wordes/inquiryCause.docx', |
| | | name:'调查询问笔录', |
| | | } |
| | | }) |
| | | // WordView.methods.exportDoc(wordData, "/wordes/inquiryCause.docx", "调查询问笔录.docx") |