27b7b15f by 田浩浩
2 parents 2f6c5f7e 2dbde617
......@@ -3,14 +3,14 @@ import request from '@/utils/request'
// 初始化内容
export function Init(data) {
let apiUrl = "";
switch (data.get("sqywbm")) {
case "B39300":
switch (data.get("djlx")) {
case "300":
apiUrl = "/ywbl/cfdj/xfInit";
break;
case "B39400":
case "400":
apiUrl = "/ywbl/cfdj/jfInit";
break;
case "B39800":
case "800":
apiUrl = "/ywbl/cfdj/cfInit";
break;
}
......@@ -20,11 +20,22 @@ export function Init(data) {
data
})
}
//批量查封
export function cfBatchInit (data) {
//批量初始化
export function BatchInit(data) {
let apiUrl = "";
switch (data.get("djlx")) {
case "300":
apiUrl = "/ywbl/cfdj/xfBatchInit";
break;
case "400":
apiUrl = "/ywbl/cfdj/jfBatchInit";
break;
case "800":
apiUrl = "/ywbl/cfdj/cfBatchInit";
break;
}
return request({
url: '/ywbl/cfdj/cfBatchInit',
url: apiUrl,
method: 'post',
data
})
......
<template>
<div>
<lb-table :column="column" :maxHeight="300" heightNumSetting :pagination="false" :key="key" :data="tableDataList">
<lb-table :column="column" border :maxHeight="300" heightNumSetting :pagination="false" :key="key" :data="tableDataList">
</lb-table>
<addQlr v-model="dialog" :details="details" @updateDetail="updateDetail" />
</div>
......@@ -39,7 +39,7 @@ export default {
width: '50',
renderHeader: (h, scope) => {
return <div> {
this.$route.query.viewtype == 1 ? '序号' : <i class="el-icon-plus pointer" onClick={() => { this.handleAdd() }}></i>
this.$route.query.viewtype == 1 ? '序号' : <i class="el-icon-plus pointer" onClick={() => { this.addClick() }}></i>
}
</div>
},
......@@ -48,7 +48,7 @@ export default {
<div>
{
this.$route.query.viewtype == 1 ? <span>{scope.$index + 1}</span> :
<i class="el-icon-minus pointer" onClick={() => { this.handleMinus(scope.$index, scope.row) }}></i>
<i class="el-icon-minus pointer" onClick={() => { this.deleClick(scope.$index, scope.row) }}></i>
}
</div>
)
......@@ -86,10 +86,10 @@ export default {
this.$route.query.viewtype == 1 ? <el-button
icon="el-icon-view"
type="text"
onClick={() => { this.handleView(scope.$index, scope.row) }}>查看</el-button> : <el-button
onClick={() => { this.queryViewClick(scope.$index, scope.row) }}>查看</el-button> : <el-button
icon="el-icon-edit-outline"
type="text"
onClick={() => { this.handleEdit(scope.$index, scope.row) }}>编辑</el-button>
onClick={() => { this.editClick(scope.$index, scope.row) }}>编辑</el-button>
}
</div>
)
......@@ -142,24 +142,29 @@ export default {
this.key++
this.$emit('upDateQlrxxList', this.tableDataList)
},
// 添加
handleAdd () {
// 新增
addClick () {
this.dialog = true
},
// 减
handleMinus (index, row) {
// 删除
deleClick (index, row) {
this.tableData.splice(index, 1)
},
// 身份证读取
readClick () { },
// 修改
handleEdit (index, row) {
editClick (index, row) {
console.log(row, 'rowrowrowrowrow');
this.dataIndex = index
this.dialog = true
this.details = row
},
handleView () {
queryViewClick () {
this.dialog = true
}
}
......
......@@ -20,15 +20,24 @@ export function getForm(tabName, djywbm) {
case "fwsyqslxx300":
form = require("@/views/ywbl/fdcq2/slxx300.vue");
break;
// case "fwsyqslxx400":
// form = require("@/views/ywbl/fdcq2/slxx400.vue");
// break;
case "tdslxxCfdj":
form = require("@/views/ywbl/cfdj/tdslxx.vue");
break;
case "fwslxxCfdj":
form = require("@/views/ywbl/cfdj/fwslxx.vue");
break;
break;
case "plslxxCfdj":
form = require("@/views/ywbl/cfdj/plcfslxx.vue");
break;
break;
case "plslxxjfdj":
form = require("@/views/ywbl/cfdj/pljfslxx.vue");
break;
case "jfslxxCfdj":
form = require("@/views/ywbl/cfdj/jfslxx.vue");
break;
case "clxx":
form = require("@/views/workflow/components/clxx.vue");
break;
......@@ -40,7 +49,7 @@ export function getForm(tabName, djywbm) {
break;
case "cfdjxx":
form = require("@/views/registerBook/cfdj.vue");
break;
break;
case "jsydsyqQlxx":
form = require("@/views/registerBook/jsydsyq.vue");
break;
......
......@@ -110,10 +110,6 @@
</el-form-item>
</el-col>
</el-row>
<div class="slxx_title title-block">
登记原因
<div class="triangle"></div>
</div>
<el-row :gutter="10">
<el-col>
<el-form-item :class="flag ? 'marginBot0' : ''" label="登记原因:" prop="cfdj.djyy">
......@@ -132,7 +128,7 @@
</template>
<script>
import cfBdcdyTable from "@/views/workflow/components/cfBdcdyTable";
import { cfBatchInit, batchSaveData } from "@/api/cfdjFlow.js";
import { BatchInit, batchSaveData } from "@/api/cfdjFlow.js";
import { mapGetters } from "vuex";
export default {
data () {
......@@ -148,7 +144,15 @@ export default {
};
},
created () {
this.list();
this.propsParam = this.$attrs;
var formdata = new FormData();
formdata.append("bsmSlsq", this.$route.query.bsmSlsq);
formdata.append("djlx", this.propsParam.djlx);
BatchInit(formdata).then((res) => {
if (res.code === 200 && res.result) {
this.ruleForm = res.result
}
});
},
watch: {
......@@ -169,15 +173,6 @@ export default {
},
methods: {
list () {
var formdata = new FormData();
formdata.append("bsmSlsq", this.$route.query.bsmSlsq);
cfBatchInit(formdata).then((res) => {
if (res.code === 200 && res.result) {
this.ruleForm = res.result
}
});
},
onSubmit () {
this.ruleForm.bsmSlsq = this.$route.query.bsmSlsq;
batchSaveData(this.ruleForm).then((res) => {
......
<template>
<div class="slxx">
<el-form :model="ruleForm" :rules="rules" ref="ruleForm" :label-position="flagTop" :inline="flag"
label-width="120px">
<div class="slxx_con">
<div class="slxx_title title-block">
受理信息
<div class="triangle"></div>
</div>
<el-row :gutter="10">
<el-col :span="8">
<el-form-item :class="flag ? 'marginBot0' : ''" label="业务号:" prop="slywxx.ywh">
<el-input disabled v-model="ruleForm.slywxx.ywh"></el-input>
</el-form-item>
</el-col>
<el-col :span="8">
<el-form-item :class="flag ? 'marginBot0' : ''" label="受理人员:" prop="slywxx.slry">
<el-input disabled v-model="ruleForm.slywxx.slry"></el-input>
</el-form-item>
</el-col>
<el-col :span="8">
<el-form-item :class="flag ? 'marginBot0' : ''" label="受理时间:" prop="slywxx.slsj">
<el-input disabled v-model="ruleForm.slywxx.slsj"></el-input>
</el-form-item>
</el-col>
</el-row>
<el-row :gutter="10">
<el-col :span="8">
<el-form-item :class="flag ? 'marginBot0' : ''" label="权利类型:" prop="slywxx.qllx">
<el-select disabled v-model="ruleForm.slywxx.qllx" filterable clearable placeholder="请选择权利类型">
<el-option v-for="item in dictData['A8']" :key="item.dcode" :label="item.dname" :value="item.dcode">
</el-option>
</el-select>
</el-form-item>
</el-col>
<el-col :span="8">
<el-form-item :class="flag ? 'marginBot0' : ''" label="登记类型:" prop="slywxx.djlx">
<el-select disabled v-model="ruleForm.slywxx.djlx" filterable clearable placeholder="请选择登记类型">
<el-option v-for="item in dictData['A21']" :key="item.dcode" :label="item.dname" :value="item.dcode">
</el-option>
</el-select>
</el-form-item>
</el-col>
<el-col :span="8">
<el-form-item :class="flag ? 'marginBot0' : ''" label="登记情形:" prop="slywxx.djqx">
<el-input disabled v-model="ruleForm.slywxx.djqxmc"></el-input>
</el-form-item>
</el-col>
</el-row>
<div class="slxx_title title-block">
解封不动产列表
<div class="triangle"></div>
</div>
<cfBdcdyTable :tableData="ruleForm.qlxx" />
<div class="slxx_title title-block">
批量查封信息
<div class="triangle"></div>
</div>
<el-row :gutter="10">
<el-col :span="8">
<el-form-item :class="flag ? 'marginBot0' : ''" label="查封机关:" prop="cfdj.cfjg">
<el-input v-model="ruleForm.cfdj.cfjg" disabled></el-input>
</el-form-item>
</el-col>
<el-col :span="8">
<el-form-item :class="flag ? 'marginBot0' : ''" label="查封类型:" prop="cfdj.cflx">
<el-select v-model="ruleForm.cfdj.cflx" class="width100" filterable clearable placeholder="请选择查封类型:"
disabled @change="changeCflx">
<el-option v-for="item in dictData['A32']" :key="item.dcode" :label="item.dname" :value="item.dcode">
</el-option>
</el-select>
</el-form-item>
</el-col>
<el-col :span="8">
<el-form-item :class="flag ? 'marginBot0' : ''" label="查封文件:" prop="cfdj.cfwj">
<el-input v-model="ruleForm.cfdj.cfwj" disabled></el-input>
</el-form-item>
</el-col>
</el-row>
<el-row :gutter="10">
<el-col :span="8">
<el-form-item :class="flag ? 'marginBot0' : ''" label="查封文号:" prop="cfdj.cfwh">
<el-input v-model="ruleForm.cfdj.cfwh" disabled></el-input>
</el-form-item>
</el-col>
<el-col :span="8">
<el-form-item :class="flag ? 'marginBot0' : ''" label="查封起始时间:" prop="cfdj.cfqssj">
<el-date-picker v-model="ruleForm.cfdj.cfqssj" class="width100" disabled
type="date" placeholder="选择日期" value-format="yyyy-MM-dd"></el-date-picker>
</el-form-item>
</el-col>
<el-col :span="8">
<el-form-item :class="flag ? 'marginBot0' : ''" label="查封结束时间:" prop="cfdj.cfjssj">
<el-date-picker v-model="ruleForm.cfdj.cfjssj" class="width100" disabled
type="date" placeholder="选择日期" value-format="yyyy-MM-dd"></el-date-picker>
</el-form-item>
</el-col>
</el-row>
<el-row :gutter="10">
<el-col :span="24">
<el-form-item :class="flag ? 'marginBot0' : ''" label="查封范围:" prop="cfdj.cffw">
<el-input v-model="ruleForm.cfdj.cffw" disabled></el-input>
</el-form-item>
</el-col>
</el-row>
<el-row :gutter="10">
<el-col :span="24">
<el-form-item :class="flag ? 'marginBot0' : ''" label="附记:" prop="cfdj.fj">
<el-input v-model="ruleForm.cfdj.fj" type="textarea" disabled></el-input>
</el-form-item>
</el-col>
</el-row>
<el-row :gutter="10">
<el-col>
<el-form-item :class="flag ? 'marginBot0' : ''" label="登记原因:" prop="cfdj.djyy">
<el-input class="textArea" type="textarea" v-model="ruleForm.cfdj.djyy" disabled></el-input>
</el-form-item>
</el-col>
</el-row>
<div class="slxx_title title-block">
批量解封信息
<div class="triangle"></div>
</div>
<el-row :gutter="10">
<el-col :span="8">
<el-form-item :class="flag ? 'marginBot0' : ''" label="解封机关:" prop="cfdj.jfjg">
<el-input v-model="ruleForm.cfdj.jfjg" :disabled="$route.query.viewtype || ableEdit"></el-input>
</el-form-item>
</el-col>
<el-col :span="8">
<el-form-item :class="flag ? 'marginBot0' : ''" label="解封文件:" prop="cfdj.jfwj">
<el-input v-model="ruleForm.cfdj.jfwj" :disabled="$route.query.viewtype || ableEdit"></el-input>
</el-form-item>
</el-col>
<el-col :span="8">
<el-form-item :class="flag ? 'marginBot0' : ''" label="解封文号:" prop="cfdj.jfwh">
<el-input v-model="ruleForm.cfdj.jfwh" :disabled="$route.query.viewtype || ableEdit"></el-input>
</el-form-item>
</el-col>
</el-row>
</div>
<el-row class="btn" v-if="!$route.query.viewtype">
<el-form-item :class="flag ? 'marginBot0' : ''">
<el-button type="primary" @click="onSubmit">保存</el-button>
</el-form-item>
</el-row>
</el-form>
</div>
</template>
<script>
import cfBdcdyTable from "@/views/workflow/components/cfBdcdyTable";
import { BatchInit, batchSaveData } from "@/api/cfdjFlow.js";
import { mapGetters } from "vuex";
export default {
data () {
return {
disabled: true,
flagTop: this.flag ? "top" : "",
rules: {},
//传递参数
propsParam: {},
//页面数据
ruleForm: {},
tableData: []
};
},
created () {
this.propsParam = this.$attrs;
var formdata = new FormData();
formdata.append("bsmSlsq", this.$route.query.bsmSlsq);
formdata.append("djlx", this.propsParam.djlx);
BatchInit(formdata).then((res) => {
if (res.code === 200 && res.result) {
this.ruleForm = res.result
}
});
},
watch: {
},
components: { cfBdcdyTable },
props: {
flag: {
type: Boolean,
default: false,
},
fetch: {
type: Boolean,
default: false,
},
},
computed: {
...mapGetters(["dictData"]),
},
methods: {
onSubmit () {
this.ruleForm.bsmSlsq = this.$route.query.bsmSlsq;
batchSaveData(this.ruleForm).then((res) => {
if (res.code === 200) {
this.$message.success('保存成功');
}
});
},
changeCflx(e){
let cflxItem = {}
cflxItem = this.dictData['A32'].find((item) => {
return item.dcode == e
})
this.ruleForm.cfdj.cflxmc = cflxItem.dname;
}
},
};
</script>
<style scoped lang='scss'>
@import "~@/styles/public.scss";
@import "~@/styles/slxx/slxx.scss";
</style>
\ No newline at end of file
......@@ -83,17 +83,17 @@
<el-row :gutter="10">
<el-col :span="8">
<el-form-item :class="flag ? 'marginBot0' : ''" label="权利人:" prop="qlxx.qlrmc">
<el-input disabled v-model="ruleForm.qlxx.ywrmc"></el-input>
<el-input disabled v-model="ruleForm.qlxx.qlrmc"></el-input>
</el-form-item>
</el-col>
<el-col :span="8">
<el-form-item :class="flag ? 'marginBot0' : ''" label="证件号:">
<el-input disabled v-model="ruleForm.qlxx.ywrzjhm"></el-input>
<el-input disabled v-model="ruleForm.qlxx.qlrzjhm"></el-input>
</el-form-item>
</el-col>
<el-col :span="8">
<el-form-item :class="flag ? 'marginBot0' : ''" label="证件种类:">
<el-input disabled v-model="ruleForm.qlxx.ywrzjzl"></el-input>
<el-input disabled v-model="ruleForm.qlxx.qlrzjzl"></el-input>
</el-form-item>
</el-col>
</el-row>
......@@ -189,10 +189,17 @@ export default {
ableEdit: false
};
},
created () {
async created () {
this.propsParam = this.$attrs;
this.ableEdit = this.$parent.showBatch;
this.list(this.propsParam.bsmSldy);
var formdata = new FormData();
formdata.append("bsmSldy", this.propsParam.bsmSldy);
formdata.append("djlx", this.propsParam.djlx);
Init(formdata).then((res) => {
if (res.code === 200 && res.result) {
this.ruleForm = res.result
}
});
},
watch: {
......@@ -213,16 +220,6 @@ export default {
},
methods: {
list (bsmSldy) {
var formdata = new FormData();
formdata.append("bsmSldy", bsmSldy);
formdata.append("sqywbm", this.$route.query.sqywbm);
Init(formdata).then((res) => {
if (res.code === 200 && res.result) {
this.ruleForm = res.result
}
});
},
onSubmit () {
saveData(this.ruleForm).then((res) => {
if (res.code === 200) {
......
......@@ -50,7 +50,7 @@ class data extends filter {
{
prop: "zbhj",
label: "在办环节",
width: '70'
width: '80'
},
{
label: '业务号',
......
......@@ -58,7 +58,7 @@ import { datas, sendThis } from "../javascript/cfdj.js";
import { defaultParameters } from "../javascript/publicDefaultPar.js";
import table from "@/utils/mixin/table";
import jump from "../components/mixin/jump";
import { selectCfdj, startBusinessFlow } from "@/api/ywbl.js";
import { selectCfdj, startBusinessFlow ,choiceBdcdy} from "@/api/ywbl.js";
export default {
props: {
isJump: { type: Boolean, default: false },
......@@ -102,28 +102,43 @@ export default {
return;
}
this.saveloding = true;
startBusinessFlow({
bsmSqyw: Cookies.get("bsmSqyw"),
bdcdysz: this.bdcdysz,
djqxbm: Cookies.get("djqxObj") ? JSON.parse(Cookies.get("djqxObj"))?.djqxbm : '',
djqxmc: Cookies.get("djqxObj") ? JSON.parse(Cookies.get("djqxObj"))?.djqxmc : '',
}).then((res) => {
this.saveloding = false;
if (res.code == 200) {
this.$message({
showClose: true,
message: '发起申请成功',
type: 'success'
})
if (!this.isJump) {
if (!this.isJump) {
startBusinessFlow({
bsmSqyw: Cookies.get("bsmSqyw"),
bdcdysz: this.bdcdysz,
djqxbm: Cookies.get("djqxObj") ? JSON.parse(Cookies.get("djqxObj"))?.djqxbm : '',
djqxmc: Cookies.get("djqxObj") ? JSON.parse(Cookies.get("djqxObj"))?.djqxmc : '',
}).then((res) => {
this.saveloding = false;
if (res.code == 200) {
this.$message({
showClose: true,
message: '发起申请成功',
type: 'success'
})
this.jump(res.result, this.djywbm)
} else {
this.$message.error(res.message);
}
})
} else {
choiceBdcdy({
bsmSlsq: this.$route.query.bsmSlsq,
bdcdysz: this.bdcdysz
}).then(res => {
this.saveloding = false;
if (res.code == 200) {
this.$message({
showClose: true,
message: '发起申请成功',
type: 'success'
})
this.$emit('updateDialog', true)
} else {
this.$message.error(res.message);
}
} else {
this.$message.error(res.message);
}
});
})
}
},
handleSelectionChange (val) {
val.forEach((item, index) => {
......
......@@ -100,6 +100,7 @@ export default {
if (!this.isJump) {
startBusinessFlow({
bsmSqyw: Cookies.get("bsmSqyw"),
fwlx: this.activeName,
bdcdysz: this.bdcdysz,
djqxbm: Cookies.get("djqxObj") ? JSON.parse(Cookies.get("djqxObj"))?.djqxbm : '',
djqxmc: Cookies.get("djqxObj") ? JSON.parse(Cookies.get("djqxObj"))?.djqxmc : '',
......
......@@ -2,17 +2,23 @@
<div class="from-clues">
<!-- 表单部分 -->
<div class="from-clues-header">
<el-form :model="queryForm" ref="queryForm">
<el-form :model="queryForm" ref="queryForm" label-width="100px">
<el-row>
<el-col :span="5">
<el-form-item label="不动产权证号">
<el-input placeholder="请输入不动产权证号" v-model="queryForm.bdcqzh">
<el-input
placeholder="请输入不动产权证号"
v-model="queryForm.bdcqzh"
>
</el-input>
</el-form-item>
</el-col>
<el-col :span="5">
<el-form-item label="印刷序列号">
<el-input placeholder="请输入印刷序列号" v-model="queryForm.ysxlh">
<el-input
placeholder="请输入印刷序列号"
v-model="queryForm.ysxlh"
>
</el-input>
</el-form-item>
</el-col>
......@@ -31,7 +37,11 @@
<el-col :span="4" class="btnColRight">
<el-form-item>
<el-button type="primary" icon="el-icon-search" @click="fetchData">查询</el-button>
<el-button
type="primary"
@click="queryClick()"
>查询</el-button
>
<el-button @click="moreQueryClick()">高级查询</el-button>
</el-form-item>
</el-col>
......@@ -40,9 +50,15 @@
</div>
<!-- 表格 -->
<div class="from-clues-content">
<lb-table :page-size="pageData.size" :current-page.sync="pageData.current" :total="tableData.total"
@size-change="handleSizeChange" @p-current-change="handleCurrentChange" :column="tableData.columns"
:data="tableData.data">
<lb-table
:page-size="pageData.size"
:current-page.sync="pageData.current"
:total="tableData.total"
@size-change="handleSizeChange"
@p-current-change="handleCurrentChange"
:column="tableData.columns"
:data="tableData.data"
>
</lb-table>
</div>
</div>
......@@ -53,32 +69,34 @@ import { datas, sendThis } from "./zslqcx";
export default {
components: {},
mixins: [table],
mounted () {
mounted() {
sendThis(this);
},
data () {
data() {
return {
queryForm: {
bdcqzh: '',
ysxlh: '',
ywh: '',
lqr: ''
bdcqzh: "",
ysxlh: "",
ywh: "",
lqr: "",
},
tableData: {
columns: datas.columns(),
data: [
{
qllx: 'A01'
}
]
}
}
data: [],
},
};
},
methods: {
// 查询
queryClick() {
this.fetchData();
},
// 初始化数据
fetchData () { },
}
}
fetchData() {
},
},
};
</script>
<style scoped lang="scss">
@import "~@/styles/public.scss";
......
......@@ -2,7 +2,7 @@
<div class="from-clues">
<!-- 表单部分 -->
<div class="from-clues-header">
<el-form :model="queryForm" ref="queryForm">
<el-form :model="queryForm" ref="queryForm" label-width="80px">
<el-row>
<el-col :span="5">
<el-form-item label="项目名称">
......@@ -31,7 +31,11 @@
<el-col :span="4" class="btnColRight">
<el-form-item>
<el-button type="primary" icon="el-icon-search" @click="fetchData">查询</el-button>
<el-button
type="primary"
@click="queryClick()"
>查询</el-button
>
<el-button @click="moreQueryClick()">高级查询</el-button>
</el-form-item>
</el-col>
......@@ -40,9 +44,15 @@
</div>
<!-- 表格 -->
<div class="from-clues-content">
<lb-table :page-size="pageData.size" :current-page.sync="pageData.current" :total="tableData.total"
@size-change="handleSizeChange" @p-current-change="handleCurrentChange" :column="tableData.columns"
:data="tableData.data">
<lb-table
:page-size="pageData.size"
:current-page.sync="pageData.current"
:total="tableData.total"
@size-change="handleSizeChange"
@p-current-change="handleCurrentChange"
:column="tableData.columns"
:data="tableData.data"
>
</lb-table>
</div>
</div>
......@@ -53,29 +63,33 @@ import { datas, sendThis } from "./zxgcdycx";
export default {
components: {},
mixins: [table],
mounted () {
mounted() {
sendThis(this);
},
data () {
data() {
return {
queryForm: {
xmmc: '',
xmbh: '',
zrzh: '',
zddm: ''
xmmc: "",
xmbh: "",
zrzh: "",
zddm: "",
},
tableData: {
columns: datas.columns(),
data: [
]
}
}
data: [],
},
};
},
methods: {
// 查询
queryClick() {
this.fetchData();
},
// 初始化数据
fetchData () { },
}
}
fetchData() {},
},
};
</script>
<style scoped lang="scss">
@import "~@/styles/public.scss";
......