| | |
| | | <el-input v-model="formInline.phone" placeholder="电话"></el-input> |
| | | </el-form-item> |
| | | <el-form-item> |
| | | <el-button type="primary" @click="look()">查询</el-button> |
| | | <el-button type="primary" @click="getDataList(0)">查询</el-button> |
| | | </el-form-item> |
| | | <el-form-item style="float: right"> |
| | | <el-button type="primary" @click="getById">新增</el-button> |
| | |
| | | |
| | | data() { |
| | | return { |
| | | isShow:false, |
| | | isShow: false, |
| | | formInline: { |
| | | litigant: '', |
| | | phone: '' |
| | | }, |
| | | pageSize:10, |
| | | pageIndex:1, |
| | | total:10, |
| | | pageSize: 10, |
| | | pageIndex: 1, |
| | | total: 10, |
| | | tableHeight: 460, |
| | | tableData: [] |
| | | } |
| | |
| | | this.getDataList(0) |
| | | }, |
| | | methods: { |
| | | look(){ |
| | | /*look(){ |
| | | // this.formInline.phone =1111 |
| | | this.formInline.phone = window.android.getAppToken() |
| | | }, |
| | | },*/ |
| | | // 查询列表 |
| | | getDataList(type){ |
| | | getDataList(type) { |
| | | // this.$nextTick(()=>{ |
| | | if(type==0){ |
| | | this.formInline.type = type |
| | | // this.formInline.user=222 |
| | | getObj(this.formInline).then(res =>{ |
| | | this.tableData =res.data.data.records |
| | | }) |
| | | this.formInline.phone = window.android.getAppToken() |
| | | }else { |
| | | // this.formInline.user=333 |
| | | getObj().then(res =>{ |
| | | this.tableData =res.data.data.records |
| | | }) |
| | | } |
| | | if (type == 0) { |
| | | this.formInline.type = type |
| | | getObj(this.formInline).then(res => { |
| | | this.tableData = res.data.data.records |
| | | }) |
| | | this.formInline.litigant = 222 |
| | | } else { |
| | | // this.formInline.user=333 |
| | | getObj().then(res => { |
| | | this.tableData = res.data.data.records |
| | | }) |
| | | } |
| | | // }) |
| | | }, |
| | | //点击点跳转查看 |
| | | rowget(row,column) { |
| | | console.log(row,'row===') |
| | | // console.log(column,'column===') |
| | | // this.$router.push({name: 'process_manage', params: {name: id}}) |
| | | rowget(row, column) { |
| | | // if (row.casePoint){ |
| | | this.$router.push({ |
| | | path: '/padWord', |
| | | query: { |
| | | name:row.casePoint |
| | | name: row.casePoint, |
| | | } |
| | | }) |
| | | this.$store.commit('SET_ID',row.id) |
| | | this.$store.commit('SET_ID', row.id) |
| | | // } |
| | | |
| | | }, |
| | | //打开新增弹框 |
| | | getById(){ |
| | | getById() { |
| | | this.$router.push({ |
| | | path: '/fromAdd', |
| | | }) |
| | |
| | | </script> |
| | | |
| | | <style lang="scss" scoped> |
| | | #box{ |
| | | font-size: 30px!important; |
| | | #box { |
| | | font-size: 30px !important; |
| | | } |
| | | </style> |
| | |
| | | <template> |
| | | <el-main style="width: 100%;margin: 0 auto"> |
| | | <el-form ref="form" :model="form" label-width="110px" size="medium"> |
| | | <el-main style="width: 100%;margin: 0 auto"> |
| | | <el-form ref="form" :rules="dataRules" :model="form" label-width="120px" size="medium"> |
| | | <el-form-item label="案由" prop="casePoint"> |
| | | <el-input v-model="form.casePoint" placeholder="请填写案由"></el-input> |
| | | </el-form-item> |
| | | |
| | | <el-form-item label="案由"> |
| | | <el-input v-model="form.casePoint" placeholder="请填写案由"></el-input> |
| | | </el-form-item> |
| | | <el-row> |
| | | <el-col :span="12"> |
| | | <el-form-item label="当事人姓名" prop="litigant"> |
| | | <el-select v-model="form.litigant" placeholder="请选择当事人" |
| | | style="width: 100%;" @change="marketChange"> |
| | | <el-option |
| | | v-for="item in marketList" |
| | | :key="item.subjectName" |
| | | :label="item.subjectName" |
| | | :value="item"> |
| | | </el-option> |
| | | </el-select> |
| | | </el-form-item> |
| | | </el-col> |
| | | <el-col :span="12"> |
| | | <el-form-item label="法人" prop="legalPerson"> |
| | | <el-input v-model="form.legalPerson" placeholder="请填写法人姓名"></el-input> |
| | | </el-form-item> |
| | | </el-col> |
| | | </el-row> |
| | | |
| | | <el-row> |
| | | <el-col :span="12"> |
| | | <el-form-item label="当事人姓名"> |
| | | <el-select v-model="form.litigant" placeholder="请选择当事人" |
| | | style="width: 100%;" @change="marketChange"> |
| | | <el-option |
| | | v-for="item in marketList" |
| | | :key="item.subjectName" |
| | | :label="item.subjectName" |
| | | :value="item"> |
| | | </el-option> |
| | | </el-select> |
| | | </el-form-item> |
| | | </el-col> |
| | | <el-col :span="12"> |
| | | <el-form-item label="法人"> |
| | | <el-input v-model="form.legalPerson" placeholder="请填写法人姓名"></el-input> |
| | | </el-form-item> |
| | | </el-col> |
| | | </el-row> |
| | | <el-row> |
| | | <el-col :span="12"> |
| | | <el-form-item label="证件号/信用码" prop="certNo"> |
| | | <el-input v-model="form.certNo" placeholder="请填写证件号/信用码"></el-input> |
| | | </el-form-item> |
| | | </el-col> |
| | | <el-col :span="12"> |
| | | <el-form-item label="联系电话" prop="phone"> |
| | | <el-input v-model="form.phone" placeholder="请填写当事人电话"></el-input> |
| | | </el-form-item> |
| | | </el-col> |
| | | </el-row> |
| | | |
| | | <el-row> |
| | | <el-col :span="12"> |
| | | <el-form-item label="证件号/信用码"> |
| | | <el-input v-model="form.certNo" placeholder="请填写证件号/信用码" ></el-input> |
| | | </el-form-item> |
| | | </el-col> |
| | | <el-col :span="12"> |
| | | <el-form-item label="联系电话"> |
| | | <el-input v-model="form.phone" placeholder="请填写当事人电话"></el-input> |
| | | </el-form-item> |
| | | </el-col> |
| | | </el-row> |
| | | <el-form-item label="住址" prop="address"> |
| | | <el-input v-model="form.address" placeholder="请填写当事人住址"></el-input> |
| | | </el-form-item> |
| | | |
| | | <el-form-item label="住址"> |
| | | <el-input v-model="form.address" placeholder="请填写当事人住址"></el-input> |
| | | </el-form-item> |
| | | |
| | | <el-form-item label="办案人员" prop="hanlderIds"> |
| | | <el-select v-model="form.hanlderIds" clearable filterable multiple :multiple-limit="2" |
| | | placeholder="请选择" style="width: 100%;" @change="setPersonname($event)"> |
| | | <el-option |
| | | v-for="item in organPersons" |
| | | :key="item.userId" |
| | | :label="item.realName" |
| | | :value="item.userId"> |
| | | <span style="float: left">{{ item.realName }}</span> |
| | | <span style="float: right; color: #8492a6; font-size: 13px">执法证号:{{ item.lawCert }}</span> |
| | | </el-option> |
| | | </el-select> |
| | | </el-form-item> |
| | | <el-form-item> |
| | | <el-button type="primary" @click="onSubmit">立即创建</el-button> |
| | | <el-button @click="backAll">取消</el-button> |
| | | </el-form-item> |
| | | </el-form> |
| | | </el-main> |
| | | <el-form-item label="办案人员" prop="hanlderIds"> |
| | | <el-select v-model="form.hanlderIds" clearable filterable multiple :multiple-limit="2" |
| | | placeholder="请选择" style="width: 100%;" @change="setPersonname($event)"> |
| | | <el-option |
| | | v-for="item in organPersons" |
| | | :key="item.userId" |
| | | :label="item.realName" |
| | | :value="item.userId"> |
| | | <span style="float: left">{{ item.realName }}</span> |
| | | <span style="float: right; color: #8492a6; font-size: 13px">执法证号:{{ item.lawCert }}</span> |
| | | </el-option> |
| | | </el-select> |
| | | </el-form-item> |
| | | <el-row> |
| | | <el-col :span="12"> |
| | | <el-form-item label="所属城镇" prop="city"> |
| | | <el-select v-model="form.city" filterable placeholder="请选择所属城镇" style="width: 100%;"> |
| | | <el-option |
| | | v-for="item in areaList" |
| | | :label="item.label" |
| | | :value="item.value"> |
| | | </el-option> |
| | | </el-select> |
| | | </el-form-item> |
| | | </el-col> |
| | | <el-col :span="12"> |
| | | <el-form-item label="所属领域" prop="category"> |
| | | <el-select v-model="form.category" placeholder="请选择所属领域" style="width: 100%;"> |
| | | <el-option |
| | | v-for="item in categoryList" |
| | | :label="item.label" |
| | | :value="item.value"> |
| | | </el-option> |
| | | </el-select> |
| | | </el-form-item> |
| | | </el-col> |
| | | </el-row> |
| | | <el-form-item label="经纬度" style="display:none;"> |
| | | <el-input v-model="form.latitude" placeholder="请填写经纬度"></el-input> |
| | | </el-form-item> |
| | | <el-form-item label="违法地点" prop="place"> |
| | | <el-input v-model="form.place" placeholder="请填写违法地点"></el-input> |
| | | </el-form-item> |
| | | <el-form-item> |
| | | <el-button type="primary" @click="onSubmit">立即创建</el-button> |
| | | <el-button @click="backAll">取消</el-button> |
| | | </el-form-item> |
| | | </el-form> |
| | | </el-main> |
| | | </template> |
| | | |
| | | <script> |
| | | import {easycase,getMarketList,getIdByToken} from '../../api/News/pad' |
| | | import {easycase, getMarketList, getIdByToken} from '../../api/News/pad' |
| | | import {getfindAll} from "../../api/News/useres"; |
| | | import {remote} from "@/api/admin/dict" |
| | | |
| | | export default { |
| | | name: "padFrom", |
| | | data(){ |
| | | return{ |
| | | form:{ |
| | | casePoint:'', |
| | | litigant:"", |
| | | legalPerson:"", |
| | | certNo:"", |
| | | phone:"", |
| | | address:"", |
| | | hanlderIds:[], |
| | | data() { |
| | | var validatePerson = (rule, value, callback) => { |
| | | if (value.length != 2) { |
| | | callback(new Error('办案人员必须选择两位')); |
| | | } else { |
| | | callback(); |
| | | } |
| | | }; |
| | | return { |
| | | form: { |
| | | casePoint: '', |
| | | litigant: "", |
| | | legalPerson: "", |
| | | certNo: "", |
| | | phone: "", |
| | | address: "", |
| | | hanlderIds: [], |
| | | place: "", |
| | | category: "", |
| | | city: "", |
| | | latitude:"", |
| | | }, |
| | | //办案人员数据 |
| | | organPersons:[], |
| | | organPersons: [], |
| | | //当事人数据 |
| | | marketList:[], |
| | | marketList: [], |
| | | //所属领域 |
| | | categoryList: [], |
| | | // 违法城镇 |
| | | areaList: [], |
| | | // 填写验证 |
| | | dataRules: { |
| | | casePoint: [ |
| | | {required: true, message: "案件文号不能为空", trigger: "blur"}, |
| | | ], |
| | | litigant: [ |
| | | {required: true, message: "当事人姓名不能为空", trigger: "blur"}, |
| | | ], |
| | | legalPerson: [ |
| | | {required: true, message: "法定代表人姓名不能为空", trigger: "blur"}, |
| | | ], |
| | | certNo: [ |
| | | {required: true, message: "当事人证件号码不能为空", trigger: "blur"}, |
| | | ], |
| | | address: [ |
| | | {required: true, message: "当事人住址不能为空", trigger: "blur"}, |
| | | ], |
| | | phone: [ |
| | | {required: true, message: "手机号格式不正确", trigger: "blur"}, |
| | | {min: 11, message: "手机号格式不正确", trigger: "blur"}, |
| | | ], |
| | | hanlderIds: [ |
| | | {required: true, message: "办案人员不能为空", trigger: "blur"}, |
| | | {validator: validatePerson, trigger: "blue"} |
| | | ], |
| | | category: [ |
| | | {required: true, message: "该案件的所属领域不能为空", trigger: ["blur", "change"]}, |
| | | ], |
| | | city: [ |
| | | {required: true, message: "所属城镇不能为空", trigger: ["blur", "change"]}, |
| | | ], |
| | | place: [ |
| | | {required: true, message: "违法地址不能为空", trigger: ["blur", "change"]} |
| | | ] |
| | | }, |
| | | } |
| | | }, |
| | | created() { |
| | | this.init() |
| | | }, |
| | | methods:{ |
| | | init(){ |
| | | methods: { |
| | | tiaoZhuan() { |
| | | this.$router.push({ |
| | | path: '/padWord' |
| | | }) |
| | | }, |
| | | init() { |
| | | // this.$nextTick(()=>{ |
| | | getIdByToken().then(res =>{ |
| | | console.log(res,'getIdByToken') |
| | | getIdByToken().then(res => { |
| | | console.log(res, 'getIdByToken') |
| | | let a = res.data.data; |
| | | this.form.hanlderIds.push(a) |
| | | let b = parseInt(a) |
| | | this.form.hanlderIds.push(b) |
| | | }) |
| | | //查询当事人 |
| | | getMarketList().then((res) => { |
| | | this.marketList = res.data.data; |
| | | }) |
| | | //查询办案人员信息 |
| | | getfindAll().then((res) => { |
| | | this.organPersons = res.data.data; |
| | | }) |
| | | |
| | | //查询办案人员信息 |
| | | getfindAll().then((res) => { |
| | | this.organPersons = res.data.data; |
| | | }) |
| | | //所属领域 |
| | | remote('before_dept').then(res => { |
| | | this.categoryList = res.data.data; |
| | | }) |
| | | //所属城市 |
| | | remote('area_address').then(res => { |
| | | this.areaList = res.data.data; |
| | | }) |
| | | // }) |
| | | }, |
| | | marketChange(item){ |
| | | marketChange(item) { |
| | | this.form.litigant = ""; |
| | | this.form.legalPerson = ""; |
| | | this.form.litigantCert = ""; |
| | |
| | | this.form.phone = item.phone; |
| | | } |
| | | }, |
| | | backAll(){ |
| | | backAll() { |
| | | this.$router.push({ |
| | | path: '/pad', |
| | | }) |
| | |
| | | this.form.hanlders = names.substring(0, names.length - 1); |
| | | } |
| | | }, |
| | | onSubmit(){ |
| | | console.log(this.form.hanlderIds,'this.form.hanlderIds') |
| | | this.form.hanlderIds=this.form.hanlderIds.toString() |
| | | onSubmit() { |
| | | console.log(this.form.hanlderIds, 'this.form.hanlderIds') |
| | | this.form.hanlderIds = this.form.hanlderIds.toString() |
| | | if (this.form.hanlderIds.length < 1) { |
| | | this.form.hanlders = ''; |
| | | } |
| | | easycase(this.form).then(res =>{ |
| | | easycase(this.form).then(res => { |
| | | this.backAll() |
| | | }) |
| | | }, |
| | |
| | | <template> |
| | | <div style="width: 100%;height: 100%;overflow: auto;"> |
| | | <div id="navs"> |
| | | <basic-container> |
| | | <!--头部导航--> |
| | | <div id="nav"> |
| | | <el-button icon="el-icon-arrow-left" @click="goHome">返回</el-button> |
| | | <div>{{ name1 }}</div> |
| | | <p>{{ name }}</p> |
| | | <div> |
| | | <el-button v-if="btn ==1" icon="el-icon-caret-top" @click="ShowHide(0)"></el-button> |
| | | <el-button v-if="btn ==0" icon="el-icon-caret-bottom" @click="ShowHide(1)"></el-button> |
| | | <el-button icon="el-icon-upload el-icon--right" @click="submit">提交</el-button> |
| | | <el-button v-show="btn ==1" icon="el-icon-caret-top" @click="ShowHide(0)"></el-button> |
| | | <el-button v-show="btn ==0" icon="el-icon-caret-bottom" @click="ShowHide(0)"></el-button> |
| | | <el-button icon="el-icon-upload" @click="submit">提交</el-button> |
| | | </div> |
| | | </div> |
| | | <el-tabs type="border-card" style="margin-top: 10px!important;" v-model="activeName" @tab-click="handleClick" |
| | | :stretch="true"> |
| | | <!--底部选项卡--> |
| | | <el-tabs type="border-card" :tab-position="tabPosition" v-model="activeName" :stretch="true" |
| | | @tab-click="handleClick"> |
| | | <el-tab-pane label="调查询问笔录" name="first"> |
| | | <BiLu v-if="activeName == 'first'"></BiLu> |
| | | </el-tab-pane> |
| | | <el-tab-pane label="责令限期改正通知书" name="second"> |
| | | <GaiZheng v-if="activeName == 'second'"></GaiZheng> |
| | | <GaiZheng v-if="activeName == 'second'">责令限期改正通知书</GaiZheng> |
| | | </el-tab-pane> |
| | | <el-tab-pane label="处罚决定书" name="third"> |
| | | <JueDingShu v-if="activeName == 'third'"></JueDingShu> |
| | | <JueDingShu v-if="activeName == 'third'">处罚决定书</JueDingShu> |
| | | </el-tab-pane> |
| | | </el-tabs> |
| | | </div> |
| | | </basic-container> |
| | | </template> |
| | | |
| | | <script> |
| | | import {submitcase} from '../../api/News/pad' |
| | | import BiLu from './word_mange/mangeBL' |
| | | import {submitcase} from "../../api/News/pad"; |
| | | import BiLu from "./word_mange/mangeBL" |
| | | import GaiZheng from './word_mange/mangeGZ' |
| | | import JueDingShu from './word_mange/mangeJD' |
| | | |
| | | export default { |
| | | name: "padWord", |
| | | name: "padWord1", |
| | | components: { |
| | | BiLu, |
| | | GaiZheng, |
| | | JueDingShu, |
| | | }, |
| | | data() { |
| | | return { |
| | | btn: 1, |
| | | id: '', |
| | | form: { |
| | | id: '' |
| | | }, |
| | | name1: "", |
| | | activeName: 'first' |
| | | } |
| | | JueDingShu |
| | | }, |
| | | created() { |
| | | this.id = this.$store.state.user.id |
| | | if (this.$route.query) { |
| | | this.$nextTick(() => { |
| | | this.name1 = this.$route.query.name |
| | | this.name = this.$route.query.name |
| | | // this.id = this.$route.params.id |
| | | }) |
| | | } |
| | | }, |
| | | data() { |
| | | return { |
| | | name: "案件名称",//展示的案件名称 |
| | | btn: 1,//展开和收起 |
| | | tabPosition: 'left',//默认左侧选项卡 |
| | | activeName: "first"//选项卡默认打开第一个 |
| | | } |
| | | }, |
| | | methods: { |
| | | |
| | | //返回案件列表 |
| | | goHome() { |
| | | this.$router.push({ |
| | | path: '/pad', |
| | | }) |
| | | }, |
| | | //收缩顶部 |
| | | ShowHide(type) { |
| | | this.btn = type; |
| | | window.android.toShowHide() |
| | | }, |
| | | //提交(去审核) |
| | | submit() { |
| | | submitcase({id: this.id}).then(res => { |
| | | this.goHome() |
| | | }) |
| | | }, |
| | | /*goToBL() { |
| | | this.$router.push({ |
| | | path: '/padWord', |
| | | query: { |
| | | id: row.id, |
| | | } |
| | | }) |
| | | },*/ |
| | | //点击选项卡效果 |
| | | handleClick(tab, event) { |
| | | console.log(tab, event); |
| | | this.activeName = tab.name |
| | | } |
| | | } |
| | |
| | | height: calc(100vh - 110px); |
| | | overflow-y: auto; |
| | | } |
| | | |
| | | #navs { |
| | | display: flex; |
| | | flex-direction: row; |
| | | justify-content: space-between; |
| | | align-items: center; |
| | | } |
| | | |
| | | #box { |
| | | width: 80%; |
| | | </style> |
| | | <style scoped> |
| | | #nav { |
| | | display: flex; |
| | | justify-content: space-between; |
| | | align-items: center; |
| | | margin: 0 auto; |
| | | } |
| | | </style> |
| | |
| | | <template> |
| | | <el-main style="width: 100%;font-size: 18px;"> |
| | | <el-main> |
| | | <el-form ref="form" :model="form" label-width="85px" size="24"> |
| | | <el-form-item label="案由"> |
| | | <el-input v-model="form.causePoint" placeholder="请填写案由"></el-input> |
| | |
| | | |
| | | <script> |
| | | import {createword, inquiry, inquiryquestion} from '../../../api/News/pad' |
| | | import {viewD, exportDoc, urlToBase64, viewWithImg, exportDocWidthImg} from "@/libs/word" |
| | | |
| | | export default { |
| | | name: "mangeBL", |
| | |
| | | causePoint: "", |
| | | startTime: "", |
| | | endTime: "", |
| | | site:"", |
| | | interrogeeName: "", |
| | | interrogeeSex: "", |
| | | interrogeeAge: "", |
| | |
| | | }, |
| | | //点击预览 |
| | | viewVord(data) { |
| | | /*if (data){ |
| | | this.dataFormSubmit(); |
| | | createword(data).then(res =>{ |
| | | // console.log(this.form.id) |
| | | console.log(res,'123456') |
| | | // window.android.toPreviewWord() |
| | | }) |
| | | }else { |
| | | createword(data).then(res =>{ |
| | | // console.log(this.form.id) |
| | | console.log(res,'123456') |
| | | // window.android.toPreviewWord() |
| | | }) |
| | | }*/ |
| | | createword(data).then(res =>{ |
| | | // console.log(this.form.id) |
| | | console.log(res,'123456') |
| | |
| | | }).catch(err=>{ |
| | | console.log(err,'错误'); |
| | | }) |
| | | |
| | | |
| | | |
| | | /*this.$router.push({ |
| | | path: '/WordYulan', |
| | | query: { |
| | | wordData: data, |
| | | src:'/wordes/inquiryCause.docx', |
| | | name:'调查询问笔录', |
| | | } |
| | | })*/ |
| | | }, |
| | | //点击下载 |
| | | downloadWord(data){ |
| | | window.android.toDownLoadWord() |
| | | console.log(exportDoc(data, '/wordes/inquiryCause.docx','调查询问笔录'),'aaaa') |
| | | 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,'错误'); |
| | | }) }, |
| | |
| | | <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> |
| | |
| | | <span>的行为,有对</span> |
| | | <el-input v-model="form.litigant" placeholder="请输入当事人姓名" style="width: 160px!important;"></el-input> |
| | | <span>(当事人)的《询问笔录》证实以上违法行为属实 ,违反了 《</span> |
| | | <el-input v-model="form.legalBasis" placeholder="请输入XX法律" style="width: 160px!important;"></el-input> |
| | | <!-- <el-input v-model="form.legalBasis" placeholder="请输入XX法律" style="width: 160px!important;"></el-input>--> |
| | | <el-autocomplete |
| | | v-model="form.legalBasis" |
| | | filterable |
| | | style="width: 20%!important;" |
| | | :fetch-suggestions="querySearchHandle" |
| | | placeholder="请输入XX法律" |
| | | :trigger-on-focus="false" |
| | | @select="handleSelectOne" |
| | | > |
| | | </el-autocomplete> |
| | | <span>法》第</span> |
| | | <el-input v-model="form.legalBasisTiao" placeholder="请输入法律第几条" style="width: 160px!important;"></el-input> |
| | | <!-- <el-input v-model="form.legalBasisTiao" placeholder="请输入法律第几条" style="width: 160px!important;"></el-input>--> |
| | | <el-select v-model="form.legalBasisTiao" placeholder="请选择条" style="width: 100px!important;"> |
| | | <el-option |
| | | v-for="item in lawTiaoList" |
| | | :label="item.lawTiaoName" |
| | | :value="item.lawTiaoName" |
| | | > |
| | | </el-option> |
| | | </el-select> |
| | | <span>条第</span> |
| | | <el-input v-model="form.legalBasisKuan" placeholder="请输入法律第几款" style="width: 160px!important;"></el-input> |
| | | <span>款第</span> |
| | | <el-input v-model="form.legalBasisXiang" placeholder="请输入法律第几项" style="width: 160px!important;"></el-input> |
| | | <span>项的规定,本局执法人员当场向你(你们)告知了违法事实、依据和依法享有</span> |
| | | <span>的权利,你有陈述和申辩的权利。现依据《</span> |
| | | <el-input v-model="form.legalClause" placeholder="请输入XX法律" style="width: 100px!important;"></el-input> |
| | | <!-- <el-input v-model="form.legalClause" placeholder="请输入XX法律" style="width: 100px!important;"></el-input>--> |
| | | <el-autocomplete |
| | | v-model="form.legalClause" |
| | | filterable |
| | | style="width: 20%!important;" |
| | | :fetch-suggestions="querySearchHandle" |
| | | placeholder="请输入XX法律" |
| | | :trigger-on-focus="false" |
| | | @select="handleSelectTwo" |
| | | > |
| | | </el-autocomplete> |
| | | <span>法》第</span> |
| | | <el-input v-model="form.legalClauseTiao" placeholder="请输入法律第几条" style="width: 160px!important;"></el-input> |
| | | <!-- <el-input v-model="form.legalClauseTiao" placeholder="请输入法律第几条" style="width: 160px!important;"></el-input>--> |
| | | <el-select v-model="form.legalClauseTiao" filterable placeholder="请选择条" style="width: 100px!important"> |
| | | <el-option |
| | | v-for="item in lawTiaoList" |
| | | :label="item.lawTiaoName" |
| | | :value="item.lawTiaoName" |
| | | > |
| | | </el-option> |
| | | </el-select> |
| | | <span>条第</span> |
| | | <el-input v-model="form.legalClauseKuan" placeholder="请输入法律第几款" style="width: 160px!important;"></el-input> |
| | | <span>款第</span> |
| | |
| | | </el-form-item> |
| | | <el-form-item label="缴纳方式:"> |
| | | <el-checkbox-group v-model="form.fines"> |
| | | <el-checkbox label="1" name="type">当场收缴;</el-checkbox> |
| | | <el-checkbox label="2" name="type" style="display: flex!important;flex-wrap: wrap!important;"> |
| | | <span>要求你(单位)自收到本决定书之日起15日内将罚款交至</span> |
| | | <el-checkbox label="1" name="fines">当场收缴;</el-checkbox> |
| | | <el-checkbox label="2" name="fines" id="fakuan"> |
| | | <p>要求你(单位)自收到本决定书之日起15日内将罚款交至</p> |
| | | <el-input v-model="form.bank" placeholder="请输入缴纳银行的名称" style="width: 160px"></el-input> |
| | | <span>或者通过电子支付系统缴纳罚款。账号:</span> |
| | | <el-input v-model="form.account" placeholder="请输入账号" style="width: 160px"></el-input> |
| | | <span>户名:</span> |
| | | <el-input v-model="form.accountName" placeholder="请输入户名" style="width: 160px"></el-input> |
| | | <span>地 址: </span> |
| | | <el-input v-model="form.place" placeholder="请输入缴纳地址"></el-input> |
| | | <span>逾期缴纳罚款的,依据《中华人民共和国行政处罚法》第七十二条第(一)项的规定,每日按罚款数额的3%加处罚款。</span> |
| | | <span>户名:</span> |
| | | <el-input v-model="form.accountName" placeholder="请输入户名" style="width: 160px"></el-input> |
| | | <div> |
| | | <span>地 址: </span> |
| | | <el-input v-model="form.place" placeholder="请输入缴纳地址"></el-input> |
| | | </div> |
| | | <p>逾期缴纳罚款的,依据《中华人民共和国行政处罚法》第七十二条第(一)项的规定,每日按罚款数额的3%加处罚款。</p> |
| | | </el-checkbox> |
| | | </el-checkbox-group> |
| | | </el-form-item> |
| | |
| | | |
| | | <script> |
| | | import {createword, inquiry, nowpenaltydecision} from "../../../api/News/pad"; |
| | | import {getLaw, getLawTiao, lawInfo} from '@/api/lawList/lawList'; |
| | | |
| | | |
| | | export default { |
| | | name: "mangeJD", |
| | | data() { |
| | | return { |
| | | id:'', |
| | | id: '', |
| | | form: { |
| | | unitName: "", |
| | | litigant: "", |
| | |
| | | legalPerson: "", |
| | | legalPersonPhone: "", |
| | | type: [], |
| | | } |
| | | fines:[], |
| | | }, |
| | | lawTiaoList:[] |
| | | } |
| | | }, |
| | | mounted() { |
| | |
| | | //点击预览 |
| | | viewVord(data) { |
| | | // let wordData = this.transforData(data); |
| | | createword(data).then(res =>{ |
| | | // console.log(this.form.id) |
| | | console.log(res,'123456') |
| | | createword(data).then(res => { |
| | | window.android.toPreviewWord(res.data.data) |
| | | }).catch(err=>{ |
| | | console.log(err,'错误'); |
| | | }).catch(err => { |
| | | console.log(err, '错误'); |
| | | }) |
| | | }, |
| | | //点击下载 |
| | | downloadWord(data) { |
| | | createword(data).then(res =>{ |
| | | // console.log(this.form.id) |
| | | console.log(res,'123456') |
| | | window.android.toPreviewWord(res.data.data) |
| | | }).catch(err=>{ |
| | | console.log(err,'错误'); |
| | | createword(data).then(res => { |
| | | 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) |
| | | }) |
| | | }, |
| | | handleSelectOne(item) { |
| | | this.form.legalBasis = item.value |
| | | this.form.lawId = item.id |
| | | lawInfo(item.value).then(res => { |
| | | this.lawTiaoList = res.data.data |
| | | }) |
| | | }, |
| | | handleSelectTwo(item) { |
| | | this.form.legalClause = item.value |
| | | this.form.lawId = item.id |
| | | lawInfo(item.value).then(res => { |
| | | this.lawTiaoList = res.data.data |
| | | }) |
| | | }, |
| | | }, |
| | | } |
| | |
| | | align-items: center; |
| | | flex-wrap: wrap; |
| | | } |
| | | #fakuan{ |
| | | width: 80%!important; |
| | | display: flex; |
| | | flex-direction: row; |
| | | flex-wrap: wrap; |
| | | /*style="width: 100%!important;display: flex!important;flex-wrap: wrap!important;"*/ |
| | | } |
| | | </style> |