9fc3f903 by 任超

style:业务申请

1 parent 36d8e9c9
......@@ -26,7 +26,7 @@ export default {
name: 'index',
data () {
return {
btnShow: false,
btnShow: true,
title: '提示',
cancelText: '取消',
confirmText: '确认',
......
......@@ -12,9 +12,5 @@ const getters = {
addDict: state => state.dict.addDict,
dictData: state => state.dict.dictData,
djbxx: state => state.djbxx.djbxx,
// 业务办理
bsmSqyw: state => state.ywbl.bsmSqyw,
djqxObj: state => state.ywbl.djqxObj,
djywbm: state => state.ywbl.djywbm
}
export default getters
......
import { mapGetters } from 'vuex'
export default {
data () {
return {
......@@ -7,6 +8,9 @@ export default {
}
}
},
computed: {
...mapGetters(['dictData']),
},
created () {
this.fetchData()
},
......
......@@ -6,6 +6,9 @@
border: 1px solid #ebeef5;
z-index: 100;
@include flex;
/deep/.el-tabs__header {
margin-bottom: 0 !important;
}
}
.leftmenu {
......@@ -62,9 +65,7 @@
padding-left: 5px !important;
}
/deep/.el-tabs__header {
margin-bottom: 0 !important;
}
/deep/.el-menu-item.is-active {
background-color: #e7f4fe;
......
......@@ -56,7 +56,7 @@
</div>
</div>
</div>
<fqsqDialog v-model="isDialog" :djywbm="$route.query.sqywbm" />
<fqsqDialog v-model="isDialog" :djywbm="$route.query.sqywbm" :isJump="true" />
</div>
</template>
......@@ -64,7 +64,6 @@
@import "~@/styles/mixin.scss";
@import "./workFrame.scss";
</style>
<script>
import {
leftMenu,
......
......@@ -53,6 +53,7 @@
</template>
<script>
//查封登记
import Cookies from 'js-cookie'
import { datas, sendThis } from "../javascript/bdcql.js";
import { defaultParameters } from "../javascript/publicDefaultPar.js";
import table from "@/utils/mixin/table";
......@@ -60,6 +61,10 @@ import jump from "../components/mixin/jump";
import { selectQlxx, startBusinessFlow } from "@/api/ywbl.js";
export default {
mixins: [table, jump],
props: {
isJump: { type: Boolean, default: false },
djywbm: { type: String, default: '' }
},
data () {
return {
queryForm: defaultParameters.defaultParameters(),
......@@ -76,9 +81,6 @@ export default {
mounted () {
sendThis(this)
},
computed: {
...mapGetters([ 'bsmSqyw', 'djywbm'])
},
methods: {
closeDialog () {
this.$emit("closeDialog")
......@@ -101,12 +103,23 @@ export default {
}
this.saveloding = true;
startBusinessFlow({
bsmSqyw: this.bsmSqyw,
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.jump(res.result)
this.$message({
showClose: true,
message: '发起申请成功',
type: 'success'
})
if (!this.isJump) {
this.jump(res.result, this.djywbm)
} else {
this.$emit('updateDialog', true)
}
} else {
this.$message.error(res.message);
}
......
......@@ -53,7 +53,7 @@
</div>
</template>
<script>
import { mapGetters } from 'vuex'
import Cookies from 'js-cookie'
import { datas, sendThis } from "../javascript/bdcqlMain.js";
import { defaultParameters } from "../javascript/publicDefaultPar.js";
import table from "@/utils/mixin/table";
......@@ -61,6 +61,10 @@ import jump from "../components/mixin/jump";
import { selectQlxx, startBusinessFlow } from "@/api/ywbl.js";
export default {
mixins: [table, jump],
props: {
isJump: { type: Boolean, default: false },
djywbm: { type: String, default: '' }
},
data () {
return {
queryForm: defaultParameters.defaultParameters(),
......@@ -77,9 +81,6 @@ export default {
mounted () {
sendThis(this)
},
computed: {
...mapGetters(['bsmSqyw', 'djywbm']),
},
methods: {
closeDialog () {
this.$emit("closeDialog")
......@@ -102,8 +103,10 @@ export default {
}
this.saveloding = true;
startBusinessFlow({
bsmSqyw: this.bsmSqyw,
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) {
......
......@@ -5,7 +5,7 @@
<el-tab-pane label="自然幢" name="zrz"></el-tab-pane>
<el-tab-pane label="户" name="h"></el-tab-pane>
</el-tabs>
<el-form :model="queryForm" ref="queryForm" label-width="100px">
<el-form :model="queryForm" ref="queryForm" label-width="110px">
<el-row>
<el-col :span="6">
<el-form-item label="不动产单元号">
......@@ -15,13 +15,13 @@
</el-col>
<el-col :span="6">
<el-form-item label="坐落">
<el-input placeholder="请输入坐落" v-model="queryForm.zl" clearable class="width300px">
<el-input placeholder="请输入坐落" v-model="queryForm.zl" clearable>
</el-input>
</el-form-item>
</el-col>
<el-col :span="4" class="btnCol">
<el-col :span="12" class="btnCol">
<el-form-item>
<el-button type="primary" @click="queryClick()">查询</el-button>
<el-button type="primary" @click="fetchData()">查询</el-button>
</el-form-item>
</el-col>
</el-row>
......@@ -41,7 +41,7 @@
</template>
<script>
//国有建设用地使用权/房屋使用权
import { mapGetters } from 'vuex'
import Cookies from 'js-cookie'
import { datas, sendThis } from "../javascript/fwsyq.js";
import table from "@/utils/mixin/table";
import jump from "@/views/ywbl/ywsq/components/mixin/jump";
......@@ -49,6 +49,7 @@ import { selectFwsyq, startBusinessFlow } from "@/api/ywbl.js";
export default {
mixins: [table, jump],
props: {
isJump: { type: Boolean, default: false },
djywbm: { type: String, default: '' }
},
data () {
......@@ -72,14 +73,11 @@ export default {
mounted () {
sendThis(this)
},
computed: {
...mapGetters(['dictData', 'bsmSqyw', 'djqxObj']),
},
methods: {
closeDialog () {
this.$emit("closeDialog");
},
queryClick () {
fetchData () {
this.queryForm.sqywbm = this.djywbm;
selectFwsyq({ ...this.queryForm, ...this.pageData, fwfl: this.activeName }).then((res) => {
if (res.code === 200) {
......@@ -91,7 +89,7 @@ export default {
},
handleTabClick () {
this.pageData.currentPage = 1
this.queryClick()
this.fetchData()
},
submitForm () {
if (this.bdcdysz.length == 0) {
......@@ -99,13 +97,22 @@ export default {
return;
}
startBusinessFlow({
bsmSqyw: this.bsmSqyw,
bsmSqyw: Cookies.get("bsmSqyw"),
bdcdysz: this.bdcdysz,
djqxbm: this.djqxObj.djqxbm,
djqxmc: this.djqxObj.djqxmc,
djqxbm: Cookies.get("djqxObj") ? JSON.parse(Cookies.get("djqxObj"))?.djqxbm : '',
djqxmc: Cookies.get("djqxObj") ? JSON.parse(Cookies.get("djqxObj"))?.djqxmc : '',
}).then((res) => {
if (res.code == 200) {
this.jump(res.result, this.djywbm)
this.$message({
showClose: true,
message: '发起申请成功',
type: 'success'
})
if (!this.isJump) {
this.jump(res.result, this.djywbm)
} else {
this.$emit('updateDialog', true)
}
} else {
this.$message.error(res.message);
}
......
......@@ -39,7 +39,7 @@
</template>
<script>
//首次登记
import { mapGetters } from 'vuex'
import Cookies from 'js-cookie'
import { datas, sendThis } from "../javascript/jsydsyq100.js";
import { defaultParameters } from "../javascript/publicDefaultPar.js";
import table from "@/utils/mixin/table";
......@@ -47,6 +47,10 @@ import jump from "../components/mixin/jump";
import { selectScBdcdy, startBusinessFlow } from "@/api/ywbl.js";
export default {
mixins: [table, jump],
props: {
isJump: { type: Boolean, default: false },
djywbm: { type: String, default: '' }
},
data () {
return {
queryForm: defaultParameters.defaultParameters(),
......@@ -69,9 +73,6 @@ export default {
mounted () {
sendThis(this);
},
computed: {
...mapGetters(['bsmSqyw', 'djqxObj', 'djywbm']),
},
methods: {
closeDialog () {
this.$emit("closeDialog");
......@@ -96,14 +97,23 @@ export default {
}
this.saveloding = true;
startBusinessFlow({
bsmSqyw: this.bsmSqyw,
bsmSqyw: Cookies.get("bsmSqyw"),
bdcdysz: this.bdcdysz,
djqxbm: this.djqxObj.djqxbm,
djqxmc: this.djqxObj.djqxmc,
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.jump(res.result)
this.$message({
showClose: true,
message: '发起申请成功',
type: 'success'
})
if (!this.isJump) {
this.jump(res.result, this.djywbm)
} else {
this.$emit('updateDialog', true)
}
} else {
this.$message.error(res.message);
}
......
......@@ -55,7 +55,7 @@
</template>
<script>
//首次登记
import { mapGetters } from 'vuex'
import Cookies from 'js-cookie'
import { datas, sendThis } from "../javascript/jsydsyq200.js";
import { defaultParameters } from "../javascript/publicDefaultPar.js";
import table from "@/utils/mixin/table";
......@@ -63,6 +63,10 @@ import jump from "../components/mixin/jump";
import { selectQlxx, startBusinessFlow } from "@/api/ywbl.js";
export default {
mixins: [table, jump],
props: {
isJump: { type: Boolean, default: false },
djywbm: { type: String, default: '' }
},
data () {
return {
queryForm: defaultParameters.defaultParameters(),
......@@ -76,17 +80,9 @@ export default {
saveloding: false,
};
},
watch: {
bsmSqyw (val) {
this.fetchData();
},
},
mounted () {
sendThis(this);
},
computed: {
...mapGetters(['bsmSqyw', 'djqxObj', 'djywbm']),
},
methods: {
closeDialog () {
this.$emit("closeDialog");
......@@ -111,14 +107,23 @@ export default {
}
this.saveloding = true;
startBusinessFlow({
bsmSqyw: this.bsmSqyw,
bsmSqyw: Cookies.get("bsmSqyw"),
bdcdysz: this.bdcdysz,
djqxbm: this.djqxObj.djqxbm,
djqxmc: this.djqxObj.djqxmc,
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.jump(res.result)
this.$message({
showClose: true,
message: '发起申请成功',
type: 'success'
})
if (!this.isJump) {
this.jump(res.result, this.djywbm)
} else {
this.$emit('updateDialog', true)
}
} else {
this.$message.error(res.message);
}
......
<template>
<dialogBox title="查询权利信息" width="85%" :isButton="false" @closeDialog="closeDialog" v-model="myValue">
<component :is="editItem" @closeDialog="closeDialog" :djywbm="djywbm" :key="key" />
<dialogBox title="查询权利信息" width="85%" :isButton="false" :isMain="true" @closeDialog="closeDialog" v-model="myValue">
<component :is="editItem" @closeDialog="closeDialog" :isJump="isJump" @updateDialog="updateDialog" :djywbm="djywbm"
:key="key" />
</dialogBox>
</template>
<script>
import { queueDjywmc } from './slectBdcdata.js'
export default {
props: {
isJump: { type: Boolean, default: false },
value: { type: Boolean, default: true },
djywbm: { type: String, default: '' }
},
......@@ -21,9 +23,12 @@ export default {
value (val) {
this.myValue = val
this.key++
if (this.$route.query.sqywbm) {
let dd = queueDjywmc(this.$route.query.sqywbm)
this.editItem = this.loadView(dd)
}
},
'djywbm' (val) {
console.log(val);
let dd = queueDjywmc(val)
this.editItem = this.loadView(dd)
}
......@@ -34,6 +39,10 @@ export default {
},
closeDialog () {
this.$emit("input", false)
},
updateDialog () {
this.$emit("input", false)
this.key++
}
}
}
......
......@@ -69,8 +69,9 @@
</div>
</template>
<script>
import { getCollectBiz, getleftMenu, getNextNode, addCollectBiz, deleteCollectBiz } from "@/api/ywbl"
import Cookies from 'js-cookie'
import fqsqDialog from "./slectBdc.vue"
import { getCollectBiz, getleftMenu, getNextNode, addCollectBiz, deleteCollectBiz } from "@/api/ywbl"
export default {
data () {
return {
......@@ -120,13 +121,13 @@ export default {
this.$set(item, 'cselect', false)
})
item.cselect = true
this.$store.dispatch('ywbl/setDjqxObj', {
Cookies.set("djqxObj", JSON.stringify({
'djqxbm': item.nodecode,
'djqxmc': item.nodename,
})
'djqxmc': item.nodename
}))
if (item.sffqlc == '1') {
this.btnDisabled = false
this.$store.dispatch('ywbl/setBsmSqyw', item.parentid)
Cookies.set("bsmSqyw", item.parentid)
this.djywbm = item.djywbm
}
},
......@@ -197,7 +198,7 @@ export default {
this.$set(item, 'cselect', true)
if (item.sffqlc == '1') {
this.btnDisabled = false
this.$store.dispatch('ywbl/setBsmSqyw', item.bsmSqyw)
Cookies.set("bsmSqyw", item.bsmSqyw)
this.djywbm = item.djywbm
} else {
this.getNextNode(item.bsmSqyw, false)
......