76aa13a9 by renchao@pashanhoo.com

style:受理申请

1 parent 131f574f
......@@ -592,22 +592,6 @@
}
});
},
// // 更新土地用途信息
// 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
......
<!--
* @Description:
* @Autor: renchao
* @LastEditTime: 2023-08-04 15:53:36
* @LastEditTime: 2023-08-14 10:28:44
-->
<template>
<!-- 受理信息 -->
......@@ -16,8 +16,7 @@
:inline="flag"
label-width="145px"
inline-message
:show-message="false"
>
:show-message="false">
<div class="slxx_con" v-if="isShow" :class="flag ? 'formMarginBot0' : ''">
<div class="slxx_title title-block">
补录信息
......@@ -80,8 +79,7 @@
<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>
......@@ -288,20 +286,20 @@
</div>
</template>
<script>
import { mapGetters } from "vuex";
import store from "@/store/index.js";
import ywmix from "@/views/ywbl/mixin/index";
import { init, getSsQlxx,getQlxxByQlxxBsm, save } from "@/api/djbRepair.js";
import qlrCommonTable from "@/views/djbworkflow/components/qlrCommonTable";
import tdytTable from "@/views/workflow/components/tdytTable";
import selectTable from "@/components/selectTable/index.vue";
export default {
import { mapGetters } from "vuex";
import store from "@/store/index.js";
import ywmix from "@/views/ywbl/mixin/index";
import { init, getSsQlxx, getQlxxByQlxxBsm, save } from "@/api/djbRepair.js";
import qlrCommonTable from "@/views/djbworkflow/components/qlrCommonTable";
import tdytTable from "@/views/workflow/components/tdytTable";
import selectTable from "@/components/selectTable/index.vue";
export default {
mixins: [ywmix],
components: { qlrCommonTable, tdytTable, selectTable },
computed: {
...mapGetters(["dictData", "flag"]),
// 根据流程判断表单是否为只读
editDisabled() {
editDisabled () {
if (!this.ableOperation) {
//只读状态
return true;
......@@ -309,7 +307,7 @@ export default {
return false;
},
},
data() {
data () {
return {
mjdw: "1",
ssqlxxshow: true,
......@@ -318,7 +316,7 @@ export default {
value: "bdcdyid",
},
// 键名转换,方法默认是label和children进行树状渲染
normalizer(node) {
normalizer (node) {
//方法
if (node.children == null || node.children == "null") {
delete node.children;
......@@ -394,10 +392,10 @@ export default {
},
};
},
created() {
created () {
this.loadData();
},
mounted() {
mounted () {
this.ableOperation = this.$parent.ableOperation;
},
methods: {
......@@ -406,13 +404,13 @@ export default {
* @param {*} val
* @author: renchao
*/
ssQlxxchange(val) {
ssQlxxchange (val) {
this.ruleForm.ssQlxx = val;
this.ruleForm.qlxx.ssywh = val.ywh;
this.ssQlxxchangediolog(val);
},
// 弹框事件
ssQlxxchangediolog(val) {
ssQlxxchangediolog (val) {
this.$confirm("是否将上手权利信息同步到表单", "提示", {
iconClass: "el-icon-question", //自定义图标样式
confirmButtonText: "确认", //确认按钮文字更换
......@@ -433,7 +431,7 @@ export default {
}
for (var key in this.ruleForm.qlxx) {
if (
this.ruleForm.qlxx[key] == ""||
this.ruleForm.qlxx[key] == "" ||
this.ruleForm.qlxx[key] == null &&
key != "ywh" &&
key != "dbr" &&
......@@ -522,7 +520,6 @@ export default {
}
});
},
// 更新土地用途信息
/**
* @description: 更新土地用途信息
* @param {*} val
......
<!--
* @Description:
* @Autor: renchao
* @LastEditTime: 2023-08-04 15:53:40
* @LastEditTime: 2023-08-14 10:29:57
-->
<template>
<!-- 受理信息 -->
......@@ -15,8 +15,7 @@
:show-message="false"
:label-position="flag ? 'top' : ''"
:inline="flag"
label-width="145px"
>
label-width="145px">
<div class="slxx_con" v-if="isShow" :class="flag ? 'formMarginBot0' : ''">
<div class="slxx_title title-block">
补录信息
......@@ -101,8 +100,7 @@
<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>
......@@ -364,33 +362,6 @@
</el-radio-group>
</el-form-item>
</el-col>
<!-- <el-col :span="6" v-show="ruleForm.qlxx.gyfs != '0'">
<el-form-item label="是否分别持证:">
<el-radio-group
v-model="ruleForm.qlxx.sqfbcz"
:disabled="!ableOperation">
<el-radio :label="1"></el-radio>
<el-radio :label="0"></el-radio>
</el-radio-group>
</el-form-item>
</el-col> -->
<!-- <el-col
:span="6"
v-show="ruleForm.qlxx.sqfbcz == '0' && ruleForm.qlxx.gyfs != '0'">
<el-form-item label="持证人:">
<el-select
v-model="ruleForm.czr"
placeholder="持证人"
:disabled="!ableOperation">
<el-option
v-for="item in czrOptions"
:key="item.zjh"
:label="item.sqrmc"
:value="item.zjh">
</el-option>
</el-select>
</el-form-item>
</el-col> -->
</el-row>
<qlrCommonTable
:tableData="ruleForm.qlrData"
......@@ -408,20 +379,20 @@
</div>
</template>
<script>
import { mapGetters } from "vuex";
import store from "@/store/index.js";
import ywmix from "@/views/ywbl/mixin/index";
import { init, getSsQlxx, getQlxxByQlxxBsm, save } from "@/api/djbRepair.js";
import qlrCommonTable from "@/views/djbworkflow/components/qlrCommonTable";
import selectTable from "@/components/selectTable/index.vue";
import tdytTable from "@/views/workflow/components/tdytTable";
export default {
import { mapGetters } from "vuex";
import store from "@/store/index.js";
import ywmix from "@/views/ywbl/mixin/index";
import { init, getSsQlxx, getQlxxByQlxxBsm, save } from "@/api/djbRepair.js";
import qlrCommonTable from "@/views/djbworkflow/components/qlrCommonTable";
import selectTable from "@/components/selectTable/index.vue";
import tdytTable from "@/views/workflow/components/tdytTable";
export default {
mixins: [ywmix],
components: { qlrCommonTable, tdytTable, selectTable },
computed: {
...mapGetters(["dictData", "flag"]),
// 根据流程判断表单是否为只读
editDisabled() {
editDisabled () {
if (!this.ableOperation) {
//只读状态
return true;
......@@ -429,7 +400,7 @@ export default {
return false;
},
},
data() {
data () {
return {
ssqlxxshow: true,
props: {
......@@ -437,7 +408,7 @@ export default {
value: "bdcdyid",
},
// 键名转换,方法默认是label和children进行树状渲染
normalizer(node) {
normalizer (node) {
//方法
if (node.children == null || node.children == "null") {
delete node.children;
......@@ -491,7 +462,6 @@ export default {
],
isShow: false,
disabled: true,
czrOptions: [],
ssQlxxList: [],
ruleForm: {},
ableOperation: false,
......@@ -512,8 +482,8 @@ export default {
},
};
},
created() {},
mounted() {
created () { },
mounted () {
this.loadData();
this.ableOperation = this.$parent.ableOperation;
},
......@@ -523,13 +493,13 @@ export default {
* @param {*} val
* @author: renchao
*/
ssQlxxchange(val) {
ssQlxxchange (val) {
this.ruleForm.ssQlxx = val;
this.ruleForm.qlxx.ssywh = val.ywh;
this.ssQlxxchangediolog(val);
},
// 弹框事件
ssQlxxchangediolog(val) {
ssQlxxchangediolog (val) {
this.$confirm("是否将上手权利信息同步到表单", "提示", {
iconClass: "el-icon-question", //自定义图标样式
confirmButtonText: "确认", //确认按钮文字更换
......@@ -551,7 +521,7 @@ export default {
}
for (var key in this.ruleForm.qlxx) {
if (
this.ruleForm.qlxx[key] == ""||
this.ruleForm.qlxx[key] == "" ||
this.ruleForm.qlxx[key] == null &&
key != "ywh" &&
key != "dbr" &&
......@@ -591,7 +561,7 @@ export default {
* @param {*} val
* @author: renchao
*/
djlxchange(val) {
djlxchange (val) {
if (val == null || val == 100) {
this.ssqlxxshow = false;
} else {
......@@ -605,20 +575,20 @@ export default {
* @param {*} val
* @author: renchao
*/
getDictData(val) {
getDictData (val) {
return store.getters.dictData[val];
},
/**
* @description: loadData
* @author: renchao
*/
loadData() {
loadData () {
this.$startLoading();
this.propsParam.isEdit = this.$parent.isEdit;
init(this.propsParam).then((res) => {
if (res.code == 200) {
this.ruleForm = res.result;
this.ruleForm.tdsyq.mjdw="1"
this.ruleForm.tdsyq.mjdw = "1"
let djlx = this.ruleForm.qlxx.djlx;
if (djlx == null || djlx == 100) {
......@@ -645,7 +615,7 @@ export default {
* @param {*} val
* @author: renchao
*/
upDateTdytxxList(val) {
upDateTdytxxList (val) {
this.ruleForm.tdytqxList && (this.ruleForm.tdytqxList = _.cloneDeep(val));
this.key++;
},
......@@ -655,9 +625,8 @@ export default {
* @param {*} val
* @author: renchao
*/
upDateQlrxxList(val) {
upDateQlrxxList (val) {
this.ruleForm.qlrData && (this.ruleForm.qlrData = _.cloneDeep(val));
this.czrOptions = this.ruleForm.qlrData;
this.key++;
},
/**
......
<!--
* @Description: 房屋多幢受理信息
* @Autor: ssq
* @LastEditTime: 2023-08-04 16:33:46
* @LastEditTime: 2023-08-14 10:26:42
-->
<template>
<div class="slxx">
......@@ -250,6 +250,7 @@
*/
upDateTdytxxList (val) {
this.ruleForm.tdytqxList && (this.ruleForm.tdytqxList = _.cloneDeep(val));
this.czrOptions = this.ruleForm.qlrList;
this.key++;
},
// 更新权利人信息
......
<!--
* @Description: 受理信息
* @Autor: renchao
* @LastEditTime: 2023-08-04 16:32:05
* @LastEditTime: 2023-08-14 10:23:11
-->
<template>
<div class="slxx">
......@@ -329,8 +329,10 @@
*/
upDateTdytxxList (val) {
this.ruleForm.tdytqxList && (this.ruleForm.tdytqxList = _.cloneDeep(val));
this.czrOptions = this.ruleForm.qlrList;
this.key++;
},
/**
* @description: 更新权利人信息
* @param {*} val
......
<!--
* @Description: 受理信息
* @Autor: renchao
* @LastEditTime: 2023-08-04 16:32:08
* @LastEditTime: 2023-08-14 10:27:21
-->
<template>
<div class="slxx">
......@@ -367,6 +367,7 @@
*/
upDateTdytxxList (val) {
this.ruleForm.tdytqxList && (this.ruleForm.tdytqxList = _.cloneDeep(val));
this.czrOptions = this.ruleForm.qlrList;
this.key++;
},
// 更新权利人信息
......
<!--
* @Description: 受理信息
* @Autor: renchao
* @LastEditTime: 2023-08-01 18:14:10
* @LastEditTime: 2023-08-14 10:37:56
-->
<template>
<div class="slxx">
......@@ -99,7 +99,7 @@
<div class="triangle"></div>
</div>
<el-row :gutter="10">
<el-col :span="14" v-if="ruleForm.sldyList.length>0">
<el-col :span="12" v-if="ruleForm.sldyList.length>0">
<el-form-item label="共有方式:">
<el-radio-group :disabled="!ableOperation" @change="showCZInfo"
v-model="ruleForm.sldyList[0].gyfs">
......@@ -111,19 +111,34 @@
</el-form-item>
</el-col>
<el-col :span="5" v-show="ruleForm.sldyList.length>0 && ruleForm.slsq.gyfs != '0'">
<el-form-item label="是否分别持证:" v-if="ruleForm.sldyList.length>0">
<el-radio-group v-model="ruleForm.sldyList[0].sqfbcz">
<el-radio label="1"></el-radio>
<el-radio label="0"></el-radio>
<el-col :span="6" v-show="ruleForm.sldy.gyfs != '0'">
<el-form-item label="是否分别持证:">
<el-radio-group
v-model="ruleForm.sldy.sqfbcz"
:disabled="!ableOperation">
<el-radio :label="1"></el-radio>
<el-radio :label="0"></el-radio>
</el-radio-group>
</el-form-item>
</el-col>
<el-col :span="5" v-show="ruleForm.sldyList.length>0 && ruleForm.sldyList[0].gyfs != '0'">
<el-col
:span="6"
v-show="ruleForm.sldy.sqfbcz == '0' && ruleForm.sldy.gyfs != '0'">
<el-form-item label="持证人:">
<el-input v-model="ruleForm.slsq.czr"></el-input>
<el-select
v-model="ruleForm.czr"
placeholder="持证人"
:disabled="!ableOperation">
<el-option
v-for="item in czrOptions"
:key="item.zjh"
:label="item.sqrmc"
:value="item.zjh">
</el-option>
</el-select>
</el-form-item>
</el-col>
</el-row>
<qlrCommonTable @upDateQlrxxList="upDateQlrxxList" :tableData="ruleForm.qlrList"
:gyfs="ruleForm.slsq.gyfs" />
......@@ -194,6 +209,7 @@
, user: {}//用户
, zdjbxx: {}//宗地基本信息
},
czrOptions: [],
//传递参数
propsParam: this.$attrs,
//表单是否可操作
......@@ -244,6 +260,7 @@
*/
upDateQlrxxList (val) {
this.ruleForm.qlrList = _.cloneDeep(val);
},
/**
* @description: showCZInfo
......
......@@ -266,6 +266,7 @@
*/
upDateTdytxxList (val) {
this.ruleForm.tdytqxList && (this.ruleForm.tdytqxList = _.cloneDeep(val));
this.czrOptions = this.ruleForm.qlrData;
this.key++;
},
/**
......
<!--
* @Description:
* @Autor: renchao
* @LastEditTime: 2023-08-11 08:48:21
* @LastEditTime: 2023-08-14 10:27:43
-->
<template>
<!-- 受理信息 -->
......@@ -283,6 +283,7 @@
*/
upDateTdytxxList (val) {
this.ruleForm.tdytqxList && (this.ruleForm.tdytqxList = _.cloneDeep(val));
this.czrOptions = this.ruleForm.qlrList;
this.key++;
},
// 更新权利人信息
......
......@@ -2,7 +2,7 @@
<!--
* @Description:
* @Autor: renchao
* @LastEditTime: 2023-08-04 16:32:14
* @LastEditTime: 2023-08-14 10:28:15
-->
<template>
<!-- 受理信息 -->
......@@ -265,6 +265,7 @@
*/
upDateTdytxxList (val) {
this.ruleForm.tdytqxList && (this.ruleForm.tdytqxList = _.cloneDeep(val));
this.czrOptions = this.ruleForm.qlrList;
this.key++;
},
/**
......
<!--
* @Description: 房屋多幢受理信息
* @Autor: ssq
* @LastEditTime: 2023-08-04 15:46:17
* @LastEditTime: 2023-08-14 10:27:58
-->
<template>
<div class="slxx">
......@@ -321,6 +321,7 @@
*/
upDateTdytxxList (val) {
this.ruleForm.tdytqxList && (this.ruleForm.tdytqxList = _.cloneDeep(val));
this.czrOptions = this.ruleForm.qlrList;
this.key++;
},
// 更新权利人信息
......
......@@ -394,7 +394,6 @@
};
},
methods: {
// 更新土地用途信息
/**
* @description: 更新土地用途信息
* @param {*} val
......