| | |
| | | <el-input type="textarea" v-model="form.openQuestions" placeholder="请填写存在问题"></el-input> |
| | | </el-form-item> |
| | | <el-form-item label="法律依据"> |
| | | <el-input v-model="form.legalBasis" placeholder="请填写法律依据"></el-input> |
| | | <!-- <el-input v-model="form.legalBasis" placeholder="请填写法律依据"></el-input>--> |
| | | <el-autocomplete |
| | | v-model="form.legalBasis" |
| | | filterable |
| | | style="width: 100%" |
| | | :fetch-suggestions="querySearchHandle" |
| | | placeholder="请填写法律依据" |
| | | :trigger-on-focus="false" |
| | | > |
| | | </el-autocomplete> |
| | | </el-form-item> |
| | | <el-form-item label="依据法律规定"> |
| | | <el-input v-model="form.regulations" placeholder="请填写依据法律规定"></el-input> |
| | | <!-- <el-input v-model="form.regulations" placeholder="请填写依据法律规定"></el-input>--> |
| | | <el-autocomplete |
| | | v-model="form.regulations" |
| | | filterable |
| | | style="width: 100%" |
| | | :fetch-suggestions="querySearchHandle" |
| | | placeholder="请填写依据法律规定" |
| | | :trigger-on-focus="false" |
| | | > |
| | | </el-autocomplete> |
| | | </el-form-item> |
| | | <el-row> |
| | | <el-col :span="12"> |
| | |
| | | |
| | | <script> |
| | | import {createword, ordercorrec, ordercorrection} from '../../../api/News/pad' |
| | | import {getLaw, getLawTiao, lawInfo} from '@/api/lawList/lawList'; |
| | | |
| | | |
| | | export default { |
| | | name: "mangeGZ", |
| | |
| | | createword(data).then(res =>{ |
| | | // console.log(this.form.id) |
| | | console.log(res,'123456') |
| | | window.android.toPreviewWord(res.data.data) |
| | | window.android.toDownLoadWord(res.data.data) |
| | | }).catch(err=>{ |
| | | console.log(err,'错误'); |
| | | }) |
| | | // WordView.methods.exportDoc(wordData, "/wordes/inquiryCause.docx", "调查询问笔录.docx") |
| | | }, |
| | | querySearchHandle(queryString, cb) { //模糊搜素 |
| | | getLaw(queryString).then(res => { |
| | | this.lawList = [] |
| | | let resultList = res.data.data |
| | | resultList.forEach(item => { |
| | | this.lawList.push({ |
| | | value: item.name, |
| | | id: item.id |
| | | }) |
| | | }) |
| | | cb(this.lawList) |
| | | }) |
| | | }, |
| | | }, |
| | | } |
| | | </script> |