0ce200f2 by renchao@pashanhoo.com

Merge branch 'dev'

2 parents b5292135 b16ca7c3
@union:registry=http://core.pashanhoo.com:8932/repository/npm-hosted/
\ No newline at end of file
......@@ -30,7 +30,8 @@
"vue-router": "3.0.2",
"vue-seamless-scroll": "^1.1.23",
"vuex": "3.1.0",
"x2js": "^3.4.4"
"x2js": "^3.4.4",
"@union/gis-sdk": "1.1.0"
},
"devDependencies": {
"@vue/cli-plugin-babel": "4.4.4",
......@@ -83,4 +84,4 @@
"type": "git",
"url": "git+https://github.com/PanJiaChen/vue-element-admin.git"
}
}
\ No newline at end of file
}
......
[
{
"label":"不动产",
"id":"1-1",
"alpha":100,
"children":[
{
"label":"行政区划",
"id": "XZQH",
"url": "http://192.168.2.252:6080/arcgis/rest/services/bdc/XZQH/MapServer",
"alpha":100,
"children":[
{
"label":"行政区",
"id": "XZQH_0",
"url": "http://192.168.2.252:6080/arcgis/rest/services/bdc/XZQH/MapServer",
"alpha":100
},
{
"label":"行政区界限",
"id": "XZQH_1",
"url": "http://192.168.2.252:6080/arcgis/rest/services/bdc/XZQH/MapServer",
"alpha":100
}
]
},
{
"label":"地籍分区",
"id": "DJFQ",
"url": "http://192.168.2.252:6080/arcgis/rest/services/bdc/DJFQ/MapServer",
"alpha":100,
"children":[
{
"label":"地籍区",
"id": "DJFQ_0",
"url": "http://192.168.2.252:6080/arcgis/rest/services/bdc/DJFQ/MapServer",
"alpha":100
},
{
"label":"地籍子区",
"id": "DJFQ_1",
"url": "http://192.168.2.252:6080/arcgis/rest/services/bdc/DJFQ/MapServer",
"alpha":100
}
]
},
{
"label":"不动产单元",
"id": "bdcDY",
"url": "http://192.168.2.252:6080/arcgis/rest/services/bdc/BDCDY/MapServer",
"alpha":100,
"children":[
{
"label":"界址点",
"id": "bdcDY_0",
"url": "http://192.168.2.252:6080/arcgis/rest/services/bdc/BDCDY/MapServer",
"alpha":100
},
{
"label":"界址线",
"id": "bdcDY_1",
"url": "http://192.168.2.252:6080/arcgis/rest/services/bdc/BDCDY/MapServer",
"alpha":100
},
{
"label":"林权",
"id": "bdcDY_2",
"url": "http://192.168.2.252:6080/arcgis/rest/services/bdc/BDCDY/MapServer",
"alpha":100
},
{
"label":"自然幢",
"id": "ZRZ",
"name": "zrz",
"url": "http://192.168.2.252:6080/arcgis/rest/services/bdc/BDCDY/MapServer",
"alpha":100
},
{
"label":"构筑物",
"id": "bdcDY_4",
"url": "http://192.168.2.252:6080/arcgis/rest/services/bdc/BDCDY/MapServer",
"alpha":100
},
{
"label":"点状定着物",
"id": "bdcDY_5",
"url": "http://192.168.2.252:6080/arcgis/rest/services/bdc/BDCDY/MapServer",
"alpha":100
},
{
"label":"线状定着物",
"id": "bdcDY_6",
"url": "http://192.168.2.252:6080/arcgis/rest/services/bdc/BDCDY/MapServer",
"alpha":100
},
{
"label":"面状定着物",
"id": "bdcDY_7",
"url": "http://192.168.2.252:6080/arcgis/rest/services/bdc/bdcDY_610100/MapServer",
"alpha":100
},
{
"label":"宗地",
"id": "ZDJBXX",
"name": "zd",
"url": "http://192.168.2.252:6080/arcgis/rest/services/bdc/BDCDY/MapServer",
"alpha":100,
"fields": [ "YSDM", "ZDDM", "BDCDYH", "ZDTZM", "ZL", "ZDMJ", "MJDW", "QLLX", "QLXZ" ]
},
{
"label":"宗地历史",
"id": "ZDJBXXLS",
"name": "zdls",
"url": "http://192.168.2.252:6080/arcgis/rest/services/bdc/BDCDY/MapServer",
"alpha":100,
"fields": [ "YSDM", "ZDDM", "BDCDYH", "ZDTZM", "ZL", "ZDMJ", "MJDW", "QLLX", "QLXZ" ]
},
{
"label":"宗海",
"id": "ZHJBXX",
"url": "http://192.168.2.252:6080/arcgis/rest/services/bdc/BDCDY/MapServer",
"alpha":100
}
]
},
{
"label":"自然地理",
"id": "ZRDL",
"url": "http://192.168.2.252:6080/arcgis/rest/services/bdc/ZRDL/MapServer",
"alpha":100,
"children":[
{
"label":"水系",
"id": "ZRDL_0",
"url": "http://192.168.2.252:6080/arcgis/rest/services/bdc/ZRDL/MapServer",
"alpha":100
},
{
"label":"植被",
"id": "ZRDL_1",
"url": "http://192.168.2.252:6080/arcgis/rest/services/bdc/ZRDL/MapServer",
"alpha":100
},
{
"label":"辅助面",
"id": "ZRDL_2",
"url": "http://192.168.2.252:6080/arcgis/rest/services/bdc/ZRDL/MapServer",
"alpha":100
}
]
}
]
},
{
"label":"厦门数据",
"id":"2-1",
"alpha":100,
"children":[
{
"label":"规划用地",
"id": "ghyd",
"url": "http://192.168.2.252:6080/arcgis/rest/services/xiamen/ghyd/MapServer",
"alpha":100,
"children":[
{
"label":"规划用地",
"id": "ghyd_0",
"url": "http://192.168.2.252:6080/arcgis/rest/services/xiamen/ghyd/MapServer",
"alpha":100,
"fields": [ "地块编号", "规划现状", "行政区", "维护文号", "规划用地性质代号", "规划用地性质名称", "所属管理单元", "所属编制单元" ]
}
]
},
{
"label":"基本农田",
"id": "jbnt",
"url": "http://192.168.2.252:6080/arcgis/rest/services/xiamen/jbnt/MapServer",
"alpha":100,
"children":[
{
"label":"基本农田",
"id": "jbnt_0",
"url": "http://192.168.2.252:6080/arcgis/rest/services/xiamen/jbnt/MapServer",
"alpha":100,
"fields": [ "编制单位", "权属单位代码", "权属单位名称", "座落单位代码", "座落单位名称", "地类名称", "基本农田面积" ]
}
]
},
{
"label":"行政区划",
"id": "xmxzq",
"url": "http://192.168.2.252:6080/arcgis/rest/services/xiamen/xmxzq/MapServer",
"alpha":100,
"children":[
{
"label":"村级行政区划",
"id": "xmxzq_0",
"url": "http://192.168.2.252:6080/arcgis/rest/services/xiamen/xmxzq/MapServer",
"alpha":100
},
{
"label":"镇级行政区划",
"id": "xmxzq_1",
"url": "http://192.168.2.252:6080/arcgis/rest/services/xiamen/xmxzq/MapServer",
"alpha":100
},
{
"label":"区级行政区划",
"id": "xmxzq_2",
"url": "http://192.168.2.252:6080/arcgis/rest/services/xiamen/xmxzq/MapServer",
"alpha":100
}
]
},
{
"label":"现状建筑",
"id": "xzjz",
"url": "http://192.168.2.252:6080/arcgis/rest/services/xiamen/xzjz/MapServer",
"alpha":100,
"children":[
{
"label":"现状建筑",
"id": "xzjz_0",
"url": "http://192.168.2.252:6080/arcgis/rest/services/xiamen/xzjz/MapServer",
"alpha":100,
"fields": [ "SJLY", "PRODATE", "GXSJ", "DWMC", "AQDJ", "DWDM", "ZXDX", "ZXDY" ]
}
]
},
{
"label":"用地",
"id": "ypyd",
"url": "http://192.168.2.252:6080/arcgis/rest/services/xiamen/ypyd/MapServer",
"alpha":100,
"children":[
{
"label":"用地",
"id": "ypyd_0",
"url": "http://192.168.2.252:6080/arcgis/rest/services/xiamen/ypyd/MapServer",
"alpha":100
},
{
"label":"选址",
"id": "ypyd_0",
"url": "http://192.168.2.252:6080/arcgis/rest/services/xiamen/ypyd/MapServer",
"alpha":100
},
{
"label":"红线",
"id": "ypyd_0",
"url": "http://192.168.2.252:6080/arcgis/rest/services/xiamen/ypyd/MapServer",
"alpha":100
},
{
"label":"道路",
"id": "ypyd_0",
"url": "http://192.168.2.252:6080/arcgis/rest/services/xiamen/ypyd/MapServer",
"alpha":100
}
]
}
]
}
]
\ No newline at end of file
/*
* @Description:
* @Autor: renchao
* @LastEditTime: 2023-07-27 10:05:25
* @LastEditTime: 2023-08-09 14:32:38
*/
import request from '@/utils/request'
let SERVER = window.config ? window.config : JSON.parse(localStorage.getItem('ApiUrl'))
......@@ -280,3 +280,14 @@ export function startTogetherFlow (data) {
data
})
}
/**
* @description: 据不动产单元号查询宗地基本信息
* @param {*} data
* @author: renchao
*/
export function getZdInfo (bdcdyid) {
return request({
url: SERVER.SERVERAPI + '/rest/business/workFlow/getZdInfo?bdcdyid=' + bdcdyid,
method: 'post'
})
}
......
......@@ -18,7 +18,8 @@
inline-message
:show-message="false"
:class="{ readonly: editDisabled }"
class="loadingtext">
class="loadingtext"
>
<div class="slxx_con" v-if="isShow" :class="flag ? 'formMarginBot0' : ''">
<div class="slxx_title title-block">
补录信息
......@@ -47,24 +48,29 @@
<el-form-item
label="查封不动产权信息:"
prop="ztQlxx.bdcqzh"
:rules="rules.ztQlxxrules">
:rules="rules.ztQlxxrules"
>
<select-table
v-model="ruleForm.ztQlxx"
:table-width="730"
:tableData="ztQlxxList"
:props="props"
@change="ztQlxxchange">
@change="ztQlxxchange"
>
<el-table-column
prop="qllxmc"
width="130"
label="权利类型"></el-table-column>
label="权利类型"
></el-table-column>
<el-table-column
prop="bdcqzh"
width="160"
label="不动产权证书"></el-table-column>
label="不动产权证书"
></el-table-column>
<el-table-column
prop="qlrmc"
label="被执行人"></el-table-column>
label="被执行人"
></el-table-column>
<el-table-column prop="mjmc" label="面积"></el-table-column>
<el-table-column prop="ytmc" label="用途"></el-table-column>
<el-table-column prop="zl" label="坐落"></el-table-column>
......@@ -75,9 +81,7 @@
<div class="triangle"></div>
</div>
<el-row :gutter="10">
</el-row>
<el-row :gutter="10"> </el-row>
<el-row :gutter="10" v-if="ruleForm.ztQlxx != null">
<el-col :span="8">
<el-form-item label="权利人:">
......@@ -136,21 +140,25 @@
label="上手权利信息:"
prop="ssQlxx.bdcqzh"
:rules="rules.ssQlxxrules"
v-if="ruleForm.cfdj.sfbxf == '1'">
v-if="ruleForm.cfdj.sfbxf == '1'"
>
<select-table
v-model="ruleForm.ssQlxx"
:table-width="730"
:tableData="ssQlxxList"
:props="props"
@change="ssQlxxchange">
@change="ssQlxxchange"
>
<el-table-column
prop="qllxmc"
width="130"
label="权利类型"></el-table-column>
label="权利类型"
></el-table-column>
<el-table-column
prop="bdcqzh"
width="160"
label="不动产权证书"></el-table-column>
label="不动产权证书"
></el-table-column>
<el-table-column prop="qlrmc" label="权利人"></el-table-column>
<el-table-column prop="mjmc" label="面积"></el-table-column>
<el-table-column prop="ytmc" label="用途"></el-table-column>
......@@ -170,7 +178,8 @@
<el-form-item
label="业务号:"
prop="qlxx.ywh"
:rules="rules.ywhrules">
:rules="rules.ywhrules"
>
<el-input v-model="ruleForm.qlxx.ywh"></el-input>
</el-form-item>
</el-col>
......@@ -189,8 +198,12 @@
<el-col :span="8">
<el-form-item label="是否被续封:"
prop="cfdj.sfbxf"
:rules="rules.sfbxfrules">
<el-radio-group v-model="ruleForm.cfdj.sfbxf" @change="djlxchange">
:rules="rules.sfbxfrules"
>
<el-radio-group
v-model="ruleForm.cfdj.sfbxf"
@change="djlxchange"
>
<el-radio label="1"></el-radio>
<el-radio label="2"></el-radio>
</el-radio-group>
......@@ -208,7 +221,8 @@
v-for="item in qsztlist"
:key="item.dcode"
:label="item.dname"
:value="item.dcode"></el-option>
:value="item.dcode"
></el-option>
</el-select>
</el-form-item>
</el-col>
......@@ -233,7 +247,8 @@
v-for="item in dictData['A32']"
:key="item.dcode"
:label="item.dname"
:value="item.dcode"></el-option>
:value="item.dcode"
></el-option>
</el-select>
</el-form-item>
</el-col>
......@@ -250,7 +265,8 @@
type="date"
placeholder="选择日期"
value-format="yyyy-MM-dd HH:mm:ss"
format="yyyy-MM-dd"></el-date-picker>
format="yyyy-MM-dd"
></el-date-picker>
</el-form-item>
</el-col>
<el-col :span="8">
......@@ -261,7 +277,8 @@
type="date"
placeholder="选择日期"
value-format="yyyy-MM-dd HH:mm:ss"
format="yyyy-MM-dd"></el-date-picker>
format="yyyy-MM-dd"
></el-date-picker>
</el-form-item>
</el-col>
<el-col :span="8">
......@@ -287,7 +304,8 @@
<el-form-item
label="登记机构:"
prop="qlxx.djjg"
:rules="rules.djjgrules">
:rules="rules.djjgrules"
>
<el-input v-model="ruleForm.qlxx.djjg"></el-input>
</el-form-item>
</el-col>
......@@ -296,7 +314,8 @@
<el-form-item
label="登簿人:"
prop="qlxx.dbr"
:rules="rules.dbrrules">
:rules="rules.dbrrules"
>
<el-input v-model="ruleForm.qlxx.dbr"></el-input>
</el-form-item>
</el-col>
......@@ -304,14 +323,16 @@
<el-form-item
label="登记时间:"
prop="qlxx.djsj"
:rules="rules.djsjrules">
:rules="rules.djsjrules"
>
<el-date-picker
v-model="ruleForm.qlxx.djsj"
type="date"
placeholder="选择日期"
class="width100"
value-format="yyyy-MM-dd HH:mm:ss"
format="yyyy-MM-dd">
format="yyyy-MM-dd"
>
</el-date-picker>
</el-form-item>
</el-col>
......@@ -355,7 +376,8 @@
type="date"
placeholder="选择日期"
value-format="yyyy-MM-dd HH:mm:ss"
format="yyyy-MM-dd">
format="yyyy-MM-dd"
>
</el-date-picker>
</el-form-item>
</el-col>
......@@ -370,150 +392,157 @@
</div>
</template>
<script>
import { mapGetters } from "vuex";
import { init, getSsQlxx, getZtQlxx, getQlxxByQlxxBsm, save } from "@/api/djbRepair.js";
import qlrCommonTable from "@/views/djbworkflow/components/qlrCommonTable";
import ywrCommonTable from "@/views/djbworkflow/components/ywrCommonTable";
import tdytTable from "@/views/workflow/components/tdytTable";
import selectTable from "@/components/selectTable/index.vue";
export default {
components: { qlrCommonTable, ywrCommonTable, tdytTable, selectTable },
computed: {
...mapGetters(["dictData", "flag"]),
// 根据流程判断表单是否为只读
editDisabled () {
if (!this.ableOperation) {
//只读状态
return true;
}
return false;
},
import { mapGetters } from "vuex";
import {
init,
getSsQlxx,
getZtQlxx,
getQlxxByQlxxBsm,
save,
} from "@/api/djbRepair.js";
import qlrCommonTable from "@/views/djbworkflow/components/qlrCommonTable";
import ywrCommonTable from "@/views/djbworkflow/components/ywrCommonTable";
import tdytTable from "@/views/workflow/components/tdytTable";
import selectTable from "@/components/selectTable/index.vue";
export default {
components: { qlrCommonTable, ywrCommonTable, tdytTable, selectTable },
computed: {
...mapGetters(["dictData", "flag"]),
// 根据流程判断表单是否为只读
editDisabled() {
if (!this.ableOperation) {
//只读状态
return true;
}
return false;
},
data () {
return {
//表单是否可操作
props: {
label: "bdcqzh",
value: "bdcdyid",
},
data() {
return {
//表单是否可操作
props: {
label: "bdcqzh",
value: "bdcdyid",
},
propsParam: this.$attrs,
key: 0,
isShow: false,
ssqlxxshow: true,
disabled: true,
czrOptions: [],
ruleForm: {},
rules: {},
// 登记类型
djlxlist: [
{
dcode: "100",
dname: "首次登记",
},
{
dcode: "200",
dname: "转移登记",
},
{
dcode: "300",
dname: "变更登记",
},
{
dcode: "500",
dname: "更正登记",
},
propsParam: this.$attrs,
key: 0,
isShow: false,
ssqlxxshow: true,
disabled: true,
czrOptions: [],
ruleForm: {},
rules: {},
// 登记类型
djlxlist: [
{
dcode: "100",
dname: "首次登记",
},
{
dcode: "200",
dname: "转移登记",
},
{
dcode: "300",
dname: "变更登记",
},
{
dcode: "500",
dname: "更正登记",
},
{
dcode: "901",
dname: "补证",
},
{
dcode: "902",
dname: "换证",
},
],
{
dcode: "901",
dname: "补证",
},
{
dcode: "902",
dname: "换证",
},
],
// 权属状态
qsztlist: [
{
dcode: "1",
dname: "现势",
},
{
dcode: "2",
dname: "历史",
},
// 权属状态
qsztlist: [
{
dcode: "1",
dname: "现势",
},
{
dcode: "2",
dname: "历史",
},
],
// 是否被续封
sfbxflist: [
{
dcode: "0",
dname: "否",
},
{
dcode: "1",
dname: "是",
},
],
ableOperation: false,
//传递参数\
ssQlxxList: [],
ztQlxxList: [],
rules: {
ztQlxxrules: [
{ required: true, message: "抵押不动产信息", trigger: "blur" },
],
// 是否被续封
sfbxflist: [
{
dcode: "0",
dname: "否",
},
{
dcode: "1",
dname: "是",
},
ssQlxxrules: [
{ required: true, message: "上手权利信息", trigger: "blur" },
],
ableOperation: false,
//传递参数\
ssQlxxList: [],
ztQlxxList: [],
rules: {
ztQlxxrules: [
{ required: true, message: "抵押不动产信息", trigger: "blur" },
],
ssQlxxrules: [
{ required: true, message: "上手权利信息", trigger: "blur" },
],
bdcqzhrules: [
{ required: true, message: "不动产登记证明号", trigger: "blur" },
],
djjgrules: [{ required: true, message: "登记机构", trigger: "blur" }],
dbrrules: [{ required: true, message: "登簿人", trigger: "blur" }],
djsjrules: [{ required: true, message: "登记时间", trigger: "blur" }],
ywhrules: [{ required: true, message: "业务号", trigger: "blur" }],
sfbxfrules: [
{ required: true, message: "是否被续封", trigger: "change" },
],
},
};
},
created () {
this.loadData();
bdcqzhrules: [
{ required: true, message: "不动产登记证明号", trigger: "blur" },
],
djjgrules: [{ required: true, message: "登记机构", trigger: "blur" }],
dbrrules: [{ required: true, message: "登簿人", trigger: "blur" }],
djsjrules: [{ required: true, message: "登记时间", trigger: "blur" }],
ywhrules: [{ required: true, message: "业务号", trigger: "blur" }],
sfbxfrules: [
{ required: true, message: "是否被续封", trigger: "change" },
],
},
};
},
created() {
this.loadData();
},
mounted() {
this.ableOperation = this.$parent.ableOperation;
},
methods: {
/**
* @description: ztQlxxchange
* @param {*} val
* @author: renchao
*/
ztQlxxchange(val) {
this.ruleForm.ztQlxx = val;
},
mounted () {
this.ableOperation = this.$parent.ableOperation;
/**
* @description: ssQlxxchange
* @param {*} val
* @author: renchao
*/
ssQlxxchange(val) {
this.ruleForm.ssQlxx = val;
this.ruleForm.qlxx.ssywh = val.ywh;
this.ssQlxxchangediolog(val);
},
methods: {
/**
* @description: ztQlxxchange
* @param {*} val
* @author: renchao
*/
ztQlxxchange (val) {
this.ruleForm.ztQlxx = val;
},
/**
* @description: ssQlxxchange
* @param {*} val
* @author: renchao
*/
ssQlxxchange (val) {
this.ruleForm.ssQlxx = val;
this.ruleForm.qlxx.ssywh = val.ywh;
this.ssQlxxchangediolog(val);
},
// 弹框事件
ssQlxxchangediolog (val) {
this.$confirm("是否将上手权利信息同步到表单", "提示", {
iconClass: "el-icon-question", //自定义图标样式
confirmButtonText: "确认", //确认按钮文字更换
cancelButtonText: "取消", //取消按钮文字更换
showClose: true, //是否显示右上角关闭按钮
type: "warning",
}).then(() => {
// 弹框事件
ssQlxxchangediolog(val) {
this.$confirm("是否将上手权利信息同步到表单", "提示", {
iconClass: "el-icon-question", //自定义图标样式
confirmButtonText: "确认", //确认按钮文字更换
cancelButtonText: "取消", //取消按钮文字更换
showClose: true, //是否显示右上角关闭按钮
type: "warning",
})
.then(() => {
getQlxxByQlxxBsm({ qlxxBsm: val.bsmQlxx }).then((res) => {
if (res.code == 200) {
this.nowlist = res.result;
......@@ -541,114 +570,115 @@
});
}
});
}).catch(() => {
})
.catch(() => {
this.$message({
type: "info",
message: "已取消同步",
});
})
},
/**
* @description: djlxchange
* @param {*} val
* @author: renchao
*/
djlxchange (val) {
if (val == null || val == 100) {
this.ssqlxxshow = false;
} else {
this.ssqlxxshow = true;
}
},
/**
* @description: loadData
* @author: renchao
*/
loadData () {
this.$startLoading();
this.propsParam.isEdit = this.$parent.isEdit;
init(this.propsParam).then((res) => {
if (res.code == 200) {
this.ruleForm = res.result;
this.isShow = true;
let djlx = this.ruleForm.qlxx.djlx;
this.$endLoading();
if (djlx == null || djlx == 100) {
this.ssqlxxshow = false;
}
//获取主体信息
getSsQlxx({
bdcdyid: this.propsParam.bdcdyid,
qllx: this.propsParam.qllx,
bsmQlxx: this.ruleForm.qlxx.bsmQlxx,
}).then((res) => {
if (res.code == 200) {
this.ssQlxxList = res.result;
}
});
//获取上手信息
getZtQlxx({
bdcdyid: this.propsParam.bdcdyid,
bsmQlxx: this.ruleForm.qlxx.bsmQlxx,
}).then((res) => {
if (res.code == 200) {
this.ztQlxxList = res.result;
}
});
}
});
},
// // 更新土地用途信息
// upDateTdytxxList(val) {
// this.ruleForm.tdytqxList && (this.ruleForm.tdytqxList = _.cloneDeep(val));
// this.key++;
// },
// // 更新权利人信息
// upDateQlrxxList(val) {
// this.ruleForm.qlrData && (this.ruleForm.qlrData = _.cloneDeep(val));
// this.czrOptions = this.ruleForm.qlrData;
// this.key++;
// },
// // 更新义务人信息
// upDateYwrxxList(val) {
// this.ruleForm.ywrData && (this.ruleForm.ywrData = _.cloneDeep(val));
// this.key++;
// },
/**
* @description: onSubmit
* @author: renchao
*/
onSubmit () {
this.$refs.ruleForm.validate((valid) => {
console.log("valid", valid);
if (valid) {
save(this.ruleForm).then((res) => {
if (res.code === 200) {
this.$message({
showClose: true,
message: "保存成功!",
type: "success",
});
this.$parent.changeywh();
this.$store.dispatch("user/refreshPage", true);
} else {
this.$message({
showClose: true,
message: res.message,
type: "error",
});
}
});
} else {
return false;
},
/**
* @description: djlxchange
* @param {*} val
* @author: renchao
*/
djlxchange(val) {
if (val == null || val == 100) {
this.ssqlxxshow = false;
} else {
this.ssqlxxshow = true;
}
},
/**
* @description: loadData
* @author: renchao
*/
loadData() {
this.$startLoading();
this.propsParam.isEdit = this.$parent.isEdit;
init(this.propsParam).then((res) => {
if (res.code == 200) {
this.ruleForm = res.result;
this.isShow = true;
let djlx = this.ruleForm.qlxx.djlx;
this.$endLoading();
if (djlx == null || djlx == 100) {
this.ssqlxxshow = false;
}
});
},
//获取主体信息
getSsQlxx({
bdcdyid: this.propsParam.bdcdyid,
qllx: this.propsParam.qllx,
bsmQlxx: this.ruleForm.qlxx.bsmQlxx,
}).then((res) => {
if (res.code == 200) {
this.ssQlxxList = res.result;
}
});
//获取上手信息
getZtQlxx({
bdcdyid: this.propsParam.bdcdyid,
bsmQlxx: this.ruleForm.qlxx.bsmQlxx,
}).then((res) => {
if (res.code == 200) {
this.ztQlxxList = res.result;
}
});
}
});
},
// // 更新土地用途信息
// upDateTdytxxList(val) {
// this.ruleForm.tdytqxList && (this.ruleForm.tdytqxList = _.cloneDeep(val));
// this.key++;
// },
// // 更新权利人信息
// upDateQlrxxList(val) {
// this.ruleForm.qlrData && (this.ruleForm.qlrData = _.cloneDeep(val));
// this.czrOptions = this.ruleForm.qlrData;
// this.key++;
// },
// // 更新义务人信息
// upDateYwrxxList(val) {
// this.ruleForm.ywrData && (this.ruleForm.ywrData = _.cloneDeep(val));
// this.key++;
// },
/**
* @description: onSubmit
* @author: renchao
*/
onSubmit() {
this.$refs.ruleForm.validate((valid) => {
console.log("valid", valid);
if (valid) {
save(this.ruleForm).then((res) => {
if (res.code === 200) {
this.$message({
showClose: true,
message: "保存成功!",
type: "success",
});
this.$parent.changeywh();
this.$store.dispatch("user/refreshPage", true);
} else {
this.$message({
showClose: true,
message: res.message,
type: "error",
});
}
});
} else {
return false;
}
});
},
};
},
};
</script>
<style scoped lang="scss">
@import "~@/styles/public.scss";
@import "~@/styles/slxx/slxx.scss";
@import "~@/styles/public.scss";
@import "~@/styles/slxx/slxx.scss";
</style>
......
......@@ -375,7 +375,7 @@
</el-radio-group>
</el-form-item>
</el-col>
<el-col :span="6" v-show="ruleForm.qlxx.gyfs != '0'">
<!-- <el-col :span="6" v-show="ruleForm.qlxx.gyfs != '0'">
<el-form-item label="是否分别持证:">
<el-radio-group
v-model="ruleForm.qlxx.sqfbcz"
......@@ -401,7 +401,7 @@
</el-option>
</el-select>
</el-form-item>
</el-col>
</el-col> -->
</el-row>
<qlrCommonTable
:tableData="ruleForm.qlrData"
......
......@@ -345,7 +345,7 @@
</el-radio-group>
</el-form-item>
</el-col>
<el-col :span="6" v-show="ruleForm.qlxx.gyfs != '0'">
<!-- <el-col :span="6" v-show="ruleForm.qlxx.gyfs != '0'">
<el-form-item label="是否分别持证:">
<el-radio-group
v-model="ruleForm.qlxx.sqfbcz"
......@@ -375,7 +375,7 @@
</el-option>
</el-select>
</el-form-item>
</el-col>
</el-col> -->
</el-row>
<qlrCommonTable
:tableData="ruleForm.qlrData"
......@@ -408,7 +408,7 @@
</template>
<script>
import { mapGetters } from "vuex";
import ywmix from "@/views/ywbl/mixin/index";
// import ywmix from "@/views/ywbl/mixin/index";
import {
init,
getSsQlxx,
......@@ -421,7 +421,7 @@ import ywrCommonTable from "@/views/djbworkflow/components/ywrCommonTable";
import tdytTable from "@/views/workflow/components/tdytTable";
import selectTable from "@/components/selectTable/index.vue";
export default {
mixins: [ywmix],
// mixins: [ywmix],
components: { qlrCommonTable, ywrCommonTable, tdytTable, selectTable },
computed: {
...mapGetters(["dictData", "flag"]),
......@@ -712,24 +712,17 @@ export default {
return false;
}
this.ruleForm.qlrData[0].sfczr = "1";
}
if (this.ruleForm.qlxx.gyfs == "1") {
//是否分别持证
if (this.ruleForm.qlxx.sqfbcz == "1") {
//是
this.ruleForm.qlrData.forEach((item, index) => {
item.sfczr = "1";
});
} else {
this.ruleForm.qlrData.forEach((item, index) => {
if (item.zjh == this.ruleForm.czr) {
item.sfczr = "1";
} else {
item.sfczr = "0";
}
});
}
}
} else {
if (this.ruleForm.qlrData.length <= 1) {
this.$message({
showClose: true,
message: "共有方式:共同所有,按份所有,其他所有,权利人必须是两个以上",
type: "error",
});
return false;
}
}
save(this.ruleForm).then((res) => {
if (res.code === 200) {
this.$message({
......
<!--
* @Description:
* @Autor: renchao
* @LastEditTime: 2023-07-24 14:11:31
* @LastEditTime: 2023-08-09 10:09:12
-->
<template>
<div class="from-clues">
......@@ -20,7 +20,7 @@
<el-col :span="18" class="btnColRight">
<el-form-item>
<el-button type="primary" icon="el-icon-search" @click="handleSearch">查询</el-button>
<el-button @click="moreQueryClick()">高级查询</el-button>
<!-- <el-button @click="moreQueryClick()">高级查询</el-button> -->
</el-form-item>
</el-col>
</el-row>
......
<!--
* @Description:
* @Autor: renchao
* @LastEditTime: 2023-07-12 14:20:58
-->
<template>
<div>
图形定位
<div class="gis">
<div class="main-container" ref="main">
<div class="flex-transverse" ref="transverse">
<div id="arcgisMap0" class="flex-single"></div>
</div>
<div class="flex-vertical" ref="vertical"></div>
</div>
<el-card class="box-card">
<div v-for="( item, i ) in curr" :key="i" class="text item">
<el-row>
<el-col :span="10">
<div class="grid-content">{{ item.key }}</div>
</el-col>
<el-col :span="14">
<div class="grid-content">{{ item.value }}</div>
</el-col>
</el-row>
</div>
</el-card>
</div>
</template>
<script>
<script>
import apiWrapper from '@union/gis-sdk';
import layerJson from '@/api/json/layer.json';
import axios from 'axios';
import { log } from 'bpmn-js-token-simulation';
export default {
props: {
formData: {
type: Object,
default: {}
default: () => {
return {}
}
}
},
data () {
return {
curr: []
}
},
mounted () {
let doc = document.querySelector('.gis');
this.$nextTick(() => {
Object.assign(doc.style, { width: doc.clientWidth + 'px', height: '700px' });
})
},
created () {
let { special2 } = apiWrapper.thematic, { wrapper } = apiWrapper, id = this.formData.bsmZd
wrapper.reduction(special2).then(() => {
let { children } = layerJson[0].children[2], i = 0, o, name, url, { Layer } = wrapper;
for (; o = children[i]; i++) if (o.id === 'ZDJBXX' && (name = o.name) === 'zd') { url = o.url + '/' + i; break; }
Layer.createLayer([{ type: 'FeatureServer', url, name, spatial: true, visible: false }]).then(() => {
this.positioning(id, name);
});
});
},
methods: {
positioning (id, name) {
let { Layer } = apiWrapper.wrapper;
Layer.attrGraph({
grap: id, name, where: { id }, sym: { color: [0, 139, 0, 100], outline: { color: [0, 139, 0, 150], width: 2 } },
callback: d => {
d.length ? this.analysis(id) : this.$message.error(' 暂无图形');
}
});
},
analysis (id) {
let { Views, Action } = apiWrapper.wrapper;
Views.grapsExtent(id);
setTimeout(() => { Action.gighlight({ name: id, about: 1000 }) }, 1500);
axios.get(window._config.services.management + '/bdcqjdc/rest/zd/qjZdjbxx/getQjZdjbxxDetailById', { params: { id } }).then(d => {
if (d.status !== 200) return;
let { result = {} } = d.data, data = [];
Object.keys(result).forEach(e => { result[e] && data.push({ key: e, value: result[e] }) });
this.curr.splice(0, ...data);
document.querySelector('.box-card').style.display = 'block';
});
}
}
}
</script>
<style scoped lang='scss'>
</style>
\ No newline at end of file
<style>
.main-container {
display: -webkit-flex;
display: flex;
-webkit-flex-wrap: wrap;
flex-wrap: wrap;
width: 100%;
height: 100%;
}
.flex-transverse {
display: -webkit-flex;
display: flex;
-webkit-flex-wrap: wrap;
flex-wrap: wrap;
width: 100%;
height: 100%;
}
.flex-single {
width: 100%;
height: 100%;
background-color: white;
}
.box-card {
background-color: rgba(255, 255, 255, 0.5);
border-radius: 8px;
top: 30px;
right: 30px;
position: absolute;
width: 16%;
padding: 10px;
display: none;
}
.el-row {
margin-bottom: 20px;
}
.el-col {
border-radius: 4px;
}
.grid-content {
border-radius: 4px;
min-height: 20px;
font-family: "Helvetica Neue";
}
.row-bg {
padding: 10px 0;
background-color: #f9fafc;
}
</style>
......
/*
* @Description:
* @Autor: renchao
* @LastEditTime: 2023-07-24 14:14:22
* @LastEditTime: 2023-08-09 15:13:38
*/
import { getPrintTemplateByCode } from "@/api/print";
import { uploadUndo } from "@/api/clxx";
......@@ -36,7 +36,7 @@ export default {
batchButtonName: '',
// 受理申请信息
slsq: {},
dqhj:""
dqhj: ""
}
},
mounted () {
......@@ -58,7 +58,7 @@ export default {
stepExpandInfo(formdata).then((res) => {
if (res.code === 200) {
this.leftButtonList = res.result.button;
if (res.result.properties&&res.result.properties.length) {
if (res.result.properties && res.result.properties.length) {
this.dqhj = res.result.properties[0].value
}
this.rightButtonList = res.result.operation;
......@@ -160,8 +160,8 @@ export default {
if (res.code === 200) {
this.$popupDialog('楼盘表', 'lpb/index', {
bsm: res.result[0],
onlyShow:false,
unitData:window.unitData
onlyShow: false,
unitData: window.unitData
}, '90%', true)
} else {
this.$message.error(res.message)
......@@ -173,7 +173,7 @@ export default {
break;
// 图形定位
case "B-TXDW":
this.$popupDialog('图形定位', 'workflow/components/dialog/txdw', {}, '60%', true)
this.$popupDialog('图形定位', 'workflow/components/dialog/txdw', { bsmZd: this.bsmZd }, '80%', true)
break;
case "back": //退回按钮
this.$popupDialog("退回", "workflow/components/th", {
......@@ -273,15 +273,15 @@ export default {
});
});
},
//发送下一个环节
//发送下一个环节
/**
* @description: 发送下一个环节
* @param {*} obj
* @author: renchao
*/
sendToNext (obj) {
sendToNext (obj) {
this.$popupDialog("转出", "djbworkflow/components/zc", {
obj:obj,
obj: obj,
bsmSlsq: this.bsmSlsq,
tabList: this.tabList
}, '800px', true)
......@@ -292,9 +292,9 @@ export default {
* @param {*} obj
* @author: renchao
*/
sendToEnd (obj) {
sendToEnd (obj) {
this.$popupDialog("转出", "djbworkflow/components/zc", {
obj:"",
obj: "",
bsmSlsq: this.bsmSlsq,
tabList: this.tabList
}, '800px', true)
......
<!--
* @Description:
* @Autor: renchao
* @LastEditTime: 2023-07-25 16:15:39
* @LastEditTime: 2023-08-09 14:54:20
-->
<template>
<div class="container">
......@@ -35,7 +35,7 @@
</div>
<!-- 表单内容区域 -->
<div class="rightContainer">
<div class="count">
<div class="count">
当前流程所在环节:
<span>{{ this.zbhj }}</span>
</div>
......@@ -64,7 +64,7 @@
<script>
import WorkFlow from "./mixin/index"
import publicFlow from "./mixin/public.js"
import { getStepFormInfo, unClaimTask } from "@/api/workFlow.js"
import { getStepFormInfo, unClaimTask, getZdInfo } from "@/api/workFlow.js"
import { getForm } from "./flowform"
import NoticeBar from "@/components/NoticeBar/index"
// import ProcessViewer from "./components/processViewer.vue"
......@@ -108,7 +108,9 @@
clxxTab: {},
ableOperation: false,
//页面监听时间
_beforeUnload_time: ""
_beforeUnload_time: "",
// 宗地id
bsmZd: ''
}
},
mounted () {
......@@ -131,6 +133,13 @@
*/
getCurrentSelectProps (val) {
this.currentSelectProps = val
getZdInfo(val.bdcdyid).then(res => {
this.bsmZd = res?.result[0]?.bsmZd
})
// getZdInfo(val.bdcdyid).then(res => {
// this.bsmZd = res?.result[0]?.bsmZd
// })
},
/**
* @description: beforeunloadHandler
......@@ -204,36 +213,36 @@
this.$popupDialog(title, "ywbl/ywsq/selectBdc", { 'djywbm': this.$route.query.sqywbm, 'isJump': true, 'sqywInfo': data }, "80%", true)
},
//选项卡切换事件
/**
* @description: 右侧表单选项卡事件
* @param {*} handleClick
* @author: renchao
*/
handleClick(a) {
let p = Object.keys(this.tabList[0]).filter(
(item) => item == "ableOperation"
);
if (p) {
this.ableOperation = this.tabList[a.index].ableOperation;
}
},
//选项卡切换事件
/**
* @description: 右侧表单选项卡事件
* @param {*} handleClick
* @author: renchao
*/
handleClick (a) {
let p = Object.keys(this.tabList[0]).filter(
(item) => item == "ableOperation"
);
if (p) {
this.ableOperation = this.tabList[a.index].ableOperation;
}
},
}
}
</script>
<style scoped lang="scss">
.rightContainer {
position: relative;
}
.count {
font-size: 14px;
position: absolute;
right: 25px;
top: 12px;
height: 30px;
span {
font-weight: 600;
color: #3498db;
.rightContainer {
position: relative;
}
.count {
font-size: 14px;
position: absolute;
right: 25px;
top: 12px;
height: 30px;
span {
font-weight: 600;
color: #3498db;
}
}
}
</style>
......
<!--
* @Description:
* @Autor: renchao
* @LastEditTime: 2023-04-13 10:32:28
* @LastEditTime: 2023-08-09 10:36:14
-->
<template>
<div class="from-clues">
......@@ -21,7 +21,7 @@
</el-input>
</el-form-item>
</el-col>
<el-col :span="4" class="btnColRight">
<el-col :span="14" class="btnColRight">
<el-form-item>
<el-button type="primary" native-type="submit" @click="handleSearch">查询</el-button>
</el-form-item>
......
/*
* @Description:
* @Autor: renchao
* @LastEditTime: 2023-04-18 14:28:42
* @LastEditTime: 2023-08-09 10:36:31
*/
import filter from '@/utils/filter.js'
let vm = null
......@@ -30,7 +30,7 @@ class data extends filter {
{
prop: "ywlx",
label: "业务类型",
width: '90'
width: '100'
},
{
prop: "cwdm",
......
import { log } from "bpmn-js-token-simulation"
/*
* @Description:
* @Autor: renchao
......@@ -11,6 +13,7 @@ export default {
watch: {
'ruleForm.sldy.gyfs': {
handler: function (val, oldVal) {
console.log("单独所有",val,oldVal);
if (val == '0' && this.ruleForm.qlrList.length > 1 && oldVal) {
this.ruleForm.sldy.gyfs = oldVal
this.$message({
......
......@@ -161,8 +161,8 @@
placeholder="持证人"
:disabled="!ableOperation">
<el-option
v-for="item in czrOptions"
:key="item.zjh"
v-for="(item,index) in czrOptions"
:key="index"
:label="item.sqrmc"
:value="item.zjh">
</el-option>
......