53d81dff by renchao@pashanhoo.com

style:业务申请

1 parent 7a303e7f
......@@ -92,7 +92,7 @@ export default {
let that = this;
switch (item.value) {
case "B0":
this.isDialog = true;
this.openDialog()
break;
case "B1":
getWorkFlowImage(this.bsmSlsq, this.$route.query.bestepid).then(res => {
......@@ -161,9 +161,9 @@ export default {
})
break;
case "B7":
this.$popup("证书领取", "workflow/components/zslq", {
formData: { bsmSlsq: this.$route.query.bsmSlsq }
})
this.$popupDialog("证书领取", "workflow/components/zslq",
{ bsmSlsq: this.$route.query.bsmSlsq }, '60%', true
)
break;
case "back": //退回按钮
this.$popupDialog("退回", "workflow/components/th", {
......@@ -352,6 +352,6 @@ export default {
// 上传
beforeUpload (file) {
return true;
},
}
}
}
......
......@@ -76,7 +76,6 @@
:on-change="handleChange" :before-upload="beforeUpload">
<el-button id="cldr" icon="el-icon-upload" type="primary" v-show="false">上传</el-button>
</el-upload>
<selectBdc v-model="isDialog" :djywbm="$route.query.sqywbm" :isJump="true" @updateDialog="updateDialog" />
</div>
</template>
<style scoped lang="scss">
......@@ -84,6 +83,7 @@
@import "./workFrame.scss";
</style>
<script>
import { mapGetters } from 'vuex'
import WorkFlow from "./mixin/index";
import publicFlow from "./mixin/public.js";
import { getStepFormInfo } from "@/api/fqsq.js";
......@@ -134,12 +134,21 @@ export default {
batchButtonName: "",
};
},
computed: {
...mapGetters(['isRefresh'])
},
watch: {
isRefresh: {
handler (newVal, oldVal) {
if (newVal) this.updateDialog()
}
}
},
mounted () {
//添加页面监听事件
window.addEventListener("beforeunload", (e) => this.beforeunloadHandler(e));
window.addEventListener("unload", (e) => this.unloadHandler(e));
},
destroyed () {
window.removeEventListener("beforeunload", (e) =>
this.beforeunloadHandler(e)
......@@ -232,6 +241,11 @@ export default {
this.activeIndex = "-1";
this.stepForm();
},
},
};
openDialog () {
let title = "申请业务:" + this.$route.query.sqywbm ? this.$route.query.sqywbm : ''
this.$popupDialog(title, "ywbl/ywsq/selectBdc", { 'djywbm': this.$route.query.sqywbm, 'isJump': true }, "80%", true)
}
}
}
</script>
......
......@@ -40,13 +40,14 @@
</lb-table>
</div>
<div class="submit_button">
<el-button @click="closeDialog">取消</el-button>
<el-button @click="$popupCacel">取消</el-button>
<el-button type="primary" plain @click="submitForm">发起申请</el-button>
</div>
</div>
</template>
<script>
//查封登记
import store from '@/store/index.js'
import { datas, sendThis } from "../javascript/cfdj.js";
import { defaultParameters } from "../javascript/publicDefaultPar.js";
import table from "@/utils/mixin/table";
......@@ -122,7 +123,7 @@ export default {
message: '发起申请成功',
type: 'success'
})
this.$emit('updateDialog', true)
store.dispatch('user/refreshPage', true);
} else {
this.$message.error(res.message);
}
......
......@@ -49,12 +49,13 @@
</lb-table>
</div>
<div class="submit_button">
<el-button @click="closeDialog">取消</el-button>
<el-button @click="$popupCacel">取消</el-button>
<el-button type="primary" plain @click="submitFormClick()">发起申请</el-button>
</div>
</div>
</template>
<script>
import store from '@/store/index.js'
import { datas, sendThis } from "../javascript/diyaq.js";
import { defaultParameters } from "../javascript/publicDefaultPar.js";
import table from "@/utils/mixin/table";
......@@ -112,7 +113,7 @@ export default {
if (!this.isJump) {
this.jump(res.result, this.sqywInfo.djywbm);
} else {
this.$emit("updateDialog", true);
store.dispatch('user/refreshPage', true);
}
} else {
this.$message.error(res.message);
......
......@@ -114,20 +114,21 @@
</lb-table>
</div>
<div class="submit_button">
<el-button @click="closeDialog">取消</el-button>
<el-button @click="$popupCacel">取消</el-button>
<el-button type="primary" plain @click="submitForm">发起申请</el-button>
</div>
</div>
</div>
</template>
<script>
//国有建设用地使用权/房屋使用权
import { datas, sendThis } from "../javascript/fwsyq.js";
// import { datasduo, sendThisduo } from "../javascript/fwsyqduo.js";
import table from "@/utils/mixin/table";
import jump from "@/views/ywbl/ywsq/components/mixin/jump";
import { selectScBdcdy, startBusinessFlow, choiceBdcdy, selectOtherH, selectZrz, selectDz } from "@/api/ywbl.js";
export default {
import store from '@/store/index.js'
//国有建设用地使用权/房屋使用权
import { datas, sendThis } from "../javascript/fwsyq.js";
// import { datasduo, sendThisduo } from "../javascript/fwsyqduo.js";
import table from "@/utils/mixin/table";
import jump from "@/views/ywbl/ywsq/components/mixin/jump";
import { selectScBdcdy, startBusinessFlow, choiceBdcdy, selectOtherH, selectZrz, selectDz } from "@/api/ywbl.js";
export default {
mixins: [table, jump],
props: {
isJump: { type: Boolean, default: false },
......@@ -167,7 +168,6 @@
},
mounted () {
sendThis(this)
},
methods: {
queryClick () {
......@@ -246,7 +246,7 @@
message: '发起申请成功',
type: 'success'
})
this.$emit('updateDialog', true)
store.dispatch('user/refreshPage', true);
} else {
this.$message.error(res.message);
}
......@@ -271,9 +271,9 @@
})
}
}
}
}
</script>
<style scoped lang="scss">
@import "~@/styles/mixin.scss";
@import "~@/styles/public.scss";
@import "~@/styles/mixin.scss";
@import "~@/styles/public.scss";
</style>
......
/*
* @Description:
* @Autor: renchao
* @LastEditTime: 2023-04-13 15:06:25
*/
export default {
methods: {
closeDialog () {
this.$emit("closeDialog")
},
//点击行选中或取消复选框
handleRowClick (row, column, event) {
row.djblzt != 1 && (this.$refs.table.toggleRowSelection(row))
},
jump (data, type) {
this.$emit("closeDialog");
this.$popupCacel()
const { href } = this.$router.resolve(
"/workFrame?bsmSlsq=" +
data.bsmSlsq +
......
......@@ -34,13 +34,14 @@
</lb-table>
</div>
<div class="submit_button">
<el-button @click="closeDialog">取消</el-button>
<el-button @click="$popupCacel">取消</el-button>
<el-button type="primary" plain @click="submitForm">发起申请</el-button>
</div>
</div>
</template>
<script>
//首次登记
import store from '@/store/index.js'
import { datas, sendThis } from "../javascript/nydsyq100.js";
import { defaultParameters } from "../javascript/publicDefaultPar.js";
import table from "@/utils/mixin/table";
......@@ -101,7 +102,7 @@ export default {
if (!this.isJump) {
this.jump(res.result, this.djywbm)
} else {
this.$emit('updateDialog', true)
store.dispatch('user/refreshPage', true);
}
} else {
this.$message.error(res.message);
......
......@@ -34,13 +34,14 @@
</lb-table>
</div>
<div class="submit_button">
<el-button @click="closeDialog">取消</el-button>
<el-button @click="$popupCacel">取消</el-button>
<el-button type="primary" plain @click="submitForm">发起申请</el-button>
</div>
</div>
</template>
<script>
//首次登记
import store from '@/store/index.js'
import { datas, sendThis } from "../javascript/selectJsydsyq.js";
import { defaultParameters } from "../javascript/publicDefaultPar.js";
import table from "@/utils/mixin/table";
......@@ -98,7 +99,7 @@ export default {
if (!this.isJump) {
this.jump(res.result, this.djywbm)
} else {
this.$emit('updateDialog', true)
store.dispatch('user/refreshPage', true);
}
} else {
this.$message.error(res.message);
......
......@@ -49,12 +49,13 @@
</lb-table>
</div>
<div class="submit_button">
<el-button @click="closeDialog">取消</el-button>
<el-button @click="$popupCacel">取消</el-button>
<el-button type="primary" plain @click="submitForm">发起申请</el-button>
</div>
</div>
</template>
<script>
import store from '@/store/index.js'
import { datas, sendThis } from "../javascript/selecBdcql.js";
import { defaultParameters } from "../javascript/publicDefaultPar.js";
import table from "@/utils/mixin/table";
......@@ -128,7 +129,7 @@ export default {
if (!this.isJump) {
this.jump(res.result, this.sqywInfo.djywbm);
} else {
this.$emit("updateDialog", true);
store.dispatch('user/refreshPage', true);
}
} else {
this.$alert(res.message);
......
......@@ -41,12 +41,13 @@
</lb-table>
</div>
<div class="submit_button">
<el-button @click="closeDialog">取消</el-button>
<el-button @click="$popupCacel">取消</el-button>
<el-button type="primary" plain @click="submitForm">发起申请</el-button>
</div>
</div>
</template>
<script>
import store from '@/store/index.js'
import { datas, sendThis } from "../javascript/selectAllHInfo.js";
import { defaultParameters } from "../javascript/publicDefaultPar.js";
import table from "@/utils/mixin/table";
......@@ -103,7 +104,7 @@ export default {
if (!this.isJump) {
this.jump(res.result, this.sqywInfo.djywbm)
} else {
this.$emit('updateDialog', true)
store.dispatch('user/refreshPage', true);
}
} else {
this.$message.error(res.message);
......
......@@ -41,12 +41,13 @@
</lb-table>
</div>
<div class="submit_button">
<el-button @click="closeDialog">取消</el-button>
<el-button @click="$popupCacel">取消</el-button>
<el-button type="primary" plain @click="submitForm">发起申请</el-button>
</div>
</div>
</template>
<script>
import store from '@/store/index.js'
import { datas, sendThis } from "../javascript/selectFwsyq.js";
import { defaultParameters } from "../javascript/publicDefaultPar.js";
import table from "@/utils/mixin/table";
......@@ -103,7 +104,7 @@ export default {
if (!this.isJump) {
this.jump(res.result, this.sqywInfo.djywbm);
} else {
this.$emit("updateDialog", true);
store.dispatch('user/refreshPage', true);
}
} else {
this.$message.error(res.message);
......
......@@ -6,24 +6,13 @@
<el-row>
<el-col :span="10">
<el-form-item label="不动产单元号">
<el-input
placeholder="请输入不动产单元号"
v-model="queryForm.bdcdyh"
clearable
maxlength="28"
class="width300px"
>
<el-input placeholder="请输入不动产单元号" v-model="queryForm.bdcdyh" clearable maxlength="28" class="width300px">
</el-input>
</el-form-item>
</el-col>
<el-col :span="10">
<el-form-item label="不动产权证号">
<el-input
placeholder="请输入不动产权证号"
v-model="queryForm.bdcqzh"
clearable
class="width300px"
>
<el-input placeholder="请输入不动产权证号" v-model="queryForm.bdcqzh" clearable class="width300px">
</el-input>
</el-form-item>
</el-col>
......@@ -31,23 +20,13 @@
<el-row>
<el-col :span="10">
<el-form-item label="权利人">
<el-input
placeholder="请输入权利人"
v-model="queryForm.qlr"
clearable
class="width300px"
>
<el-input placeholder="请输入权利人" v-model="queryForm.qlr" clearable class="width300px">
</el-input>
</el-form-item>
</el-col>
<el-col :span="10">
<el-form-item label="坐落">
<el-input
placeholder="请输入坐落"
v-model="queryForm.zl"
clearable
class="width300px"
>
<el-input placeholder="请输入坐落" v-model="queryForm.zl" clearable class="width300px">
</el-input>
</el-form-item>
</el-col>
......@@ -62,29 +41,21 @@
</div>
<!-- 表格 -->
<div class="from-clues-content">
<lb-table
ref="table"
@row-click="handleRowClick"
:page-size="pageData.pageSize"
:heightNum="400"
:current-page.sync="pageData.currentPage"
:total="tableData.total"
@size-change="handleSizeChange"
@p-current-change="handleCurrentChange"
@selection-change="handleSelectionChange"
:column="tableData.columns"
:data="tableData.data"
>
<lb-table ref="table" @row-click="handleRowClick" :page-size="pageData.pageSize" :heightNum="400"
:current-page.sync="pageData.currentPage" :total="tableData.total" @size-change="handleSizeChange"
@p-current-change="handleCurrentChange" @selection-change="handleSelectionChange" :column="tableData.columns"
:data="tableData.data">
</lb-table>
</div>
<div class="submit_button">
<el-button @click="closeDialog">取消</el-button>
<el-button @click="$popupCacel">取消</el-button>
<el-button type="primary" plain @click="submitForm">发起申请</el-button>
</div>
</div>
</template>
<script>
//首次登记
import store from '@/store/index.js'
import { datas, sendThis } from "../javascript/selectJsydsyq.js";
import { defaultParameters } from "../javascript/publicDefaultPar.js";
import table from "@/utils/mixin/table";
......@@ -94,9 +65,9 @@ export default {
mixins: [table, jump],
props: {
isJump: { type: Boolean, default: false },
sqywInfo: { type: Object, default: () => {} },
sqywInfo: { type: Object, default: () => { } },
},
data() {
data () {
return {
queryForm: defaultParameters.defaultParameters(),
tableData: {
......@@ -107,11 +78,11 @@ export default {
bdcdysz: [],
};
},
mounted() {
mounted () {
sendThis(this);
},
methods: {
queryClick() {
queryClick () {
this.$startLoading();
this.queryForm.sqywbm = this.sqywInfo.djywbm;
selectJsydQlxx({ ...this.queryForm, ...this.pageData }).then((res) => {
......@@ -123,7 +94,7 @@ export default {
}
});
},
submitForm() {
submitForm () {
if (this.bdcdysz.length == 0) {
this.$message.error("请至少选择一条数据");
return;
......@@ -143,21 +114,21 @@ export default {
if (!this.isJump) {
this.jump(res.result, this.sqywInfo.djywbm);
} else {
this.$emit("updateDialog", true);
store.dispatch('user/refreshPage', true);
}
} else {
this.$message.error(res.message);
}
});
},
handleSelectionChange(val) {
handleSelectionChange (val) {
val.forEach((item, index) => {
item.bsmSsql = item.bsmQlxx;
item.ybdcqzsh = item.bdcqzh;
});
this.bdcdysz = val;
},
openBook(row) {
openBook (row) {
var param = {
bdcdyid: row.bdcdyid,
qllx: row.qllx,
......
......@@ -34,13 +34,14 @@
</lb-table>
</div>
<div class="submit_button">
<el-button @click="closeDialog">取消</el-button>
<el-button @click="$popupCacel">取消</el-button>
<el-button type="primary" plain @click="submitForm">发起申请</el-button>
</div>
</div>
</template>
<script>
//首次登记
import store from '@/store/index.js'
import { datas, sendThis } from "../javascript/selectQjzdjbxx.js";
import { defaultParameters } from "../javascript/publicDefaultPar.js";
import table from "@/utils/mixin/table";
......@@ -103,7 +104,7 @@ export default {
if (!this.isJump) {
this.jump(res.result, this.djywbm);
} else {
this.$emit("updateDialog", true);
store.dispatch('user/refreshPage', true);
}
} else {
this.$alert(res.message);
......
......@@ -41,12 +41,13 @@
</lb-table>
</div>
<div class="submit_button">
<el-button @click="closeDialog">取消</el-button>
<el-button @click="$popupCacel">取消</el-button>
<el-button type="primary" plain @click="submitForm">发起申请</el-button>
</div>
</div>
</template>
<script>
import store from '@/store/index.js'
import { datas, sendThis } from "../javascript/selectYgdj100.js";
import { defaultParameters } from "../javascript/publicDefaultPar.js";
import table from "@/utils/mixin/table";
......@@ -103,7 +104,7 @@ export default {
if (!this.isJump) {
this.jump(res.result, this.sqywInfo.djywbm)
} else {
this.$emit('updateDialog', true)
store.dispatch('user/refreshPage', true);
}
} else {
this.$message.error(res.message);
......
......@@ -41,12 +41,13 @@
</lb-table>
</div>
<div class="submit_button">
<el-button @click="closeDialog">取消</el-button>
<el-button @click="$popupCacel">取消</el-button>
<el-button type="primary" plain @click="submitForm">发起申请</el-button>
</div>
</div>
</template>
<script>
import store from '@/store/index.js'
import { datas, sendThis } from "../javascript/selectYgdj200.js";
import { defaultParameters } from "../javascript/publicDefaultPar.js";
import table from "@/utils/mixin/table";
......@@ -103,7 +104,7 @@ export default {
if (!this.isJump) {
this.jump(res.result, this.sqywInfo.djywbm)
} else {
this.$emit('updateDialog', true)
store.dispatch('user/refreshPage', true);
}
} else {
this.$message.error(res.message);
......
......@@ -41,12 +41,13 @@
</lb-table>
</div>
<div class="submit_button">
<el-button @click="closeDialog">取消</el-button>
<el-button @click="$popupCacel">取消</el-button>
<el-button type="primary" plain @click="submitForm">发起申请</el-button>
</div>
</div>
</template>
<script>
import store from '@/store/index.js'
import { datas, sendThis } from "../javascript/selectYgdy.js";
import { defaultParameters } from "../javascript/publicDefaultPar.js";
import table from "@/utils/mixin/table";
......@@ -103,7 +104,7 @@ export default {
if (!this.isJump) {
this.jump(res.result, this.sqywInfo.djywbm)
} else {
this.$emit('updateDialog', true)
store.dispatch('user/refreshPage', true);
}
} else {
this.$message.error(res.message);
......
......@@ -66,11 +66,10 @@
<el-button type="primary" :disabled="btnDisabled" @click="dialogClick">选择不动产</el-button>
</div>
</div>
<selectDialog v-model="isDialog" :sqywInfo="selectParam" />
<!-- <selectDialog v-model="isDialog" :sqywInfo="selectParam" /> -->
</div>
</template>
<script>
import selectDialog from "./selectBdc.vue"
import { getCollectBiz, getleftMenu, getNextNode, addCollectBiz, deleteCollectBiz } from "@/api/ywbl"
export default {
data () {
......@@ -95,15 +94,10 @@ export default {
djqxList: [],
//选中业务的参数
selectParam: {},
//弹框框架显示或隐藏
isDialog: false,
//选择按钮显示或隐藏
btnDisabled: true,
}
},
components: {
selectDialog
},
created () {
this.getDataList();
},
......@@ -149,7 +143,6 @@ export default {
data[index].selected = true;
if (data[index].sffqlc == "1") {
this.selectParam = data[index];
console.log(this.selectParam, 'this.selectParamthis.selectParamthis.selectParamthis.selectParam');
this.btnDisabled = false;
} else {
this.btnDisabled = true;
......@@ -180,7 +173,7 @@ export default {
},
//打开弹框内容
dialogClick () {
this.isDialog = true;
this.openDialog();
},
//收藏操作
handleCollection (item) {
......@@ -246,17 +239,21 @@ export default {
this.djywbm = item.djywbm
this.bsmSqyw = item.bsmSqyw
item.cselect = true
this.isDialog = true
this.openDialog()
this.btnDisabled = true
}
},
handleSelectItem (item, list) {
this.handleSelectYw(item, list)
this.isDialog = true
this.openDialog()
},
// 选择不动产信息
bthSelectClick () {
this.isDialog = true
this.openDialog()
},
openDialog () {
let title = "申请业务:" + this.selectParam?.djywmc ? this.selectParam?.djywmc : '';
this.$popupDialog(title, "ywbl/ywsq/selectBdc", { 'sqywInfo': this.selectParam }, "80%")
},
loadView (view) {
return r => require.ensure([], () => r(require(`./components/${view}/${view}.vue`)))
......
<!--
* @Description:
* @Autor: renchao
* @LastEditTime: 2023-03-02 14:04:16
* @LastEditTime: 2023-04-13 15:21:35
-->
<template>
<dialogBox :title="title" width="85%" @closeDialog="closeDialog" v-model="value" isMain :isButton="false">
<component :is="router" :sqywInfo="sqywInfo" @closeDialog="closeDialog" @updateDialog="updateDialog" />
</dialogBox>
<component :is="router" :sqywInfo="formData.sqywInfo" @updateDialog="updateDialog" />
</template>
<script>
import { queueDjywmc } from "./slectBdcdata.js";
export default {
props: {
value: { type: Boolean, default: true },
sqywInfo: { type: Object, default: () => { } },
djywbm: { type: String, default: '' }
formData: {
type: Object,
default: () => { }
}
},
data () {
return {
title: "",
router: "",
};
},
watch: {
value (val) {
if (val) {
this.title = "申请业务:" + this.sqywInfo?.djywmc ? this.sqywInfo?.djywmc : '';
let view = queueDjywmc(this.sqywInfo?.djywbm || this.djywbm);
this.router = this.loadView(view);
router: ""
}
},
mounted () {
let view = queueDjywmc(this.formData?.sqywInfo?.djywbm || this.formData?.djywbm);
this.router = this.loadView(view);
},
methods: {
loadView (view) {
console.log(view, 'viewviewview');
return (r) =>
require.ensure([], () => r(require(`./components/${view}.vue`)));
},
closeDialog () {
this.$emit("input", false);
},
updateDialog () {
this.$emit("input", false);
this.$popupCacel()
this.$emit("updateDialog", true);
},
},
};
}
}
}
</script>
<style scoped lang="scss">
@import "~@/styles/mixin.scss";
......