87e61e99 by tianhaohao@pashanhoo.com

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

2 parents 9c1989bd 90172ac5
Showing 36 changed files with 620 additions and 243 deletions
...@@ -21,170 +21,168 @@ ...@@ -21,170 +21,168 @@
21 </transition> 21 </transition>
22 </template> 22 </template>
23 <script> 23 <script>
24 import Popup1 from './index' 24 import Popup1 from './index'
25 export default { 25 export default {
26 name: 'index', 26 name: 'index',
27 data () { 27 data () {
28 return { 28 return {
29 title: '标题', 29 title: '标题',
30 editItem: "", 30 editItem: "",
31 isMain: false, 31 isMain: false,
32 formData: undefined,//父组件传递的参数 负责传给子组件 32 formData: undefined,//父组件传递的参数 负责传给子组件
33 btnShow: false, 33 btnShow: false,
34 cancel: function () { }, 34 cancel: function () { },
35 confirm: function () { }, 35 confirm: function () { },
36 cancelText: '取消', 36 cancelText: '取消',
37 confirmText: '确认', 37 confirmText: '确认',
38 isSync: false, 38 isSync: false,
39 isShow: false, 39 isShow: false,
40 myShow: false, 40 myShow: false,
41 titleStyle: 'center', 41 titleStyle: 'center',
42 width: "75%", 42 width: "75%",
43 height: "auto", 43 height: "auto",
44 contentHeight: "", 44 contentHeight: "",
45 iconClass: "", 45 iconClass: "",
46 key: 0 46 key: 0
47 } 47 }
48 }, 48 },
49 watch: { 49 watch: {
50 isShow (newValue) { 50 isShow (newValue) {
51 this.$nextTick(() => { 51 this.$nextTick(() => {
52 this.editItem = this.loadViewFn(this.editItem) 52 this.editItem = this.loadViewFn(this.editItem)
53 document.body.appendChild(this.$el); 53 document.body.appendChild(this.$el);
54 this.myShow = newValue 54 this.myShow = newValue
55 }) 55 })
56 } 56 }
57 }, 57 },
58 mounted () { 58 mounted () {
59 // 计算滚动条高度 59 // 计算滚动条高度
60 setTimeout(() => { 60 setTimeout(() => {
61 if (this.btnShow) { 61 if (this.btnShow) {
62 if (this.height == 'auto') { 62 if (this.height == 'auto') {
63 this.contentHeight = (this.$refs.contentRef.offsetHeight) + 'px' 63 this.contentHeight = (this.$refs.contentRef.offsetHeight) + 'px'
64 } else {
65 this.contentHeight = this.height
66 }
64 } else { 67 } else {
65 this.contentHeight = this.height 68 if (this.height == 'auto') {
69 this.contentHeight = (this.$refs.contentRef.offsetHeight) + 'px'
70 } else {
71 this.contentHeight = this.height
72 }
66 } 73 }
67 } else { 74 }, 300)
68 if (this.height == 'auto') { 75 },
69 this.contentHeight = (this.$refs.contentRef.offsetHeight) + 'px' 76 methods: {
70 } else { 77 onCancel () {
71 this.contentHeight = this.height 78 Popup1().close()
79 },
80 onConfirm () {
81 let res = new Promise((resolve, reject) => {
82 this.confirm()
83 resolve(true)
84 })
85 if (res) {
86 this.isShow = false
72 } 87 }
88 },
89 loadViewFn (view) {
90 return (r) =>
91 require.ensure([], () =>
92 r(require(`@/views/${view}.vue`))
93 )
73 } 94 }
74 }, 300)
75 },
76 methods: {
77 onCancel () {
78 Popup1().close()
79 }, 95 },
80 onConfirm () { 96 destroyed () {
81 let res = new Promise((resolve, reject) => { 97 if (this.appendToBody && this.$el && this.$el.parentNode) {
82 this.confirm() 98 this.$el.parentNode.removeChild(this.$el);
83 resolve(true)
84 })
85 if (res) {
86 this.isShow = false
87 } 99 }
88 },
89 loadViewFn (view) {
90 return (r) =>
91 require.ensure([], () =>
92 r(require(`@/views/${view}.vue`))
93 )
94 }
95 },
96 destroyed () {
97 if (this.appendToBody && this.$el && this.$el.parentNode) {
98 this.$el.parentNode.removeChild(this.$el);
99 } 100 }
100 } 101 }
101 }
102 </script> 102 </script>
103 <style scoped lang="scss" > 103 <style scoped lang="scss" >
104 @import "~@/styles/mixin.scss"; 104 @import "~@/styles/mixin.scss";
105 @import "~@/styles/dialogBox.scss"; 105 @import "~@/styles/dialogBox.scss";
106
107 .ls-mask {
108 width: 100%;
109 height: 100%;
110 z-index: 500;
111 position: fixed;
112 left: 0;
113 top: 0;
114 background: rgba(0, 0, 0, 0.3);
115
116 }
117 106
118 .ls-mask-window { 107 .ls-mask {
119 background: white; 108 width: 100%;
120 position: relative; 109 height: 100%;
121 left: 50%; 110 z-index: 500;
122 top: 50%; 111 position: fixed;
123 min-height: 200px; 112 left: 0;
124 transform: translate(-50%, -50%); 113 top: 0;
125 border-radius: 5px; 114 background: rgba(0, 0, 0, 0.3);
126 overflow: hidden; 115 }
127 }
128 116
129 .ls-mask-window b { 117 .ls-mask-window {
130 padding-left: 5px; 118 background: white;
131 } 119 position: relative;
120 left: 50%;
121 top: 50%;
122 min-height: 200px;
123 transform: translate(-50%, -50%);
124 border-radius: 5px;
125 overflow: hidden;
126 }
132 127
133 .ls-title { 128 .ls-mask-window b {
134 padding: 16px; 129 padding-left: 5px;
135 color: #ffffff; 130 }
136 background: linear-gradient(3deg, #409EFF, #a7cbee);
137 font-size: 16px;
138 }
139 131
140 .ls-title .svg-icon { 132 .ls-title {
141 font-size: 18px; 133 padding: 16px;
142 } 134 color: #ffffff;
135 background: linear-gradient(3deg, #409eff, #a7cbee);
136 font-size: 16px;
137 }
143 138
144 .mask-content { 139 .ls-title .svg-icon {
145 padding: 20px; 140 font-size: 18px;
146 width: 100%; 141 }
147 min-height: 30%;
148 max-height: 90vh;
149 overflow-y: scroll;
150 }
151 142
152 .ls-mask-footer { 143 .mask-content {
153 height: 50px; 144 padding: 20px;
154 display: flex; 145 width: 100%;
155 justify-content: center; 146 min-height: 30%;
156 width: 100%; 147 max-height: 90vh;
157 position: absolute; 148 overflow-y: scroll;
158 border-top: 1px solid $borderColor; 149 }
159 bottom: 0;
160 background: #ffffff;
161 border-bottom-left-radius: 5px;
162 border-bottom-right-radius: 5px;
163 overflow: hidden;
164 }
165 150
151 .ls-mask-footer {
152 height: 50px;
153 display: flex;
154 justify-content: center;
155 width: 100%;
156 position: absolute;
157 border-top: 1px solid $borderColor;
158 bottom: 0;
159 background: #ffffff;
160 border-bottom-left-radius: 5px;
161 border-bottom-right-radius: 5px;
162 overflow: hidden;
163 }
166 164
167 /deep/.closeStyle { 165 /deep/.closeStyle {
168 position: absolute; 166 position: absolute;
169 top: 13px; 167 top: 13px;
170 right: 26px; 168 right: 26px;
171 font-size: 24px; 169 font-size: 24px;
172 cursor: pointer; 170 cursor: pointer;
173 color: #409EFF; 171 color: #409eff;
174 } 172 }
175 173
176 /deep/.el-loading-mask { 174 /deep/.el-loading-mask {
177 background: none; 175 background: none;
178 } 176 }
179 177
180 .dialog-fade-enter-active, 178 .dialog-fade-enter-active,
181 .dialog-fade-leave-active { 179 .dialog-fade-leave-active {
182 transition: opacity 0.3s; 180 transition: opacity 0.3s;
183 } 181 }
184 182
185 .dialog-fade-enter, 183 .dialog-fade-enter,
186 .dialog-fade-leave-to { 184 .dialog-fade-leave-to {
187 opacity: 0; 185 opacity: 0;
188 } 186 }
189 </style> 187 </style>
190 188
...\ No newline at end of file ...\ No newline at end of file
......
1 /*
2 * @Description:
3 * @Autor: renchao
4 * @LastEditTime: 2023-06-14 15:05:38
5 */
6 import Vue from 'vue'
7 import Popup from './index.vue'
8 const PopupBox = Vue.extend(Popup)
9 let popuping = undefined
10
11 PopupBox.prototype.close = function () {
12 // 如果Popup 有引用,则去掉引用
13 if (popuping) {
14 popuping = undefined
15 }
16 // 先将组件隐藏
17 this.isShow = false
18 // 延迟300毫秒,等待Popup关闭动画执行完之后销毁组件
19 setTimeout(() => {
20 // 移除挂载的dom元素
21 if (this.$el && this.$el.parentNode) {
22 this.$el.parentNode.removeChild(this.$el)
23 }
24 }, 300)
25 }
26
27 const Popup1 = (title, editItem, data, formData) => {
28 // 如果组件已渲染,则返回即可
29 if (popuping) {
30 return popuping
31 }
32 data.title = title
33 data.editItem = editItem
34 if (formData) {
35 data.formData = formData
36 }
37 // 通过构造函数初始化组件 相当于 new Vue()
38 let instance = new PopupBox({
39 data
40 }).$mount()
41 document.body.appendChild(instance.$el)
42 Vue.nextTick(() => {
43 instance.isShow = true
44 // 将组件实例赋值给loading
45 popuping = instance
46 })
47 return instance
48 }
49 export default Popup1
1 <template>
2 <transition name="msgbox-fade">
3 <div class="ls-mask" v-if="myShow">
4 <div class="ls-mask-window" :class="isMain ? 'mainCenter' : 'contentCenter'" :style="{ 'width': width }">
5 <div class="ls-head">
6 <div class="ls-title" :style="{ 'text-align': titleStyle }">
7 <svg-icon v-if="iconClass != ''" :icon-class='iconClass' />
8 <b>{{ title }}</b>
9 </div>
10 <svg-icon icon-class='close' class="closeStyle" @click="onCancel" />
11 </div>
12 <div class="mask-content" ref='contentRef' :style="{ 'height': contentHeight }">
13 <component :is="editItem" ref='childRef' :key="key" :formData='formData' />
14 </div>
15 <div class="ls-mask-footer" v-if='btnShow'>
16 <el-button type="primary" @click="onConfirm">{{ confirmText }}</el-button>
17 <el-button @click="onCancel">{{ cancelText }}</el-button>
18 </div>
19 </div>
20 </div>
21 </transition>
22 </template>
23 <script>
24 import Popup1 from './index'
25 export default {
26 name: 'index',
27 data () {
28 return {
29 title: '标题',
30 editItem: "",
31 isMain: false,
32 formData: undefined,//父组件传递的参数 负责传给子组件
33 btnShow: false,
34 cancel: function () { },
35 confirm: function () { },
36 cancelText: '取消',
37 confirmText: '确认',
38 isSync: false,
39 isShow: false,
40 myShow: false,
41 titleStyle: 'center',
42 width: "75%",
43 height: "auto",
44 contentHeight: "",
45 iconClass: "",
46 key: 0
47 }
48 },
49 watch: {
50 isShow (newValue) {
51 this.$nextTick(() => {
52 this.editItem = this.loadViewFn(this.editItem)
53 document.body.appendChild(this.$el);
54 this.myShow = newValue
55 })
56 }
57 },
58 mounted () {
59 // 计算滚动条高度
60 setTimeout(() => {
61 if (this.btnShow) {
62 if (this.height == 'auto') {
63 this.contentHeight = (this.$refs.contentRef.offsetHeight) + 'px'
64 } else {
65 this.contentHeight = this.height
66 }
67 } else {
68 if (this.height == 'auto') {
69 this.contentHeight = (this.$refs.contentRef.offsetHeight) + 'px'
70 } else {
71 this.contentHeight = this.height
72 }
73 }
74 }, 300)
75 },
76 methods: {
77 onCancel () {
78 Popup1().close()
79 },
80 onConfirm () {
81 let res = new Promise((resolve, reject) => {
82 this.confirm()
83 resolve(true)
84 })
85 if (res) {
86 this.isShow = false
87 }
88 },
89 loadViewFn (view) {
90 return (r) =>
91 require.ensure([], () =>
92 r(require(`@/views/${view}.vue`))
93 )
94 }
95 },
96 destroyed () {
97 if (this.appendToBody && this.$el && this.$el.parentNode) {
98 this.$el.parentNode.removeChild(this.$el);
99 }
100 }
101 }
102 </script>
103 <style scoped lang="scss" >
104 @import "~@/styles/mixin.scss";
105 @import "~@/styles/dialogBox.scss";
106
107 .ls-mask {
108 width: 100%;
109 height: 100%;
110 z-index: 500;
111 position: fixed;
112 left: 0;
113 top: 0;
114 background: rgba(0, 0, 0, 0.3);
115 }
116
117 .ls-mask-window {
118 background: white;
119 position: relative;
120 left: 50%;
121 top: 50%;
122 min-height: 200px;
123 transform: translate(-50%, -50%);
124 border-radius: 5px;
125 overflow: hidden;
126 }
127
128 .ls-mask-window b {
129 padding-left: 5px;
130 }
131
132 .ls-title {
133 padding: 16px;
134 color: #ffffff;
135 background: linear-gradient(3deg, #409eff, #a7cbee);
136 font-size: 16px;
137 }
138
139 .ls-title .svg-icon {
140 font-size: 18px;
141 }
142
143 .mask-content {
144 padding: 20px;
145 width: 100%;
146 min-height: 30%;
147 max-height: 90vh;
148 overflow-y: scroll;
149 }
150
151 .ls-mask-footer {
152 height: 50px;
153 display: flex;
154 justify-content: center;
155 width: 100%;
156 position: absolute;
157 border-top: 1px solid $borderColor;
158 bottom: 0;
159 background: #ffffff;
160 border-bottom-left-radius: 5px;
161 border-bottom-right-radius: 5px;
162 overflow: hidden;
163 }
164
165 /deep/.closeStyle {
166 position: absolute;
167 top: 13px;
168 right: 26px;
169 font-size: 24px;
170 cursor: pointer;
171 color: #409eff;
172 }
173
174 /deep/.el-loading-mask {
175 background: none;
176 }
177
178 .dialog-fade-enter-active,
179 .dialog-fade-leave-active {
180 transition: opacity 0.3s;
181 }
182
183 .dialog-fade-enter,
184 .dialog-fade-leave-to {
185 opacity: 0;
186 }
187 </style>
188
...\ No newline at end of file ...\ No newline at end of file
1 弹窗封装
2 2.用法以及参数:
3 this.$popup('提示','ywbl/dbx/aa',{
4 width: '75%', // 初始化75% 不需要改的话 可以直接不要
5 formData: this.formData, // 父组件传给子组件的参数
6 cancel: function () {}, //取消事件的回调 没有按钮可以不需要
7 confirm: function () {} //确认事件的回调 没有按钮可以不需要
8 })
9
10 5.后续有修改请添加在此处文档说明作用
...\ 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-04-11 09:31:14 4 * @LastEditTime: 2023-07-07 09:21:10
5 */ 5 */
6 import Popup from '@/components/Popup/index' 6 import ywPopup from '@/components/ywPopup/index'
7 import Popup1 from '@/components/Popup1/index' 7 import Popup1 from '@/components/Popup1/index'
8 export function popupDialog (title, url, params, width = '75%', isMain, height, btnShow = false, callback, cancel) { 8 export function popupDialog (title, url, params, width = '75%', isMain, height, btnShow = false, callback, cancel) {
9 // Popup.install 9 // Popup.install
...@@ -18,10 +18,32 @@ export function popupDialog (title, url, params, width = '75%', isMain, height, ...@@ -18,10 +18,32 @@ export function popupDialog (title, url, params, width = '75%', isMain, height,
18 }, 18 },
19 confirm: () => { 19 confirm: () => {
20 callback() 20 callback()
21 } 21 },
22 popupDialog: popupDialog // 将 popupDialog 方法传递给弹框组件
23 })
24 }
25
26 export function ywPopupDialog (title, url, params, width = '75%', isMain, height, btnShow = false, callback, cancel) {
27 // Popup.install
28 ywPopup(title, url, {
29 height: height,
30 width: width,
31 formData: params,
32 btnShow: btnShow,
33 isMain: isMain,
34 cancel: () => {
35 cancel()
36 },
37 confirm: () => {
38 callback()
39 },
40 popupDialog: popupDialog // 将 popupDialog 方法传递给弹框组件
22 }) 41 })
23 } 42 }
24 43
25 export function popupCacel () { 44 export function popupCacel () {
26 Popup1().close() 45 Popup1().close()
46 }
47 export function ywPopupCacel () {
48 ywPopupDialog().close()
27 } 49 }
...\ No newline at end of file ...\ No newline at end of file
......
...@@ -4,7 +4,7 @@ ...@@ -4,7 +4,7 @@
4 --> 4 -->
5 <template> 5 <template>
6 <div class='ywdialog'> 6 <div class='ywdialog'>
7 <el-link type="danger">{{formData.message}}</el-link> 7 <el-link type="danger" :underline="false">{{formData.message}}</el-link>
8 <el-table 8 <el-table
9 v-if="formData.result" 9 v-if="formData.result"
10 :data="formData.result" 10 :data="formData.result"
......
...@@ -5,7 +5,7 @@ ...@@ -5,7 +5,7 @@
5 --> 5 -->
6 <template> 6 <template>
7 <div> 7 <div>
8 <lb-table :column="column" :pagination="false" :key="key" :heightNumSetting="true" :minHeight="150" 8 <lb-table :column="column" :pagination="false" :key="key" :heightNumSetting="true" :minHeight="150"
9 :data="tableDataList"> 9 :data="tableDataList">
10 </lb-table> 10 </lb-table>
11 <addQlr v-model="dialog" :details="details" :showButton="showButton" @updateDetail="handleupdateDetail" /> 11 <addQlr v-model="dialog" :details="details" :showButton="showButton" @updateDetail="handleupdateDetail" />
...@@ -219,3 +219,6 @@ ...@@ -219,3 +219,6 @@
219 } 219 }
220 } 220 }
221 </script> 221 </script>
222 <style scoped lang="scss">
223
224 </style>
......
...@@ -5,7 +5,7 @@ ...@@ -5,7 +5,7 @@
5 --> 5 -->
6 <template> 6 <template>
7 <div> 7 <div>
8 <lb-table :column="column" :pagination="false" :key="key" :heightNumSetting="true" :minHeight="150" 8 <lb-table :column="column" :pagination="false" :key="key" :heightNumSetting="true" :minHeight="150"
9 :data="tableDataList"> 9 :data="tableDataList">
10 </lb-table> 10 </lb-table>
11 <addYwr v-model="dialog" :details="details" :showButton="showButton" @updateDetail="handleupdateDetail" /> 11 <addYwr v-model="dialog" :details="details" :showButton="showButton" @updateDetail="handleupdateDetail" />
......
...@@ -13,6 +13,7 @@ ...@@ -13,6 +13,7 @@
13 ref="ruleForm" 13 ref="ruleForm"
14 :label-position="flag ? 'top' : ''" 14 :label-position="flag ? 'top' : ''"
15 :inline="flag" 15 :inline="flag"
16 inline-message
16 label-width="145px" 17 label-width="145px"
17 > 18 >
18 <div class="slxx_con" v-if="isShow" :class="flag ? 'formMarginBot0' : ''"> 19 <div class="slxx_con" v-if="isShow" :class="flag ? 'formMarginBot0' : ''">
...@@ -392,7 +393,6 @@ export default { ...@@ -392,7 +393,6 @@ export default {
392 mounted() {}, 393 mounted() {},
393 methods: { 394 methods: {
394 loadData() { 395 loadData() {
395 console.log("房屋", this.propsParam);
396 this.propsParam.isEdit=this.$parent.isEdit 396 this.propsParam.isEdit=this.$parent.isEdit
397 init(this.propsParam).then((res) => { 397 init(this.propsParam).then((res) => {
398 if (res.code == 200) { 398 if (res.code == 200) {
......
...@@ -13,6 +13,7 @@ ...@@ -13,6 +13,7 @@
13 ref="ruleForm" 13 ref="ruleForm"
14 :label-position="flag ? 'top' : ''" 14 :label-position="flag ? 'top' : ''"
15 :inline="flag" 15 :inline="flag"
16 inline-message
16 label-width="145px" 17 label-width="145px"
17 > 18 >
18 <div class="slxx_con" v-if="isShow" :class="flag ? 'formMarginBot0' : ''"> 19 <div class="slxx_con" v-if="isShow" :class="flag ? 'formMarginBot0' : ''">
......
...@@ -2,6 +2,7 @@ ...@@ -2,6 +2,7 @@
2 * @Description: 2 * @Description:
3 * @Autor: renchao 3 * @Autor: renchao
4 * @LastEditTime: 2023-06-25 15:52:42 4 * @LastEditTime: 2023-06-25 15:52:42
5 :show-message="false"
5 --> 6 -->
6 <template> 7 <template>
7 <!-- 受理信息 --> 8 <!-- 受理信息 -->
...@@ -13,6 +14,7 @@ ...@@ -13,6 +14,7 @@
13 ref="ruleForm" 14 ref="ruleForm"
14 :label-position="flag ? 'top' : ''" 15 :label-position="flag ? 'top' : ''"
15 :inline="flag" 16 :inline="flag"
17 inline-message
16 label-width="145px" 18 label-width="145px"
17 > 19 >
18 <div class="slxx_con" v-if="isShow" :class="flag ? 'formMarginBot0' : ''"> 20 <div class="slxx_con" v-if="isShow" :class="flag ? 'formMarginBot0' : ''">
...@@ -73,7 +75,7 @@ ...@@ -73,7 +75,7 @@
73 <el-form-item label="登记类型:"> 75 <el-form-item label="登记类型:">
74 <el-select v-model="ruleForm.qlxx.djlx"> 76 <el-select v-model="ruleForm.qlxx.djlx">
75 <el-option 77 <el-option
76 v-for="item in dictData['A21']" 78 v-for="item in djlxlist"
77 :key="item.dcode" 79 :key="item.dcode"
78 :label="item.dname" 80 :label="item.dname"
79 :value="item.dcode" 81 :value="item.dcode"
...@@ -88,27 +90,27 @@ ...@@ -88,27 +90,27 @@
88 </el-form-item> 90 </el-form-item>
89 </el-col> 91 </el-col>
90 <el-col :span="8"> 92 <el-col :span="8">
91 <el-form-item label="不动产权证号:"> 93 <el-form-item label="不动产权证号:" prop="qlxx.bdcqzh" :rules="rules.bdcqzhrules">
92 <el-input v-model="ruleForm.qlxx.bdcqzh"></el-input> 94 <el-input v-model="ruleForm.qlxx.bdcqzh"></el-input>
93 </el-form-item> 95 </el-form-item>
94 </el-col> 96 </el-col>
95 <el-col :span="8"> 97 <el-col :span="8">
96 <el-form-item label="区县代码:"> 98 <el-form-item label="区县代码:" prop="qlxx.qxdm" :rules="rules.qxdmrules">
97 <el-input v-model="ruleForm.qlxx.qxdm"></el-input> 99 <el-input v-model="ruleForm.qlxx.qxdm"></el-input>
98 </el-form-item> 100 </el-form-item>
99 </el-col> 101 </el-col>
100 <el-col :span="8"> 102 <el-col :span="8">
101 <el-form-item label="登记机构:"> 103 <el-form-item label="登记机构:" prop="qlxx.djjg" :rules="rules.djjgrules">
102 <el-input v-model="ruleForm.qlxx.djjg"></el-input> 104 <el-input v-model="ruleForm.qlxx.djjg"></el-input>
103 </el-form-item> 105 </el-form-item>
104 </el-col> 106 </el-col>
105 <el-col :span="8"> 107 <el-col :span="8">
106 <el-form-item label="登簿人:"> 108 <el-form-item label="登簿人:" prop="qlxx.dbr" :rules="rules.dbrrules">
107 <el-input v-model="ruleForm.qlxx.dbr"></el-input> 109 <el-input v-model="ruleForm.qlxx.dbr"></el-input>
108 </el-form-item> 110 </el-form-item>
109 </el-col> 111 </el-col>
110 <el-col :span="8"> 112 <el-col :span="8">
111 <el-form-item label="登记时间:"> 113 <el-form-item label="登记时间:" prop="qlxx.djsj" :rules="rules.djsjrules">
112 <el-input v-model="ruleForm.qlxx.djsj"></el-input> 114 <el-input v-model="ruleForm.qlxx.djsj"></el-input>
113 </el-form-item> 115 </el-form-item>
114 </el-col> 116 </el-col>
...@@ -277,7 +279,7 @@ ...@@ -277,7 +279,7 @@
277 :gyfs="ruleForm.qlxx.gyfs" 279 :gyfs="ruleForm.qlxx.gyfs"
278 /> 280 />
279 281
280 <div v-if="ruleForm.ywrData && ruleForm.ywrData.length > 0"> 282 <div v-if="ruleForm.ywrData">
281 <div class="slxx_title title-block"> 283 <div class="slxx_title title-block">
282 义务人信息 284 义务人信息
283 <div class="triangle"></div> 285 <div class="triangle"></div>
...@@ -318,6 +320,34 @@ export default { ...@@ -318,6 +320,34 @@ export default {
318 disabled: true, 320 disabled: true,
319 czrOptions: [], 321 czrOptions: [],
320 ruleForm: {}, 322 ruleForm: {},
323 // 登记类型
324 djlxlist: [
325 {
326 dcode: "100",
327 dname: "首次登记",
328 },
329 {
330 dcode: "200",
331 dname: "转移登记",
332 },
333 {
334 dcode: "300",
335 dname: "变更登记",
336 },
337 {
338 dcode: "500",
339 dname: "更正登记",
340 },
341
342 {
343 dcode: "901",
344 dname: "补证",
345 },
346 {
347 dcode: "902",
348 dname: "换证",
349 },
350 ],
321 // 权属状态 351 // 权属状态
322 qsztlist: [ 352 qsztlist: [
323 { 353 {
...@@ -330,7 +360,15 @@ export default { ...@@ -330,7 +360,15 @@ export default {
330 }, 360 },
331 ], 361 ],
332 //传递参数\ 362 //传递参数\
333 rules: {}, 363 rules: {
364 bdcqzhrules:[
365 { required: true, message: "不动产权证号:", trigger: "change" },
366 ],
367 qxdmrules: [{ required: true, message: "区县代码", trigger: "blur" }],
368 djjgrules: [{ required: true, message: "登记机构", trigger: "change" }],
369 dbrrules: [{ required: true, message: "登簿人", trigger: "blur" }],
370 djsjrules: [{ required: true, message: "登记时间", trigger: "change" }],
371 },
334 }; 372 };
335 }, 373 },
336 created() { 374 created() {
...@@ -339,7 +377,6 @@ export default { ...@@ -339,7 +377,6 @@ export default {
339 mounted() {}, 377 mounted() {},
340 methods: { 378 methods: {
341 loadData() { 379 loadData() {
342 console.log("预告登记", this.propsParam);
343 this.propsParam.isEdit=this.$parent.isEdit 380 this.propsParam.isEdit=this.$parent.isEdit
344 init(this.propsParam).then((res) => { 381 init(this.propsParam).then((res) => {
345 if (res.code == 200) { 382 if (res.code == 200) {
...@@ -365,6 +402,8 @@ export default { ...@@ -365,6 +402,8 @@ export default {
365 this.key++; 402 this.key++;
366 }, 403 },
367 onSubmit() { 404 onSubmit() {
405 this.$refs.ruleForm.validate((valid) => {
406 if (valid) {
368 if (this.ruleForm.qlrData.length == 0) { 407 if (this.ruleForm.qlrData.length == 0) {
369 this.$message({ 408 this.$message({
370 showClose: true, 409 showClose: true,
...@@ -418,6 +457,10 @@ export default { ...@@ -418,6 +457,10 @@ export default {
418 }); 457 });
419 } 458 }
420 }); 459 });
460 } else {
461 return false;
462 }
463 });
421 }, 464 },
422 }, 465 },
423 }; 466 };
......
...@@ -13,6 +13,7 @@ ...@@ -13,6 +13,7 @@
13 ref="ruleForm" 13 ref="ruleForm"
14 :label-position="flag ? 'top' : ''" 14 :label-position="flag ? 'top' : ''"
15 :inline="flag" 15 :inline="flag"
16 inline-message
16 label-width="145px" 17 label-width="145px"
17 > 18 >
18 <div class="slxx_con" v-if="isShow" :class="flag ? 'formMarginBot0' : ''"> 19 <div class="slxx_con" v-if="isShow" :class="flag ? 'formMarginBot0' : ''">
...@@ -69,11 +70,11 @@ ...@@ -69,11 +70,11 @@
69 <el-input disabled v-model="ruleForm.qlxx.qllxmc"></el-input> 70 <el-input disabled v-model="ruleForm.qlxx.qllxmc"></el-input>
70 </el-form-item> 71 </el-form-item>
71 </el-col> --> 72 </el-col> -->
72 <!-- <el-col :span="8"> 73 <el-col :span="8">
73 <el-form-item label="登记类型:"> 74 <el-form-item label="登记类型:">
74 <el-select v-model="ruleForm.qlxx.djlx"> 75 <el-select v-model="ruleForm.qlxx.djlx">
75 <el-option 76 <el-option
76 v-for="item in dictData['A21']" 77 v-for="item in djlxlist"
77 :key="item.dcode" 78 :key="item.dcode"
78 :label="item.dname" 79 :label="item.dname"
79 :value="item.dcode" 80 :value="item.dcode"
...@@ -81,34 +82,34 @@ ...@@ -81,34 +82,34 @@
81 </el-option> 82 </el-option>
82 </el-select> 83 </el-select>
83 </el-form-item> 84 </el-form-item>
84 </el-col> --> 85 </el-col>
85 <!-- <el-col :span="8"> 86 <!-- <el-col :span="8">
86 <el-form-item label="不动产坐落:"> 87 <el-form-item label="不动产坐落:">
87 <el-input v-model="ruleForm.qlxx.zl"></el-input> 88 <el-input v-model="ruleForm.qlxx.zl"></el-input>
88 </el-form-item> 89 </el-form-item>
89 </el-col> --> 90 </el-col> -->
90 <!-- <el-col :span="8"> 91 <el-col :span="8">
91 <el-form-item label="不动产权证号:"> 92 <el-form-item label="不动产权证号:" prop="qlxx.bdcqzh" :rules="rules.bdcqzhrules">
92 <el-input v-model="ruleForm.qlxx.bdcqzh"></el-input> 93 <el-input v-model="ruleForm.qlxx.bdcqzh"></el-input>
93 </el-form-item> 94 </el-form-item>
94 </el-col> --> 95 </el-col>
95 <el-col :span="8"> 96 <el-col :span="8">
96 <el-form-item label="区县代码:"> 97 <el-form-item label="区县代码:" prop="qlxx.qxdm" :rules="rules.qxdmrules">
97 <el-input v-model="ruleForm.qlxx.qxdm"></el-input> 98 <el-input v-model="ruleForm.qlxx.qxdm"></el-input>
98 </el-form-item> 99 </el-form-item>
99 </el-col> 100 </el-col>
100 <el-col :span="8"> 101 <el-col :span="8">
101 <el-form-item label="登记机构:"> 102 <el-form-item label="登记机构:" prop="qlxx.djjg" :rules="rules.djjgrules">
102 <el-input v-model="ruleForm.qlxx.djjg"></el-input> 103 <el-input v-model="ruleForm.qlxx.djjg"></el-input>
103 </el-form-item> 104 </el-form-item>
104 </el-col> 105 </el-col>
105 <el-col :span="8"> 106 <el-col :span="8">
106 <el-form-item label="登簿人:"> 107 <el-form-item label="登簿人:" prop="qlxx.dbr" :rules="rules.dbrrules">
107 <el-input v-model="ruleForm.qlxx.dbr"></el-input> 108 <el-input v-model="ruleForm.qlxx.dbr"></el-input>
108 </el-form-item> 109 </el-form-item>
109 </el-col> 110 </el-col>
110 <el-col :span="8"> 111 <el-col :span="8">
111 <el-form-item label="登记时间:"> 112 <el-form-item label="登记时间:" prop="qlxx.djsj" :rules="rules.djsjrules">
112 <el-input v-model="ruleForm.qlxx.djsj"></el-input> 113 <el-input v-model="ruleForm.qlxx.djsj"></el-input>
113 </el-form-item> 114 </el-form-item>
114 </el-col> 115 </el-col>
...@@ -189,7 +190,7 @@ ...@@ -189,7 +190,7 @@
189 :key="key" 190 :key="key"
190 :gyfs="ruleForm.qlxx.gyfs" 191 :gyfs="ruleForm.qlxx.gyfs"
191 /> 192 />
192 <div v-if="ruleForm.ywrData && ruleForm.ywrData.length > 0"> 193 <div v-if="ruleForm.ywrData">
193 <div class="slxx_title title-block"> 194 <div class="slxx_title title-block">
194 义务人信息 195 义务人信息
195 <div class="triangle"></div> 196 <div class="triangle"></div>
...@@ -202,7 +203,8 @@ ...@@ -202,7 +203,8 @@
202 /> 203 />
203 </div> 204 </div>
204 </div> 205 </div>
205 <el-row class="btn" v-if="!$route.query.viewtype && ableOperation"> 206 <!-- <el-row class="btn" v-if="!$route.query.viewtype && ableOperation"> -->
207 <el-row class="btn">
206 <el-form-item> 208 <el-form-item>
207 <el-button type="primary" @click="onSubmit">保存</el-button> 209 <el-button type="primary" @click="onSubmit">保存</el-button>
208 </el-form-item> 210 </el-form-item>
...@@ -230,6 +232,34 @@ export default { ...@@ -230,6 +232,34 @@ export default {
230 disabled: true, 232 disabled: true,
231 czrOptions: [], 233 czrOptions: [],
232 ruleForm: {}, 234 ruleForm: {},
235 // 登记类型
236 djlxlist: [
237 {
238 dcode: "100",
239 dname: "首次登记",
240 },
241 {
242 dcode: "200",
243 dname: "转移登记",
244 },
245 {
246 dcode: "300",
247 dname: "变更登记",
248 },
249 {
250 dcode: "500",
251 dname: "更正登记",
252 },
253
254 {
255 dcode: "901",
256 dname: "补证",
257 },
258 {
259 dcode: "902",
260 dname: "换证",
261 },
262 ],
233 // 权属状态 263 // 权属状态
234 qsztlist: [ 264 qsztlist: [
235 { 265 {
...@@ -242,7 +272,15 @@ export default { ...@@ -242,7 +272,15 @@ export default {
242 }, 272 },
243 ], 273 ],
244 //传递参数\ 274 //传递参数\
245 rules: {}, 275 rules: {
276 bdcqzhrules:[
277 { required: true, message: "不动产权证号:", trigger: "change" },
278 ],
279 qxdmrules: [{ required: true, message: "区县代码", trigger: "blur" }],
280 djjgrules: [{ required: true, message: "登记机构", trigger: "change" }],
281 dbrrules: [{ required: true, message: "登簿人", trigger: "blur" }],
282 djsjrules: [{ required: true, message: "登记时间", trigger: "change" }],
283 },
246 }; 284 };
247 }, 285 },
248 created() { 286 created() {
...@@ -251,7 +289,6 @@ export default { ...@@ -251,7 +289,6 @@ export default {
251 mounted() {}, 289 mounted() {},
252 methods: { 290 methods: {
253 loadData() { 291 loadData() {
254 console.log("异议登记", this.propsParam);
255 this.propsParam.isEdit=this.$parent.isEdit 292 this.propsParam.isEdit=this.$parent.isEdit
256 init(this.propsParam).then((res) => { 293 init(this.propsParam).then((res) => {
257 if (res.code == 200) { 294 if (res.code == 200) {
...@@ -277,6 +314,8 @@ export default { ...@@ -277,6 +314,8 @@ export default {
277 this.key++; 314 this.key++;
278 }, 315 },
279 onSubmit() { 316 onSubmit() {
317 this.$refs.ruleForm.validate((valid) => {
318 if (valid) {
280 if (this.ruleForm.qlrData.length == 0) { 319 if (this.ruleForm.qlrData.length == 0) {
281 this.$message({ 320 this.$message({
282 showClose: true, 321 showClose: true,
...@@ -330,6 +369,10 @@ export default { ...@@ -330,6 +369,10 @@ export default {
330 }); 369 });
331 } 370 }
332 }); 371 });
372 } else {
373 return false;
374 }
375 });
333 }, 376 },
334 }, 377 },
335 }; 378 };
......
1 <!-- 1 <!--
2 * @Description: 2 * @Description:
3 * @Autor: renchao 3 * @Autor: renchao
4 * @LastEditTime: 2023-07-05 16:57:08 4 * @LastEditTime: 2023-07-07 13:12:58
5 --> 5 -->
6 <template> 6 <template>
7 <div class="from-clues loadingtext" v-Loading="loading" element-loading-text="拼命加载中..." style="height:720px;text-align: center;"> 7 <div class="from-clues loadingtext" v-Loading="loading" element-loading-text="拼命加载中..." style="height:720px;text-align: center;">
...@@ -11,7 +11,7 @@ ...@@ -11,7 +11,7 @@
11 v-for="(item, index) in headTabBdcqz" :key="index"> 11 v-for="(item, index) in headTabBdcqz" :key="index">
12 </el-tab-pane> 12 </el-tab-pane>
13 </el-tabs> 13 </el-tabs>
14 <div class="no-data" v-if="headTabBdcqz.length == 0">暂无数据</div> 14 <el-empty description="暂无数据" v-if="headTabBdcqz.length == 0 && noData"></el-empty>
15 <canvas ref="zs" width="1000" v-show="headTabBdcqz[0]&&headTabBdcqz[0].bdcqzlx==1" height="700"></canvas> 15 <canvas ref="zs" width="1000" v-show="headTabBdcqz[0]&&headTabBdcqz[0].bdcqzlx==1" height="700"></canvas>
16 <canvas ref="zm" width="1180" v-show="headTabBdcqz[0]&&headTabBdcqz[0].bdcqzlx!=1" height="780"></canvas> 16 <canvas ref="zm" width="1180" v-show="headTabBdcqz[0]&&headTabBdcqz[0].bdcqzlx!=1" height="780"></canvas>
17 </div> 17 </div>
...@@ -30,6 +30,7 @@ ...@@ -30,6 +30,7 @@
30 }, 30 },
31 data () { 31 data () {
32 return { 32 return {
33 noData: false,
33 imgSrc: require('@/image/bdcqz/bdcqzs2.jpg'), 34 imgSrc: require('@/image/bdcqz/bdcqzs2.jpg'),
34 bdczmSrc: require('@/image/bdcqz/bdczm.jpg'), 35 bdczmSrc: require('@/image/bdcqz/bdczm.jpg'),
35 loading: false, 36 loading: false,
...@@ -77,6 +78,7 @@ ...@@ -77,6 +78,7 @@
77 this.loading = true 78 this.loading = true
78 getSlsqBdcqzList({ bsmSlsq: this.formData.bsmSlsq }).then(res => { 79 getSlsqBdcqzList({ bsmSlsq: this.formData.bsmSlsq }).then(res => {
79 if (res.code == 200) { 80 if (res.code == 200) {
81 this.noData = true
80 if (res.result && res.result.length > 0) { 82 if (res.result && res.result.length > 0) {
81 this.activeName = res.result[0].bsmBdcqz 83 this.activeName = res.result[0].bsmBdcqz
82 this.bdcqz = res.result[0] 84 this.bdcqz = res.result[0]
......
1 <!-- 1 <!--
2 * @Description: 2 * @Description:
3 * @Autor: renchao 3 * @Autor: renchao
4 * @LastEditTime: 2023-06-16 10:38:23 4 * @LastEditTime: 2023-06-16 10:38:23
5 --> 5 -->
......
...@@ -209,4 +209,7 @@ export default { ...@@ -209,4 +209,7 @@ export default {
209 border: none !important; 209 border: none !important;
210 210
211 } 211 }
212 .el-date-editor.el-input{
213 width: 100%;
214 }
212 </style> 215 </style>
......
...@@ -72,8 +72,8 @@ ...@@ -72,8 +72,8 @@
72 <el-input v-model="ruleForm.cfdjList[0].cfwh" :disabled="$route.query.viewtype || isJfOperation"></el-input> 72 <el-input v-model="ruleForm.cfdjList[0].cfwh" :disabled="$route.query.viewtype || isJfOperation"></el-input>
73 </el-form-item> 73 </el-form-item>
74 </el-col> 74 </el-col>
75 <!-- 批量查封状态有多种查封类型,不予展示 --> 75 <!-- 批量查封状态有多种查封类型,不予展示 -->
76 <!-- <el-col :span="8"> 76 <!-- <el-col :span="8">
77 <el-form-item :class="flag ? 'marginBot0' : ''" label="查封类型:" prop="cfdj.cflxmc"> 77 <el-form-item :class="flag ? 'marginBot0' : ''" label="查封类型:" prop="cfdj.cflxmc">
78 <el-input v-model="ruleForm.cfdjList[0].cflxmc" disabled></el-input> 78 <el-input v-model="ruleForm.cfdjList[0].cflxmc" disabled></el-input>
79 </el-form-item> 79 </el-form-item>
......
...@@ -192,28 +192,28 @@ ...@@ -192,28 +192,28 @@
192 this.queryClick(); 192 this.queryClick();
193 }, 193 },
194 ywhClick (item) { 194 ywhClick (item) {
195 //有任务权限 195 //有任务权限
196 if(item.sjlx=="3"){ 196 if (item.sjlx == "3") {
197 const { href } = this.$router.resolve( 197 const { href } = this.$router.resolve(
198 "/djbworkFrameview?bsmSlsq=" + 198 "/djbworkFrameview?bsmSlsq=" +
199 item.bsmSlsq + 199 item.bsmSlsq +
200 "&bestepid=" + 200 "&bestepid=" +
201 item.bestepid+ 201 item.bestepid +
202 "&isEdit=" + 202 "&isEdit=" +
203 true 203 true
204 ); 204 );
205 window.open(href, `urlname${item.bsmSlsq}`); 205 window.open(href, `urlname${item.bsmSlsq}`);
206 }else{ 206 } else {
207 const { href } = this.$router.resolve( 207 const { href } = this.$router.resolve(
208 "/workFrameView?bsmSlsq=" + 208 "/workFrameView?bsmSlsq=" +
209 item.bsmSlsq + 209 item.bsmSlsq +
210 "&bestepid=" + 210 "&bestepid=" +
211 item.bestepid + 211 item.bestepid +
212 "&bsmBusiness=" + 212 "&bsmBusiness=" +
213 "&viewtype=1" 213 "&viewtype=1"
214 ); 214 );
215 window.open(href, `urlname${item.bsmSlsq}`); 215 window.open(href, `urlname${item.bsmSlsq}`);
216 } 216 }
217 217
218 218
219 }, 219 },
......
...@@ -69,10 +69,11 @@ ...@@ -69,10 +69,11 @@
69 <script> 69 <script>
70 //查封登记 70 //查封登记
71 import store from "@/store/index.js"; 71 import store from "@/store/index.js";
72 import { datas, sendThis } from "../javascript/cfdj.js";
73 import { defaultParameters } from "../javascript/publicDefaultPar.js";
74 import table from "@/utils/mixin/table"; 72 import table from "@/utils/mixin/table";
75 import jump from "../components/mixin/jump"; 73 import jump from "../components/mixin/jump";
74 import { ywPopupDialog } from "@/utils/popup.js";
75 import { datas, sendThis } from "../javascript/cfdj.js";
76 import { defaultParameters } from "../javascript/publicDefaultPar.js";
76 import { selectCfdj, startBusinessFlow, choiceBdcdy } from "@/api/ywbl.js"; 77 import { selectCfdj, startBusinessFlow, choiceBdcdy } from "@/api/ywbl.js";
77 export default { 78 export default {
78 props: { 79 props: {
...@@ -138,9 +139,9 @@ ...@@ -138,9 +139,9 @@
138 this.$popupCacel() 139 this.$popupCacel()
139 140
140 } else { 141 } else {
141 this.$message.error(res.message); 142 ywPopupDialog("状态", "components/ywdialog", { message: res.message, result: res.result }, '36%')
142 } 143 }
143 }); 144 })
144 } else { 145 } else {
145 choiceBdcdy({ 146 choiceBdcdy({
146 bsmSlsq: this.$route.query.bsmSlsq, 147 bsmSlsq: this.$route.query.bsmSlsq,
......
...@@ -56,10 +56,11 @@ ...@@ -56,10 +56,11 @@
56 </template> 56 </template>
57 <script> 57 <script>
58 import store from '@/store/index.js' 58 import store from '@/store/index.js'
59 import { datas, sendThis } from "../javascript/diyaq.js";
60 import { defaultParameters } from "../javascript/publicDefaultPar.js";
61 import table from "@/utils/mixin/table"; 59 import table from "@/utils/mixin/table";
62 import jump from "../components/mixin/jump"; 60 import jump from "../components/mixin/jump";
61 import { ywPopupDialog } from "@/utils/popup.js";
62 import { datas, sendThis } from "../javascript/diyaq.js";
63 import { defaultParameters } from "../javascript/publicDefaultPar.js";
63 import { selectDiyaq, startBusinessFlow } from "@/api/ywbl.js"; 64 import { selectDiyaq, startBusinessFlow } from "@/api/ywbl.js";
64 export default { 65 export default {
65 mixins: [table, jump], 66 mixins: [table, jump],
...@@ -119,7 +120,7 @@ ...@@ -119,7 +120,7 @@
119 } 120 }
120 this.$popupCacel() 121 this.$popupCacel()
121 } else { 122 } else {
122 this.$message.error(res.message); 123 ywPopupDialog("状态", "components/ywdialog", { message: res.message, result: res.result }, '36%')
123 } 124 }
124 }) 125 })
125 }, 126 },
......
...@@ -123,9 +123,10 @@ ...@@ -123,9 +123,10 @@
123 <script> 123 <script>
124 import Vue from 'vue' 124 import Vue from 'vue'
125 import store from '@/store/index.js' 125 import store from '@/store/index.js'
126 import table from "@/utils/mixin/table";
126 //国有建设用地使用权/房屋使用权 127 //国有建设用地使用权/房屋使用权
128 import { ywPopupDialog } from "@/utils/popup.js";
127 import { datas, sendThis } from "../javascript/fwsyq.js"; 129 import { datas, sendThis } from "../javascript/fwsyq.js";
128 import table from "@/utils/mixin/table";
129 import jump from "@/views/ywbl/ywsq/components/mixin/jump"; 130 import jump from "@/views/ywbl/ywsq/components/mixin/jump";
130 import { selectScBdcdy, startBusinessFlow, choiceBdcdy, selectOtherH, selectZrz, selectDz } from "@/api/ywbl.js"; 131 import { selectScBdcdy, startBusinessFlow, choiceBdcdy, selectOtherH, selectZrz, selectDz } from "@/api/ywbl.js";
131 export default { 132 export default {
...@@ -241,7 +242,7 @@ ...@@ -241,7 +242,7 @@
241 } 242 }
242 this.$popupCacel() 243 this.$popupCacel()
243 } else { 244 } else {
244 this.$message.error(res.message); 245 ywPopupDialog("状态", "components/ywdialog", { message: res.message, result: res.result }, '36%')
245 } 246 }
246 }) 247 })
247 } else { 248 } else {
...@@ -258,7 +259,7 @@ ...@@ -258,7 +259,7 @@
258 store.dispatch('user/refreshPage', true); 259 store.dispatch('user/refreshPage', true);
259 this.$popupCacel() 260 this.$popupCacel()
260 } else { 261 } else {
261 this.$message.error(res.message); 262 ywPopupDialog("状态", "components/ywdialog", { message: res.message, result: res.result }, '36%')
262 } 263 }
263 }) 264 })
264 } 265 }
......
...@@ -42,10 +42,11 @@ ...@@ -42,10 +42,11 @@
42 <script> 42 <script>
43 //首次登记 43 //首次登记
44 import store from '@/store/index.js' 44 import store from '@/store/index.js'
45 import { datas, sendThis } from "../javascript/nydsyq100.js";
46 import { defaultParameters } from "../javascript/publicDefaultPar.js";
47 import table from "@/utils/mixin/table"; 45 import table from "@/utils/mixin/table";
48 import jump from "../components/mixin/jump"; 46 import jump from "../components/mixin/jump";
47 import { ywPopupDialog } from "@/utils/popup.js";
48 import { datas, sendThis } from "../javascript/nydsyq100.js";
49 import { defaultParameters } from "../javascript/publicDefaultPar.js";
49 import { startBusinessFlow, selectZdjbxx } from "@/api/ywbl.js"; 50 import { startBusinessFlow, selectZdjbxx } from "@/api/ywbl.js";
50 export default { 51 export default {
51 mixins: [table, jump], 52 mixins: [table, jump],
...@@ -108,7 +109,7 @@ ...@@ -108,7 +109,7 @@
108 } 109 }
109 this.$popupCacel() 110 this.$popupCacel()
110 } else { 111 } else {
111 this.$message.error(res.message); 112 ywPopupDialog("状态", "components/ywdialog", { message: res.message, result: res.result }, '36%')
112 } 113 }
113 }) 114 })
114 }, 115 },
......
...@@ -42,10 +42,11 @@ ...@@ -42,10 +42,11 @@
42 <script> 42 <script>
43 //首次登记 43 //首次登记
44 import store from '@/store/index.js' 44 import store from '@/store/index.js'
45 import { datas, sendThis } from "../javascript/selectJsydsyq.js";
46 import { defaultParameters } from "../javascript/publicDefaultPar.js";
47 import table from "@/utils/mixin/table"; 45 import table from "@/utils/mixin/table";
48 import jump from "../components/mixin/jump"; 46 import jump from "../components/mixin/jump";
47 import { ywPopupDialog } from "@/utils/popup.js";
48 import { datas, sendThis } from "../javascript/selectJsydsyq.js";
49 import { defaultParameters } from "../javascript/publicDefaultPar.js";
49 import { startBusinessFlow, selectNydsyqQlxx } from "@/api/ywbl.js"; 50 import { startBusinessFlow, selectNydsyqQlxx } from "@/api/ywbl.js";
50 export default { 51 export default {
51 mixins: [table, jump], 52 mixins: [table, jump],
...@@ -105,7 +106,7 @@ ...@@ -105,7 +106,7 @@
105 } 106 }
106 this.$popupCacel() 107 this.$popupCacel()
107 } else { 108 } else {
108 this.$message.error(res.message); 109 ywPopupDialog("状态", "components/ywdialog", { message: res.message, result: res.result }, '36%')
109 } 110 }
110 }) 111 })
111 }, 112 },
......
...@@ -55,11 +55,12 @@ ...@@ -55,11 +55,12 @@
55 </div> 55 </div>
56 </template> 56 </template>
57 <script> 57 <script>
58 import jump from "./mixin/jump";
58 import store from '@/store/index.js' 59 import store from '@/store/index.js'
60 import table from "@/utils/mixin/table";
61 import { ywPopupDialog } from "@/utils/popup.js";
59 import { datas, sendThis } from "../javascript/selecBdcql.js"; 62 import { datas, sendThis } from "../javascript/selecBdcql.js";
60 import { defaultParameters } from "../javascript/publicDefaultPar.js"; 63 import { defaultParameters } from "../javascript/publicDefaultPar.js";
61 import table from "@/utils/mixin/table";
62 import jump from "./mixin/jump";
63 import { selectQlxx, startBusinessFlow } from "@/api/ywbl.js"; 64 import { selectQlxx, startBusinessFlow } from "@/api/ywbl.js";
64 import { getQllxByBsmSqyw } from "@/api/system.js"; 65 import { getQllxByBsmSqyw } from "@/api/system.js";
65 export default { 66 export default {
...@@ -133,7 +134,7 @@ ...@@ -133,7 +134,7 @@
133 } 134 }
134 this.$popupCacel() 135 this.$popupCacel()
135 } else { 136 } else {
136 this.$message.error(res.message) 137 ywPopupDialog("状态", "components/ywdialog", { message: res.message, result: res.result }, '36%')
137 } 138 }
138 }) 139 })
139 }, 140 },
......
...@@ -52,9 +52,10 @@ ...@@ -52,9 +52,10 @@
52 </template> 52 </template>
53 <script> 53 <script>
54 import { mapGetters } from "vuex"; 54 import { mapGetters } from "vuex";
55 import { startRepairFlow } from "@/api/ywbl.js";
56 import store from '@/store/index.js' 55 import store from '@/store/index.js'
57 import table from "@/utils/mixin/table"; 56 import table from "@/utils/mixin/table";
57 import { ywPopupDialog } from "@/utils/popup.js";
58 import { startRepairFlow } from "@/api/ywbl.js";
58 import { datas, sendThis } from "../javascript/selectDjbbl.js"; 59 import { datas, sendThis } from "../javascript/selectDjbbl.js";
59 import { selectRepairQlxx } from "@/api/selectQlxx.js"; 60 import { selectRepairQlxx } from "@/api/selectQlxx.js";
60 import jump from "../components/mixin/djbbljump"; 61 import jump from "../components/mixin/djbbljump";
...@@ -161,7 +162,7 @@ ...@@ -161,7 +162,7 @@
161 } 162 }
162 this.$popupCacel() 163 this.$popupCacel()
163 } else { 164 } else {
164 this.$message.error(res.message); 165 ywPopupDialog("状态", "components/ywdialog", { message: res.message, result: res.result }, '36%')
165 } 166 }
166 }) 167 })
167 }, 168 },
......
...@@ -47,11 +47,12 @@ ...@@ -47,11 +47,12 @@
47 </div> 47 </div>
48 </template> 48 </template>
49 <script> 49 <script>
50 import jump from "./mixin/jump";
50 import store from '@/store/index.js' 51 import store from '@/store/index.js'
52 import table from "@/utils/mixin/table";
53 import { ywPopupDialog } from "@/utils/popup.js";
51 import { datas, sendThis } from "../javascript/selectFwsyq.js"; 54 import { datas, sendThis } from "../javascript/selectFwsyq.js";
52 import { defaultParameters } from "../javascript/publicDefaultPar.js"; 55 import { defaultParameters } from "../javascript/publicDefaultPar.js";
53 import table from "@/utils/mixin/table";
54 import jump from "./mixin/jump";
55 import { selectFwsyq, startBusinessFlow } from "@/api/ywbl.js"; 56 import { selectFwsyq, startBusinessFlow } from "@/api/ywbl.js";
56 export default { 57 export default {
57 mixins: [table, jump], 58 mixins: [table, jump],
...@@ -110,7 +111,7 @@ ...@@ -110,7 +111,7 @@
110 } 111 }
111 this.$popupCacel() 112 this.$popupCacel()
112 } else { 113 } else {
113 this.$message.error(res.message); 114 ywPopupDialog("状态", "components/ywdialog", { message: res.message, result: res.result }, '36%')
114 } 115 }
115 }) 116 })
116 }, 117 },
......
...@@ -47,11 +47,12 @@ ...@@ -47,11 +47,12 @@
47 </div> 47 </div>
48 </template> 48 </template>
49 <script> 49 <script>
50 import jump from "./mixin/jump";
50 import store from '@/store/index.js' 51 import store from '@/store/index.js'
52 import table from "@/utils/mixin/table";
53 import { ywPopupDialog } from "@/utils/popup.js";
51 import { datas, sendThis } from "../javascript/selectH.js"; 54 import { datas, sendThis } from "../javascript/selectH.js";
52 import { defaultParameters } from "../javascript/publicDefaultPar.js"; 55 import { defaultParameters } from "../javascript/publicDefaultPar.js";
53 import table from "@/utils/mixin/table";
54 import jump from "./mixin/jump";
55 import { selectHQjdc, startBusinessFlow } from "@/api/ywbl.js"; 56 import { selectHQjdc, startBusinessFlow } from "@/api/ywbl.js";
56 export default { 57 export default {
57 mixins: [table, jump], 58 mixins: [table, jump],
...@@ -110,7 +111,7 @@ ...@@ -110,7 +111,7 @@
110 } 111 }
111 this.$popupCacel() 112 this.$popupCacel()
112 } else { 113 } else {
113 this.$message.error(res.message); 114 ywPopupDialog("状态", "components/ywdialog", { message: res.message, result: res.result }, '36%')
114 } 115 }
115 }) 116 })
116 }, 117 },
......
...@@ -55,11 +55,12 @@ ...@@ -55,11 +55,12 @@
55 </template> 55 </template>
56 <script> 56 <script>
57 //首次登记 57 //首次登记
58 import jump from "./mixin/jump";
58 import store from '@/store/index.js' 59 import store from '@/store/index.js'
60 import table from "@/utils/mixin/table";
61 import { ywPopupDialog } from "@/utils/popup.js";
59 import { datas, sendThis } from "../javascript/selectJsydsyq.js"; 62 import { datas, sendThis } from "../javascript/selectJsydsyq.js";
60 import { defaultParameters } from "../javascript/publicDefaultPar.js"; 63 import { defaultParameters } from "../javascript/publicDefaultPar.js";
61 import table from "@/utils/mixin/table";
62 import jump from "./mixin/jump";
63 import { startBusinessFlow, selectJsydQlxx } from "@/api/ywbl.js"; 64 import { startBusinessFlow, selectJsydQlxx } from "@/api/ywbl.js";
64 export default { 65 export default {
65 mixins: [table, jump], 66 mixins: [table, jump],
...@@ -118,7 +119,7 @@ ...@@ -118,7 +119,7 @@
118 } 119 }
119 this.$popupCacel() 120 this.$popupCacel()
120 } else { 121 } else {
121 this.$message.error(res.message); 122 ywPopupDialog("状态", "components/ywdialog", { message: res.message, result: res.result }, '36%')
122 } 123 }
123 }) 124 })
124 }, 125 },
......
1 <!-- 1 <!--
2 * @Description: 2 * @Description:
3 * @Autor: renchao 3 * @Autor: renchao
4 * @LastEditTime: 2023-06-16 09:37:51 4 * @LastEditTime: 2023-07-07 09:27:48
5 --> 5 -->
6 <template> 6 <template>
7 <div class="from-clues"> 7 <div class="from-clues">
...@@ -138,11 +138,12 @@ ...@@ -138,11 +138,12 @@
138 </template> 138 </template>
139 <script> 139 <script>
140 //首次登记 140 //首次登记
141 import jump from "./mixin/jump";
141 import store from '@/store/index.js' 142 import store from '@/store/index.js'
143 import table from "@/utils/mixin/table";
144 import { ywPopupDialog } from "@/utils/popup.js";
142 import { datas, datastwo, sendThis } from "../javascript/selectJsydsyqhbfg.js"; 145 import { datas, datastwo, sendThis } from "../javascript/selectJsydsyqhbfg.js";
143 import { defaultParameters } from "../javascript/publicDefaultPar.js"; 146 import { defaultParameters } from "../javascript/publicDefaultPar.js";
144 import table from "@/utils/mixin/table";
145 import jump from "./mixin/jump";
146 import { startBusinessFlow, selectJsydQlxxSplitMergeBefore, selectZdjbxxSplitMergeLast } from "@/api/ywbl.js"; 147 import { startBusinessFlow, selectJsydQlxxSplitMergeBefore, selectZdjbxxSplitMergeLast } from "@/api/ywbl.js";
147 export default { 148 export default {
148 mixins: [table, jump], 149 mixins: [table, jump],
...@@ -246,7 +247,7 @@ ...@@ -246,7 +247,7 @@
246 } 247 }
247 this.$popupCacel() 248 this.$popupCacel()
248 } else { 249 } else {
249 this.$message.error(res.message) 250 ywPopupDialog("状态", "components/ywdialog", { message: res.message, result: res.result }, '36%')
250 } 251 }
251 }) 252 })
252 }, 253 },
......
...@@ -50,7 +50,7 @@ ...@@ -50,7 +50,7 @@
50 import jump from "./mixin/jump"; 50 import jump from "./mixin/jump";
51 import store from '@/store/index.js' 51 import store from '@/store/index.js'
52 import table from "@/utils/mixin/table"; 52 import table from "@/utils/mixin/table";
53 import { popupDialog, popupCacel } from "@/utils/popup.js"; 53 import { ywPopupDialog } from "@/utils/popup.js";
54 import { startBusinessFlow, selectZdjbxx } from "@/api/ywbl.js"; 54 import { startBusinessFlow, selectZdjbxx } from "@/api/ywbl.js";
55 import { datas, sendThis } from "../javascript/selectQjzdjbxx.js"; 55 import { datas, sendThis } from "../javascript/selectQjzdjbxx.js";
56 import { defaultParameters } from "../javascript/publicDefaultPar.js"; 56 import { defaultParameters } from "../javascript/publicDefaultPar.js";
...@@ -116,7 +116,7 @@ ...@@ -116,7 +116,7 @@
116 } 116 }
117 this.$popupCacel() 117 this.$popupCacel()
118 } else { 118 } else {
119 popupDialog("状态", "components/ywdialog", { message: res.message, result: res.result }, '36%', true) 119 ywPopupDialog("状态", "components/ywdialog", { message: res.message, result: res.result }, '36%')
120 } 120 }
121 }) 121 })
122 }, 122 },
......
...@@ -55,11 +55,12 @@ ...@@ -55,11 +55,12 @@
55 </template> 55 </template>
56 <script> 56 <script>
57 //首次登记 57 //首次登记
58 import jump from "./mixin/jump";
58 import store from '@/store/index.js' 59 import store from '@/store/index.js'
60 import table from "@/utils/mixin/table";
61 import { ywPopupDialog } from "@/utils/popup.js";
59 import { datas, sendThis } from "../javascript/selectTdsyq.js"; 62 import { datas, sendThis } from "../javascript/selectTdsyq.js";
60 import { defaultParameters } from "../javascript/publicDefaultPar.js"; 63 import { defaultParameters } from "../javascript/publicDefaultPar.js";
61 import table from "@/utils/mixin/table";
62 import jump from "./mixin/jump";
63 import { startBusinessFlow, selectTdsyqQlxx } from "@/api/ywbl.js"; 64 import { startBusinessFlow, selectTdsyqQlxx } from "@/api/ywbl.js";
64 export default { 65 export default {
65 mixins: [table, jump], 66 mixins: [table, jump],
...@@ -118,7 +119,7 @@ ...@@ -118,7 +119,7 @@
118 } 119 }
119 this.$popupCacel() 120 this.$popupCacel()
120 } else { 121 } else {
121 this.$message.error(res.message); 122 ywPopupDialog("状态", "components/ywdialog", { message: res.message, result: res.result }, '36%')
122 } 123 }
123 }) 124 })
124 }, 125 },
......
...@@ -48,6 +48,7 @@ ...@@ -48,6 +48,7 @@
48 </template> 48 </template>
49 <script> 49 <script>
50 import store from '@/store/index.js' 50 import store from '@/store/index.js'
51 import { ywPopupDialog } from "@/utils/popup.js";
51 import { datas, sendThis } from "../javascript/selectYgdj200.js"; 52 import { datas, sendThis } from "../javascript/selectYgdj200.js";
52 import { defaultParameters } from "../javascript/publicDefaultPar.js"; 53 import { defaultParameters } from "../javascript/publicDefaultPar.js";
53 import table from "@/utils/mixin/table"; 54 import table from "@/utils/mixin/table";
...@@ -110,7 +111,7 @@ ...@@ -110,7 +111,7 @@
110 this.$popupCacel() 111 this.$popupCacel()
111 } 112 }
112 } else { 113 } else {
113 this.$message.error(res.message); 114 ywPopupDialog("状态", "components/ywdialog", { message: res.message, result: res.result }, '36%')
114 } 115 }
115 }) 116 })
116 }, 117 },
......
...@@ -48,6 +48,7 @@ ...@@ -48,6 +48,7 @@
48 </template> 48 </template>
49 <script> 49 <script>
50 import store from '@/store/index.js' 50 import store from '@/store/index.js'
51 import { ywPopupDialog } from "@/utils/popup.js";
51 import { datas, sendThis } from "../javascript/selectYgdy.js"; 52 import { datas, sendThis } from "../javascript/selectYgdy.js";
52 import { defaultParameters } from "../javascript/publicDefaultPar.js"; 53 import { defaultParameters } from "../javascript/publicDefaultPar.js";
53 import table from "@/utils/mixin/table"; 54 import table from "@/utils/mixin/table";
...@@ -110,7 +111,7 @@ ...@@ -110,7 +111,7 @@
110 } 111 }
111 this.$popupCacel() 112 this.$popupCacel()
112 } else { 113 } else {
113 this.$message.error(res.message); 114 ywPopupDialog("状态", "components/ywdialog", { message: res.message, result: res.result }, '36%')
114 } 115 }
115 }) 116 })
116 }, 117 },
......
...@@ -48,6 +48,7 @@ ...@@ -48,6 +48,7 @@
48 </template> 48 </template>
49 <script> 49 <script>
50 import store from '@/store/index.js' 50 import store from '@/store/index.js'
51 import { ywPopupDialog } from "@/utils/popup.js";
51 import { datas, sendThis } from "../javascript/selectAllHInfo.js"; 52 import { datas, sendThis } from "../javascript/selectAllHInfo.js";
52 import { defaultParameters } from "../javascript/publicDefaultPar.js"; 53 import { defaultParameters } from "../javascript/publicDefaultPar.js";
53 import table from "@/utils/mixin/table"; 54 import table from "@/utils/mixin/table";
...@@ -111,7 +112,7 @@ ...@@ -111,7 +112,7 @@
111 } 112 }
112 this.$popupCacel() 113 this.$popupCacel()
113 } else { 114 } else {
114 this.$message.error(res.message); 115 ywPopupDialog("状态", "components/ywdialog", { message: res.message, result: res.result }, '36%')
115 } 116 }
116 }) 117 })
117 }, 118 },
......