| | |
| | | </el-checkbox> |
| | | </el-checkbox-group> |
| | | </el-form-item> |
| | | |
| | | <el-form-item label="缴纳方式:"> |
| | | <el-checkbox-group v-model="form.fines"> |
| | | <el-checkbox label="1" name="fines">当场收缴;</el-checkbox> |
| | | <el-checkbox label="2" name="fines" id="fakuan"> |
| | | <!-- <el-form-item label="缴纳银行名称"> |
| | | <el-input v-model="form.bank" placeholder="请输入缴纳银行的名称" style="width: 100%!important;"></el-input> |
| | | </el-form-item> |
| | | <el-form-item label="账号:"> |
| | | <el-input v-model="form.account" placeholder="请输入账号" style="width: 100%!important;"></el-input> |
| | | </el-form-item> |
| | | <el-form-item label="账号:"> |
| | | <el-input v-model="form.account" placeholder="请输入账号" style="width: 100%!important;"></el-input> |
| | | </el-form-item>--> |
| | | <!-- <el-form-item label="户名:">--> |
| | | <div @change="changenullTwo"> |
| | | <el-form-item label="缴纳方式:"> |
| | | <el-radio label="1" v-model="form.fines">当场收缴;</el-radio> |
| | | <el-radio label="2" v-model="form.fines"> |
| | | <p style="margin-left: -100px!important;"> |
| | | 缴纳银行名称: |
| | | <el-input v-model="form.bank" placeholder="请输入缴纳银行的名称" style="width: 80%!important;"></el-input> |
| | |
| | | 地址: |
| | | <el-input v-model="form.place" placeholder="请输入缴纳地址" style="width: 100%!important;"></el-input> |
| | | </p> |
| | | </el-checkbox> |
| | | </el-checkbox-group> |
| | | </el-form-item> |
| | | |
| | | </el-radio> |
| | | </el-form-item> |
| | | </div> |
| | | <!-- <div class="box" style="margin-left: 85px;font-size: 18px;"> |
| | | <span>如你(单位)不服本行政处罚决定,可以自收到本决定书之日起60日内向</span> |
| | | <el-input v-model="form.governmentName" placeholder="" style="width:260px!important;"></el-input> |
| | |
| | | |
| | | </el-form> |
| | | <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 v-if="form.approvalState==null||form.approvalState=='2'" @click="dataFormSubmit('0')">保存</el-button> |
| | | <el-button type="primary" @click="viewVord(form.id)">预览</el-button> |
| | | <el-button v-if="form.approvalState=='1'" type="success" @click="downloadWord(form.id)">下载</el-button> |
| | | </div> |
| | | </el-main> |
| | | </template> |
| | | |
| | | <script> |
| | | import {createword, inquiry, nowpenaltydecision} from "../../../api/News/pad"; |
| | | import {nowpenalty, nowpenaltydecision} from "../../../api/News/pad"; |
| | | import {getLaw, getLawTiao, lawInfo} from '@/api/lawList/lawList'; |
| | | import {xcwo} from "../../../api/News/word"; |
| | | |
| | | |
| | | export default { |
| | |
| | | legalPerson: "", |
| | | legalPersonPhone: "", |
| | | punishments: [], |
| | | fines: [], |
| | | fines: 1, |
| | | courtName: "", |
| | | governmentName: "", |
| | | accountName: "", |
| | |
| | | }) |
| | | }) |
| | | }, |
| | | changenullTwo(val) { |
| | | if (this.form.fines == 1){ |
| | | this.form.bank = ""; |
| | | this.form.account = ""; |
| | | this.form.accountName = ""; |
| | | this.form.place = ""; |
| | | }else { |
| | | this.form.bank = "邮政储蓄银行峰峰支行(峰峰矿区滏阳路43号)" |
| | | } |
| | | |
| | | }, |
| | | //点击保存数据 |
| | | dataFormSubmit() { |
| | | /*this.form.startTime = this.value1[0] |
| | | this.form.endTime = this.value1[1]*/ |
| | | //this.form.registerId = this.id |
| | | inquiry(this.form).then(res => { |
| | | this.form.registerId = this.id |
| | | nowpenalty(this.form).then(res => { |
| | | if (res.data.code == 0) { |
| | | this.$message.success("保存成功"); |
| | | } |
| | |
| | | //点击预览 |
| | | viewVord(data) { |
| | | // let wordData = this.transforData(data); |
| | | createword(data).then(res => { |
| | | xcwo(data).then(res => { |
| | | console.log(res.data.data, 'res.data.data') |
| | | // this.form.questionsAnswers[0].wen =res.data.data |
| | | this.arrays = res.data.data.split(',')[1] |
| | |
| | | }, |
| | | //点击下载 |
| | | downloadWord(data) { |
| | | createword(data).then(res => { |
| | | xcwo(data).then(res => { |
| | | // console.log(this.form.id) |
| | | this.arrays = res.data.data.split(',')[0] |
| | | window.android.toDownLoadWord(this.arrays) |