d8bb2f52 by 任超

style:业务申请

1 parent d2d8aca4
......@@ -70,7 +70,7 @@ import searchBox from '../components/search.vue'
import table from "@/utils/mixin/table"
import searchMin from "../components/mixin/index"
import { datas, sendThis } from "./dbxdata"
import { searchTaskToDo, deleteFlow ,claimTask} from "@/api/ywbl.js"
import { searchTaskToDo, deleteFlow, claimTask } from "@/api/ywbl.js"
export default {
name: "dbx",
components: { searchBox },
......@@ -174,9 +174,8 @@ export default {
ywhClick (item) {
const { href } = this.$router.resolve('/workFrame?bsmSlsq=' + item.bsmSlsq + '&bestepid=' + item.bestepid + '&bsmBusiness=' + '&sqywbm=' + item.djywbm);
window.open(href, '_blank');
//从待办箱进入的调取任务领取接口
claimTask(item.bsmSlsq,item.bestepid)
claimTask(item.bsmSlsq, item.bestepid)
}
}
}
......
......@@ -53,7 +53,6 @@
</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";
......@@ -63,7 +62,12 @@ export default {
mixins: [table, jump],
props: {
isJump: { type: Boolean, default: false },
djywbm: { type: String, default: '' }
djywbm: { type: String, default: '' },
djqxObj: {
type: Object,
default: {}
},
bsmSqyw: { type: String, default: '' },
},
data () {
return {
......@@ -103,10 +107,10 @@ export default {
}
if (!this.isJump) {
startBusinessFlow({
bsmSqyw: Cookies.get("bsmSqyw"),
bsmSqyw: this.bsmSqyw,
bdcdysz: this.bdcdysz,
djqxbm: Cookies.get("djqxObj") ? JSON.parse(Cookies.get("djqxObj"))?.djqxbm : '',
djqxmc: Cookies.get("djqxObj") ? JSON.parse(Cookies.get("djqxObj"))?.djqxmc : '',
djqxbm: this.djqxObj?.djqxbm,
djqxmc: this.djqxObj?.djqxmc
}).then((res) => {
if (res.code == 200) {
this.$message({
......@@ -146,7 +150,7 @@ export default {
})
this.bdcdysz = val
}
},
}
};
</script>
<style scoped lang="scss">
......
......@@ -53,7 +53,6 @@
</div>
</template>
<script>
import Cookies from 'js-cookie'
import { datas, sendThis } from "../javascript/bdcqlMain.js";
import { defaultParameters } from "../javascript/publicDefaultPar.js";
import table from "@/utils/mixin/table";
......@@ -63,7 +62,12 @@ export default {
mixins: [table, jump],
props: {
isJump: { type: Boolean, default: false },
djywbm: { type: String, default: '' }
djywbm: { type: String, default: '' },
djqxObj: {
type: Object,
default: {}
},
bsmSqyw: { type: String, default: '' }
},
data () {
return {
......@@ -101,10 +105,10 @@ export default {
return;
}
startBusinessFlow({
bsmSqyw: Cookies.get("bsmSqyw"),
bsmSqyw: this.bsmSqyw,
bdcdysz: this.bdcdysz,
djqxbm: Cookies.get("djqxObj") ? JSON.parse(Cookies.get("djqxObj"))?.djqxbm : '',
djqxmc: Cookies.get("djqxObj") ? JSON.parse(Cookies.get("djqxObj"))?.djqxmc : '',
djqxbm: this.djqxObj?.djqxbm,
djqxmc: this.djqxObj?.djqxmc
}).then((res) => {
if (res.code == 200) {
this.jump(res.result)
......
......@@ -53,7 +53,6 @@
</template>
<script>
//查封登记
import Cookies from 'js-cookie'
import { datas, sendThis } from "../javascript/cfdj.js";
import { defaultParameters } from "../javascript/publicDefaultPar.js";
import table from "@/utils/mixin/table";
......@@ -62,7 +61,12 @@ import { selectCfdj, startBusinessFlow, choiceBdcdy } from "@/api/ywbl.js";
export default {
props: {
isJump: { type: Boolean, default: false },
djywbm: { type: String, default: '' }
djywbm: { type: String, default: '' },
djqxObj: {
type: Object,
default: {}
},
bsmSqyw: { type: String, default: '' },
},
mixins: [table, jump],
data () {
......@@ -102,10 +106,10 @@ export default {
}
if (!this.isJump) {
startBusinessFlow({
bsmSqyw: Cookies.get("bsmSqyw"),
bsmSqyw: this.bsmSqyw,
bdcdysz: this.bdcdysz,
djqxbm: Cookies.get("djqxObj") ? JSON.parse(Cookies.get("djqxObj"))?.djqxbm : '',
djqxmc: Cookies.get("djqxObj") ? JSON.parse(Cookies.get("djqxObj"))?.djqxmc : '',
djqxbm: this.djqxObj?.djqxbm,
djqxmc: this.djqxObj?.djqxmc
}).then((res) => {
if (res.code == 200) {
this.$message({
......
......@@ -65,7 +65,12 @@ export default {
mixins: [table, jump],
props: {
isJump: { type: Boolean, default: false },
djywbm: { type: String, default: '' }
djywbm: { type: String, default: '' },
djqxObj: {
type: Object,
default: {}
},
bsmSqyw: { type: String, default: '' },
},
data () {
return {
......@@ -94,7 +99,7 @@ export default {
this.tableData.total = total;
this.tableData.data = records;
}
});
})
},
submitForm () {
if (this.bdcdysz.length == 0) {
......@@ -102,10 +107,10 @@ export default {
return;
}
startBusinessFlow({
bsmSqyw: Cookies.get("bsmSqyw"),
bsmSqyw: this.bsmSqyw,
bdcdysz: this.bdcdysz,
djqxbm: Cookies.get("djqxObj") ? JSON.parse(Cookies.get("djqxObj"))?.djqxbm : '',
djqxmc: Cookies.get("djqxObj") ? JSON.parse(Cookies.get("djqxObj"))?.djqxmc : '',
djqxbm: this.djqxObj?.djqxbm,
djqxmc: this.djqxObj?.djqxmc
}).then((res) => {
if (res.code == 200) {
this.$message({
......@@ -129,8 +134,7 @@ export default {
item.ybdcqzsh = item.bdcqzh
})
this.bdcdysz = val;
},
}
}
}
</script>
......
......@@ -68,7 +68,6 @@
</template>
<script>
//国有建设用地使用权/房屋使用权
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";
......@@ -78,7 +77,12 @@ export default {
mixins: [table, jump],
props: {
isJump: { type: Boolean, default: false },
djywbm: { type: String, default: '' }
djywbm: { type: String, default: '' },
djqxObj: {
type: Object,
default: {}
},
bsmSqyw: { type: String, default: '' },
},
data () {
return {
......@@ -150,11 +154,11 @@ export default {
}
if (!this.isJump) {
startBusinessFlow({
bsmSqyw: Cookies.get("bsmSqyw"),
bsmSqyw: this.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 : '',
djqxbm: this.djqxObj?.djqxbm,
djqxmc: this.djqxObj?.djqxmc
}).then((res) => {
if (res.code == 200) {
this.$message({
......@@ -189,14 +193,11 @@ export default {
this.bdcdysz = val
},
handleLpbClick (item) {
console.log(item, 'eeeeeeeeeeeeee');
this.$popup('楼盘表', 'components/bjlp/index', {
width: '85%',
formData: {
bsm: item.bsm
},
cancel: function () { }, //取消事件的回调
confirm: function () { }, //确认事件的回调
}
})
}
}
......
......@@ -39,7 +39,6 @@
</template>
<script>
//首次登记
import Cookies from 'js-cookie'
import { datas, sendThis } from "../javascript/jsydsyq100.js";
import { defaultParameters } from "../javascript/publicDefaultPar.js";
import table from "@/utils/mixin/table";
......@@ -50,7 +49,12 @@ export default {
mixins: [table, jump],
props: {
isJump: { type: Boolean, default: false },
djywbm: { type: String, default: '' }
djywbm: { type: String, default: '' },
djqxObj: {
type: Object,
default: {}
},
bsmSqyw: { type: String, default: '' },
},
data () {
return {
......@@ -75,7 +79,6 @@ export default {
},
fetchData () {
this.queryForm.sqywbm = this.djywbm;
selectZdjbxx({ ...this.queryForm, ...this.pageData }).then((res) => {
if (res.code === 200) {
let { total, records } = res.result;
......@@ -90,10 +93,10 @@ export default {
return;
}
startBusinessFlow({
bsmSqyw: Cookies.get("bsmSqyw"),
bsmSqyw: this.bsmSqyw,
bdcdysz: this.bdcdysz,
djqxbm: Cookies.get("djqxObj") ? JSON.parse(Cookies.get("djqxObj"))?.djqxbm : '',
djqxmc: Cookies.get("djqxObj") ? JSON.parse(Cookies.get("djqxObj"))?.djqxmc : '',
djqxbm: this.djqxObj?.djqxbm,
djqxmc: this.djqxObj?.djqxmc
}).then((res) => {
if (res.code == 200) {
this.$message({
......@@ -109,11 +112,11 @@ export default {
} else {
this.$message.error(res.message);
}
});
})
},
handleSelectionChange (val) {
this.bdcdysz = val;
},
}
}
}
</script>
......@@ -121,3 +124,4 @@ export default {
@import "~@/styles/mixin.scss";
@import "~@/styles/public.scss";
</style>
......
......@@ -53,7 +53,6 @@
</template>
<script>
//首次登记
import Cookies from 'js-cookie'
import { datas, sendThis } from "../javascript/jsydsyq200.js";
import { defaultParameters } from "../javascript/publicDefaultPar.js";
import table from "@/utils/mixin/table";
......@@ -64,7 +63,12 @@ export default {
mixins: [table, jump],
props: {
isJump: { type: Boolean, default: false },
djywbm: { type: String, default: '' }
djywbm: { type: String, default: '' },
djqxObj: {
type: Object,
default: {}
},
bsmSqyw: { type: String, default: '' },
},
data () {
return {
......@@ -93,7 +97,7 @@ export default {
this.tableData.total = total;
this.tableData.data = records;
}
});
})
},
submitForm () {
if (this.bdcdysz.length == 0) {
......@@ -101,10 +105,10 @@ export default {
return;
}
startBusinessFlow({
bsmSqyw: Cookies.get("bsmSqyw"),
bsmSqyw: this.bsmSqyw,
bdcdysz: this.bdcdysz,
djqxbm: Cookies.get("djqxObj") ? JSON.parse(Cookies.get("djqxObj"))?.djqxbm : '',
djqxmc: Cookies.get("djqxObj") ? JSON.parse(Cookies.get("djqxObj"))?.djqxmc : '',
djqxbm: this.djqxObj?.djqxbm,
djqxmc: this.djqxObj?.djqxmc
}).then((res) => {
if (res.code == 200) {
this.$message({
......@@ -120,7 +124,7 @@ export default {
} else {
this.$message.error(res.message);
}
});
})
},
handleSelectionChange (val) {
val.forEach((item, index) => {
......@@ -131,22 +135,9 @@ export default {
},
openBook (row) {
var param = { bdcdyid: row.bdcdyid, qllx: row.qllx, bdcdyh: row.bdcdyh, bsmQlxx: row.bsmQlxx };
this.$popup({
titleStyle: "left",
title: "登记簿详情", // 弹窗标题
editItem: "registerBook/djbFrame", // 弹窗内容
formData: param,
width: "1220px",
height: "790px",
// cancelText: '取消摆烂', // 右边按钮文本
// confirmText: '确定点击', //左边按钮文本
cancel: () => {
console.log("取消回调");
},
confirm: () => {
console.log("确认回调");
},
});
this.$popup('登记簿详情', 'registerBook/djbFrame', {
formData: param
})
}
}
}
......
<template>
<dialogBox title="查询权利信息" width="85%" :isButton="false" :isMain="true" @closeDialog="closeDialog" v-model="myValue">
<component :is="editItem" @closeDialog="closeDialog" :isJump="isJump" id="slectBdc" @updateDialog="updateDialog"
:djywbm="djywbm" :key="key" />
<component :is="editItem" @closeDialog="closeDialog" v-bind="$attrs" :isJump="isJump" id="slectBdc"
@updateDialog="updateDialog" :djywbm="djywbm" :key="key" />
</dialogBox>
</template>
<script>
......@@ -24,12 +24,12 @@ export default {
this.myValue = val
this.key++
if (this.$route.query.sqywbm) {
let dd = queueDjywmc(this.$route.query.sqywbm, { 'target': '#slectBdc' })
let dd = queueDjywmc(this.$route.query.sqywbm)
this.editItem = this.loadView(dd)
}
},
'djywbm' (val) {
let dd = queueDjywmc(val, { 'target': '#slectBdc' })
let dd = queueDjywmc(val)
this.editItem = this.loadView(dd)
}
},
......
......@@ -66,7 +66,7 @@
<el-button type="primary" :disabled="btnDisabled" @click="bthSelectClick">选择不动产</el-button>
</div>
</div>
<fqsqDialog v-model="isDialog" :djywbm="djywbm"/>
<fqsqDialog v-model="isDialog" :djqxObj="djqxObj" :bsmSqyw="bsmSqyw" :djywbm="djywbm" />
</div>
</template>
<script>
......@@ -87,7 +87,13 @@ export default {
djqxList: [],
isDialog: false,
btnDisabled: true,
djywbm: ''
djywbm: '',
djqxObj: {
djqxbm: '',
djqxmc: ''
},
bsmSqyw: ''
}
},
components: {
......@@ -122,13 +128,12 @@ export default {
this.$set(item, 'cselect', false)
})
item.cselect = true
Cookies.set("djqxObj", JSON.stringify({
'djqxbm': item.nodecode,
'djqxmc': item.nodename
}))
this.djqxObj.djqxbm = item.nodecode
this.djqxObj.djqxmc = item.djqxmc
if (item.sffqlc == '1') {
this.btnDisabled = false
Cookies.set("bsmSqyw", item.bsmSqyw)
this.bsmSqyw = item.bsmSqyw
this.djywbm = item.djywbm
console.log(this.djywbm, 'this.djywbm');
}
......