1fa576bc by xiaomiao

--no commit message

2 parents ddef5f04 1e7b4fd3
......@@ -116,6 +116,19 @@ export function startBusinessFlow (data) {
}
/**
* @description: 业务办理-发起业务申请流程
* @param {*} data
* @author: renchao
*/
export function startRepairFlow (data) {
return request({
url: SERVER.SERVERAPI + '/rest/business/workFlow/startRepairFlow',
method: 'post',
data
})
}
/**
* @description: 已办箱列表查询接口
* @param {*} data
* @author: renchao
......
......@@ -11,8 +11,7 @@
maxlength="28"
v-model="queryForm.bdcdyh"
clearable
class="width200px"
></el-input>
class="width200px"></el-input>
</el-form-item>
</el-col>
<el-col :span="8">
......@@ -26,8 +25,7 @@
placeholder="请输入不动产权证号"
v-model="queryForm.cfwh"
clearable
class="width200px"
></el-input>
class="width200px"></el-input>
</el-form-item>
</el-col>
</el-row>
......@@ -60,8 +58,7 @@
@p-current-change="handleCurrentChange"
@selection-change="handleSelectionChange"
:column="tableData.columns"
:data="tableData.data"
></lb-table>
:data="tableData.data"></lb-table>
</div>
<div class="submit_button">
<el-button @click="$popupCacel">取消</el-button>
......@@ -70,20 +67,20 @@
</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";
import jump from "../components/mixin/jump";
import { selectCfdj, startBusinessFlow, choiceBdcdy } from "@/api/ywbl.js";
export default {
//查封登记
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";
import jump from "../components/mixin/jump";
import { selectCfdj, startBusinessFlow, choiceBdcdy } from "@/api/ywbl.js";
export default {
props: {
isJump: { type: Boolean, default: false },
sqywInfo: { type: Object, default: () => {} },
sqywInfo: { type: Object, default: () => { } },
},
mixins: [table, jump],
data() {
data () {
return {
queryForm: defaultParameters.defaultParameters(),
tableData: {
......@@ -98,11 +95,11 @@ export default {
: this.sqywInfo.parentid,
};
},
mounted() {
mounted () {
sendThis(this);
},
methods: {
queryClick() {
queryClick () {
console.log("申请业务单一流向状态", this.sqywInfo.sqywdylx);
this.$startLoading();
selectCfdj({ ...this.queryForm, ...this.pageData }).then((res) => {
......@@ -114,7 +111,7 @@ export default {
}
});
},
submitForm() {
submitForm () {
if (this.bdcdysz.length == 0) {
this.$message.error("请至少选择一条数据");
return;
......@@ -134,8 +131,14 @@ export default {
message: "发起申请成功",
type: "success",
});
if (!this.isJump) {
this.jump(res.result, this.sqywInfo.djywbm);
} else {
store.dispatch('user/refreshPage', true);
}
this.$popupCacel()
} else {
this.$message.error(res.message);
}
});
......@@ -158,10 +161,10 @@ export default {
});
}
},
handleSelectionChange(val) {
handleSelectionChange (val) {
this.bdcdysz = val;
},
select(selection, row) {
select (selection, row) {
if (this.sqywInfo.sqywdylx == "1") {
// 清除 所有勾选项
this.$refs.table.clearSelection();
......@@ -171,7 +174,7 @@ export default {
this.$refs.table.toggleRowSelection(row, true);
}
},
handleRowClick(row) {
handleRowClick (row) {
// 如果状态是1,那就是单选
if (this.sqywInfo.sqywdylx == "1") {
const bdcdysz = this.bdcdysz;
......@@ -195,9 +198,9 @@ export default {
}
},
},
};
};
</script>
<style scoped lang="scss">
@import "~@/styles/mixin.scss";
@import "~@/styles/public.scss";
@import "~@/styles/mixin.scss";
@import "~@/styles/public.scss";
</style>
......
......@@ -83,9 +83,7 @@
sendThis(this);
},
methods: {
queryClick () {
console.log("申请业务单一流向状态",this.sqywInfo.sqywdylx);
this.$startLoading();
this.queryForm.sqywbm = this.sqywInfo.djywbm;
selectDiyaq({ ...this.queryForm, ...this.pageData }).then((res) => {
......@@ -119,31 +117,31 @@
} else {
store.dispatch('user/refreshPage', true);
}
this.$popupCacel()
} else {
this.$message.error(res.message);
}
this.$popupCacel()
})
},
handleSelectionChange (val) {
this.bdcdysz = val;
},
select(selection, row){
if(this.sqywInfo.sqywdylx=="1"){
select (selection, row) {
if (this.sqywInfo.sqywdylx == "1") {
// 清除 所有勾选项
this.$refs.table.clearSelection()
// 当表格数据都没有被勾选的时候 就返回
// 主要用于将当前勾选的表格状态清除
if(selection.length == 0) return
if (selection.length == 0) return
this.$refs.table.toggleRowSelection(row, true);
}
},
handleRowClick(row){
handleRowClick (row) {
// 如果状态是1,那就是单选
if(this.sqywInfo.sqywdylx=="1"){
if (this.sqywInfo.sqywdylx == "1") {
const bdcdysz = this.bdcdysz
this.$refs.table.clearSelection()
if( bdcdysz.length == 1 ) {
if (bdcdysz.length == 1) {
bdcdysz.forEach(item => {
// 判断 如果当前的一行被勾选, 再次点击的时候就会取消选中
if (item == row) {
......@@ -158,7 +156,7 @@
else {
this.$refs.table.toggleRowSelection(row, true);
}
}else{
} else {
this.$refs.table.toggleRowSelection(row);
}
},
......
......@@ -171,7 +171,7 @@
},
methods: {
queryClick () {
console.log("申请业务单一流向状态",this.sqywInfo.sqywdylx);
console.log("申请业务单一流向状态", this.sqywInfo.sqywdylx);
this.$startLoading();
if (!this.isJump) {
//从业务办理进入
......@@ -224,7 +224,7 @@
if (!this.isJump) {
startBusinessFlow({
bsmSqyw: this.bsmSqyw,
fwlx: this.activeName,
sjlx: 'zrz',
bdcdysz: this.bdcdysz,
djqxbm: this.sqywInfo.nodetype == "djqx" ? this.sqywInfo.nodecode : "",
djqxmc: this.sqywInfo.nodetype == "djqx" ? this.sqywInfo.nodename : "",
......@@ -235,7 +235,12 @@
message: '发起申请成功',
type: 'success'
})
this.jump(res.result, this.djywbm)
if (!this.isJump) {
this.jump(res.result, this.sqywInfo.djywbm);
} else {
store.dispatch('user/refreshPage', true);
}
this.$popupCacel()
} else {
this.$message.error(res.message);
}
......@@ -275,23 +280,23 @@
}
})
},
select(selection, row){
if(this.sqywInfo.sqywdylx=="1"){
select (selection, row) {
if (this.sqywInfo.sqywdylx == "1") {
// 清除 所有勾选项
this.$refs.table.clearSelection()
// 当表格数据都没有被勾选的时候 就返回
// 主要用于将当前勾选的表格状态清除
if(selection.length == 0) return
if (selection.length == 0) return
this.$refs.table.toggleRowSelection(row, true);
}
},
handleRowClick(row){
handleRowClick (row) {
// 如果状态是1,那就是单选
if(this.sqywInfo.sqywdylx=="1"){
if (this.sqywInfo.sqywdylx == "1") {
const bdcdysz = this.bdcdysz
this.$refs.table.clearSelection()
if( bdcdysz.length == 1 ) {
if (bdcdysz.length == 1) {
bdcdysz.forEach(item => {
// 判断 如果当前的一行被勾选, 再次点击的时候就会取消选中
if (item == row) {
......@@ -306,7 +311,7 @@
else {
this.$refs.table.toggleRowSelection(row, true);
}
}else{
} else {
this.$refs.table.toggleRowSelection(row);
}
},
......
......@@ -106,31 +106,31 @@
} else {
store.dispatch('user/refreshPage', true);
}
this.$popupCacel()
} else {
this.$message.error(res.message);
}
this.$popupCacel()
})
},
handleSelectionChange (val) {
this.bdcdysz = val;
},
select(selection, row){
if(this.sqywInfo.sqywdylx=="1"){
select (selection, row) {
if (this.sqywInfo.sqywdylx == "1") {
// 清除 所有勾选项
this.$refs.table.clearSelection()
// 当表格数据都没有被勾选的时候 就返回
// 主要用于将当前勾选的表格状态清除
if(selection.length == 0) return
if (selection.length == 0) return
this.$refs.table.toggleRowSelection(row, true);
}
},
handleRowClick(row){
handleRowClick (row) {
// 如果状态是1,那就是单选
if(this.sqywInfo.sqywdylx=="1"){
if (this.sqywInfo.sqywdylx == "1") {
const bdcdysz = this.bdcdysz
this.$refs.table.clearSelection()
if( bdcdysz.length == 1 ) {
if (bdcdysz.length == 1) {
bdcdysz.forEach(item => {
// 判断 如果当前的一行被勾选, 再次点击的时候就会取消选中
if (item == row) {
......@@ -145,7 +145,7 @@
else {
this.$refs.table.toggleRowSelection(row, true);
}
}else{
} else {
this.$refs.table.toggleRowSelection(row);
}
},
......
......@@ -70,7 +70,7 @@
},
methods: {
queryClick () {
console.log("申请业务单一流向状态",this.sqywInfo.sqywdylx);
console.log("申请业务单一流向状态", this.sqywInfo.sqywdylx);
this.$startLoading();
this.queryForm.sqywbm = this.sqywInfo.djywbm;
selectNydsyqQlxx({ ...this.queryForm, ...this.pageData }).then((res) => {
......@@ -104,10 +104,10 @@
} else {
store.dispatch('user/refreshPage', true);
}
this.$popupCacel()
} else {
this.$message.error(res.message);
}
this.$popupCacel()
})
},
handleSelectionChange (val) {
......@@ -119,22 +119,22 @@
formData: param
})
},
select(selection, row){
if(this.sqywInfo.sqywdylx=="1"){
select (selection, row) {
if (this.sqywInfo.sqywdylx == "1") {
// 清除 所有勾选项
this.$refs.table.clearSelection()
// 当表格数据都没有被勾选的时候 就返回
// 主要用于将当前勾选的表格状态清除
if(selection.length == 0) return
if (selection.length == 0) return
this.$refs.table.toggleRowSelection(row, true);
}
},
handleRowClick(row){
handleRowClick (row) {
// 如果状态是1,那就是单选
if(this.sqywInfo.sqywdylx=="1"){
if (this.sqywInfo.sqywdylx == "1") {
const bdcdysz = this.bdcdysz
this.$refs.table.clearSelection()
if( bdcdysz.length == 1 ) {
if (bdcdysz.length == 1) {
bdcdysz.forEach(item => {
// 判断 如果当前的一行被勾选, 再次点击的时候就会取消选中
if (item == row) {
......@@ -149,7 +149,7 @@
else {
this.$refs.table.toggleRowSelection(row, true);
}
}else{
} else {
this.$refs.table.toggleRowSelection(row);
}
},
......
......@@ -98,7 +98,7 @@
methods: {
//默认加载表格信息
queryClick () {
console.log("申请业务单一流向状态",this.sqywInfo.sqywdylx);
console.log("申请业务单一流向状态", this.sqywInfo.sqywdylx);
this.$startLoading();
this.queryForm.bsmSqyw = this.bsmSqyw;
selectQlxx({ ...this.queryForm, ...this.pageData }).then((res) => {
......@@ -132,31 +132,31 @@
} else {
store.dispatch('user/refreshPage', true);
}
this.$popupCacel()
} else {
this.$alert(res.message);
this.$message.error(res.message)
}
this.$popupCacel()
})
},
handleSelectionChange (val) {
this.bdcdysz = val;
},
select(selection, row){
if(this.sqywInfo.sqywdylx=="1"){
select (selection, row) {
if (this.sqywInfo.sqywdylx == "1") {
// 清除 所有勾选项
this.$refs.table.clearSelection()
// 当表格数据都没有被勾选的时候 就返回
// 主要用于将当前勾选的表格状态清除
if(selection.length == 0) return
if (selection.length == 0) return
this.$refs.table.toggleRowSelection(row, true);
}
},
handleRowClick(row){
handleRowClick (row) {
// 如果状态是1,那就是单选
if(this.sqywInfo.sqywdylx=="1"){
if (this.sqywInfo.sqywdylx == "1") {
const bdcdysz = this.bdcdysz
this.$refs.table.clearSelection()
if( bdcdysz.length == 1 ) {
if (bdcdysz.length == 1) {
bdcdysz.forEach(item => {
// 判断 如果当前的一行被勾选, 再次点击的时候就会取消选中
if (item == row) {
......@@ -171,7 +171,7 @@
else {
this.$refs.table.toggleRowSelection(row, true);
}
}else{
} else {
this.$refs.table.toggleRowSelection(row);
}
},
......
......@@ -38,7 +38,7 @@
</el-form>
</div>
<!-- 表格 -->
<div class="from-clues-content loadingtext" >
<div class="from-clues-content loadingtext">
<lb-table ref="table" @row-click="handleRowClick" :page-size="pageData.size" class="loadingtext"
:current-page.sync="pageData.current" :total="tableData.total" @size-change="handleSizeChange"
@p-current-change="handleCurrentChange" @selection-change="handleSelectionChange" :column="tableData.columns" :data="tableData.data">
......@@ -51,14 +51,14 @@
</div>
</template>
<script>
import { mapGetters } from "vuex";
import {startBusinessFlow} from "@/api/djbbl.js"
import { mapGetters } from "vuex";
import { startRepairFlow } from "@/api/ywbl.js";
import store from '@/store/index.js'
import table from "@/utils/mixin/table";
import { datas, sendThis } from "../javascript/selectDjbbl.js";
import { getDjbBysearch } from "@/api/zhcx.js";
import jump from "../components/mixin/djbbljump";
export default {
import table from "@/utils/mixin/table";
import { datas, sendThis } from "../javascript/selectDjbbl.js";
import { getDjbBysearch } from "@/api/zhcx.js";
import jump from "../components/mixin/jump";
export default {
name: "djbcx",
mixins: [table, jump],
mounted () {
......@@ -96,13 +96,9 @@ export default {
: this.sqywInfo.parentid,
};
},
computed: {
// ...mapGetters(["dictData"]),
},
methods: {
// 初始化数据
queryClick () {
console.log("this.queryForm",this.queryForm);
this.$startLoading()
getDjbBysearch({ ...this.queryForm, ...this.pageData }).then((res) => {
this.$endLoading()
......@@ -113,9 +109,6 @@ export default {
}
});
},
// handleSort (name, sort) {
// console.log(name, sort);
// },
// 高级查询
moreQueryClick () { },
// openDialog (scroll) {
......@@ -129,12 +122,12 @@ export default {
ywhClick (item) {
const { href } = this.$router.resolve(
"/djbworkFrame?bdcdyid=" +
item.bdcdyid+
item.bdcdyid +
"&bdcdyh=" +
item.bdcdyh+
"&qllx="+
item.qllx+
"&bsmQlxx="+
item.bdcdyh +
"&qllx=" +
item.qllx +
"&bsmQlxx=" +
item.bsmQlxx +
"&viewtype=1"
);
......@@ -147,15 +140,15 @@ export default {
this.$message.error("请至少选择一条数据");
return;
}
console.log("this.sqywInfo",this.sqywInfo,this.sqywInfo.nodetype == "djqx");
let from={
console.log("this.sqywInfo", this.sqywInfo, this.sqywInfo.nodetype == "djqx");
let from = {
bsmSqyw: this.bsmSqyw,
bdcdysz: this.bdcdysz,
djqxbm: this.sqywInfo.nodetype == "djlx" ? this.sqywInfo.nodecode : "",
djqxmc: this.sqywInfo.nodetype == "djlx" ? this.sqywInfo.nodename : "",
}
console.log("发起申请传参",from,this.sqywInfo);
startBusinessFlow(from).then((res) => {
console.log("发起申请传参", from, this.sqywInfo);
startRepairFlow(from).then((res) => {
if (res.code == 200) {
this.$message({
showClose: true,
......@@ -167,22 +160,22 @@ export default {
} else {
store.dispatch('user/refreshPage', true);
}
this.$popupCacel()
} else {
this.$message.error(res.message);
}
this.$popupCacel()
})
},
handleSelectionChange (val) {
console.log("val",val);
console.log("val", val);
this.bdcdysz = val;
},
handleRowClick(row){
handleRowClick (row) {
// 如果状态是1,那就是单选
if(this.sqywInfo.sqywdylx=="1"){
if (this.sqywInfo.sqywdylx == "1") {
const bdcdysz = this.bdcdysz
this.$refs.table.clearSelection()
if( bdcdysz.length == 1 ) {
if (bdcdysz.length == 1) {
bdcdysz.forEach(item => {
// 判断 如果当前的一行被勾选, 再次点击的时候就会取消选中
if (item == row) {
......@@ -197,22 +190,22 @@ export default {
else {
this.$refs.table.toggleRowSelection(row, true);
}
}else{
} else {
this.$refs.table.toggleRowSelection(row);
}
},
}
}
}
</script>
<style scoped lang="scss">
@import "~@/styles/mixin.scss";
@import "~@/styles/public.scss";
.icon-circle {
.icon-circle {
position: relative;
}
}
.icon-circle::before {
.icon-circle::before {
content: "";
width: 4px;
height: 4px;
......@@ -220,5 +213,5 @@ export default {
background: #000;
top: 0px;
left: 0px;
}
}
</style>
......
......@@ -75,7 +75,7 @@
},
methods: {
queryClick () {
console.log("申请业务单一流向状态",this.sqywInfo.sqywdylx);
console.log("申请业务单一流向状态", this.sqywInfo.sqywdylx);
this.$startLoading();
this.queryForm.sqywbm = this.sqywInfo.djywbm;
selectFwsyq({ ...this.queryForm, ...this.pageData }).then((res) => {
......@@ -109,31 +109,31 @@
} else {
store.dispatch('user/refreshPage', true);
}
this.$popupCacel()
} else {
this.$message.error(res.message);
}
this.$popupCacel()
})
},
handleSelectionChange (val) {
this.bdcdysz = val;
},
select(selection, row){
if(this.sqywInfo.sqywdylx=="1"){
select (selection, row) {
if (this.sqywInfo.sqywdylx == "1") {
// 清除 所有勾选项
this.$refs.table.clearSelection()
// 当表格数据都没有被勾选的时候 就返回
// 主要用于将当前勾选的表格状态清除
if(selection.length == 0) return
if (selection.length == 0) return
this.$refs.table.toggleRowSelection(row, true);
}
},
handleRowClick(row){
handleRowClick (row) {
// 如果状态是1,那就是单选
if(this.sqywInfo.sqywdylx=="1"){
if (this.sqywInfo.sqywdylx == "1") {
const bdcdysz = this.bdcdysz
this.$refs.table.clearSelection()
if( bdcdysz.length == 1 ) {
if (bdcdysz.length == 1) {
bdcdysz.forEach(item => {
// 判断 如果当前的一行被勾选, 再次点击的时候就会取消选中
if (item == row) {
......@@ -148,7 +148,7 @@
else {
this.$refs.table.toggleRowSelection(row, true);
}
}else{
} else {
this.$refs.table.toggleRowSelection(row);
}
},
......
......@@ -75,7 +75,7 @@
},
methods: {
queryClick () {
console.log("申请业务单一流向状态",this.sqywInfo.sqywdylx);
console.log("申请业务单一流向状态", this.sqywInfo.sqywdylx);
this.$startLoading();
this.queryForm.sqywbm = this.sqywInfo.djywbm;
selectHQjdc({ ...this.queryForm, ...this.pageData }).then((res) => {
......@@ -109,31 +109,31 @@
} else {
store.dispatch('user/refreshPage', true);
}
this.$popupCacel()
} else {
this.$message.error(res.message);
}
this.$popupCacel()
})
},
handleSelectionChange (val) {
this.bdcdysz = val;
},
select(selection, row){
if(this.sqywInfo.sqywdylx=="1"){
select (selection, row) {
if (this.sqywInfo.sqywdylx == "1") {
// 清除 所有勾选项
this.$refs.table.clearSelection()
// 当表格数据都没有被勾选的时候 就返回
// 主要用于将当前勾选的表格状态清除
if(selection.length == 0) return
if (selection.length == 0) return
this.$refs.table.toggleRowSelection(row, true);
}
},
handleRowClick(row){
handleRowClick (row) {
// 如果状态是1,那就是单选
if(this.sqywInfo.sqywdylx=="1"){
if (this.sqywInfo.sqywdylx == "1") {
const bdcdysz = this.bdcdysz
this.$refs.table.clearSelection()
if( bdcdysz.length == 1 ) {
if (bdcdysz.length == 1) {
bdcdysz.forEach(item => {
// 判断 如果当前的一行被勾选, 再次点击的时候就会取消选中
if (item == row) {
......@@ -148,7 +148,7 @@
else {
this.$refs.table.toggleRowSelection(row, true);
}
}else{
} else {
this.$refs.table.toggleRowSelection(row);
}
},
......
......@@ -83,7 +83,7 @@
},
methods: {
queryClick () {
console.log("申请业务单一流向状态",this.sqywInfo.sqywdylx);
console.log("申请业务单一流向状态", this.sqywInfo.sqywdylx);
this.$startLoading();
this.queryForm.sqywbm = this.sqywInfo.djywbm;
selectJsydQlxx({ ...this.queryForm, ...this.pageData }).then((res) => {
......@@ -117,10 +117,10 @@
} else {
store.dispatch('user/refreshPage', true);
}
this.$popupCacel()
} else {
this.$message.error(res.message);
}
this.$popupCacel()
})
},
handleSelectionChange (val) {
......@@ -137,22 +137,22 @@
formData: param
})
},
select(selection, row){
if(this.sqywInfo.sqywdylx=="1"){
select (selection, row) {
if (this.sqywInfo.sqywdylx == "1") {
// 清除 所有勾选项
this.$refs.table.clearSelection()
// 当表格数据都没有被勾选的时候 就返回
// 主要用于将当前勾选的表格状态清除
if(selection.length == 0) return
if (selection.length == 0) return
this.$refs.table.toggleRowSelection(row, true);
}
},
handleRowClick(row){
handleRowClick (row) {
// 如果状态是1,那就是单选
if(this.sqywInfo.sqywdylx=="1"){
if (this.sqywInfo.sqywdylx == "1") {
const bdcdysz = this.bdcdysz
this.$refs.table.clearSelection()
if( bdcdysz.length == 1 ) {
if (bdcdysz.length == 1) {
bdcdysz.forEach(item => {
// 判断 如果当前的一行被勾选, 再次点击的时候就会取消选中
if (item == row) {
......@@ -167,7 +167,7 @@
else {
this.$refs.table.toggleRowSelection(row, true);
}
}else{
} else {
this.$refs.table.toggleRowSelection(row);
}
},
......
<!--
* @Description:
* @Autor: renchao
* @LastEditTime: 2023-06-15 16:59:40
* @LastEditTime: 2023-06-16 09:37:51
-->
<template>
<div class="from-clues">
......@@ -47,9 +47,6 @@
<!-- 表格 -->
<div class="from-clues-content loadingtext">
分割合并前权利信息
<!-- <lb-table ref="table" @row-click="handleRowClick" heightNumSetting :pagination=false
:column="tableData.columns" :data="tableData.data">
</lb-table> -->
<el-table
:data="tableData.data"
height="230"
......@@ -193,6 +190,12 @@
methods: {
// 单选事件
close () {
this.tableData.data.forEach(item => {
if (this.radioVal == item.bhqkbsm) {
item.bglx = '1'
this.bdcdysz[0] = item
}
})
this.queryForm.bhqkbsm = this.radioVal
selectZdjbxxSplitMergeLast({ ...this.queryForm }).then((res) => {
this.$endLoading();
......@@ -217,12 +220,11 @@
});
},
handleRowClick (val) {
this.radioVal = val.bhqkbsm
let obj = val
obj.bglx = '1';
this.bdcdysz[0] = obj
this.close()
// this.radioVal = val.bhqkbsm
// let obj = val
// obj.bglx = '1';
// this.bdcdysz[0] = obj
// this.close()
},
submitForm () {
startBusinessFlow({
......@@ -242,10 +244,10 @@
} else {
store.dispatch('user/refreshPage', true);
}
this.$popupCacel()
} else {
this.$message.error(res.message)
}
this.$popupCacel()
})
},
openBook (row) {
......
......@@ -4,25 +4,25 @@
<div class="from-clues-header">
<el-form :model="queryForm" ref="queryForm">
<el-row>
<el-col :span="8">
<el-col :span="7">
<el-form-item label="宗地代码">
<el-input placeholder="请输入宗地代码" maxlength="19" v-model="queryForm.zddm" clearable class="width300px">
<el-input placeholder="请输入宗地代码" maxlength="19" v-model="queryForm.zddm" clearable class="width100">
</el-input>
</el-form-item>
</el-col>
<el-col :span="8">
<el-col :span="7">
<el-form-item label="不动产单元号">
<el-input placeholder="请输入不动产单元号" maxlength="28" v-model="queryForm.bdcdyh" clearable class="width300px">
<el-input placeholder="请输入不动产单元号" maxlength="28" v-model="queryForm.bdcdyh" clearable class="width100">
</el-input>
</el-form-item>
</el-col>
<el-col :span="8">
<el-col :span="6">
<el-form-item label="坐落">
<el-input placeholder="请输入坐落" v-model.trim="queryForm.zl" clearable class="width300px">
<el-input placeholder="请输入坐落" v-model.trim="queryForm.zl" clearable class="width100">
</el-input>
</el-form-item>
</el-col>
<el-col :span="6" class="btnColRight">
<el-col :span="4" class="btnColRight">
<el-form-item>
<el-button type="primary" @click="resetForm(true)">重置</el-button>
<el-button type="primary" @click="handleSearch">查询</el-button>
......@@ -79,7 +79,7 @@
},
methods: {
queryClick () {
console.log("申请业务单一流向状态",this.sqywInfo.sqywdylx);
console.log("申请业务单一流向状态", this.sqywInfo.sqywdylx);
this.$startLoading();
this.queryForm.sqywbm = this.sqywInfo.djywbm;
selectZdjbxx({ ...this.queryForm, ...this.pageData }).then((res) => {
......@@ -114,10 +114,11 @@
} else {
store.dispatch('user/refreshPage', true);
}
this.$popupCacel()
} else {
this.$alert(res.message);
this.$message.error(res.message)
}
this.$popupCacel()
})
},
handleSelectionChange (val) {
......@@ -126,23 +127,23 @@
});
this.bdcdysz = val;
},
select(selection, row){
if(this.sqywInfo.sqywdylx=="1"){
select (selection, row) {
if (this.sqywInfo.sqywdylx == "1") {
// 清除 所有勾选项
this.$refs.table.clearSelection()
// 当表格数据都没有被勾选的时候 就返回
// 主要用于将当前勾选的表格状态清除
if(selection.length == 0) return
if (selection.length == 0) return
this.$refs.table.toggleRowSelection(row, true);
}
},
handleRowClick(row){
handleRowClick (row) {
// 如果状态是1,那就是单选
if(this.sqywInfo.sqywdylx=="1"){
if (this.sqywInfo.sqywdylx == "1") {
const bdcdysz = this.bdcdysz
this.$refs.table.clearSelection()
if( bdcdysz.length == 1 ) {
if (bdcdysz.length == 1) {
bdcdysz.forEach(item => {
// 判断 如果当前的一行被勾选, 再次点击的时候就会取消选中
if (item == row) {
......@@ -157,7 +158,7 @@
else {
this.$refs.table.toggleRowSelection(row, true);
}
}else{
} else {
this.$refs.table.toggleRowSelection(row);
}
},
......
......@@ -75,7 +75,7 @@
},
methods: {
queryClick () {
console.log("申请业务单一流向状态",this.sqywInfo.sqywdylx);
console.log("申请业务单一流向状态", this.sqywInfo.sqywdylx);
this.$startLoading();
this.queryForm.sqywbm = this.sqywInfo.djywbm;
selectYgdj200({ ...this.queryForm, ...this.pageData }).then((res) => {
......@@ -108,32 +108,32 @@
this.jump(res.result, this.sqywInfo.djywbm)
} else {
store.dispatch('user/refreshPage', true);
this.$popupCacel()
}
} else {
this.$message.error(res.message);
}
this.$popupCacel()
})
},
handleSelectionChange (val) {
this.bdcdysz = val;
},
select(selection, row){
if(this.sqywInfo.sqywdylx=="1"){
select (selection, row) {
if (this.sqywInfo.sqywdylx == "1") {
// 清除 所有勾选项
this.$refs.table.clearSelection()
// 当表格数据都没有被勾选的时候 就返回
// 主要用于将当前勾选的表格状态清除
if(selection.length == 0) return
if (selection.length == 0) return
this.$refs.table.toggleRowSelection(row, true);
}
},
handleRowClick(row){
handleRowClick (row) {
// 如果状态是1,那就是单选
if(this.sqywInfo.sqywdylx=="1"){
if (this.sqywInfo.sqywdylx == "1") {
const bdcdysz = this.bdcdysz
this.$refs.table.clearSelection()
if( bdcdysz.length == 1 ) {
if (bdcdysz.length == 1) {
bdcdysz.forEach(item => {
// 判断 如果当前的一行被勾选, 再次点击的时候就会取消选中
if (item == row) {
......@@ -148,7 +148,7 @@
else {
this.$refs.table.toggleRowSelection(row, true);
}
}else{
} else {
this.$refs.table.toggleRowSelection(row);
}
},
......
......@@ -75,7 +75,7 @@
},
methods: {
queryClick () {
console.log("申请业务单一流向状态",this.sqywInfo.sqywdylx);
console.log("申请业务单一流向状态", this.sqywInfo.sqywdylx);
this.$startLoading();
this.queryForm.sqywbm = this.sqywInfo.djywbm;
selectYgdy({ ...this.queryForm, ...this.pageData }).then((res) => {
......@@ -109,31 +109,31 @@
} else {
store.dispatch('user/refreshPage', true);
}
this.$popupCacel()
} else {
this.$message.error(res.message);
}
this.$popupCacel()
})
},
handleSelectionChange (val) {
this.bdcdysz = val;
},
select(selection, row){
if(this.sqywInfo.sqywdylx=="1"){
select (selection, row) {
if (this.sqywInfo.sqywdylx == "1") {
// 清除 所有勾选项
this.$refs.table.clearSelection()
// 当表格数据都没有被勾选的时候 就返回
// 主要用于将当前勾选的表格状态清除
if(selection.length == 0) return
if (selection.length == 0) return
this.$refs.table.toggleRowSelection(row, true);
}
},
handleRowClick(row){
handleRowClick (row) {
// 如果状态是1,那就是单选
if(this.sqywInfo.sqywdylx=="1"){
if (this.sqywInfo.sqywdylx == "1") {
const bdcdysz = this.bdcdysz
this.$refs.table.clearSelection()
if( bdcdysz.length == 1 ) {
if (bdcdysz.length == 1) {
bdcdysz.forEach(item => {
// 判断 如果当前的一行被勾选, 再次点击的时候就会取消选中
if (item == row) {
......@@ -148,7 +148,7 @@
else {
this.$refs.table.toggleRowSelection(row, true);
}
}else{
} else {
this.$refs.table.toggleRowSelection(row);
}
},
......
......@@ -78,7 +78,7 @@
queryClick () {
this.$startLoading();
this.queryForm.zrzbsm = this.sqywInfo.zrzbsm;
selectHQjdc({...this.queryForm, ...this.pageData }).then((res) => {
selectHQjdc({ ...this.queryForm, ...this.pageData }).then((res) => {
this.$endLoading();
if (res.code === 200) {
let { total, records } = res.result;
......@@ -109,31 +109,31 @@
} else {
store.dispatch('user/refreshPage', true);
}
this.$popupCacel()
} else {
this.$message.error(res.message);
}
this.$popupCacel()
})
},
handleSelectionChange (val) {
this.bdcdysz = val;
},
select(selection, row){
if(this.sqywInfo.sqywdylx=="1"){
select (selection, row) {
if (this.sqywInfo.sqywdylx == "1") {
// 清除 所有勾选项
this.$refs.table.clearSelection()
// 当表格数据都没有被勾选的时候 就返回
// 主要用于将当前勾选的表格状态清除
if(selection.length == 0) return
if (selection.length == 0) return
this.$refs.table.toggleRowSelection(row, true);
}
},
handleRowClick(row){
handleRowClick (row) {
// 如果状态是1,那就是单选
if(this.sqywInfo.sqywdylx=="1"){
if (this.sqywInfo.sqywdylx == "1") {
const bdcdysz = this.bdcdysz
this.$refs.table.clearSelection()
if( bdcdysz.length == 1 ) {
if (bdcdysz.length == 1) {
bdcdysz.forEach(item => {
// 判断 如果当前的一行被勾选, 再次点击的时候就会取消选中
if (item == row) {
......@@ -148,7 +148,7 @@
else {
this.$refs.table.toggleRowSelection(row, true);
}
}else{
} else {
this.$refs.table.toggleRowSelection(row);
}
},
......
......@@ -80,7 +80,7 @@
</div>
</template>
<script>
import { getCollectBiz, getleftMenu, getNextNode,getRepairBiz, addCollectBiz, deleteCollectBiz } from "@/api/ywbl"
import { getCollectBiz, getleftMenu, getNextNode, getRepairBiz, addCollectBiz, deleteCollectBiz } from "@/api/ywbl"
export default {
data () {
return {
......@@ -127,20 +127,20 @@
},
//申请业务类型菜单事件
sqywlxClick (item) {
console.log("item",item);
console.log("item", item);
this.btnDisabled = true;
this.selectType = item.type;
console.log("this.sqywQllxList",this.sqywQllxList);
console.log("this.sqywQllxList", this.sqywQllxList);
this.sqywQllxList.forEach(item => {
if (item.check) item.check = false;
});
if(this.selectType == 'amend'){
if (this.selectType == 'amend') {
this.getRepairBiz();
}
},
//权利类型菜单事件
qllxClick (index) {
console.log("业务",index);
console.log("业务", index);
this.btnDisabled = true;
this.sqywQllxList.forEach(item => {
if (item.check) item.check = false;
......@@ -153,7 +153,6 @@
},
//选择申请业务事件
selectSqywClick (data, index) {
console.log("选择",data,index);
data.forEach(item => {
item.selected = false;
});
......@@ -188,12 +187,10 @@
getRepairBiz () {
getRepairBiz().then(res => {
if (res) {
console.log("res",res);
console.log("res", res);
this.djqxList = res.result;
};
}
})
},
//双击事件
dblclick (data, index, item) {
......@@ -207,7 +204,6 @@
},
//收藏操作
handleCollection (item) {
console.log("item收藏",item);
let that = this
if (item.userCollect == '2') {
addCollectBiz(item.bsmSqyw).then(res => {
......@@ -283,10 +279,10 @@
this.openDialog()
},
openDialog () {
console.log("this.selectParam",this.selectParam);
console.log("this.selectParam", this.selectParam);
let title = "申请业务:" + this.selectParam?.djywmc ? this.selectParam?.djywmc : '';
this.$popupDialog(title, "ywbl/ywsq/selectBdc", { 'sqywInfo': this.selectParam }, "80%")
this.$popupDialog(title, "ywbl/ywsq/selectBdc", { 'sqywInfo': this.selectParam }, "85%")
},
loadView (view) {
return r => require.ensure([], () => r(require(`./components/${view}/${view}.vue`)))
......