692e4005 by xiaomiao

Merge branch 'dev' of http://yun.pashanhoo.com:9090/bdc/bdcdj-web into dev

2 parents 111bcd83 175fa613
Showing 37 changed files with 805 additions and 855 deletions
...@@ -54,4 +54,16 @@ export function saveBatchData (data) { ...@@ -54,4 +54,16 @@ export function saveBatchData (data) {
54 }) 54 })
55 } 55 }
56 56
57 /**
58 * @description: 保存
59 * @param {*} data
60 * @author: renchao
61 */
62 export function saveData (data) {
63 return request({
64 url: SERVER.SERVERAPI + "/rest/ywbl/fdcq2lr/saveData",
65 method: 'post',
66 data
67 })
68 }
57 69
......
1 <!-- 1 <!--
2 * @Description: workFrame左侧菜单列表-普通 2 * @Description: workFrame左侧菜单列表-普通
3 * @Autor: renchao 3 * @Autor: renchao
4 * @LastEditTime: 2023-05-18 14:39:07 4 * @LastEditTime: 2023-05-25 10:42:50
5 --> 5 -->
6 <template> 6 <template>
7 <div class="leftmenu" :class="{ 'animation-map-drawer': isShowdrawer }"> 7 <div class="leftmenu" :class="{ 'animation-map-drawer': isShowdrawer }">
...@@ -17,7 +17,8 @@ ...@@ -17,7 +17,8 @@
17 </div> 17 </div>
18 <el-menu :default-active="activeIndex" @select="unitClick"> 18 <el-menu :default-active="activeIndex" @select="unitClick">
19 <el-menu-item v-for="(item, index) in unitData" :index="index.toString()" :key="index"> 19 <el-menu-item v-for="(item, index) in unitData" :index="index.toString()" :key="index">
20 <div> 20 <p class="dot" v-if="item.issave == '0'"></p>
21 <div class="menu-con">
21 <p>{{ item.bdcdyh }}</p> 22 <p>{{ item.bdcdyh }}</p>
22 <p class="title-detail">{{ item.zl }}</p> 23 <p class="title-detail">{{ item.zl }}</p>
23 </div> 24 </div>
...@@ -38,6 +39,7 @@ ...@@ -38,6 +39,7 @@
38 </div> 39 </div>
39 </template> 40 </template>
40 <script> 41 <script>
42 import { mapGetters } from 'vuex'
41 import { leftMenu } from "@/api/fqsq.js" 43 import { leftMenu } from "@/api/fqsq.js"
42 import { deleteSlbdcdy } from "@/api/ywbl.js"; 44 import { deleteSlbdcdy } from "@/api/ywbl.js";
43 export default { 45 export default {
...@@ -64,6 +66,17 @@ ...@@ -64,6 +66,17 @@
64 mounted () { 66 mounted () {
65 this.loadBdcdylist(); 67 this.loadBdcdylist();
66 }, 68 },
69 computed: {
70 ...mapGetters(['isRefresh'])
71 },
72 watch: {
73 isRefresh: {
74 handler (newVal, oldVal) {
75 if (newVal) this.loadBdcdylist()
76 },
77 immediate: true
78 }
79 },
67 methods: { 80 methods: {
68 //读取申请单元信息 81 //读取申请单元信息
69 loadBdcdylist () { 82 loadBdcdylist () {
...@@ -90,7 +103,7 @@ ...@@ -90,7 +103,7 @@
90 judgeBatchShow () { 103 judgeBatchShow () {
91 this.showBatch = false; 104 this.showBatch = false;
92 if (this.unitData.length > 1) { 105 if (this.unitData.length > 1) {
93 let qllx = this.$route.query.sqywbm.substring(0, 3); 106 let qllx = this.$route.query?.sqywbm?.substring(0, 3);
94 switch (qllx) { 107 switch (qllx) {
95 case 'B39': 108 case 'B39':
96 this.showBatch = true; 109 this.showBatch = true;
...@@ -160,8 +173,9 @@ ...@@ -160,8 +173,9 @@
160 this.currentSelectProps.batchOperation = false; 173 this.currentSelectProps.batchOperation = false;
161 this.activeIndex = index.toString(); 174 this.activeIndex = index.toString();
162 //选中表单传递数据 175 //选中表单传递数据
163 this.$emit('getCurrentSelectProps', this.currentSelectProps); 176 this.$emit('getCurrentSelectProps', this.currentSelectProps);
164 this.$parent.stepForm(index); 177 this.$parent.stepForm(index);
178 this.$store.dispatch('user/refreshPage', false);
165 } 179 }
166 } 180 }
167 } 181 }
...@@ -169,7 +183,7 @@ ...@@ -169,7 +183,7 @@
169 <style scoped lang='scss'> 183 <style scoped lang='scss'>
170 @import "~@/styles/mixin.scss"; 184 @import "~@/styles/mixin.scss";
171 @import "../../workFrame.scss"; 185 @import "../../workFrame.scss";
172 .leftmenu ul{ 186 .leftmenu ul {
173 height: calc(100vh - 120px); 187 height: calc(100vh - 120px);
174 } 188 }
175 </style> 189 </style>
......
1 <!-- 1 <!--
2 * @Description: workFrame左侧菜单列表-分割 2 * @Description: workFrame左侧菜单列表-分割
3 * @Autor: renchao 3 * @Autor: renchao
4 * @LastEditTime: 2023-05-18 16:32:02 4 * @LastEditTime: 2023-05-25 10:18:02
5 --> 5 -->
6 <template> 6 <template>
7 <div class="leftmenu" :class="{ 'animation-map-drawer': isShowdrawer }"> 7 <div class="leftmenu" :class="{ 'animation-map-drawer': isShowdrawer }">
...@@ -30,6 +30,7 @@ ...@@ -30,6 +30,7 @@
30 </div> 30 </div>
31 <el-menu :default-active="activeHIndex" @select="handleAfterunitClick"> 31 <el-menu :default-active="activeHIndex" @select="handleAfterunitClick">
32 <el-menu-item v-for="(item, index) in afterUnitData" :index="index.toString()" :key="index"> 32 <el-menu-item v-for="(item, index) in afterUnitData" :index="index.toString()" :key="index">
33 <span class="dot" v-if="item.issave == '0'"></span>
33 <div> 34 <div>
34 <p>{{ item.bdcdyh }}</p> 35 <p>{{ item.bdcdyh }}</p>
35 <p class="title-detail">{{ item.zl }}</p> 36 <p class="title-detail">{{ item.zl }}</p>
...@@ -51,6 +52,7 @@ ...@@ -51,6 +52,7 @@
51 </div> 52 </div>
52 </template> 53 </template>
53 <script> 54 <script>
55 import { mapGetters } from 'vuex'
54 import { leftMenu } from "@/api/fqsq.js" 56 import { leftMenu } from "@/api/fqsq.js"
55 import { deleteFlow } from "@/api/ywbl.js"; 57 import { deleteFlow } from "@/api/ywbl.js";
56 export default { 58 export default {
...@@ -81,6 +83,17 @@ ...@@ -81,6 +83,17 @@
81 mounted () { 83 mounted () {
82 this.loadBdcdylist(); 84 this.loadBdcdylist();
83 }, 85 },
86 computed: {
87 ...mapGetters(['isRefresh'])
88 },
89 watch: {
90 isRefresh: {
91 handler (newVal, oldVal) {
92 if (newVal) this.loadBdcdylist()
93 },
94 immediate: true
95 }
96 },
84 methods: { 97 methods: {
85 //读取申请单元信息 98 //读取申请单元信息
86 loadBdcdylist () { 99 loadBdcdylist () {
...@@ -108,7 +121,7 @@ ...@@ -108,7 +121,7 @@
108 judgeBatchShow () { 121 judgeBatchShow () {
109 this.showBatch = false; 122 this.showBatch = false;
110 if (this.afterUnitData.length > 1) { 123 if (this.afterUnitData.length > 1) {
111 let qllx = this.$route.query.sqywbm.substring(0, 3); 124 let qllx = this.$route.query?.sqywbm?.substring(0, 3);
112 switch (qllx) { 125 switch (qllx) {
113 case 'B39': 126 case 'B39':
114 this.showBatch = true; 127 this.showBatch = true;
...@@ -164,6 +177,7 @@ ...@@ -164,6 +177,7 @@
164 unitClick (index) { 177 unitClick (index) {
165 this.activeHIndex = '-1' 178 this.activeHIndex = '-1'
166 this.currentSelectProps = this.aroundUnitData[index]; 179 this.currentSelectProps = this.aroundUnitData[index];
180 this.currentSelectProps.issave = '1'
167 this.currentSelectProps.batchOperation = false; 181 this.currentSelectProps.batchOperation = false;
168 this.activeIndex = index.toString(); 182 this.activeIndex = index.toString();
169 //选中表单传递数据 183 //选中表单传递数据
...@@ -178,6 +192,7 @@ ...@@ -178,6 +192,7 @@
178 //选中表单传递数据 192 //选中表单传递数据
179 this.$emit('getCurrentSelectProps', this.currentSelectProps); 193 this.$emit('getCurrentSelectProps', this.currentSelectProps);
180 this.$parent.stepForm(index); 194 this.$parent.stepForm(index);
195 this.$store.dispatch('user/refreshPage', false);
181 } 196 }
182 } 197 }
183 } 198 }
......
...@@ -35,17 +35,6 @@ export default { ...@@ -35,17 +35,6 @@ export default {
35 slsq: {} 35 slsq: {}
36 } 36 }
37 }, 37 },
38 computed: {
39 ...mapGetters(['isRefresh'])
40 },
41 watch: {
42 isRefresh: {
43 handler (newVal, oldVal) {
44 if (newVal) this.loadBdcdylist()
45 },
46 immediate: true
47 }
48 },
49 mounted () { 38 mounted () {
50 this.flowInitParam(); 39 this.flowInitParam();
51 }, 40 },
......
1 /* 1 /*
2 * @Description: 2 * @Description:
3 * @Autor: renchao 3 * @Autor: renchao
4 * @LastEditTime: 2023-05-17 10:38:51 4 * @LastEditTime: 2023-05-24 14:42:24
5 */ 5 */
6 import { getForm } from "../flowform"; 6 import { getForm } from "../flowform";
7 import { getHomeNoticeList } from "@/api/user.js" 7 import { getHomeNoticeList } from "@/api/user.js"
...@@ -15,8 +15,9 @@ export default { ...@@ -15,8 +15,9 @@ export default {
15 this.getHomeNotice() 15 this.getHomeNotice()
16 }, 16 },
17 mounted () { 17 mounted () {
18 let _this = this
18 window.addEventListener('message', function (messageEvent) { 19 window.addEventListener('message', function (messageEvent) {
19 this.getHomeNotice() 20 _this.getHomeNotice()
20 }, false) 21 }, false)
21 }, 22 },
22 methods: { 23 methods: {
......
...@@ -31,12 +31,28 @@ ...@@ -31,12 +31,28 @@
31 font-size: 14px; 31 font-size: 14px;
32 } 32 }
33 33
34 .dot {
35 display: inline-block;
36 background-color: #67C23A;
37 width: 6.5px;
38 height: 6px;
39 border-radius: 50%;
40 }
41
42 .menu-con {
43 width: 87%;
44 }
45
34 .batchDel { 46 .batchDel {
35 float: right; 47 float: right;
36 position: relative; 48 position: relative;
37 top: 3px; 49 top: 3px;
38 } 50 }
39 51
52 .el-icon-delete {
53 margin-top: 10px;
54 }
55
40 .title-detail { 56 .title-detail {
41 display: flex; 57 display: flex;
42 flex-wrap: wrap; 58 flex-wrap: wrap;
...@@ -90,8 +106,9 @@ ...@@ -90,8 +106,9 @@
90 height: calc(100% - 80px); 106 height: calc(100% - 80px);
91 } 107 }
92 108
93 /deep/.el-menu-item { 109 .el-menu-item {
94 padding-left: 5px !important; 110 padding-left: 5px !important;
111 display: flex;
95 } 112 }
96 113
97 /deep/.el-menu { 114 /deep/.el-menu {
...@@ -209,4 +226,4 @@ ...@@ -209,4 +226,4 @@
209 position: absolute; 226 position: absolute;
210 left: 0; 227 left: 0;
211 bottom: 0; 228 bottom: 0;
212 } 229 }
...\ No newline at end of file ...\ No newline at end of file
......
1 <!-- 1 <!--
2 * @Description: 2 * @Description:
3 * @Autor: renchao 3 * @Autor: renchao
4 * @LastEditTime: 2023-05-22 09:45:59 4 * @LastEditTime: 2023-05-24 15:31:00
5 --> 5 -->
6 <template> 6 <template>
7 <div class="container"> 7 <div class="container">
...@@ -26,7 +26,7 @@ ...@@ -26,7 +26,7 @@
26 <!-- 内容框架 --> 26 <!-- 内容框架 -->
27 <div class="containerFrame"> 27 <div class="containerFrame">
28 <!-- 左侧菜单栏 区分业务--> 28 <!-- 左侧菜单栏 区分业务-->
29 <segmentMenu v-if="slsq.djqxbm == 'A0320099' || slsq.djqxbm == 'A0330099'" @getCurrentSelectProps="getCurrentSelectProps" /> 29 <segmentMenu v-if="['A0320099','A0330099' ].includes(slsq.djqxbm)" @getCurrentSelectProps="getCurrentSelectProps" />
30 <ordinaryMenu v-else @getCurrentSelectProps="getCurrentSelectProps" /> 30 <ordinaryMenu v-else @getCurrentSelectProps="getCurrentSelectProps" />
31 <div class="leftCon"> 31 <div class="leftCon">
32 <!-- 分屏左侧预览 --> 32 <!-- 分屏左侧预览 -->
...@@ -58,7 +58,6 @@ ...@@ -58,7 +58,6 @@
58 @import "./workFrame.scss"; 58 @import "./workFrame.scss";
59 </style> 59 </style>
60 <script> 60 <script>
61 import { mapGetters } from 'vuex'
62 import WorkFlow from "./mixin/index" 61 import WorkFlow from "./mixin/index"
63 import publicFlow from "./mixin/public.js" 62 import publicFlow from "./mixin/public.js"
64 import { getStepFormInfo } from "@/api/fqsq.js" 63 import { getStepFormInfo } from "@/api/fqsq.js"
...@@ -107,17 +106,8 @@ ...@@ -107,17 +106,8 @@
107 _beforeUnload_time: "" 106 _beforeUnload_time: ""
108 } 107 }
109 }, 108 },
110 computed: {
111 ...mapGetters(['isRefresh'])
112 },
113 watch: {
114 isRefresh: {
115 handler (newVal, oldVal) {
116 if (newVal) this.updateDialog()
117 }
118 }
119 },
120 mounted () { 109 mounted () {
110 this.$store.dispatch('user/refreshPage', false);
121 //添加页面监听事件 111 //添加页面监听事件
122 window.addEventListener("beforeunload", (e) => this.beforeunloadHandler(e)); 112 window.addEventListener("beforeunload", (e) => this.beforeunloadHandler(e));
123 window.addEventListener("unload", (e) => this.unloadHandler(e)); 113 window.addEventListener("unload", (e) => this.unloadHandler(e));
...@@ -143,37 +133,6 @@ ...@@ -143,37 +133,6 @@
143 unClaimTask(this.bsmSlsq, this.bestepid); 133 unClaimTask(this.bsmSlsq, this.bestepid);
144 } 134 }
145 }, 135 },
146 changeLoadIndex () {
147 this.loadIndex++;
148 },
149 /**
150 * @description: 更新列表
151 * @author: renchao
152 */
153 // updateDialog () {
154 // this.loadBdcdylist();
155 // },
156 // //读取申请单元信息
157 // loadBdcdylist () {
158 // var formdata = new FormData();
159 // formdata.append("bsmSlsq", this.bsmSlsq);
160 // formdata.append("bestepid", this.bestepid);
161 // leftMenu(formdata).then((res) => {
162 // if (res.code === 200 && res.result) {
163 // this.unitData = res.result;
164 // this.currentSelectProps = res.result[0];
165 // this.$emit('getCurrentSelectProps', this.currentSelectProps);
166 // this.judgeBatchShow();
167 // if (this.showBatch) {
168 // //满足批量查封/批量抵押按钮出现 即先展示批量表单
169 // this.batchUnitClick();
170 // } else {
171 // //默认选择单元列表第一个
172 // this.unitClick(0);
173 // }
174 // }
175 // })
176 // },
177 //申请单元点击事件 136 //申请单元点击事件
178 stepForm (index) { 137 stepForm (index) {
179 getStepFormInfo(this.currentSelectProps).then((res) => { 138 getStepFormInfo(this.currentSelectProps).then((res) => {
...@@ -207,6 +166,7 @@ ...@@ -207,6 +166,7 @@
207 } else { 166 } else {
208 title = "申请业务:" + data?.djywmc 167 title = "申请业务:" + data?.djywmc
209 } 168 }
169
210 this.$popupDialog(title, "ywbl/ywsq/selectBdc", { 'djywbm': this.$route.query.sqywbm, 'isJump': true, 'sqywInfo': data }, "80%", true) 170 this.$popupDialog(title, "ywbl/ywsq/selectBdc", { 'djywbm': this.$route.query.sqywbm, 'isJump': true, 'sqywInfo': data }, "80%", true)
211 } 171 }
212 } 172 }
......
1 <!-- 1 <!--
2 * @Description: 2 * @Description:
3 * @Autor: renchao 3 * @Autor: renchao
4 * @LastEditTime: 2023-05-18 11:03:17 4 * @LastEditTime: 2023-05-24 15:50:38
5 --> 5 -->
6 <template> 6 <template>
7 <div class="container"> 7 <div class="container">
...@@ -25,30 +25,10 @@ ...@@ -25,30 +25,10 @@
25 </div> 25 </div>
26 <!-- 内容框架 --> 26 <!-- 内容框架 -->
27 <div class="containerFrame"> 27 <div class="containerFrame">
28 <!-- 左侧菜单栏 --> 28 <!-- 左侧菜单栏 区分业务-->
29 <div class="leftmenu" :class="{ 'animation-map-drawer': isShowdrawer }"> 29 <segmentMenu v-if="['A0320099','A0330099' ].includes(slsq.djqxbm)" @getCurrentSelectProps="getCurrentSelectProps" />
30 <div v-if="this.isShowdrawer"> 30 <ordinaryMenu v-else @getCurrentSelectProps="getCurrentSelectProps" />
31 <div class="title">申请单元列表({{ unitData.length }})</div> 31
32 <el-menu :default-active="activeIndex" @select="unitClick">
33 <el-menu-item v-for="(item, index) in unitData" :index="index.toString()" :key="index">
34 <div>
35 <p>{{ item.bdcdyh }}</p>
36 <p class="title-detail">{{ item.zl }}</p>
37 </div>
38 </el-menu-item>
39 </el-menu>
40 </div>
41 <div class="map-drawer-click map-drawer" v-if="!isShowdrawer" @click="
42 () => {
43 this.isShowdrawer = !this.isShowdrawer;
44 }
45 "></div>
46 <div class="map-drawer-expand map-drawer" v-else @click="
47 () => {
48 this.isShowdrawer = !this.isShowdrawer;
49 }
50 "></div>
51 </div>
52 <div class="leftCon"> 32 <div class="leftCon">
53 <!-- 分屏左侧预览 --> 33 <!-- 分屏左侧预览 -->
54 <div v-if="splitScreen" class="splitScreen-con"> 34 <div v-if="splitScreen" class="splitScreen-con">
...@@ -57,7 +37,7 @@ ...@@ -57,7 +37,7 @@
57 <!-- 表单内容区域 --> 37 <!-- 表单内容区域 -->
58 <div class="rightContainer"> 38 <div class="rightContainer">
59 <el-tabs v-model="tabName" :before-leave="beforeLeave"> 39 <el-tabs v-model="tabName" :before-leave="beforeLeave">
60 <el-tab-pane :label="item.name" :name="item.value" v-for="(item, index) in tabList" :key="index"> 40 <el-tab-pane :label="item.name" :name="item.value" v-for="item in tabList" :key="item.value">
61 </el-tab-pane> 41 </el-tab-pane>
62 </el-tabs> 42 </el-tabs>
63 <component :key="fresh" :is="componentTag" v-bind="currentSelectProps" /> 43 <component :key="fresh" :is="componentTag" v-bind="currentSelectProps" />
...@@ -71,14 +51,21 @@ ...@@ -71,14 +51,21 @@
71 @import "./workFrame.scss"; 51 @import "./workFrame.scss";
72 </style> 52 </style>
73 <script> 53 <script>
74 import { leftMenu, stepExpandInfo, getStepFormInfo } from "@/api/fqsq.js"; 54 import WorkFlow from "./mixin/index"
75 import publicFlow from "./mixin/public.js"; 55 import publicFlow from "./mixin/public.js"
56 import { getStepFormInfo } from "@/api/fqsq.js"
57 import { getForm } from "./flowform"
76 import NoticeBar from "@/components/NoticeBar/index"; 58 import NoticeBar from "@/components/NoticeBar/index";
77 import { getWorkFlowImage } from "@/api/workflow/jsydsyqFlow.js"; 59 // 引入左侧菜单
60 import ordinaryMenu from "./components/leftmenu/ordinaryMenu.vue"
61 // 引入左侧菜单
62 import segmentMenu from "./components/leftmenu/segmentMenu.vue"
78 export default { 63 export default {
79 mixins: [publicFlow], 64 mixins: [WorkFlow, publicFlow],
80 components: { 65 components: {
81 NoticeBar, 66 NoticeBar,
67 ordinaryMenu,
68 segmentMenu
82 }, 69 },
83 data () { 70 data () {
84 return { 71 return {
...@@ -92,12 +79,6 @@ ...@@ -92,12 +79,6 @@
92 bsmSlsq: this.$route.query.bsmSlsq, 79 bsmSlsq: this.$route.query.bsmSlsq,
93 //当前流程所在环节 80 //当前流程所在环节
94 bestepid: this.$route.query.bestepid, 81 bestepid: this.$route.query.bestepid,
95 //顶部左侧按钮集合
96 leftButtonList: [],
97 //顶部右侧按钮集合
98 rightButtonList: [],
99 //左侧菜单数据集合
100 unitData: [],
101 //设置那个表单选中 82 //设置那个表单选中
102 tabName: "", 83 tabName: "",
103 //表单集合 84 //表单集合
...@@ -118,118 +99,12 @@ ...@@ -118,118 +99,12 @@
118 clxxTab: {}, 99 clxxTab: {},
119 }; 100 };
120 }, 101 },
121 mounted () {
122 this.loadBdcdylist();
123 this.flowInitParam();
124 },
125
126 methods: { 102 methods: {
127 //加载流程初始参数 103 getCurrentSelectProps (val) {
128 flowInitParam () { 104 this.currentSelectProps = val
129 var formdata = new FormData();
130 formdata.append("bsmSlsq", this.bsmSlsq);
131 formdata.append("bestepid", this.bestepid);
132 formdata.append("type", "READ_ONLY");
133 stepExpandInfo(formdata).then((res) => {
134 if (res.code === 200) {
135 this.leftButtonList = res.result.button;
136 this.rightButtonList = res.result.operation;
137 }
138 });
139 },
140 //流程环节操作按钮
141 operation (item) {
142 //按钮 B1:流程图 B2:材料分屏 B3:材料导入 B4:登记簿 B5:证书预览 B6:打印申请书
143 //操作按钮 登簿:record 转件:transfer 退回:back 退出:signout
144 switch (item.value) {
145 case "B1":
146 getWorkFlowImage(this.bsmSlsq, this.$route.query.bestepid).then(
147 (res) => {
148 let { result } = res;
149 this.$popupDialog("流程图", "workflow/components/processViewer", {
150 xml: result.xml,
151 finishedInfo: {
152 finishedTaskSet: result.finishedTaskSet,
153 unfinishedTaskSet: result.unfinishedTaskSet,
154 rejectedTaskSet: result.rejectedTaskSet,
155 finishedSequenceFlowSet: result.finishedSequenceFlowSet,
156 },
157 allCommentList: result.historyTaskList,
158 }, '80%', true);
159 }
160 );
161 break;
162 case "B5":
163 this.zsylFlag = true;
164 break;
165 case "B2": //材料分屏按钮
166 this.splitScreen = this.splitScreen ? false : true;
167 this.$store.dispatch("app/settScreen", this.splitScreen);
168 if (this.splitScreen) {
169 //如果当前选项卡为材料信息内容,递减到上一个选项卡内容
170 if (this.tabName == this.clxxTab.value) {
171 this.tabName = this.tabList[this.clxxIndex - 1].value;
172 this.getFromRouter(this.tabList[this.clxxIndex - 1].value);
173 }
174 this.tabList.splice(this.clxxIndex, 1);
175 } else {
176 this.tabList.splice(this.clxxIndex, 1, this.clxxTab);
177 }
178 break;
179 case "signout":
180 window.close();
181 break;
182 case "rm":
183 this.del()
184 window.close();
185 }
186 },
187 del () {
188 let formdata = new FormData();
189 formdata.append("bsmSlsq", this.bsmSlsq);
190 this.$confirm("确定要删除吗, 是否继续?", "提示", {
191 confirmButtonText: "确定",
192 cancelButtonText: "取消",
193 type: "warning"
194 })
195 .then(() => {
196 deleteFlow(formdata).then((res) => {
197 if (res.code === 200) {
198 this.handleDel();
199 this.$message({
200 type: "success",
201 message: "删除成功!",
202 });
203 this.queryClick();
204 } else {
205 this.$message.error(res.message);
206 }
207 });
208 })
209 .catch(() => {
210 this.$message({
211 type: "info",
212 message: "已取消删除"
213 })
214 })
215 },
216 //读取申请单元信息
217 loadBdcdylist () {
218 var formdata = new FormData();
219 formdata.append("bsmSlsq", this.bsmSlsq);
220 formdata.append("bestepid", this.bestepid);
221 leftMenu(formdata).then((res) => {
222 if (res.code === 200) {
223 this.unitData = res.result;
224 this.currentSelectProps = res.result[0];
225 this.unitClick(0);
226 }
227 })
228 }, 105 },
229 //申请单元点击事件 106 //申请单元点击事件
230 unitClick (index) { 107 stepForm (index) {
231 this.currentSelectProps = this.unitData[index];
232 this.currentSelectProps.type = "ONLY_READ";
233 getStepFormInfo(this.currentSelectProps).then((res) => { 108 getStepFormInfo(this.currentSelectProps).then((res) => {
234 if (res.code === 200) { 109 if (res.code === 200) {
235 this.fresh++; 110 this.fresh++;
...@@ -237,9 +112,21 @@ ...@@ -237,9 +112,21 @@
237 this.tabList = res.result; 112 this.tabList = res.result;
238 //默认加载第一个表单信息 113 //默认加载第一个表单信息
239 this.tabName = res.result[0].value; 114 this.tabName = res.result[0].value;
115 //批量操作无分屏按钮
116 if (index != null) {
117 //处理分屏材料信息
118 let that = this;
119 this.tabList.forEach(function (item, index) {
120 if (item.value == "clxx") {
121 that.clxxIndex = index;
122 that.clxxForm = getForm(item.value, that.$route.query.sqywbm);
123 that.clxxTab = item;
124 }
125 })
126 }
240 } 127 }
241 }) 128 })
242 } 129 },
243 } 130 }
244 } 131 }
245 </script> 132 </script>
......
1 /* 1 /*
2 * @Description: 2 * @Description:
3 * @Autor: renchao 3 * @Autor: renchao
4 * @LastEditTime: 2023-05-17 10:42:55 4 * @LastEditTime: 2023-05-24 15:06:24
5 */ 5 */
6 import filter from '@/utils/filter.js' 6 import filter from '@/utils/filter.js'
7 let vm = null 7 let vm = null
...@@ -89,7 +89,7 @@ class data extends filter { ...@@ -89,7 +89,7 @@ class data extends filter {
89 { 89 {
90 prop: "zl", 90 prop: "zl",
91 label: "坐落", 91 label: "坐落",
92 minWidth: '160', 92 minWidth: '130',
93 showOverflowTooltip: true 93 showOverflowTooltip: true
94 }, 94 },
95 { 95 {
......
1 <!-- 1 <!--
2 * @Description: 2 * @Description:
3 * @Autor: renchao 3 * @Autor: renchao
4 * @LastEditTime: 2023-05-17 10:43:15 4 * @LastEditTime: 2023-05-25 08:51:13
5 --> 5 -->
6 <template> 6 <template>
7 <!-- 受理信息 --> 7 <!-- 受理信息 -->
...@@ -238,7 +238,7 @@ ...@@ -238,7 +238,7 @@
238 </el-row> 238 </el-row>
239 239
240 </div> 240 </div>
241 <el-row class="btn" v-if="!$route.query.viewtype"> 241 <el-row class="btn" v-if="!$route.query.viewtype && ableOperation">
242 <el-form-item> 242 <el-form-item>
243 <el-button type="primary" @click="onSubmitClick()">保存</el-button> 243 <el-button type="primary" @click="onSubmitClick()">保存</el-button>
244 </el-form-item> 244 </el-form-item>
...@@ -252,6 +252,7 @@ ...@@ -252,6 +252,7 @@
252 import { mapGetters } from "vuex"; 252 import { mapGetters } from "vuex";
253 export default { 253 export default {
254 mounted () { 254 mounted () {
255 this.ableOperation = this.$parent.currentSelectTab.ableOperation
255 this.propsParam = this.$attrs; 256 this.propsParam = this.$attrs;
256 var formdata = new FormData(); 257 var formdata = new FormData();
257 this.$startLoading(); 258 this.$startLoading();
...@@ -272,6 +273,8 @@ ...@@ -272,6 +273,8 @@
272 }, 273 },
273 data () { 274 data () {
274 return { 275 return {
276 //表单是否可操作
277 ableOperation: true,
275 disabled: true, 278 disabled: true,
276 czrOptions: [], 279 czrOptions: [],
277 ruleForm: { 280 ruleForm: {
...@@ -294,6 +297,7 @@ ...@@ -294,6 +297,7 @@
294 message: "保存成功!", 297 message: "保存成功!",
295 type: "success", 298 type: "success",
296 }); 299 });
300 this.$store.dispatch('user/refreshPage', true);
297 } else { 301 } else {
298 this.$message({ 302 this.$message({
299 showClose: true, 303 showClose: true,
......
1 <!-- 1 <!--
2 * @Description: 2 * @Description:
3 * @Autor: renchao 3 * @Autor: renchao
4 * @LastEditTime: 2023-05-17 10:43:19 4 * @LastEditTime: 2023-05-25 08:56:17
5 --> 5 -->
6 <template> 6 <template>
7 <!-- 受理信息 --> 7 <!-- 受理信息 -->
...@@ -234,7 +234,7 @@ ...@@ -234,7 +234,7 @@
234 </el-row> 234 </el-row>
235 235
236 </div> 236 </div>
237 <el-row class="btn" v-if="!$route.query.viewtype"> 237 <el-row class="btn" v-if="!$route.query.viewtype && ableOperation">
238 <el-form-item> 238 <el-form-item>
239 <el-button type="primary" @click="onSubmitClick()">保存</el-button> 239 <el-button type="primary" @click="onSubmitClick()">保存</el-button>
240 </el-form-item> 240 </el-form-item>
...@@ -248,6 +248,7 @@ ...@@ -248,6 +248,7 @@
248 import { mapGetters } from "vuex"; 248 import { mapGetters } from "vuex";
249 export default { 249 export default {
250 mounted () { 250 mounted () {
251 this.ableOperation = this.$parent.currentSelectTab.ableOperation
251 this.propsParam = this.$attrs; 252 this.propsParam = this.$attrs;
252 var formdata = new FormData(); 253 var formdata = new FormData();
253 this.$startLoading(); 254 this.$startLoading();
...@@ -268,6 +269,8 @@ ...@@ -268,6 +269,8 @@
268 }, 269 },
269 data () { 270 data () {
270 return { 271 return {
272 //表单是否可操作
273 ableOperation: true,
271 disabled: true, 274 disabled: true,
272 czrOptions: [], 275 czrOptions: [],
273 ruleForm: { 276 ruleForm: {
...@@ -290,6 +293,7 @@ ...@@ -290,6 +293,7 @@
290 message: "保存成功!", 293 message: "保存成功!",
291 type: "success", 294 type: "success",
292 }); 295 });
296 this.$store.dispatch('user/refreshPage', true);
293 } else { 297 } else {
294 this.$message({ 298 this.$message({
295 showClose: true, 299 showClose: true,
......
1 <!-- 1 <!--
2 * @Description: 受理信息 2 * @Description: 受理信息
3 * @Autor: renchao 3 * @Autor: renchao
4 * @LastEditTime: 2023-05-17 10:43:23 4 * @LastEditTime: 2023-05-25 08:41:40
5 --> 5 -->
6 <template> 6 <template>
7 <div class="slxx"> 7 <div class="slxx">
...@@ -197,7 +197,7 @@ ...@@ -197,7 +197,7 @@
197 </el-col> 197 </el-col>
198 </el-row> 198 </el-row>
199 </div> 199 </div>
200 <el-row class="btn" v-if="!$route.query.viewtype"> 200 <el-row class="btn" v-if="!$route.query.viewtype && ableOperation">
201 <el-form-item> 201 <el-form-item>
202 <el-button type="primary" @click="onSubmit">保存</el-button> 202 <el-button type="primary" @click="onSubmit">保存</el-button>
203 </el-form-item> 203 </el-form-item>
...@@ -207,10 +207,11 @@ ...@@ -207,10 +207,11 @@
207 </template> 207 </template>
208 <script> 208 <script>
209 import qlrCommonTable from "@/views/workflow/components/qlrCommonTable"; 209 import qlrCommonTable from "@/views/workflow/components/qlrCommonTable";
210 import { Init, saveBatchData } from "@/api/workflow/fwsyqFlow.js"; 210 import { Init, saveData } from "@/api/workflow/fwsyqFlow.js";
211 import { mapGetters } from "vuex"; 211 import { mapGetters } from "vuex";
212 export default { 212 export default {
213 created () { 213 created () {
214 this.ableOperation = this.$parent.currentSelectTab.ableOperation
214 this.propsParam = this.$attrs; 215 this.propsParam = this.$attrs;
215 var formdata = new FormData(); 216 var formdata = new FormData();
216 formdata.append("bsmSldy", this.propsParam.bsmSldy); 217 formdata.append("bsmSldy", this.propsParam.bsmSldy);
...@@ -236,8 +237,10 @@ ...@@ -236,8 +237,10 @@
236 ruleForm: {}, 237 ruleForm: {},
237 //传递参数 238 //传递参数
238 propsParam: this.$attrs, 239 propsParam: this.$attrs,
239 rules: {}, 240 //表单是否可操作
240 }; 241 ableOperation: true,
242 rules: {}
243 }
241 }, 244 },
242 methods: { 245 methods: {
243 // 更新权利人信息 246 // 更新权利人信息
...@@ -252,24 +255,25 @@ ...@@ -252,24 +255,25 @@
252 this.ruleForm.ywrList = _.cloneDeep(val); 255 this.ruleForm.ywrList = _.cloneDeep(val);
253 }, 256 },
254 onSubmit () { 257 onSubmit () {
255 saveBatchData(this.ruleForm).then((res) => { 258 saveData(this.ruleForm).then((res) => {
256 if (res.code === 200) { 259 if (res.code === 200) {
257 this.$message({ 260 this.$message({
258 showClose: true, 261 showClose: true,
259 message: "保存成功!", 262 message: "保存成功!",
260 type: "success", 263 type: "success",
261 }); 264 });
265 this.$store.dispatch('user/refreshPage', true);
262 } else { 266 } else {
263 this.$message({ 267 this.$message({
264 showClose: true, 268 showClose: true,
265 message: res.message, 269 message: res.message,
266 type: "error", 270 type: "error"
267 }); 271 })
268 } 272 }
269 }); 273 })
270 }, 274 }
271 }, 275 }
272 }; 276 }
273 </script> 277 </script>
274 <style scoped lang='scss'> 278 <style scoped lang='scss'>
275 @import "~@/styles/public.scss"; 279 @import "~@/styles/public.scss";
......
1 <!-- 1 <!--
2 * @Description: 受理信息 2 * @Description: 受理信息
3 * @Autor: renchao 3 * @Autor: renchao
4 * @LastEditTime: 2023-05-17 10:43:30 4 * @LastEditTime: 2023-05-25 08:41:33
5 --> 5 -->
6 <template> 6 <template>
7 <div class="slxx"> 7 <div class="slxx">
...@@ -181,7 +181,7 @@ ...@@ -181,7 +181,7 @@
181 </el-col> 181 </el-col>
182 </el-row> 182 </el-row>
183 </div> 183 </div>
184 <el-row class="btn" v-if="!$route.query.viewtype"> 184 <el-row class="btn" v-if="!$route.query.viewtype && ableOperation">
185 <el-form-item> 185 <el-form-item>
186 <el-button type="primary" @click="onSubmit">保存</el-button> 186 <el-button type="primary" @click="onSubmit">保存</el-button>
187 </el-form-item> 187 </el-form-item>
...@@ -191,10 +191,11 @@ ...@@ -191,10 +191,11 @@
191 </template> 191 </template>
192 <script> 192 <script>
193 import qlrCommonTable from "@/views/workflow/components/qlrCommonTable"; 193 import qlrCommonTable from "@/views/workflow/components/qlrCommonTable";
194 import { Init, saveBatchData } from "@/api/workflow/fwsyqFlow.js"; 194 import { Init, saveData } from "@/api/workflow/fwsyqFlow.js";
195 import { mapGetters } from "vuex"; 195 import { mapGetters } from "vuex";
196 export default { 196 export default {
197 async created () { 197 async created () {
198 this.ableOperation = this.$parent.currentSelectTab.ableOperation
198 this.propsParam = this.$attrs; 199 this.propsParam = this.$attrs;
199 var formdata = new FormData(); 200 var formdata = new FormData();
200 formdata.append("bsmSldy", this.propsParam.bsmSldy); 201 formdata.append("bsmSldy", this.propsParam.bsmSldy);
...@@ -216,6 +217,8 @@ ...@@ -216,6 +217,8 @@
216 }, 217 },
217 data () { 218 data () {
218 return { 219 return {
220 //表单是否可操作
221 ableOperation: true,
219 disabled: true, 222 disabled: true,
220 tdytOption: [], 223 tdytOption: [],
221 czrOptions: [], 224 czrOptions: [],
...@@ -276,13 +279,14 @@ ...@@ -276,13 +279,14 @@
276 }, 279 },
277 280
278 onSubmit () { 281 onSubmit () {
279 saveBatchData(this.ruleForm).then((res) => { 282 saveData(this.ruleForm).then((res) => {
280 if (res.code === 200) { 283 if (res.code === 200) {
281 this.$message({ 284 this.$message({
282 showClose: true, 285 showClose: true,
283 message: "保存成功!", 286 message: "保存成功!",
284 type: "success", 287 type: "success",
285 }); 288 });
289 this.$store.dispatch('user/refreshPage', true);
286 } else { 290 } else {
287 this.$message({ 291 this.$message({
288 showClose: true, 292 showClose: true,
......
1 <!-- 1 <!--
2 * @Description: 2 * @Description:
3 * @Autor: renchao 3 * @Autor: renchao
4 * @LastEditTime: 2023-05-17 10:45:21 4 * @LastEditTime: 2023-05-25 08:58:04
5 --> 5 -->
6 <template> 6 <template>
7 <!-- 受理信息 --> 7 <!-- 受理信息 -->
...@@ -169,7 +169,7 @@ ...@@ -169,7 +169,7 @@
169 </el-col> 169 </el-col>
170 </el-row> 170 </el-row>
171 </div> 171 </div>
172 <el-row class="btn" v-if="!$route.query.viewtype"> 172 <el-row class="btn" v-if="!$route.query.viewtype && ableOperation">
173 <el-form-item> 173 <el-form-item>
174 <el-button type="primary" @click="onSubmit">保存</el-button> 174 <el-button type="primary" @click="onSubmit">保存</el-button>
175 </el-form-item> 175 </el-form-item>
...@@ -183,6 +183,7 @@ ...@@ -183,6 +183,7 @@
183 import { mapGetters } from "vuex"; 183 import { mapGetters } from "vuex";
184 export default { 184 export default {
185 async created () { 185 async created () {
186 this.ableOperation = this.$parent.currentSelectTab.ableOperation
186 this.propsParam = this.$attrs; 187 this.propsParam = this.$attrs;
187 var formdata = new FormData(); 188 var formdata = new FormData();
188 formdata.append("bsmSldy", this.propsParam.bsmSldy); 189 formdata.append("bsmSldy", this.propsParam.bsmSldy);
...@@ -203,6 +204,8 @@ ...@@ -203,6 +204,8 @@
203 }, 204 },
204 data () { 205 data () {
205 return { 206 return {
207 //表单是否可操作
208 ableOperation: true,
206 disabled: true, 209 disabled: true,
207 tdytOption: [], 210 tdytOption: [],
208 czrOptions: [], 211 czrOptions: [],
......
1 <!-- 1 <!--
2 * @Description: 2 * @Description:
3 * @Autor: renchao 3 * @Autor: renchao
4 * @LastEditTime: 2023-05-17 10:45:26 4 * @LastEditTime: 2023-05-25 08:59:02
5 --> 5 -->
6 <template> 6 <template>
7 <!-- 受理信息 --> 7 <!-- 受理信息 -->
...@@ -89,9 +89,9 @@ ...@@ -89,9 +89,9 @@
89 <el-col :span="8"> 89 <el-col :span="8">
90 <el-form-item label="取得价格:"> 90 <el-form-item label="取得价格:">
91 <div style="display:flex"> 91 <div style="display:flex">
92 <el-input v-model="ruleForm.jsydsyq.qdjg" style="width:500%" :disabled="$route.query.viewtype" 92 <el-input v-model="ruleForm.jsydsyq.qdjg" style="width:500%" :disabled="$route.query.viewtype == '1'"
93 oninput="value=value.replace(/[^\d.]/g,'')"></el-input> 93 oninput="value=value.replace(/[^\d.]/g,'')"></el-input>
94 <el-select v-model="ruleForm.jsydsyq.jedw" :disabled="$route.query.viewtype"> 94 <el-select v-model="ruleForm.jsydsyq.jedw" :disabled="$route.query.viewtype == '1'">
95 <el-option v-for="item in dictData['A57']" :key="item.dcode" :label="item.dname" :value="item.dcode"> 95 <el-option v-for="item in dictData['A57']" :key="item.dcode" :label="item.dname" :value="item.dcode">
96 </el-option> 96 </el-option>
97 </el-select> 97 </el-select>
...@@ -121,7 +121,7 @@ ...@@ -121,7 +121,7 @@
121 <el-row :gutter="10"> 121 <el-row :gutter="10">
122 <el-col> 122 <el-col>
123 <el-form-item label="附记:" prop="fj"> 123 <el-form-item label="附记:" prop="fj">
124 <el-input type="textarea" v-model="ruleForm.jsydsyq.fj" :disabled="$route.query.viewtype"></el-input> 124 <el-input type="textarea" v-model="ruleForm.jsydsyq.fj" :disabled="$route.query.viewtype == '1'"></el-input>
125 </el-form-item> 125 </el-form-item>
126 </el-col> 126 </el-col>
127 </el-row> 127 </el-row>
...@@ -183,7 +183,7 @@ ...@@ -183,7 +183,7 @@
183 </el-col> 183 </el-col>
184 </el-row> 184 </el-row>
185 </div> 185 </div>
186 <el-row class="btn" v-if="!$route.query.viewtype"> 186 <el-row class="btn" v-if="!$route.query.viewtype && ableOperation">
187 <el-form-item> 187 <el-form-item>
188 <el-button type="primary" @click="onSubmit">保存</el-button> 188 <el-button type="primary" @click="onSubmit">保存</el-button>
189 </el-form-item> 189 </el-form-item>
...@@ -197,6 +197,7 @@ ...@@ -197,6 +197,7 @@
197 import qlrCommonTable from "@/views/workflow/components/qlrCommonTable" 197 import qlrCommonTable from "@/views/workflow/components/qlrCommonTable"
198 export default { 198 export default {
199 mounted () { 199 mounted () {
200 this.ableOperation = this.$parent.currentSelectTab.ableOperation
200 this.propsParam = this.$attrs; 201 this.propsParam = this.$attrs;
201 var formdata = new FormData(); 202 var formdata = new FormData();
202 let that = this 203 let that = this
...@@ -206,7 +207,6 @@ ...@@ -206,7 +207,6 @@
206 Init(formdata).then((res) => { 207 Init(formdata).then((res) => {
207 this.$nextTick(() => { 208 this.$nextTick(() => {
208 that.ruleForm = res.result; 209 that.ruleForm = res.result;
209 console.log(that.ruleForm, 'that.ruleFormthat.ruleFormthat.ruleForm');
210 that.$endLoading(); 210 that.$endLoading();
211 that.isShow = true; 211 that.isShow = true;
212 this.czrOptions = this.ruleForm.qlrList; 212 this.czrOptions = this.ruleForm.qlrList;
...@@ -219,6 +219,8 @@ ...@@ -219,6 +219,8 @@
219 }, 219 },
220 data () { 220 data () {
221 return { 221 return {
222 //表单是否可操作
223 ableOperation: true,
222 key: 0, 224 key: 0,
223 isShow: false, 225 isShow: false,
224 disabled: true, 226 disabled: true,
...@@ -284,19 +286,20 @@ ...@@ -284,19 +286,20 @@
284 this.$message({ 286 this.$message({
285 showClose: true, 287 showClose: true,
286 message: "保存成功!", 288 message: "保存成功!",
287 type: "success", 289 type: "success"
288 }); 290 })
291 this.$store.dispatch('user/refreshPage', true);
289 } else { 292 } else {
290 this.$message({ 293 this.$message({
291 showClose: true, 294 showClose: true,
292 message: res.message, 295 message: res.message,
293 type: "error", 296 type: "error"
294 }); 297 })
295 } 298 }
296 }); 299 })
297 }, 300 }
298 }, 301 }
299 }; 302 }
300 </script> 303 </script>
301 <style scoped lang='scss'> 304 <style scoped lang='scss'>
302 @import "~@/styles/public.scss"; 305 @import "~@/styles/public.scss";
......
1 <!-- 1 <!--
2 * @Description: 2 * @Description:
3 * @Autor: renchao 3 * @Autor: renchao
4 * @LastEditTime: 2023-05-17 10:45:28 4 * @LastEditTime: 2023-05-25 08:59:49
5 --> 5 -->
6 <template> 6 <template>
7 <!-- 受理信息 --> 7 <!-- 受理信息 -->
...@@ -123,7 +123,7 @@ ...@@ -123,7 +123,7 @@
123 <el-row :gutter="10"> 123 <el-row :gutter="10">
124 <el-col> 124 <el-col>
125 <el-form-item label="附记:" prop="fj"> 125 <el-form-item label="附记:" prop="fj">
126 <el-input type="textarea" v-model="ruleForm.jsydsyq.fj" :disabled="$route.query.viewtype"></el-input> 126 <el-input type="textarea" v-model="ruleForm.jsydsyq.fj" :disabled="$route.query.viewtype=='1'"></el-input>
127 </el-form-item> 127 </el-form-item>
128 </el-col> 128 </el-col>
129 </el-row> 129 </el-row>
...@@ -137,7 +137,7 @@ ...@@ -137,7 +137,7 @@
137 <el-row :gutter="10"> 137 <el-row :gutter="10">
138 <el-col :span="14"> 138 <el-col :span="14">
139 <el-form-item label="共有方式:"> 139 <el-form-item label="共有方式:">
140 <el-radio-group :disabled="$route.query.viewtype" v-model="ruleForm.slywxx.gyfs"> 140 <el-radio-group :disabled="$route.query.viewtype=='1'" v-model="ruleForm.slywxx.gyfs">
141 <el-radio label="0">单独所有</el-radio> 141 <el-radio label="0">单独所有</el-radio>
142 <el-radio label="1">共同共有</el-radio> 142 <el-radio label="1">共同共有</el-radio>
143 <el-radio label="2">按份所有</el-radio> 143 <el-radio label="2">按份所有</el-radio>
...@@ -163,7 +163,7 @@ ...@@ -163,7 +163,7 @@
163 </el-col> 163 </el-col>
164 </el-row> 164 </el-row>
165 <qlrCommonTable :tableData="ruleForm.qlrList" @upDateQlrxxList='upDateQlrxxList' 165 <qlrCommonTable :tableData="ruleForm.qlrList" @upDateQlrxxList='upDateQlrxxList'
166 :viewtype="$route.query.viewtype" :gyfs="ruleForm.slywxx.gyfs" /> 166 :viewtype="$route.query.viewtype=='1'" :gyfs="ruleForm.slywxx.gyfs" />
167 <div class="slxx_title title-block"> 167 <div class="slxx_title title-block">
168 登记原因 168 登记原因
169 <div class="triangle"></div> 169 <div class="triangle"></div>
...@@ -171,14 +171,14 @@ ...@@ -171,14 +171,14 @@
171 <el-row :gutter="10"> 171 <el-row :gutter="10">
172 <el-col> 172 <el-col>
173 <el-form-item label="登记原因:" prop="djyy"> 173 <el-form-item label="登记原因:" prop="djyy">
174 <el-input class="textArea" type="textarea" :disabled="$route.query.viewtype" 174 <el-input class="textArea" type="textarea" :disabled="$route.query.viewtype=='1'"
175 v-model="ruleForm.jsydsyq.djyy"> 175 v-model="ruleForm.jsydsyq.djyy">
176 </el-input> 176 </el-input>
177 </el-form-item> 177 </el-form-item>
178 </el-col> 178 </el-col>
179 </el-row> 179 </el-row>
180 </div> 180 </div>
181 <el-row class="btn" v-if="!$route.query.viewtype"> 181 <el-row class="btn" v-if="!$route.query.viewtype=='1' && ableOperation">
182 <el-form-item> 182 <el-form-item>
183 <el-button type="primary" @click="onSubmit">保存</el-button> 183 <el-button type="primary" @click="onSubmit">保存</el-button>
184 </el-form-item> 184 </el-form-item>
...@@ -192,6 +192,7 @@ ...@@ -192,6 +192,7 @@
192 import { Init, saveData } from "@/api/workflow/jsydsyqFlow.js"; 192 import { Init, saveData } from "@/api/workflow/jsydsyqFlow.js";
193 export default { 193 export default {
194 mounted () { 194 mounted () {
195 this.ableOperation = this.$parent.currentSelectTab.ableOperation
195 this.propsParam = this.$attrs; 196 this.propsParam = this.$attrs;
196 var formdata = new FormData(); 197 var formdata = new FormData();
197 this.$startLoading(); 198 this.$startLoading();
...@@ -210,6 +211,8 @@ ...@@ -210,6 +211,8 @@
210 }, 211 },
211 data () { 212 data () {
212 return { 213 return {
214 //表单是否可操作
215 ableOperation: true,
213 disabled: true, 216 disabled: true,
214 czrOptions: [], 217 czrOptions: [],
215 ruleForm: { 218 ruleForm: {
...@@ -235,7 +238,8 @@ ...@@ -235,7 +238,8 @@
235 showClose: true, 238 showClose: true,
236 message: "保存成功!", 239 message: "保存成功!",
237 type: "success", 240 type: "success",
238 }); 241 })
242 this.$store.dispatch('user/refreshPage', true);
239 } else { 243 } else {
240 this.$message({ 244 this.$message({
241 showClose: true, 245 showClose: true,
......
...@@ -232,100 +232,98 @@ ...@@ -232,100 +232,98 @@
232 </div> 232 </div>
233 </template> 233 </template>
234 <script> 234 <script>
235 import { mapGetters } from "vuex" 235 import { mapGetters } from "vuex"
236 import { Init, saveData } from "@/api/workflow/nydsyqFlow.js" 236 import { Init, saveData } from "@/api/workflow/nydsyqFlow.js"
237 import qlrCommonTable from "@/views/workflow/components/qlrCommonTable" 237 import qlrCommonTable from "@/views/workflow/components/qlrCommonTable"
238 import JtcyTable from "@/views/workflow/components/JtcyTable" 238 import JtcyTable from "@/views/workflow/components/JtcyTable"
239 export default { 239 export default {
240 mounted () { 240 mounted () {
241 this.ableOperation = this.$parent.currentSelectTab.ableOperation 241 this.ableOperation = this.$parent.currentSelectTab.ableOperation
242 this.propsParam = this.$attrs; 242 this.propsParam = this.$attrs;
243 this.$startLoading(); 243 this.$startLoading();
244 var formdata = new FormData(); 244 var formdata = new FormData();
245 formdata.append("bsmSldy", this.propsParam.bsmSldy); 245 formdata.append("bsmSldy", this.propsParam.bsmSldy);
246 formdata.append("djlx", this.propsParam.djlx); 246 formdata.append("djlx", this.propsParam.djlx);
247 Init(formdata).then((res) => { 247 Init(formdata).then((res) => {
248 this.ruleForm = res.result; 248 this.ruleForm = res.result;
249 this.$endLoading(); 249 this.$endLoading();
250 if (res.code === 200) {
251 }
252 else {
253 this.$alert(res.message, '提示');
254 }
255 })
256 },
257 components: { qlrCommonTable, JtcyTable },
258 computed: {
259 ...mapGetters(["dictData", "flag"])
260 },
261 watch: {
262
263 },
264 data () {
265 return {
266 disabled: true,
267 //持证人选项
268 czrOptions: [],
269 ruleForm: {},
270 //传递参数
271 propsParam: {},
272 //表单是否可操作
273 ableOperation: true,
274 rules: {}
275 }
276 },
277 methods: {
278 onSubmit () {
279 saveData(this.ruleForm).then((res) => {
280 if (res.code === 200) { 250 if (res.code === 200) {
281 this.$message({
282 showClose: true,
283 message: "保存成功!",
284 type: "success",
285 });
286 } else {
287 this.$message({
288 showClose: true,
289 message: res.message,
290 type: "error",
291 });
292 } 251 }
293 }); 252 else {
294 }, 253 this.$alert(res.message, '提示');
295 upDateQlrxxList (val) { 254 }
296 this.ruleForm.qlrList = _.cloneDeep(val) 255 })
297 }, 256 },
298 upDateJtcyList (val) { 257 components: { qlrCommonTable, JtcyTable },
299 this.ruleForm.jtcyList = _.cloneDeep(val) 258 computed: {
259 ...mapGetters(["dictData", "flag"])
300 }, 260 },
301 //水域滩涂类型变化事件 261 data () {
302 changeSyttlx (e) { 262 return {
303 let itemLx = {} 263 disabled: true,
304 itemLx = this.dictData['A23'].find((item) => { 264 //持证人选项
305 return item.dcode == e 265 czrOptions: [],
306 }) 266 ruleForm: {},
307 this.ruleForm.nydsyq.syttlxmc = itemLx.dname; 267 //传递参数
268 propsParam: {},
269 //表单是否可操作
270 ableOperation: true,
271 rules: {}
272 }
308 }, 273 },
309 //养殖业方式变化事件 274 methods: {
310 changeYzyfs (e) { 275 onSubmit () {
311 let itemLx = {} 276 saveData(this.ruleForm).then((res) => {
312 itemLx = this.dictData['A24'].find((item) => { 277 if (res.code === 200) {
313 return item.dcode == e 278 this.$message({
314 }) 279 showClose: true,
315 this.ruleForm.nydsyq.yzyfsmc = itemLx.dname; 280 message: "保存成功!",
281 type: "success",
282 });
283 this.$store.dispatch('user/refreshPage', true);
284 } else {
285 this.$message({
286 showClose: true,
287 message: res.message,
288 type: "error",
289 });
290 }
291 });
292 },
293 upDateQlrxxList (val) {
294 this.ruleForm.qlrList = _.cloneDeep(val)
295 },
296 upDateJtcyList (val) {
297 this.ruleForm.jtcyList = _.cloneDeep(val)
298 },
299 //水域滩涂类型变化事件
300 changeSyttlx (e) {
301 let itemLx = {}
302 itemLx = this.dictData['A23'].find((item) => {
303 return item.dcode == e
304 })
305 this.ruleForm.nydsyq.syttlxmc = itemLx.dname;
306 },
307 //养殖业方式变化事件
308 changeYzyfs (e) {
309 let itemLx = {}
310 itemLx = this.dictData['A24'].find((item) => {
311 return item.dcode == e
312 })
313 this.ruleForm.nydsyq.yzyfsmc = itemLx.dname;
314 },
315 //用地用海变化事件
316 changeYdyhfl (e) {
317 let itemLx = {}
318 itemLx = this.dictData['A51'].find((item) => {
319 return item.dcode == e
320 })
321 this.ruleForm.nydsyq.ydyhflmc = itemLx.dname;
322 }
316 }, 323 },
317 //用地用海变化事件 324 };
318 changeYdyhfl (e) {
319 let itemLx = {}
320 itemLx = this.dictData['A51'].find((item) => {
321 return item.dcode == e
322 })
323 this.ruleForm.nydsyq.ydyhflmc = itemLx.dname;
324 }
325 },
326 };
327 </script> 325 </script>
328 <style scoped lang='scss'> 326 <style scoped lang='scss'>
329 @import "~@/styles/public.scss"; 327 @import "~@/styles/public.scss";
330 @import "~@/styles/slxx/slxx.scss"; 328 @import "~@/styles/slxx/slxx.scss";
331 </style> 329 </style>
...\ No newline at end of file ...\ No newline at end of file
......
...@@ -229,7 +229,7 @@ ...@@ -229,7 +229,7 @@
229 </el-col> 229 </el-col>
230 </el-row> 230 </el-row>
231 </div> 231 </div>
232 <el-row class="btn" v-if="!$route.query.viewtype"> 232 <el-row class="btn" v-if="!$route.query.viewtype && ableOperation">
233 <el-form-item> 233 <el-form-item>
234 <el-button type="primary" @click="onSubmit">保存</el-button> 234 <el-button type="primary" @click="onSubmit">保存</el-button>
235 </el-form-item> 235 </el-form-item>
...@@ -238,102 +238,103 @@ ...@@ -238,102 +238,103 @@
238 </div> 238 </div>
239 </template> 239 </template>
240 <script> 240 <script>
241 import { mapGetters } from "vuex" 241 import { mapGetters } from "vuex"
242 import { Init, saveData } from "@/api/workflow/nydsyqFlow.js" 242 import { Init, saveData } from "@/api/workflow/nydsyqFlow.js"
243 import qlrCommonTable from "@/views/workflow/components/qlrCommonTable" 243 import qlrCommonTable from "@/views/workflow/components/qlrCommonTable"
244 import JtcyTable from "@/views/workflow/components/JtcyTable" 244 import JtcyTable from "@/views/workflow/components/JtcyTable"
245 export default { 245 export default {
246 mounted () { 246 mounted () {
247 this.propsParam = this.$attrs; 247 this.ableOperation = this.$parent.currentSelectTab.ableOperation
248 var formdata = new FormData(); 248 this.propsParam = this.$attrs;
249 this.$startLoading(); 249 var formdata = new FormData();
250 formdata.append("bsmSldy", this.propsParam.bsmSldy); 250 this.$startLoading();
251 formdata.append("djlx", this.propsParam.djlx); 251 formdata.append("bsmSldy", this.propsParam.bsmSldy);
252 Init(formdata).then((res) => { 252 formdata.append("djlx", this.propsParam.djlx);
253 this.ruleForm = res.result; 253 Init(formdata).then((res) => {
254 this.$endLoading(); 254 this.ruleForm = res.result;
255 if (res.code === 200) { 255 this.$endLoading();
256 }
257 else {
258 this.$alert(res.message, '提示');
259 }
260 })
261 },
262 components: { qlrCommonTable, JtcyTable },
263 computed: {
264 ...mapGetters(["dictData", "flag"])
265 },
266 watch: {
267
268 },
269 data () {
270 return {
271 disabled: true,
272 czrOptions: [],
273 ruleForm: {},
274 //传递参数
275 propsParam: {},
276 rules: {}
277 }
278 },
279 methods: {
280 onSubmit () {
281 saveData(this.ruleForm).then((res) => {
282 if (res.code === 200) { 256 if (res.code === 200) {
283 this.$message({
284 showClose: true,
285 message: "保存成功!",
286 type: "success",
287 });
288 } else {
289 this.$message({
290 showClose: true,
291 message: res.message,
292 type: "error",
293 });
294 } 257 }
295 }); 258 else {
296 }, 259 this.$alert(res.message, '提示');
297 //权利人更新 260 }
298 upDateQlrxxList (val) {
299 this.ruleForm.qlrList = _.cloneDeep(val)
300 },
301 // 更新义务人信息
302 upDateYwrxxList (val) {
303 this.ruleForm.ywrList = _.cloneDeep(val);
304 },
305 //家庭成员更新
306 upDateJtcyList (val) {
307 this.ruleForm.jtcyList = _.cloneDeep(val)
308 },
309 //水域滩涂类型变化事件
310 changeSyttlx (e) {
311 let itemLx = {}
312 itemLx = this.dictData['A23'].find((item) => {
313 return item.dcode == e
314 }) 261 })
315 this.ruleForm.nydsyq.syttlxmc = itemLx.dname;
316 }, 262 },
317 //养殖业方式变化事件 263 components: { qlrCommonTable, JtcyTable },
318 changeYzyfs (e) { 264 computed: {
319 let itemLx = {} 265 ...mapGetters(["dictData", "flag"])
320 itemLx = this.dictData['A24'].find((item) => {
321 return item.dcode == e
322 })
323 this.ruleForm.nydsyq.yzyfsmc = itemLx.dname;
324 }, 266 },
325 //用地用海变化事件 267 data () {
326 changeYdyhfl (e) { 268 return {
327 let itemLx = {} 269 //表单是否可操作
328 itemLx = this.dictData['A51'].find((item) => { 270 ableOperation: true,
329 return item.dcode == e 271 disabled: true,
330 }) 272 czrOptions: [],
331 this.ruleForm.nydsyq.ydyhflmc = itemLx.dname; 273 ruleForm: {},
274 //传递参数
275 propsParam: {},
276 rules: {}
277 }
278 },
279 methods: {
280 onSubmit () {
281 saveData(this.ruleForm).then((res) => {
282 if (res.code === 200) {
283 this.$message({
284 showClose: true,
285 message: "保存成功!",
286 type: "success",
287 });
288 this.$store.dispatch('user/refreshPage', true);
289 } else {
290 this.$message({
291 showClose: true,
292 message: res.message,
293 type: "error",
294 });
295 }
296 });
297 },
298 //权利人更新
299 upDateQlrxxList (val) {
300 this.ruleForm.qlrList = _.cloneDeep(val)
301 },
302 // 更新义务人信息
303 upDateYwrxxList (val) {
304 this.ruleForm.ywrList = _.cloneDeep(val);
305 },
306 //家庭成员更新
307 upDateJtcyList (val) {
308 this.ruleForm.jtcyList = _.cloneDeep(val)
309 },
310 //水域滩涂类型变化事件
311 changeSyttlx (e) {
312 let itemLx = {}
313 itemLx = this.dictData['A23'].find((item) => {
314 return item.dcode == e
315 })
316 this.ruleForm.nydsyq.syttlxmc = itemLx.dname;
317 },
318 //养殖业方式变化事件
319 changeYzyfs (e) {
320 let itemLx = {}
321 itemLx = this.dictData['A24'].find((item) => {
322 return item.dcode == e
323 })
324 this.ruleForm.nydsyq.yzyfsmc = itemLx.dname;
325 },
326 //用地用海变化事件
327 changeYdyhfl (e) {
328 let itemLx = {}
329 itemLx = this.dictData['A51'].find((item) => {
330 return item.dcode == e
331 })
332 this.ruleForm.nydsyq.ydyhflmc = itemLx.dname;
333 },
332 }, 334 },
333 }, 335 };
334 };
335 </script> 336 </script>
336 <style scoped lang='scss'> 337 <style scoped lang='scss'>
337 @import "~@/styles/public.scss"; 338 @import "~@/styles/public.scss";
338 @import "~@/styles/slxx/slxx.scss"; 339 @import "~@/styles/slxx/slxx.scss";
339 </style> 340 </style>
...\ No newline at end of file ...\ No newline at end of file
......
...@@ -164,7 +164,7 @@ ...@@ -164,7 +164,7 @@
164 </el-col> 164 </el-col>
165 </el-row> 165 </el-row>
166 </div> 166 </div>
167 <el-row class="btn" v-if="!$route.query.viewtype"> 167 <el-row class="btn" v-if="!$route.query.viewtype && ableOperation">
168 <el-form-item> 168 <el-form-item>
169 <el-button type="primary" @click="onSubmit">保存</el-button> 169 <el-button type="primary" @click="onSubmit">保存</el-button>
170 </el-form-item> 170 </el-form-item>
...@@ -173,139 +173,143 @@ ...@@ -173,139 +173,143 @@
173 </div> 173 </div>
174 </template> 174 </template>
175 <script> 175 <script>
176 import qlrCommonTable from "@/views/workflow/components/qlrCommonTable"; 176 import qlrCommonTable from "@/views/workflow/components/qlrCommonTable";
177 import { Init, saveData } from "@/api/workflow/ygdjFlow.js"; 177 import { Init, saveData } from "@/api/workflow/ygdjFlow.js";
178 import { mapGetters } from "vuex"; 178 import { mapGetters } from "vuex";
179 export default { 179 export default {
180 mounted () { 180 mounted () {
181 this.$startLoading(); 181 this.ableOperation = this.$parent.currentSelectTab.ableOperation
182 var formdata = new FormData(); 182 this.$startLoading();
183 formdata.append("bsmSldy", this.propsParam.bsmSldy); 183 var formdata = new FormData();
184 formdata.append("djlx", this.propsParam.djlx); 184 formdata.append("bsmSldy", this.propsParam.bsmSldy);
185 formdata.append("djlx", this.propsParam.djlx);
185 186
186 Init(formdata).then(res => { 187 Init(formdata).then(res => {
187 if (res.code === 200 && res.result) { 188 if (res.code === 200 && res.result) {
188 this.$endLoading(); 189 this.$endLoading();
189 this.ruleForm = res.result; 190 this.ruleForm = res.result;
190 } 191 }
191 }) 192 })
192 },
193 components: { qlrCommonTable },
194 computed: {
195 ...mapGetters(["dictData", "flag"]),
196 },
197 data () {
198 return {
199 disabled: true,
200 tdytOption: [],
201 czrOptions: [],
202 ruleForm: {},
203 //传递参数
204 propsParam: this.$attrs,
205 rules: {},
206 };
207 },
208 methods: {
209 // 更新权利人信息
210 upDateQlrxxList (val) {
211 this.ruleForm.qlrList = _.cloneDeep(val);
212 }, 193 },
213 // 更新权利人信息 194 components: { qlrCommonTable },
214 upDateYwrxxList (val) { 195 computed: {
215 this.ruleForm.ywrList = _.cloneDeep(val); 196 ...mapGetters(["dictData", "flag"]),
216 }, 197 },
217 onSubmit () { 198 data () {
218 saveData(this.ruleForm).then((res) => { 199 return {
219 if (res.code === 200) { 200 //表单是否可操作
220 this.$message({ 201 ableOperation: true,
221 showClose: true, 202 disabled: true,
222 message: "保存成功!", 203 tdytOption: [],
223 type: "success", 204 czrOptions: [],
224 }); 205 ruleForm: {},
225 } else { 206 //传递参数
226 this.$message({ 207 propsParam: this.$attrs,
227 showClose: true, 208 rules: {},
228 message: res.message, 209 };
229 type: "error",
230 });
231 }
232 });
233 }, 210 },
234 }, 211 methods: {
235 }; 212 // 更新权利人信息
213 upDateQlrxxList (val) {
214 this.ruleForm.qlrList = _.cloneDeep(val);
215 },
216 // 更新权利人信息
217 upDateYwrxxList (val) {
218 this.ruleForm.ywrList = _.cloneDeep(val);
219 },
220 onSubmit () {
221 saveData(this.ruleForm).then((res) => {
222 if (res.code === 200) {
223 this.$message({
224 showClose: true,
225 message: "保存成功!",
226 type: "success",
227 });
228 this.$store.dispatch('user/refreshPage', true);
229 } else {
230 this.$message({
231 showClose: true,
232 message: res.message,
233 type: "error",
234 });
235 }
236 });
237 },
238 },
239 };
236 </script> 240 </script>
237 <style scoped lang='scss'> 241 <style scoped lang='scss'>
238 @import "~@/styles/public.scss"; 242 @import "~@/styles/public.scss";
239 243
240 /deep/.el-form { 244 /deep/.el-form {
241 display: flex; 245 display: flex;
242 flex-direction: column; 246 flex-direction: column;
243 height: calc(100vh - 130px); 247 height: calc(100vh - 130px);
244 } 248 }
245 249
246 /deep/.el-form-item__label { 250 /deep/.el-form-item__label {
247 padding: 0; 251 padding: 0;
248 } 252 }
249 253
250 /deep/.el-radio { 254 /deep/.el-radio {
251 margin-right: 10px; 255 margin-right: 10px;
252 } 256 }
253 257
254 /deep/.el-select { 258 /deep/.el-select {
255 width: 100%; 259 width: 100%;
256 } 260 }
257 261
258 /deep/.el-form-item { 262 /deep/.el-form-item {
259 margin-bottom: 8px; 263 margin-bottom: 8px;
260 } 264 }
261 265
262 .marginBot0 { 266 .marginBot0 {
263 margin-bottom: 0 !important; 267 margin-bottom: 0 !important;
264 } 268 }
265 269
266 .slxx { 270 .slxx {
267 box-sizing: border-box; 271 box-sizing: border-box;
268 } 272 }
269 273
270 .slxx_con { 274 .slxx_con {
271 flex: 1; 275 flex: 1;
272 height: 100%; 276 height: 100%;
273 background-color: #ffffff; 277 background-color: #ffffff;
274 overflow-y: auto; 278 overflow-y: auto;
275 padding-right: 3px; 279 padding-right: 3px;
276 overflow-x: hidden; 280 overflow-x: hidden;
277 } 281 }
278 282
279 .submit_btn { 283 .submit_btn {
280 height: 50px; 284 height: 50px;
281 } 285 }
282 286
283 .slxx_title { 287 .slxx_title {
284 border-bottom: 1px solid $borderColor; 288 border-bottom: 1px solid $borderColor;
285 padding-left: 10px; 289 padding-left: 10px;
286 padding-bottom: 5px; 290 padding-bottom: 5px;
287 margin-bottom: 10px; 291 margin-bottom: 10px;
288 margin-top: 5px; 292 margin-top: 5px;
289 font-size: 16px; 293 font-size: 16px;
290 font-weight: 500; 294 font-weight: 500;
291 color: #4a4a4a; 295 color: #4a4a4a;
292 } 296 }
293 297
294 .btn { 298 .btn {
295 text-align: center; 299 text-align: center;
296 padding-top: 10px; 300 padding-top: 10px;
297 height: 36px; 301 height: 36px;
298 background-color: #ffffff; 302 background-color: #ffffff;
299 padding: 5px 0; 303 padding: 5px 0;
300 } 304 }
301 305
302 .textArea { 306 .textArea {
303 /deep/.el-textarea__inner { 307 /deep/.el-textarea__inner {
304 min-height: 90px !important; 308 min-height: 90px !important;
309 }
305 } 310 }
306 }
307 311
308 /deep/.el-form-item__label { 312 /deep/.el-form-item__label {
309 padding-bottom: 0px; 313 padding-bottom: 0px;
310 } 314 }
311 </style> 315 </style>
......
...@@ -167,7 +167,7 @@ ...@@ -167,7 +167,7 @@
167 </el-col> 167 </el-col>
168 </el-row> 168 </el-row>
169 </div> 169 </div>
170 <el-row class="btn" v-if="!$route.query.viewtype"> 170 <el-row class="btn" v-if="!$route.query.viewtype && ableOperation">
171 <el-form-item> 171 <el-form-item>
172 <el-button type="primary" @click="onSubmit">保存</el-button> 172 <el-button type="primary" @click="onSubmit">保存</el-button>
173 </el-form-item> 173 </el-form-item>
...@@ -176,149 +176,153 @@ ...@@ -176,149 +176,153 @@
176 </div> 176 </div>
177 </template> 177 </template>
178 <script> 178 <script>
179 import qlrCommonTable from "@/views/workflow/components/qlrCommonTable"; 179 import qlrCommonTable from "@/views/workflow/components/qlrCommonTable";
180 import { Init, saveData } from "@/api/workflow/ygdjFlow.js"; 180 import { Init, saveData } from "@/api/workflow/ygdjFlow.js";
181 import { mapGetters } from "vuex"; 181 import { mapGetters } from "vuex";
182 export default { 182 export default {
183 mounted () { 183 mounted () {
184 this.propsParam = this.$attrs; 184 this.ableOperation = this.$parent.currentSelectTab.ableOperation
185 var formdata = new FormData(); 185 this.propsParam = this.$attrs;
186 this.$startLoading(); 186 var formdata = new FormData();
187 formdata.append("bsmSldy", this.propsParam.bsmSldy); 187 this.$startLoading();
188 formdata.append("djlx", this.propsParam.djlx); 188 formdata.append("bsmSldy", this.propsParam.bsmSldy);
189 Init(formdata).then((res) => { 189 formdata.append("djlx", this.propsParam.djlx);
190 if (res.code === 200 && res.result) { 190 Init(formdata).then((res) => {
191 this.$endLoading(); 191 if (res.code === 200 && res.result) {
192 this.ruleForm = res.result; 192 this.$endLoading();
193 } 193 this.ruleForm = res.result;
194 }); 194 }
195 }, 195 });
196 components: { qlrCommonTable },
197 computed: {
198 ...mapGetters(["dictData", "flag"]),
199 },
200 data () {
201 return {
202 disabled: true,
203 tdytOption: [],
204 czrOptions: [],
205 ruleForm: {},
206 //传递参数
207 propsParam: this.$attrs,
208 rules: {},
209 };
210 },
211 methods: {
212 onClick () {
213 this.$popup("房屋信息比对", "ywbl/ygdj/slxxCompareDetai",
214 {
215 formData: {
216 bsmSldy: this.propsParam.bsmSldy,
217 qllx: this.propsParam.qllx
218 }
219 });
220 }, 196 },
221 // 更新权利人信息 197 components: { qlrCommonTable },
222 upDateQlrxxList (val) { 198 computed: {
223 this.ruleForm.qlrList = _.cloneDeep(val); 199 ...mapGetters(["dictData", "flag"]),
224 }, 200 },
225 // 更新权利人信息 201 data () {
226 upDateYwrxxList (val) { 202 return {
227 this.ruleForm.ywrList = _.cloneDeep(val); 203 //表单是否可操作
204 ableOperation: true,
205 disabled: true,
206 tdytOption: [],
207 czrOptions: [],
208 ruleForm: {},
209 //传递参数
210 propsParam: this.$attrs,
211 rules: {},
212 };
228 }, 213 },
229 214 methods: {
230 onSubmit () { 215 onClick () {
231 saveData(this.ruleForm).then((res) => { 216 this.$popup("房屋信息比对", "ywbl/ygdj/slxxCompareDetai",
232 if (res.code === 200) { 217 {
233 this.$message({ 218 formData: {
234 showClose: true, 219 bsmSldy: this.propsParam.bsmSldy,
235 message: "保存成功!", 220 qllx: this.propsParam.qllx
236 type: "success", 221 }
237 });
238 } else {
239 this.$message({
240 showClose: true,
241 message: res.message,
242 type: "error",
243 }); 222 });
244 } 223 },
245 }); 224 // 更新权利人信息
225 upDateQlrxxList (val) {
226 this.ruleForm.qlrList = _.cloneDeep(val);
227 },
228 // 更新权利人信息
229 upDateYwrxxList (val) {
230 this.ruleForm.ywrList = _.cloneDeep(val);
231 },
232
233 onSubmit () {
234 saveData(this.ruleForm).then((res) => {
235 if (res.code === 200) {
236 this.$message({
237 showClose: true,
238 message: "保存成功!",
239 type: "success",
240 });
241 this.$store.dispatch('user/refreshPage', true);
242 } else {
243 this.$message({
244 showClose: true,
245 message: res.message,
246 type: "error",
247 });
248 }
249 });
250 },
246 }, 251 },
247 }, 252 };
248 };
249 </script> 253 </script>
250 <style scoped lang='scss'> 254 <style scoped lang='scss'>
251 @import "~@/styles/public.scss"; 255 @import "~@/styles/public.scss";
252 256
253 /deep/.el-form { 257 /deep/.el-form {
254 display: flex; 258 display: flex;
255 flex-direction: column; 259 flex-direction: column;
256 height: calc(100vh - 130px); 260 height: calc(100vh - 130px);
257 } 261 }
258 262
259 /deep/.el-form-item__label { 263 /deep/.el-form-item__label {
260 padding: 0; 264 padding: 0;
261 } 265 }
262 266
263 /deep/.el-radio { 267 /deep/.el-radio {
264 margin-right: 10px; 268 margin-right: 10px;
265 } 269 }
266 270
267 /deep/.el-select { 271 /deep/.el-select {
268 width: 100%; 272 width: 100%;
269 } 273 }
270 274
271 /deep/.el-form-item { 275 /deep/.el-form-item {
272 margin-bottom: 8px; 276 margin-bottom: 8px;
273 } 277 }
274 278
275 .marginBot0 { 279 .marginBot0 {
276 margin-bottom: 0 !important; 280 margin-bottom: 0 !important;
277 } 281 }
278 282
279 .slxx { 283 .slxx {
280 box-sizing: border-box; 284 box-sizing: border-box;
281 } 285 }
282 286
283 .slxx_con { 287 .slxx_con {
284 flex: 1; 288 flex: 1;
285 height: 100%; 289 height: 100%;
286 background-color: #ffffff; 290 background-color: #ffffff;
287 overflow-y: auto; 291 overflow-y: auto;
288 padding-right: 3px; 292 padding-right: 3px;
289 overflow-x: hidden; 293 overflow-x: hidden;
290 } 294 }
291 295
292 .submit_btn { 296 .submit_btn {
293 height: 50px; 297 height: 50px;
294 } 298 }
295 299
296 .slxx_title { 300 .slxx_title {
297 border-bottom: 1px solid $borderColor; 301 border-bottom: 1px solid $borderColor;
298 padding-left: 10px; 302 padding-left: 10px;
299 padding-bottom: 5px; 303 padding-bottom: 5px;
300 margin-bottom: 10px; 304 margin-bottom: 10px;
301 margin-top: 5px; 305 margin-top: 5px;
302 font-size: 16px; 306 font-size: 16px;
303 font-weight: 500; 307 font-weight: 500;
304 color: #4a4a4a; 308 color: #4a4a4a;
305 } 309 }
306 310
307 .btn { 311 .btn {
308 text-align: center; 312 text-align: center;
309 padding-top: 10px; 313 padding-top: 10px;
310 height: 36px; 314 height: 36px;
311 background-color: #ffffff; 315 background-color: #ffffff;
312 padding: 5px 0; 316 padding: 5px 0;
313 } 317 }
314 318
315 .textArea { 319 .textArea {
316 /deep/.el-textarea__inner { 320 /deep/.el-textarea__inner {
317 min-height: 90px !important; 321 min-height: 90px !important;
322 }
318 } 323 }
319 }
320 324
321 /deep/.el-form-item__label { 325 /deep/.el-form-item__label {
322 padding-bottom: 0px; 326 padding-bottom: 0px;
323 } 327 }
324 </style> 328 </style>
......
...@@ -171,7 +171,7 @@ ...@@ -171,7 +171,7 @@
171 </el-col> 171 </el-col>
172 </el-row> 172 </el-row>
173 </div> 173 </div>
174 <el-row class="btn" v-if="!$route.query.viewtype"> 174 <el-row class="btn" v-if="!$route.query.viewtype && ableOperation">
175 <el-form-item> 175 <el-form-item>
176 <el-button type="primary" @click="onSubmit">保存</el-button> 176 <el-button type="primary" @click="onSubmit">保存</el-button>
177 </el-form-item> 177 </el-form-item>
...@@ -180,73 +180,77 @@ ...@@ -180,73 +180,77 @@
180 </div> 180 </div>
181 </template> 181 </template>
182 <script> 182 <script>
183 import qlrCommonTable from "@/views/workflow/components/qlrCommonTable"; 183 import qlrCommonTable from "@/views/workflow/components/qlrCommonTable";
184 import { Init, saveData } from "@/api/workflow/ygdyFlow.js"; 184 import { Init, saveData } from "@/api/workflow/ygdyFlow.js";
185 import { mapGetters } from "vuex"; 185 import { mapGetters } from "vuex";
186 export default { 186 export default {
187 created () { 187 created () {
188 this.propsParam = this.$attrs; 188 this.ableOperation = this.$parent.currentSelectTab.ableOperation
189 var formdata = new FormData(); 189 this.propsParam = this.$attrs;
190 let that = this 190 var formdata = new FormData();
191 this.loading = true 191 let that = this
192 formdata.append("bsmSldy", this.propsParam.bsmSldy); 192 this.loading = true
193 formdata.append("bsmSlsq", this.$route.query.bsmSlsq); 193 formdata.append("bsmSldy", this.propsParam.bsmSldy);
194 formdata.append("djlx", this.propsParam.djlx); 194 formdata.append("bsmSlsq", this.$route.query.bsmSlsq);
195 Init(formdata).then((res) => { 195 formdata.append("djlx", this.propsParam.djlx);
196 if (res.code === 200 && res.result) { 196 Init(formdata).then((res) => {
197 that.ruleForm = res.result; 197 if (res.code === 200 && res.result) {
198 setTimeout(() => { 198 that.ruleForm = res.result;
199 that.loading = false 199 setTimeout(() => {
200 }, 300) 200 that.loading = false
201 } 201 }, 300)
202 });
203 },
204 components: { qlrCommonTable },
205 computed: {
206 ...mapGetters(["dictData", "flag"]),
207 },
208 data () {
209 return {
210 loading: false,
211 disabled: true,
212 tdytOption: [],
213 czrOptions: [],
214 ruleForm: {},
215 //传递参数
216 propsParam: this.$attrs,
217 rules: {},
218 };
219 },
220 methods: {
221 // 更新权利人信息
222 upDateQlrxxList (val) {
223 this.ruleForm.qlrList = _.cloneDeep(val);
224 },
225 // 更新权利人信息
226 upDateYwrxxList (val) {
227 this.ruleForm.ywrList = _.cloneDeep(val);
228 },
229 onSubmit () {
230 saveData(this.ruleForm).then((res) => {
231 if (res.code === 200) {
232 this.$message({
233 showClose: true,
234 message: "保存成功!",
235 type: "success",
236 });
237 } else {
238 this.$message({
239 showClose: true,
240 message: res.message,
241 type: "error",
242 });
243 } 202 }
244 }); 203 });
245 }, 204 },
246 }, 205 components: { qlrCommonTable },
247 }; 206 computed: {
207 ...mapGetters(["dictData", "flag"]),
208 },
209 data () {
210 return {
211 //表单是否可操作
212 ableOperation: true,
213 loading: false,
214 disabled: true,
215 tdytOption: [],
216 czrOptions: [],
217 ruleForm: {},
218 //传递参数
219 propsParam: this.$attrs,
220 rules: {},
221 };
222 },
223 methods: {
224 // 更新权利人信息
225 upDateQlrxxList (val) {
226 this.ruleForm.qlrList = _.cloneDeep(val);
227 },
228 // 更新权利人信息
229 upDateYwrxxList (val) {
230 this.ruleForm.ywrList = _.cloneDeep(val);
231 },
232 onSubmit () {
233 saveData(this.ruleForm).then((res) => {
234 if (res.code === 200) {
235 this.$message({
236 showClose: true,
237 message: "保存成功!",
238 type: "success",
239 });
240 this.$store.dispatch('user/refreshPage', true);
241 } else {
242 this.$message({
243 showClose: true,
244 message: res.message,
245 type: "error",
246 });
247 }
248 });
249 },
250 },
251 };
248 </script> 252 </script>
249 <style scoped lang='scss'> 253 <style scoped lang='scss'>
250 @import "~@/styles/public.scss"; 254 @import "~@/styles/public.scss";
251 @import "~@/styles/slxx/slxx.scss"; 255 @import "~@/styles/slxx/slxx.scss";
252 </style> 256 </style>
......
...@@ -151,7 +151,6 @@ ...@@ -151,7 +151,6 @@
151 </el-col> 151 </el-col>
152 </el-row> 152 </el-row>
153 153
154
155 <el-row> 154 <el-row>
156 <el-col :span="24"> 155 <el-col :span="24">
157 <el-form-item label="担保范围:"> 156 <el-form-item label="担保范围:">
...@@ -236,7 +235,7 @@ ...@@ -236,7 +235,7 @@
236 </el-row> 235 </el-row>
237 236
238 </div> 237 </div>
239 <el-row class="btn" v-if="!$route.query.viewtype"> 238 <el-row class="btn" v-if="!$route.query.viewtype && ableOperation">
240 <el-form-item> 239 <el-form-item>
241 <el-button type="primary" @click="onSubmitClick()">保存</el-button> 240 <el-button type="primary" @click="onSubmitClick()">保存</el-button>
242 </el-form-item> 241 </el-form-item>
...@@ -245,79 +244,83 @@ ...@@ -245,79 +244,83 @@
245 </div> 244 </div>
246 </template> 245 </template>
247 <script> 246 <script>
248 import qlrCommonTable from "@/views/workflow/components/qlrCommonTable"; 247 import qlrCommonTable from "@/views/workflow/components/qlrCommonTable";
249 import { Init, saveData } from "@/api/workflow/zjgcdyFlow.js"; 248 import { Init, saveData } from "@/api/workflow/zjgcdyFlow.js";
250 import { mapGetters } from "vuex"; 249 import { mapGetters } from "vuex";
251 export default { 250 export default {
252 mounted () { 251 mounted () {
253 this.propsParam = this.$attrs; 252 this.ableOperation = this.$parent.currentSelectTab.ableOperation
254 var formdata = new FormData(); 253 this.propsParam = this.$attrs;
255 this.$startLoading(); 254 var formdata = new FormData();
256 formdata.append("bsmSldy", this.propsParam.bsmSldy); 255 this.$startLoading();
257 formdata.append("bsmSlsq", this.$route.query.bsmSlsq); 256 formdata.append("bsmSldy", this.propsParam.bsmSldy);
258 formdata.append("djlx", this.propsParam.djlx); 257 formdata.append("bsmSlsq", this.$route.query.bsmSlsq);
259 Init(formdata).then((res) => { 258 formdata.append("djlx", this.propsParam.djlx);
260 if (res.code === 200 && res.result) { 259 Init(formdata).then((res) => {
261 this.ruleForm = res.result; 260 if (res.code === 200 && res.result) {
262 this.$endLoading(); 261 this.ruleForm = res.result;
263 this.ruleForm.diyaq.sfczjzhxz = "0"; 262 this.$endLoading();
264 } 263 this.ruleForm.diyaq.sfczjzhxz = "0";
265 })
266 },
267 components: { qlrCommonTable },
268 computed: {
269 ...mapGetters(["dictData", "flag"]),
270 },
271 data () {
272 return {
273 disabled: true,
274 czrOptions: [],
275 ruleForm: {
276 slywxx: {},
277 qlxxold: {},
278 diyaq: {},
279 gyfs: "",
280 },
281 //传递参数
282 propsParam: {},
283 rules: {},
284 };
285 },
286 methods: {
287 onSubmitClick () {
288 saveData(this.ruleForm, this.propsParam.djlx).then((res) => {
289 if (res.code === 200) {
290 this.$message({
291 showClose: true,
292 message: "保存成功!",
293 type: "success",
294 });
295 } else {
296 this.$message({
297 showClose: true,
298 message: res.message,
299 type: "error",
300 });
301 } 264 }
302 }); 265 })
303 }, 266 },
304 267 components: { qlrCommonTable },
305 // 更新权利人信息 268 computed: {
306 upDateQlrxxList (val) { 269 ...mapGetters(["dictData", "flag"]),
307 if (!_.isEqual(val, this.ruleForm.qlrList)) { 270 },
308 this.ruleForm.qlrList = _.cloneDeep(val); 271 data () {
309 } 272 return {
273 //表单是否可操作
274 ableOperation: true,
275 disabled: true,
276 czrOptions: [],
277 ruleForm: {
278 slywxx: {},
279 qlxxold: {},
280 diyaq: {},
281 gyfs: "",
282 },
283 //传递参数
284 propsParam: {},
285 rules: {},
286 };
310 }, 287 },
311 // 更新义务人信息 288 methods: {
312 upDateYwrxxList (val) { 289 onSubmitClick () {
313 if (!_.isEqual(val, this.ruleForm.ywrList)) { 290 saveData(this.ruleForm, this.propsParam.djlx).then((res) => {
314 this.ruleForm.ywrList = _.cloneDeep(val); 291 if (res.code === 200) {
292 this.$message({
293 showClose: true,
294 message: "保存成功!",
295 type: "success",
296 });
297 this.$store.dispatch('user/refreshPage', true);
298 } else {
299 this.$message({
300 showClose: true,
301 message: res.message,
302 type: "error",
303 });
304 }
305 });
306 },
307
308 // 更新权利人信息
309 upDateQlrxxList (val) {
310 if (!_.isEqual(val, this.ruleForm.qlrList)) {
311 this.ruleForm.qlrList = _.cloneDeep(val);
312 }
313 },
314 // 更新义务人信息
315 upDateYwrxxList (val) {
316 if (!_.isEqual(val, this.ruleForm.ywrList)) {
317 this.ruleForm.ywrList = _.cloneDeep(val);
318 }
315 } 319 }
316 } 320 }
317 } 321 };
318 };
319 </script> 322 </script>
320 <style scoped lang='scss'> 323 <style scoped lang='scss'>
321 @import "~@/styles/public.scss"; 324 @import "~@/styles/public.scss";
322 @import "~@/styles/slxx/slxx.scss"; 325 @import "~@/styles/slxx/slxx.scss";
323 </style> 326 </style>
......
...@@ -30,10 +30,10 @@ class data extends filter { ...@@ -30,10 +30,10 @@ class data extends filter {
30 label: "流程状态", 30 label: "流程状态",
31 width: '80', 31 width: '80',
32 render: (h, scope) => { 32 render: (h, scope) => {
33 if(scope.row.cfgqzt == '1'){ 33 if (scope.row.cfgqzt == '1') {
34 return <div class='suspend'>查封挂起</div> 34 return <div class='suspend'>查封挂起</div>
35 } 35 }
36 if(scope.row.yygqzt == '1'){ 36 if (scope.row.yygqzt == '1') {
37 return <div class='suspend'>异议挂起</div> 37 return <div class='suspend'>异议挂起</div>
38 } 38 }
39 switch (scope.row.lczt) { 39 switch (scope.row.lczt) {
...@@ -67,6 +67,8 @@ class data extends filter { ...@@ -67,6 +67,8 @@ class data extends filter {
67 { 67 {
68 prop: "zl", 68 prop: "zl",
69 label: "坐落", 69 label: "坐落",
70 showOverflowTooltip: true,
71 minWidth: '130'
70 }, 72 },
71 { 73 {
72 prop: "slsj", 74 prop: "slsj",
......
...@@ -33,7 +33,7 @@ ...@@ -33,7 +33,7 @@
33 </div> 33 </div>
34 <!-- 表格 --> 34 <!-- 表格 -->
35 <div class="from-clues-content loadingtext"> 35 <div class="from-clues-content loadingtext">
36 <lb-table ref="table" @row-dblclick="handleRowClick" :page-size="pageData.pageSize" :calcHeight="300" 36 <lb-table ref="table" @row-click="handleRowClick" :page-size="pageData.pageSize" :calcHeight="300"
37 :current-page.sync="pageData.currentPage" :total="tableData.total" @size-change="handleSizeChange" 37 :current-page.sync="pageData.currentPage" :total="tableData.total" @size-change="handleSizeChange"
38 @p-current-change="handleCurrentChange" @selection-change="handleSelectionChange" :column="tableData.columns" 38 @p-current-change="handleCurrentChange" @selection-change="handleSelectionChange" :column="tableData.columns"
39 :data="tableData.data"> 39 :data="tableData.data">
...@@ -129,6 +129,7 @@ ...@@ -129,6 +129,7 @@
129 } else { 129 } else {
130 this.$message.error(res.message); 130 this.$message.error(res.message);
131 } 131 }
132 this.$popupCacel()
132 }) 133 })
133 } 134 }
134 }, 135 },
......
...@@ -42,7 +42,7 @@ ...@@ -42,7 +42,7 @@
42 </div> 42 </div>
43 <!-- 表格 --> 43 <!-- 表格 -->
44 <div class="from-clues-content loadingtext"> 44 <div class="from-clues-content loadingtext">
45 <lb-table ref="table" @row-dblclick="handleRowClick" :page-size="pageData.pageSize" :calcHeight="300" 45 <lb-table ref="table" @row-click="handleRowClick" :page-size="pageData.pageSize" :calcHeight="300"
46 :current-page.sync="pageData.currentPage" :total="tableData.total" @size-change="handleSizeChange" 46 :current-page.sync="pageData.currentPage" :total="tableData.total" @size-change="handleSizeChange"
47 @p-current-change="handleCurrentChange" @selection-change="handleSelectionChange" :column="tableData.columns" 47 @p-current-change="handleCurrentChange" @selection-change="handleSelectionChange" :column="tableData.columns"
48 :data="tableData.data"> 48 :data="tableData.data">
...@@ -120,7 +120,8 @@ ...@@ -120,7 +120,8 @@
120 } else { 120 } else {
121 this.$message.error(res.message); 121 this.$message.error(res.message);
122 } 122 }
123 }); 123 this.$popupCacel()
124 })
124 }, 125 },
125 handleSelectionChange (val) { 126 handleSelectionChange (val) {
126 val.forEach((item, index) => { 127 val.forEach((item, index) => {
......
...@@ -56,7 +56,7 @@ ...@@ -56,7 +56,7 @@
56 </el-form> 56 </el-form>
57 </div> 57 </div>
58 <div class="from-clues-content loadingtext"> 58 <div class="from-clues-content loadingtext">
59 <lb-table ref="table" @row-dblclick="handleRowClick" :page-size="pageData.pageSize" :calcHeight="300" 59 <lb-table ref="table" @row-click="handleRowClick" :page-size="pageData.pageSize" :calcHeight="300"
60 :current-page.sync="pageData.currentPage" :total="zrztableData.total" @size-change="handleSizeChange" 60 :current-page.sync="pageData.currentPage" :total="zrztableData.total" @size-change="handleSizeChange"
61 @p-current-change="handleCurrentChange" @selection-change="handleSelectionChange" :column="zrztableData.columns" 61 @p-current-change="handleCurrentChange" @selection-change="handleSelectionChange" :column="zrztableData.columns"
62 :data="zrztableData.data"> 62 :data="zrztableData.data">
...@@ -256,6 +256,7 @@ ...@@ -256,6 +256,7 @@
256 } 256 }
257 }) 257 })
258 } 258 }
259 this.$popupCacel()
259 }, 260 },
260 handleSelectionChange (val) { 261 handleSelectionChange (val) {
261 val.forEach((item, index) => { 262 val.forEach((item, index) => {
......
...@@ -27,7 +27,7 @@ ...@@ -27,7 +27,7 @@
27 </div> 27 </div>
28 <!-- 表格 --> 28 <!-- 表格 -->
29 <div class="from-clues-content loadingtext"> 29 <div class="from-clues-content loadingtext">
30 <lb-table ref="table" @row-dblclick="handleRowClick" :page-size="pageData.pageSize" :calcHeight="300" 30 <lb-table ref="table" @row-click="handleRowClick" :page-size="pageData.pageSize" :calcHeight="300"
31 :current-page.sync="pageData.currentPage" :total="tableData.total" @size-change="handleSizeChange" 31 :current-page.sync="pageData.currentPage" :total="tableData.total" @size-change="handleSizeChange"
32 @p-current-change="handleCurrentChange" @selection-change="handleSelectionChange" :column="tableData.columns" 32 @p-current-change="handleCurrentChange" @selection-change="handleSelectionChange" :column="tableData.columns"
33 :data="tableData.data"> 33 :data="tableData.data">
...@@ -109,6 +109,7 @@ ...@@ -109,6 +109,7 @@
109 } else { 109 } else {
110 this.$message.error(res.message); 110 this.$message.error(res.message);
111 } 111 }
112 this.$popupCacel()
112 }) 113 })
113 }, 114 },
114 handleSelectionChange (val) { 115 handleSelectionChange (val) {
......
...@@ -27,7 +27,7 @@ ...@@ -27,7 +27,7 @@
27 </div> 27 </div>
28 <!-- 表格 --> 28 <!-- 表格 -->
29 <div class="from-clues-content loadingtext"> 29 <div class="from-clues-content loadingtext">
30 <lb-table ref="table" @row-dblclick="handleRowClick" :page-size="pageData.pageSize" :calcHeight="300" 30 <lb-table ref="table" @row-click="handleRowClick" :page-size="pageData.pageSize" :calcHeight="300"
31 :current-page.sync="pageData.currentPage" :total="tableData.total" @size-change="handleSizeChange" 31 :current-page.sync="pageData.currentPage" :total="tableData.total" @size-change="handleSizeChange"
32 @p-current-change="handleCurrentChange" @selection-change="handleSelectionChange" :column="tableData.columns" 32 @p-current-change="handleCurrentChange" @selection-change="handleSelectionChange" :column="tableData.columns"
33 :data="tableData.data"> 33 :data="tableData.data">
...@@ -106,6 +106,7 @@ ...@@ -106,6 +106,7 @@
106 } else { 106 } else {
107 this.$message.error(res.message); 107 this.$message.error(res.message);
108 } 108 }
109 this.$popupCacel()
109 }) 110 })
110 }, 111 },
111 handleSelectionChange (val) { 112 handleSelectionChange (val) {
......
...@@ -42,7 +42,7 @@ ...@@ -42,7 +42,7 @@
42 </div> 42 </div>
43 <!-- 表格 --> 43 <!-- 表格 -->
44 <div class="from-clues-content loadingtext"> 44 <div class="from-clues-content loadingtext">
45 <lb-table ref="table" @row-dblclick="handleRowClick" :page-size="pageData.pageSize" :calcHeight="300" 45 <lb-table ref="table" @row-click="handleRowClick" :page-size="pageData.pageSize" :calcHeight="300"
46 :current-page.sync="pageData.currentPage" :total="tableData.total" @size-change="handleSizeChange" 46 :current-page.sync="pageData.currentPage" :total="tableData.total" @size-change="handleSizeChange"
47 @p-current-change="handleCurrentChange" @selection-change="handleSelectionChange" :column="tableData.columns" 47 @p-current-change="handleCurrentChange" @selection-change="handleSelectionChange" :column="tableData.columns"
48 :data="tableData.data"> 48 :data="tableData.data">
...@@ -134,7 +134,8 @@ ...@@ -134,7 +134,8 @@
134 } else { 134 } else {
135 this.$alert(res.message); 135 this.$alert(res.message);
136 } 136 }
137 }); 137 this.$popupCacel()
138 })
138 }, 139 },
139 handleSelectionChange (val) { 140 handleSelectionChange (val) {
140 val.forEach((item, index) => { 141 val.forEach((item, index) => {
......
...@@ -34,7 +34,7 @@ ...@@ -34,7 +34,7 @@
34 </div> 34 </div>
35 <!-- 表格 --> 35 <!-- 表格 -->
36 <div class="from-clues-content loadingtext"> 36 <div class="from-clues-content loadingtext">
37 <lb-table ref="table" @row-dblclick="handleRowClick" :page-size="pageData.pageSize" :calcHeight="300" 37 <lb-table ref="table" @row-click="handleRowClick" :page-size="pageData.pageSize" :calcHeight="300"
38 :current-page.sync="pageData.currentPage" :total="tableData.total" @size-change="handleSizeChange" 38 :current-page.sync="pageData.currentPage" :total="tableData.total" @size-change="handleSizeChange"
39 @p-current-change="handleCurrentChange" @selection-change="handleSelectionChange" :column="tableData.columns" 39 @p-current-change="handleCurrentChange" @selection-change="handleSelectionChange" :column="tableData.columns"
40 :data="tableData.data"> 40 :data="tableData.data">
...@@ -77,7 +77,7 @@ ...@@ -77,7 +77,7 @@
77 methods: { 77 methods: {
78 queryClick () { 78 queryClick () {
79 this.$startLoading(); 79 this.$startLoading();
80 selectAllHInfo({ "zrzbsm":this.sqywInfo.zrzbsm,...this.queryForm, ...this.pageData }).then((res) => { 80 selectAllHInfo({ "zrzbsm": this.sqywInfo.zrzbsm, ...this.queryForm, ...this.pageData }).then((res) => {
81 this.$endLoading(); 81 this.$endLoading();
82 if (res.code === 200) { 82 if (res.code === 200) {
83 let { total, records } = res.result; 83 let { total, records } = res.result;
...@@ -111,7 +111,8 @@ ...@@ -111,7 +111,8 @@
111 } else { 111 } else {
112 this.$message.error(res.message); 112 this.$message.error(res.message);
113 } 113 }
114 }); 114 this.$popupCacel()
115 })
115 }, 116 },
116 handleSelectionChange (val) { 117 handleSelectionChange (val) {
117 val.forEach((item, index) => { 118 val.forEach((item, index) => {
......
...@@ -34,7 +34,7 @@ ...@@ -34,7 +34,7 @@
34 </div> 34 </div>
35 <!-- 表格 --> 35 <!-- 表格 -->
36 <div class="from-clues-content loadingtext"> 36 <div class="from-clues-content loadingtext">
37 <lb-table ref="table" @row-dblclick="handleRowClick" :page-size="pageData.pageSize" :calcHeight="300" 37 <lb-table ref="table" @row-click="handleRowClick" :page-size="pageData.pageSize" :calcHeight="300"
38 :current-page.sync="pageData.currentPage" :total="tableData.total" @size-change="handleSizeChange" 38 :current-page.sync="pageData.currentPage" :total="tableData.total" @size-change="handleSizeChange"
39 @p-current-change="handleCurrentChange" @selection-change="handleSelectionChange" :column="tableData.columns" 39 @p-current-change="handleCurrentChange" @selection-change="handleSelectionChange" :column="tableData.columns"
40 :data="tableData.data"> 40 :data="tableData.data">
...@@ -106,13 +106,13 @@ ...@@ -106,13 +106,13 @@
106 if (!this.isJump) { 106 if (!this.isJump) {
107 this.jump(res.result, this.sqywInfo.djywbm); 107 this.jump(res.result, this.sqywInfo.djywbm);
108 } else { 108 } else {
109 this.$popupCacel()
110 store.dispatch('user/refreshPage', true); 109 store.dispatch('user/refreshPage', true);
111 } 110 }
112 } else { 111 } else {
113 this.$message.error(res.message); 112 this.$message.error(res.message);
114 } 113 }
115 }); 114 this.$popupCacel()
115 })
116 }, 116 },
117 handleSelectionChange (val) { 117 handleSelectionChange (val) {
118 val.forEach((item, index) => { 118 val.forEach((item, index) => {
......
...@@ -41,7 +41,7 @@ ...@@ -41,7 +41,7 @@
41 </div> 41 </div>
42 <!-- 表格 --> 42 <!-- 表格 -->
43 <div class="from-clues-content loadingtext"> 43 <div class="from-clues-content loadingtext">
44 <lb-table ref="table" @row-dblclick="handleRowClick" :page-size="pageData.pageSize" :calcHeight="300" 44 <lb-table ref="table" @row-click="handleRowClick" :page-size="pageData.pageSize" :calcHeight="300"
45 :current-page.sync="pageData.currentPage" :total="tableData.total" @size-change="handleSizeChange" 45 :current-page.sync="pageData.currentPage" :total="tableData.total" @size-change="handleSizeChange"
46 @p-current-change="handleCurrentChange" @selection-change="handleSelectionChange" :column="tableData.columns" 46 @p-current-change="handleCurrentChange" @selection-change="handleSelectionChange" :column="tableData.columns"
47 :data="tableData.data"> 47 :data="tableData.data">
...@@ -119,7 +119,8 @@ ...@@ -119,7 +119,8 @@
119 } else { 119 } else {
120 this.$message.error(res.message); 120 this.$message.error(res.message);
121 } 121 }
122 }); 122 this.$popupCacel()
123 })
123 }, 124 },
124 handleSelectionChange (val) { 125 handleSelectionChange (val) {
125 val.forEach((item, index) => { 126 val.forEach((item, index) => {
......
...@@ -157,6 +157,7 @@ ...@@ -157,6 +157,7 @@
157 } else { 157 } else {
158 this.$message.error(res.message) 158 this.$message.error(res.message)
159 } 159 }
160 this.$popupCacel()
160 }) 161 })
161 }, 162 },
162 openBook (row) { 163 openBook (row) {
......
...@@ -27,7 +27,7 @@ ...@@ -27,7 +27,7 @@
27 </div> 27 </div>
28 <!-- 表格 --> 28 <!-- 表格 -->
29 <div class="from-clues-content loadingtext"> 29 <div class="from-clues-content loadingtext">
30 <lb-table ref="table" @row-click="handleRowClick" :page-size="pageData.pageSize" :calcHeight="300" 30 <lb-table ref="table" @row-click="handleRowClick" :page-size="pageData.pageSize" :calcHeight="300"
31 :current-page.sync="pageData.currentPage" :total="tableData.total" @size-change="handleSizeChange" 31 :current-page.sync="pageData.currentPage" :total="tableData.total" @size-change="handleSizeChange"
32 @p-current-change="handleCurrentChange" @selection-change="handleSelectionChange" :column="tableData.columns" 32 @p-current-change="handleCurrentChange" @selection-change="handleSelectionChange" :column="tableData.columns"
33 :data="tableData.data"> 33 :data="tableData.data">
...@@ -46,7 +46,7 @@ ...@@ -46,7 +46,7 @@
46 import { defaultParameters } from "../javascript/publicDefaultPar.js"; 46 import { defaultParameters } from "../javascript/publicDefaultPar.js";
47 import table from "@/utils/mixin/table"; 47 import table from "@/utils/mixin/table";
48 import jump from "./mixin/jump"; 48 import jump from "./mixin/jump";
49 import { startBusinessFlow, selectZdjbxx} from "@/api/ywbl.js"; 49 import { startBusinessFlow, selectZdjbxx } from "@/api/ywbl.js";
50 export default { 50 export default {
51 mixins: [table, jump], 51 mixins: [table, jump],
52 props: { 52 props: {
...@@ -56,12 +56,12 @@ ...@@ -56,12 +56,12 @@
56 data () { 56 data () {
57 return { 57 return {
58 queryForm: defaultParameters.defaultParameters(), 58 queryForm: defaultParameters.defaultParameters(),
59 tableData: { 59 tableData: {
60 total: 0, 60 total: 0,
61 columns: datas.columns(), 61 columns: datas.columns(),
62 data: [], 62 data: [],
63 }, 63 },
64 radioVal: "", 64 radioVal: "",
65 bdcdysz: [], 65 bdcdysz: [],
66 bsmSqyw: 66 bsmSqyw:
67 this.sqywInfo.nodetype === "djlx" 67 this.sqywInfo.nodetype === "djlx"
...@@ -82,19 +82,19 @@ ...@@ -82,19 +82,19 @@
82 let { total, records } = res.result; 82 let { total, records } = res.result;
83 this.tableData.total = total; 83 this.tableData.total = total;
84 this.tableData.data = records; 84 this.tableData.data = records;
85 // this.tableData.columns.splice(0, 1,{ 85 // this.tableData.columns.splice(0, 1,{
86 // label: '选择', 86 // label: '选择',
87 // width: '50px', 87 // width: '50px',
88 // render: (h, scope) => { 88 // render: (h, scope) => {
89 // return ( 89 // return (
90 // <div class="orgColumn"> 90 // <div class="orgColumn">
91 // <el-radio v-model={this.radioVal} label={scope.row.bdcdyh}> 91 // <el-radio v-model={this.radioVal} label={scope.row.bdcdyh}>
92 // &ensp; 92 // &ensp;
93 // </el-radio> 93 // </el-radio>
94 // </div> 94 // </div>
95 // ) 95 // )
96 // } 96 // }
97 // }) 97 // })
98 } 98 }
99 }); 99 });
100 }, 100 },
...@@ -124,7 +124,8 @@ ...@@ -124,7 +124,8 @@
124 } else { 124 } else {
125 this.$alert(res.message); 125 this.$alert(res.message);
126 } 126 }
127 }); 127 this.$popupCacel()
128 })
128 }, 129 },
129 handleSelectionChange (val) { 130 handleSelectionChange (val) {
130 this.bdcdysz = val; 131 this.bdcdysz = val;
......
...@@ -34,7 +34,7 @@ ...@@ -34,7 +34,7 @@
34 </div> 34 </div>
35 <!-- 表格 --> 35 <!-- 表格 -->
36 <div class="from-clues-content loadingtext"> 36 <div class="from-clues-content loadingtext">
37 <lb-table ref="table" @row-dblclick="handleRowClick" :page-size="pageData.pageSize" :calcHeight="300" 37 <lb-table ref="table" @row-click="handleRowClick" :page-size="pageData.pageSize" :calcHeight="300"
38 :current-page.sync="pageData.currentPage" :total="tableData.total" @size-change="handleSizeChange" 38 :current-page.sync="pageData.currentPage" :total="tableData.total" @size-change="handleSizeChange"
39 @p-current-change="handleCurrentChange" @selection-change="handleSelectionChange" :column="tableData.columns" 39 @p-current-change="handleCurrentChange" @selection-change="handleSelectionChange" :column="tableData.columns"
40 :data="tableData.data"> 40 :data="tableData.data">
...@@ -111,7 +111,8 @@ ...@@ -111,7 +111,8 @@
111 } else { 111 } else {
112 this.$message.error(res.message); 112 this.$message.error(res.message);
113 } 113 }
114 }); 114 this.$popupCacel()
115 })
115 }, 116 },
116 handleSelectionChange (val) { 117 handleSelectionChange (val) {
117 val.forEach((item, index) => { 118 val.forEach((item, index) => {
......
...@@ -34,7 +34,7 @@ ...@@ -34,7 +34,7 @@
34 </div> 34 </div>
35 <!-- 表格 --> 35 <!-- 表格 -->
36 <div class="from-clues-content loadingtext"> 36 <div class="from-clues-content loadingtext">
37 <lb-table ref="table" @row-dblclick="handleRowClick" :page-size="pageData.pageSize" :calcHeight="300" 37 <lb-table ref="table" @row-click="handleRowClick" :page-size="pageData.pageSize" :calcHeight="300"
38 :current-page.sync="pageData.currentPage" :total="tableData.total" @size-change="handleSizeChange" 38 :current-page.sync="pageData.currentPage" :total="tableData.total" @size-change="handleSizeChange"
39 @p-current-change="handleCurrentChange" @selection-change="handleSelectionChange" :column="tableData.columns" 39 @p-current-change="handleCurrentChange" @selection-change="handleSelectionChange" :column="tableData.columns"
40 :data="tableData.data"> 40 :data="tableData.data">
...@@ -111,7 +111,8 @@ ...@@ -111,7 +111,8 @@
111 } else { 111 } else {
112 this.$message.error(res.message); 112 this.$message.error(res.message);
113 } 113 }
114 }); 114 this.$popupCacel()
115 })
115 }, 116 },
116 handleSelectionChange (val) { 117 handleSelectionChange (val) {
117 val.forEach((item, index) => { 118 val.forEach((item, index) => {
......
...@@ -34,7 +34,7 @@ ...@@ -34,7 +34,7 @@
34 </div> 34 </div>
35 <!-- 表格 --> 35 <!-- 表格 -->
36 <div class="from-clues-content loadingtext"> 36 <div class="from-clues-content loadingtext">
37 <lb-table ref="table" @row-dblclick="handleRowClick" :page-size="pageData.pageSize" :calcHeight="300" 37 <lb-table ref="table" @row-click="handleRowClick" :page-size="pageData.pageSize" :calcHeight="300"
38 :current-page.sync="pageData.currentPage" :total="tableData.total" @size-change="handleSizeChange" 38 :current-page.sync="pageData.currentPage" :total="tableData.total" @size-change="handleSizeChange"
39 @p-current-change="handleCurrentChange" @selection-change="handleSelectionChange" :column="tableData.columns" 39 @p-current-change="handleCurrentChange" @selection-change="handleSelectionChange" :column="tableData.columns"
40 :data="tableData.data"> 40 :data="tableData.data">
...@@ -111,7 +111,8 @@ ...@@ -111,7 +111,8 @@
111 } else { 111 } else {
112 this.$message.error(res.message); 112 this.$message.error(res.message);
113 } 113 }
114 }); 114 this.$popupCacel()
115 })
115 }, 116 },
116 handleSelectionChange (val) { 117 handleSelectionChange (val) {
117 val.forEach((item, index) => { 118 val.forEach((item, index) => {
......