Merge branch 'master' of http://yun.pashanhoo.com:9090/bdc/bdcdj-web
Showing
21 changed files
with
584 additions
and
66 deletions
... | @@ -34,9 +34,13 @@ export function Init (data) { | ... | @@ -34,9 +34,13 @@ export function Init (data) { |
34 | }) | 34 | }) |
35 | } | 35 | } |
36 | // 受理信息保存 | 36 | // 受理信息保存 |
37 | export function saveData (data) { | 37 | export function saveData (data,djlx) { |
38 | let apiUrl = "/rest/ywbl/dyaq/saveData"; | ||
39 | if(djlx=="400"){ | ||
40 | apiUrl = "/rest/ywbl/dyaq/saveLogoutData"; | ||
41 | } | ||
38 | return request({ | 42 | return request({ |
39 | url: SERVER.SERVERAPI + '/rest/ywbl/dyaq/saveData', | 43 | url: SERVER.SERVERAPI + apiUrl, |
40 | method: 'post', | 44 | method: 'post', |
41 | data | 45 | data |
42 | }) | 46 | }) | ... | ... |
... | @@ -243,3 +243,27 @@ export function selectFwsyq (data) { | ... | @@ -243,3 +243,27 @@ export function selectFwsyq (data) { |
243 | data | 243 | data |
244 | }) | 244 | }) |
245 | } | 245 | } |
246 | /** | ||
247 | * 业务办理-预告登记-选择权利信息-根据条件进行列表查询 | ||
248 | * @param data | ||
249 | * @returns {*} | ||
250 | */ | ||
251 | export function selectYgdj100 (data) { | ||
252 | return request({ | ||
253 | url: SERVER.SERVERAPI + '/rest/ywbl/ywsq/selectYgdj100', | ||
254 | method: 'post', | ||
255 | data | ||
256 | }) | ||
257 | } | ||
258 | /** | ||
259 | * 业务办理-预告登记-选择权利信息-根据条件进行列表查询 | ||
260 | * @param data | ||
261 | * @returns {*} | ||
262 | */ | ||
263 | export function selectYgdj200 (data) { | ||
264 | return request({ | ||
265 | url: SERVER.SERVERAPI + '/rest/ywbl/ywsq/selectYgdj200', | ||
266 | method: 'post', | ||
267 | data | ||
268 | }) | ||
269 | } | ... | ... |
... | @@ -63,9 +63,8 @@ export default { | ... | @@ -63,9 +63,8 @@ export default { |
63 | return true | 63 | return true |
64 | } | 64 | } |
65 | }) | 65 | }) |
66 | 66 | // // When there is only one child router, the child router is displayed by default | |
67 | // When there is only one child router, the child router is displayed by default | 67 | if (showingChildren.length === 1 && showingChildren[0].name == 'home') { |
68 | if (showingChildren.length === 1) { | ||
69 | return true | 68 | return true |
70 | } | 69 | } |
71 | 70 | ||
... | @@ -74,7 +73,6 @@ export default { | ... | @@ -74,7 +73,6 @@ export default { |
74 | this.onlyOneChild = { ...parent, path: '', noShowingChildren: true } | 73 | this.onlyOneChild = { ...parent, path: '', noShowingChildren: true } |
75 | return true | 74 | return true |
76 | } | 75 | } |
77 | |||
78 | return false | 76 | return false |
79 | }, | 77 | }, |
80 | resolvePath (routePath) { | 78 | resolvePath (routePath) { | ... | ... |
... | @@ -27,25 +27,25 @@ | ... | @@ -27,25 +27,25 @@ |
27 | </div> | 27 | </div> |
28 | <!-- 表格 --> | 28 | <!-- 表格 --> |
29 | <div class="from-clues-content"> | 29 | <div class="from-clues-content"> |
30 | <lb-table :page-size="pageData.size" border :current-page.sync="pageData.current" :total="tableData.total" | 30 | <lb-table :page-size="pageData.size" :current-page.sync="pageData.current" :total="tableData.total" |
31 | @size-change="handleSizeChange" @p-current-change="handleCurrentChange" :column="tableData.columns" | 31 | @size-change="handleSizeChange" @p-current-change="handleCurrentChange" :column="tableData.columns" |
32 | :data="tableData.data"> | 32 | :data="tableData.data"> |
33 | </lb-table> | 33 | </lb-table> |
34 | </div> | 34 | </div> |
35 | <addDialog ref="addDialog" v-model="addDialog" :editFlag="editFlag"/> | 35 | <addDialog ref="addDialog" v-model="addDialog" :editFlag="editFlag" /> |
36 | <retrieveDialog ref="retrieveDialog" v-model="retrieveDialog"/> | 36 | <retrieveDialog ref="retrieveDialog" v-model="retrieveDialog" /> |
37 | </div> | 37 | </div> |
38 | </template> | 38 | </template> |
39 | <script> | 39 | <script> |
40 | import { mapGetters } from 'vuex' | 40 | import { mapGetters } from 'vuex' |
41 | import table from "@/utils/mixin/table" | 41 | import table from "@/utils/mixin/table" |
42 | import { datas, sendThis } from "./ptjkdata" | 42 | import { datas, sendThis } from "./ptjkdata" |
43 | import { getSysInterfaceList} from '@/api/jkfw' | 43 | import { getSysInterfaceList } from '@/api/jkfw' |
44 | import addDialog from "./components/addDialog.vue" | 44 | import addDialog from "./components/addDialog.vue" |
45 | import retrieveDialog from "./components/retrieveDialog.vue" | 45 | import retrieveDialog from "./components/retrieveDialog.vue" |
46 | export default { | 46 | export default { |
47 | name: "ptjk", | 47 | name: "ptjk", |
48 | components: { addDialog,retrieveDialog }, | 48 | components: { addDialog, retrieveDialog }, |
49 | mixins: [table], | 49 | mixins: [table], |
50 | mounted () { | 50 | mounted () { |
51 | sendThis(this); | 51 | sendThis(this); |
... | @@ -73,11 +73,11 @@ export default { | ... | @@ -73,11 +73,11 @@ export default { |
73 | }; | 73 | }; |
74 | }, | 74 | }, |
75 | methods: { | 75 | methods: { |
76 | queryClick(){ | 76 | queryClick () { |
77 | this.$startLoading() | 77 | this.$startLoading() |
78 | getSysInterfaceList({ ...this.ruleForm, ...this.pageData }, { 'target': '#ptjkLoading' }).then(res => { | 78 | getSysInterfaceList({ ...this.ruleForm, ...this.pageData }, { 'target': '#ptjkLoading' }).then(res => { |
79 | this.$endLoading() | 79 | this.$endLoading() |
80 | if(res.code == 200){ | 80 | if (res.code == 200) { |
81 | let { total, records } = res.result | 81 | let { total, records } = res.result |
82 | this.tableData.total = total; | 82 | this.tableData.total = total; |
83 | this.tableData.data = records ? records : [] | 83 | this.tableData.data = records ? records : [] |
... | @@ -85,18 +85,18 @@ export default { | ... | @@ -85,18 +85,18 @@ export default { |
85 | }) | 85 | }) |
86 | }, | 86 | }, |
87 | //打开新增 | 87 | //打开新增 |
88 | openDialog(){ | 88 | openDialog () { |
89 | this.editFlag = false; | 89 | this.editFlag = false; |
90 | this.addDialog = true; | 90 | this.addDialog = true; |
91 | }, | 91 | }, |
92 | //打开编辑 | 92 | //打开编辑 |
93 | editInterface(item){ | 93 | editInterface (item) { |
94 | this.editFlag = true; | 94 | this.editFlag = true; |
95 | this.addDialog = true; | 95 | this.addDialog = true; |
96 | this.$refs.addDialog.getDetailInfo(item); | 96 | this.$refs.addDialog.getDetailInfo(item); |
97 | }, | 97 | }, |
98 | //打开调试窗口 | 98 | //打开调试窗口 |
99 | tuneInterface(item){ | 99 | tuneInterface (item) { |
100 | this.retrieveDialog = true; | 100 | this.retrieveDialog = true; |
101 | this.$refs.retrieveDialog.getDetailInfo(item); | 101 | this.$refs.retrieveDialog.getDetailInfo(item); |
102 | } | 102 | } | ... | ... |
... | @@ -121,15 +121,15 @@ export default { | ... | @@ -121,15 +121,15 @@ export default { |
121 | } else { | 121 | } else { |
122 | that.tableDataList = _.cloneDeep(val) | 122 | that.tableDataList = _.cloneDeep(val) |
123 | } | 123 | } |
124 | this.column = this.InformationTable | ||
125 | }) | 124 | }) |
126 | }, | 125 | }, |
126 | immediate: true, | ||
127 | deep: true | 127 | deep: true |
128 | }, | 128 | }, |
129 | gyfs: { | 129 | gyfs: { |
130 | handler (newVal, oldValue) { | 130 | handler (newVal, oldValue) { |
131 | let dataList = _.cloneDeep(this.InformationTable) | 131 | let dataList = _.cloneDeep(this.InformationTable) |
132 | if (newVal == '0') { | 132 | if (newVal == 0) { |
133 | this.column = _.cloneDeep(dataList).slice(1, dataList.length) | 133 | this.column = _.cloneDeep(dataList).slice(1, dataList.length) |
134 | } else if ((newVal == '1' || newVal == '3')) { | 134 | } else if ((newVal == '1' || newVal == '3')) { |
135 | this.column = dataList | 135 | this.column = dataList |
... | @@ -169,12 +169,10 @@ export default { | ... | @@ -169,12 +169,10 @@ export default { |
169 | 169 | ||
170 | // 修改 | 170 | // 修改 |
171 | editClick (index, row) { | 171 | editClick (index, row) { |
172 | //console.log(row, 'rowrowrowrowrow'); | ||
173 | this.dataIndex = index | 172 | this.dataIndex = index |
174 | this.dialog = true | 173 | this.dialog = true |
175 | this.details = row | 174 | this.details = row |
176 | }, | 175 | }, |
177 | |||
178 | queryViewClick () { | 176 | queryViewClick () { |
179 | this.dialog = true | 177 | this.dialog = true |
180 | } | 178 | } | ... | ... |
... | @@ -284,7 +284,7 @@ export default { | ... | @@ -284,7 +284,7 @@ export default { |
284 | }, | 284 | }, |
285 | methods: { | 285 | methods: { |
286 | onSubmitClick () { | 286 | onSubmitClick () { |
287 | saveData(this.ruleForm).then((res) => { | 287 | saveData(this.ruleForm,this.propsParam.djlx).then((res) => { |
288 | if (res.code === 200) { | 288 | if (res.code === 200) { |
289 | this.$message({ | 289 | this.$message({ |
290 | showClose: true, | 290 | showClose: true, | ... | ... |
... | @@ -216,7 +216,13 @@ | ... | @@ -216,7 +216,13 @@ |
216 | </div> | 216 | </div> |
217 | <el-row :gutter="10"> | 217 | <el-row :gutter="10"> |
218 | <el-col> | 218 | <el-col> |
219 | <el-form-item :class="flag ? 'marginBot0' : ''" label="登记原因:" prop="djyy"> | 219 | <el-form-item v-if="ruleForm.slywxx.djlx == '400'" :class="flag ? 'marginBot0' : ''" label="注销抵押原因:" |
220 | prop="djyy"> | ||
221 | <el-input class="textArea" type="textarea" :disabled="$route.query.viewtype == 1" | ||
222 | v-model="ruleForm.diyaq.zxdyyy"> | ||
223 | </el-input> | ||
224 | </el-form-item> | ||
225 | <el-form-item v-else :class="flag ? 'marginBot0' : ''" label="登记原因:" prop="djyy"> | ||
220 | <el-input class="textArea" type="textarea" :disabled="$route.query.viewtype == 1" | 226 | <el-input class="textArea" type="textarea" :disabled="$route.query.viewtype == 1" |
221 | v-model="ruleForm.diyaq.djyy"> | 227 | v-model="ruleForm.diyaq.djyy"> |
222 | </el-input> | 228 | </el-input> |
... | @@ -272,7 +278,7 @@ export default { | ... | @@ -272,7 +278,7 @@ export default { |
272 | }, | 278 | }, |
273 | methods: { | 279 | methods: { |
274 | onSubmitClick () { | 280 | onSubmitClick () { |
275 | saveData(this.ruleForm).then((res) => { | 281 | saveData(this.ruleForm,this.propsParam.djlx).then((res) => { |
276 | if (res.code === 200) { | 282 | if (res.code === 200) { |
277 | this.$message({ | 283 | this.$message({ |
278 | showClose: true, | 284 | showClose: true, | ... | ... |
... | @@ -133,7 +133,8 @@ | ... | @@ -133,7 +133,8 @@ |
133 | <el-row :gutter="10"> | 133 | <el-row :gutter="10"> |
134 | <el-col :span="14" v-if="ruleForm.qlxx"> | 134 | <el-col :span="14" v-if="ruleForm.qlxx"> |
135 | <el-form-item :class="flag ? 'marginBot0' : ''" label="共有方式:"> | 135 | <el-form-item :class="flag ? 'marginBot0' : ''" label="共有方式:"> |
136 | <el-radio-group :disabled="$route.query.viewtype == 1" @change="showCZInfo" v-model="ruleForm.slywxx.gyfs"> | 136 | <el-radio-group :disabled="$route.query.viewtype == 1" @change="showCZInfo" |
137 | v-model="ruleForm.slywxx.gyfs"> | ||
137 | <el-radio label="0">单独所有</el-radio> | 138 | <el-radio label="0">单独所有</el-radio> |
138 | <el-radio label="1">共同共有</el-radio> | 139 | <el-radio label="1">共同共有</el-radio> |
139 | <el-radio label="2">按份所有</el-radio> | 140 | <el-radio label="2">按份所有</el-radio> |
... | @@ -273,7 +274,6 @@ export default { | ... | @@ -273,7 +274,6 @@ export default { |
273 | display: flex; | 274 | display: flex; |
274 | flex-direction: column; | 275 | flex-direction: column; |
275 | height: calc(100vh - 130px); | 276 | height: calc(100vh - 130px); |
276 | background-color: aqua; | ||
277 | } | 277 | } |
278 | 278 | ||
279 | /deep/.el-form-item__label { | 279 | /deep/.el-form-item__label { | ... | ... |
... | @@ -299,7 +299,6 @@ export default { | ... | @@ -299,7 +299,6 @@ export default { |
299 | display: flex; | 299 | display: flex; |
300 | flex-direction: column; | 300 | flex-direction: column; |
301 | height: calc(100vh - 130px); | 301 | height: calc(100vh - 130px); |
302 | background-color: aqua; | ||
303 | } | 302 | } |
304 | 303 | ||
305 | /deep/.el-form-item__label { | 304 | /deep/.el-form-item__label { | ... | ... |
... | @@ -271,7 +271,6 @@ export default { | ... | @@ -271,7 +271,6 @@ export default { |
271 | display: flex; | 271 | display: flex; |
272 | flex-direction: column; | 272 | flex-direction: column; |
273 | height: calc(100vh - 130px); | 273 | height: calc(100vh - 130px); |
274 | background-color: aqua; | ||
275 | } | 274 | } |
276 | 275 | ||
277 | /deep/.el-form-item__label { | 276 | /deep/.el-form-item__label { | ... | ... |
1 | <template> | 1 | <template> |
2 | <!-- 受理信息 --> | 2 | <!-- 受理信息 --> |
3 | <div class="slxx"> | 3 | <div class="slxx"> |
4 | <el-form :model="ruleForm" :rules="rules" ref="ruleForm" :label-position="flag ? 'top' : ''" :inline="flag" | 4 | <el-form :model="ruleForm" :rules="rules" class="loadingtext" ref="ruleForm" :label-position="flag ? 'top' : ''" |
5 | label-width="120px"> | 5 | :inline="flag" label-width="120px"> |
6 | <div class="slxx_con"> | 6 | <div class="slxx_con" v-if="isShow"> |
7 | <div class="slxx_title title-block"> | 7 | <div class="slxx_title title-block"> |
8 | 受理信息 | 8 | 受理信息 |
9 | <div class="triangle"></div> | 9 | <div class="triangle"></div> |
... | @@ -147,12 +147,12 @@ | ... | @@ -147,12 +147,12 @@ |
147 | </el-row> | 147 | </el-row> |
148 | <qlrCommonTable :tableData="ruleForm.qlrList" @upDateQlrxxList="upDateQlrxxList" | 148 | <qlrCommonTable :tableData="ruleForm.qlrList" @upDateQlrxxList="upDateQlrxxList" |
149 | :viewtype="$route.query.viewtype" :gyfs="ruleForm.slywxx.gyfs" /> | 149 | :viewtype="$route.query.viewtype" :gyfs="ruleForm.slywxx.gyfs" /> |
150 | <div v-if="ruleForm.ywrList.length > 0"> | 150 | <div v-if="ruleForm.ywrList && ruleForm.ywrList.length > 0"> |
151 | <div class="slxx_title title-block"> | 151 | <div class="slxx_title title-block"> |
152 | 义务人信息 | 152 | 义务人信息 |
153 | <div class="triangle"></div> | 153 | <div class="triangle"></div> |
154 | </div> | 154 | </div> |
155 | <qlrCommonTable :tableData="ruleForm.ywrList" @upDateQlrxxList="upDateYwrxxList" | 155 | <qlrCommonTable v-if="ruleForm.ywrList" :tableData="ruleForm.ywrList" @upDateQlrxxList="upDateYwrxxList" |
156 | :viewtype="$route.query.viewtype" /> | 156 | :viewtype="$route.query.viewtype" /> |
157 | </div> | 157 | </div> |
158 | 158 | ||
... | @@ -183,45 +183,28 @@ import { mapGetters } from "vuex" | ... | @@ -183,45 +183,28 @@ import { mapGetters } from "vuex" |
183 | import { Init, saveData } from "@/api/workflow/jsydsyqFlow.js" | 183 | import { Init, saveData } from "@/api/workflow/jsydsyqFlow.js" |
184 | import qlrCommonTable from "@/views/workflow/components/qlrCommonTable" | 184 | import qlrCommonTable from "@/views/workflow/components/qlrCommonTable" |
185 | export default { | 185 | export default { |
186 | created () { | 186 | mounted () { |
187 | this.propsParam = this.$attrs; | 187 | this.propsParam = this.$attrs; |
188 | var formdata = new FormData(); | 188 | var formdata = new FormData(); |
189 | let that = this | ||
190 | this.$startLoading(); | ||
189 | formdata.append("bsmSldy", this.propsParam.bsmSldy); | 191 | formdata.append("bsmSldy", this.propsParam.bsmSldy); |
190 | formdata.append("djlx", this.propsParam.djlx); | 192 | formdata.append("djlx", this.propsParam.djlx); |
191 | Init(formdata).then((res) => { | 193 | Init(formdata).then((res) => { |
192 | this.ruleForm = res.result; | 194 | this.$nextTick(() => { |
193 | if (res.code === 200) { | 195 | that.ruleForm = res.result; |
194 | this.$store.dispatch('slxx/setQlrxxOld', { | 196 | that.$endLoading(); |
195 | qlrxx: this.ruleForm.qlrxx, | 197 | that.isShow = true |
196 | fj: this.ruleForm.fj, | ||
197 | gyfs: this.ruleForm.gyfs, | ||
198 | djyy: this.ruleForm.djyy | ||
199 | }) | 198 | }) |
200 | } | ||
201 | else { | ||
202 | this.$alert(res.message, '提示'); | ||
203 | } | ||
204 | }) | 199 | }) |
205 | }, | 200 | }, |
206 | components: { qlrCommonTable }, | 201 | components: { qlrCommonTable }, |
207 | computed: { | 202 | computed: { |
208 | ...mapGetters(["dictData", "flag"]) | 203 | ...mapGetters(["dictData", "flag"]) |
209 | }, | 204 | }, |
210 | watch: { | ||
211 | ruleForm: { | ||
212 | handler: function (newValue) { | ||
213 | this.$store.dispatch('slxx/setQlrxxNew', { | ||
214 | qlrxx: this.ruleForm.qlrxx, | ||
215 | fj: this.ruleForm.fj, | ||
216 | gyfs: this.ruleForm.gyfs, | ||
217 | djyy: this.ruleForm.djyy | ||
218 | }) | ||
219 | }, | ||
220 | deep: true | ||
221 | } | ||
222 | }, | ||
223 | data () { | 205 | data () { |
224 | return { | 206 | return { |
207 | isShow: false, | ||
225 | disabled: true, | 208 | disabled: true, |
226 | czrOptions: [], | 209 | czrOptions: [], |
227 | ruleForm: {}, | 210 | ruleForm: {}, |
... | @@ -233,11 +216,11 @@ export default { | ... | @@ -233,11 +216,11 @@ export default { |
233 | methods: { | 216 | methods: { |
234 | // 更新权利人信息 | 217 | // 更新权利人信息 |
235 | upDateQlrxxList (val) { | 218 | upDateQlrxxList (val) { |
236 | this.ruleForm.qlrList = _.cloneDeep(val); | 219 | this.ruleForm.qlrList && (this.ruleForm.qlrList = _.cloneDeep(val)) |
237 | }, | 220 | }, |
238 | // 更新义务人信息 | 221 | // 更新义务人信息 |
239 | upDateYwrxxList (val) { | 222 | upDateYwrxxList (val) { |
240 | this.ruleForm.ywrList = _.cloneDeep(val); | 223 | this.ruleForm.ywrList && (this.ruleForm.ywrList = _.cloneDeep(val)) |
241 | }, | 224 | }, |
242 | onSubmit () { | 225 | onSubmit () { |
243 | saveData(this.ruleForm).then((res) => { | 226 | saveData(this.ruleForm).then((res) => { | ... | ... |
... | @@ -126,9 +126,10 @@ | ... | @@ -126,9 +126,10 @@ |
126 | <el-col :span="14"> | 126 | <el-col :span="14"> |
127 | <el-form-item :class="flag ? 'marginBot0' : ''" label="共有方式:"> | 127 | <el-form-item :class="flag ? 'marginBot0' : ''" label="共有方式:"> |
128 | <el-radio-group :disabled="$route.query.viewtype == 1" v-model="ruleForm.slywxx.gyfs"> | 128 | <el-radio-group :disabled="$route.query.viewtype == 1" v-model="ruleForm.slywxx.gyfs"> |
129 | <el-radio label="1">单独所有</el-radio> | 129 | <el-radio label="0">单独所有</el-radio> |
130 | <el-radio label="2">共同共有</el-radio> | 130 | <el-radio label="1">共同共有</el-radio> |
131 | <el-radio label="3">按份所有</el-radio> | 131 | <el-radio label="2">按份所有</el-radio> |
132 | <el-radio label="3">其它共有</el-radio> | ||
132 | </el-radio-group> | 133 | </el-radio-group> |
133 | </el-form-item> | 134 | </el-form-item> |
134 | </el-col> | 135 | </el-col> | ... | ... |
... | @@ -240,7 +240,6 @@ export default { | ... | @@ -240,7 +240,6 @@ export default { |
240 | display: flex; | 240 | display: flex; |
241 | flex-direction: column; | 241 | flex-direction: column; |
242 | height: calc(100vh - 130px); | 242 | height: calc(100vh - 130px); |
243 | background-color: aqua; | ||
244 | } | 243 | } |
245 | 244 | ||
246 | /deep/.el-form-item__label { | 245 | /deep/.el-form-item__label { | ... | ... |
... | @@ -252,7 +252,6 @@ export default { | ... | @@ -252,7 +252,6 @@ export default { |
252 | display: flex; | 252 | display: flex; |
253 | flex-direction: column; | 253 | flex-direction: column; |
254 | height: calc(100vh - 130px); | 254 | height: calc(100vh - 130px); |
255 | background-color: aqua; | ||
256 | } | 255 | } |
257 | 256 | ||
258 | /deep/.el-form-item__label { | 257 | /deep/.el-form-item__label { | ... | ... |
... | @@ -157,7 +157,7 @@ export default { | ... | @@ -157,7 +157,7 @@ export default { |
157 | } | 157 | } |
158 | if (!this.isJump) { | 158 | if (!this.isJump) { |
159 | startBusinessFlow({ | 159 | startBusinessFlow({ |
160 | bsmSqyw: this.sqywInfo.parentid, | 160 | bsmSqyw: this.bsmSqyw, |
161 | fwlx: this.activeName, | 161 | fwlx: this.activeName, |
162 | bdcdysz: this.bdcdysz, | 162 | bdcdysz: this.bdcdysz, |
163 | djqxbm: this.sqywInfo.nodetype=="djqx"?this.sqywInfo.nodecode:"", | 163 | djqxbm: this.sqywInfo.nodetype=="djqx"?this.sqywInfo.nodecode:"", | ... | ... |
1 | <template> | ||
2 | <!-- 主体权利信息查询 --> | ||
3 | <div class="from-clues"> | ||
4 | <!-- 表单部分 --> | ||
5 | <div class="from-clues-header"> | ||
6 | <el-form :model="queryForm" ref="queryForm" label-width="100px"> | ||
7 | <el-row> | ||
8 | <el-col :span="8"> | ||
9 | <el-form-item label="不动产权证号"> | ||
10 | <el-input | ||
11 | placeholder="请输入不动产权证号" | ||
12 | v-model="queryForm.bdcqzh" | ||
13 | clearable | ||
14 | class="width200px" | ||
15 | > | ||
16 | </el-input> | ||
17 | </el-form-item> | ||
18 | </el-col> | ||
19 | <el-col :span="8"> | ||
20 | <el-form-item label="不动产单元号"> | ||
21 | <el-input | ||
22 | placeholder="请输入不动产单元号" | ||
23 | v-model="queryForm.bdcdyh" | ||
24 | clearable | ||
25 | class="width200px" | ||
26 | > | ||
27 | </el-input> | ||
28 | </el-form-item> | ||
29 | </el-col> | ||
30 | <el-col :span="6"> | ||
31 | <el-form-item label="坐落"> | ||
32 | <el-input | ||
33 | placeholder="" | ||
34 | v-model="queryForm.zl" | ||
35 | clearable | ||
36 | class="width200px" | ||
37 | > | ||
38 | </el-input> | ||
39 | </el-form-item> | ||
40 | </el-col> | ||
41 | <el-col :span="2" class="btnColRight"> | ||
42 | <el-form-item> | ||
43 | <el-button type="primary" @click="fetchData()">查询</el-button> | ||
44 | </el-form-item> | ||
45 | </el-col> | ||
46 | </el-row> | ||
47 | </el-form> | ||
48 | </div> | ||
49 | <!-- 表格 --> | ||
50 | <div class="from-clues-content"> | ||
51 | <lb-table | ||
52 | ref="table" | ||
53 | @row-click="handleRowClick" | ||
54 | :page-size="pageData.pageSize" | ||
55 | :heightNum="400" | ||
56 | :current-page.sync="pageData.currentPage" | ||
57 | :total="tableData.total" | ||
58 | @size-change="handleSizeChange" | ||
59 | @p-current-change="handleCurrentChange" | ||
60 | @selection-change="handleSelectionChange" | ||
61 | :column="tableData.columns" | ||
62 | :data="tableData.data" | ||
63 | > | ||
64 | </lb-table> | ||
65 | </div> | ||
66 | <div class="submit_button"> | ||
67 | <el-button @click="closeDialog">取消</el-button> | ||
68 | <el-button type="primary" plain @click="submitForm">发起申请</el-button> | ||
69 | </div> | ||
70 | </div> | ||
71 | </template> | ||
72 | <script> | ||
73 | import { datas, sendThis } from "../javascript/selectYgdj100.js"; | ||
74 | import { defaultParameters } from "../javascript/publicDefaultPar.js"; | ||
75 | import table from "@/utils/mixin/table"; | ||
76 | import jump from "./mixin/jump"; | ||
77 | import { selectYgdj100, startBusinessFlow } from "@/api/ywbl.js"; | ||
78 | export default { | ||
79 | mixins: [table, jump], | ||
80 | props: { | ||
81 | isJump: { type: Boolean, default: false }, | ||
82 | sqywInfo: { type: Object, default: () => {} }, | ||
83 | }, | ||
84 | data() { | ||
85 | return { | ||
86 | queryForm: defaultParameters.defaultParameters(), | ||
87 | tableData: { | ||
88 | total: 0, | ||
89 | columns: datas.columns(), | ||
90 | data: [], | ||
91 | }, | ||
92 | bdcdysz: [], | ||
93 | }; | ||
94 | }, | ||
95 | mounted() { | ||
96 | sendThis(this); | ||
97 | }, | ||
98 | methods: { | ||
99 | //点击行选中或取消复选框 | ||
100 | handleRowClick(row, column, event) { | ||
101 | //通过ref绑定后这里使用$refs.table来操作bom元素 | ||
102 | this.$refs.table.toggleRowSelection(row); | ||
103 | }, | ||
104 | closeDialog() { | ||
105 | this.$emit("closeDialog"); | ||
106 | }, | ||
107 | fetchData() { | ||
108 | this.queryForm.sqywbm = this.sqywInfo.djywbm; | ||
109 | selectYgdj100({ ...this.queryForm, ...this.pageData }).then((res) => { | ||
110 | if (res.code === 200) { | ||
111 | let { total, records } = res.result; | ||
112 | this.tableData.total = total; | ||
113 | this.tableData.data = records; | ||
114 | } | ||
115 | }); | ||
116 | }, | ||
117 | submitForm() { | ||
118 | if (this.bdcdysz.length == 0) { | ||
119 | this.$message.error("请至少选择一条数据"); | ||
120 | return; | ||
121 | } | ||
122 | startBusinessFlow({ | ||
123 | bsmSqyw: this.sqywInfo.bsmSqyw, | ||
124 | bdcdysz: this.bdcdysz, | ||
125 | djqxbm: this.sqywInfo.nodetype=="djqx"?this.sqywInfo.nodecode:"", | ||
126 | djqxmc: this.sqywInfo.nodetype=="djqx"?this.sqywInfo.nodename:"", | ||
127 | }).then((res) => { | ||
128 | if (res.code == 200) { | ||
129 | this.$message({ | ||
130 | showClose: true, | ||
131 | message: '发起申请成功', | ||
132 | type: 'success' | ||
133 | }) | ||
134 | if (!this.isJump) { | ||
135 | this.jump(res.result, this.sqywInfo.djywbm) | ||
136 | } else { | ||
137 | this.$emit('updateDialog', true) | ||
138 | } | ||
139 | } else { | ||
140 | this.$message.error(res.message); | ||
141 | } | ||
142 | }); | ||
143 | }, | ||
144 | handleSelectionChange(val) { | ||
145 | val.forEach((item, index) => { | ||
146 | item.bsmSsql = item.bsmQlxx; | ||
147 | item.ybdcqzsh = item.bdcqzh; | ||
148 | }); | ||
149 | this.bdcdysz = val; | ||
150 | }, | ||
151 | }, | ||
152 | }; | ||
153 | </script> | ||
154 | <style scoped lang="scss"> | ||
155 | @import "~@/styles/mixin.scss"; | ||
156 | @import "~@/styles/public.scss"; | ||
157 | </style> |
1 | <template> | ||
2 | <!-- 主体权利信息查询 --> | ||
3 | <div class="from-clues"> | ||
4 | <!-- 表单部分 --> | ||
5 | <div class="from-clues-header"> | ||
6 | <el-form :model="queryForm" ref="queryForm" label-width="100px"> | ||
7 | <el-row> | ||
8 | <el-col :span="8"> | ||
9 | <el-form-item label="不动产权证号"> | ||
10 | <el-input | ||
11 | placeholder="请输入不动产权证号" | ||
12 | v-model="queryForm.bdcqzh" | ||
13 | clearable | ||
14 | class="width200px" | ||
15 | > | ||
16 | </el-input> | ||
17 | </el-form-item> | ||
18 | </el-col> | ||
19 | <el-col :span="8"> | ||
20 | <el-form-item label="不动产单元号"> | ||
21 | <el-input | ||
22 | placeholder="请输入不动产单元号" | ||
23 | v-model="queryForm.bdcdyh" | ||
24 | clearable | ||
25 | class="width200px" | ||
26 | > | ||
27 | </el-input> | ||
28 | </el-form-item> | ||
29 | </el-col> | ||
30 | <el-col :span="6"> | ||
31 | <el-form-item label="坐落"> | ||
32 | <el-input | ||
33 | placeholder="" | ||
34 | v-model="queryForm.zl" | ||
35 | clearable | ||
36 | class="width200px" | ||
37 | > | ||
38 | </el-input> | ||
39 | </el-form-item> | ||
40 | </el-col> | ||
41 | <el-col :span="2" class="btnColRight"> | ||
42 | <el-form-item> | ||
43 | <el-button type="primary" @click="fetchData()">查询</el-button> | ||
44 | </el-form-item> | ||
45 | </el-col> | ||
46 | </el-row> | ||
47 | </el-form> | ||
48 | </div> | ||
49 | <!-- 表格 --> | ||
50 | <div class="from-clues-content"> | ||
51 | <lb-table | ||
52 | ref="table" | ||
53 | @row-click="handleRowClick" | ||
54 | :page-size="pageData.pageSize" | ||
55 | :heightNum="400" | ||
56 | :current-page.sync="pageData.currentPage" | ||
57 | :total="tableData.total" | ||
58 | @size-change="handleSizeChange" | ||
59 | @p-current-change="handleCurrentChange" | ||
60 | @selection-change="handleSelectionChange" | ||
61 | :column="tableData.columns" | ||
62 | :data="tableData.data" | ||
63 | > | ||
64 | </lb-table> | ||
65 | </div> | ||
66 | <div class="submit_button"> | ||
67 | <el-button @click="closeDialog">取消</el-button> | ||
68 | <el-button type="primary" plain @click="submitForm">发起申请</el-button> | ||
69 | </div> | ||
70 | </div> | ||
71 | </template> | ||
72 | <script> | ||
73 | import { datas, sendThis } from "../javascript/selectYgdj200.js"; | ||
74 | import { defaultParameters } from "../javascript/publicDefaultPar.js"; | ||
75 | import table from "@/utils/mixin/table"; | ||
76 | import jump from "./mixin/jump"; | ||
77 | import { selectYgdj200, startBusinessFlow } from "@/api/ywbl.js"; | ||
78 | export default { | ||
79 | mixins: [table, jump], | ||
80 | props: { | ||
81 | isJump: { type: Boolean, default: false }, | ||
82 | sqywInfo: { type: Object, default: () => {} }, | ||
83 | }, | ||
84 | data() { | ||
85 | return { | ||
86 | queryForm: defaultParameters.defaultParameters(), | ||
87 | tableData: { | ||
88 | total: 0, | ||
89 | columns: datas.columns(), | ||
90 | data: [], | ||
91 | }, | ||
92 | bdcdysz: [], | ||
93 | }; | ||
94 | }, | ||
95 | mounted() { | ||
96 | sendThis(this); | ||
97 | }, | ||
98 | methods: { | ||
99 | //点击行选中或取消复选框 | ||
100 | handleRowClick(row, column, event) { | ||
101 | //通过ref绑定后这里使用$refs.table来操作bom元素 | ||
102 | this.$refs.table.toggleRowSelection(row); | ||
103 | }, | ||
104 | closeDialog() { | ||
105 | this.$emit("closeDialog"); | ||
106 | }, | ||
107 | fetchData() { | ||
108 | this.queryForm.sqywbm = this.sqywInfo.djywbm; | ||
109 | selectYgdj200({ ...this.queryForm, ...this.pageData }).then((res) => { | ||
110 | if (res.code === 200) { | ||
111 | let { total, records } = res.result; | ||
112 | this.tableData.total = total; | ||
113 | this.tableData.data = records; | ||
114 | } | ||
115 | }); | ||
116 | }, | ||
117 | submitForm() { | ||
118 | if (this.bdcdysz.length == 0) { | ||
119 | this.$message.error("请至少选择一条数据"); | ||
120 | return; | ||
121 | } | ||
122 | startBusinessFlow({ | ||
123 | bsmSqyw: this.sqywInfo.bsmSqyw, | ||
124 | bdcdysz: this.bdcdysz, | ||
125 | djqxbm: this.sqywInfo.nodetype=="djqx"?this.sqywInfo.nodecode:"", | ||
126 | djqxmc: this.sqywInfo.nodetype=="djqx"?this.sqywInfo.nodename:"", | ||
127 | }).then((res) => { | ||
128 | if (res.code == 200) { | ||
129 | this.$message({ | ||
130 | showClose: true, | ||
131 | message: '发起申请成功', | ||
132 | type: 'success' | ||
133 | }) | ||
134 | if (!this.isJump) { | ||
135 | this.jump(res.result, this.sqywInfo.djywbm) | ||
136 | } else { | ||
137 | this.$emit('updateDialog', true) | ||
138 | } | ||
139 | } else { | ||
140 | this.$message.error(res.message); | ||
141 | } | ||
142 | }); | ||
143 | }, | ||
144 | handleSelectionChange(val) { | ||
145 | val.forEach((item, index) => { | ||
146 | item.bsmSsql = item.bsmQlxx; | ||
147 | item.ybdcqzsh = item.bdcqzh; | ||
148 | }); | ||
149 | this.bdcdysz = val; | ||
150 | }, | ||
151 | }, | ||
152 | }; | ||
153 | </script> | ||
154 | <style scoped lang="scss"> | ||
155 | @import "~@/styles/mixin.scss"; | ||
156 | @import "~@/styles/public.scss"; | ||
157 | </style> |
1 | import filter from '@/utils/filter.js' | ||
2 | let vm = null | ||
3 | |||
4 | const sendThis = (_this) => { | ||
5 | vm = _this | ||
6 | } | ||
7 | class data extends filter { | ||
8 | constructor() { | ||
9 | super() | ||
10 | } | ||
11 | columns () { | ||
12 | return [ | ||
13 | { | ||
14 | type: 'selection', | ||
15 | label: '全选' | ||
16 | }, | ||
17 | { | ||
18 | label: '序号', | ||
19 | type: 'index', | ||
20 | width: '50', | ||
21 | render: (h, scope) => { | ||
22 | return ( | ||
23 | <div> | ||
24 | {(vm.pageData.currentPage - 1) * vm.pageData.pageSize + scope.$index + 1} | ||
25 | </div> | ||
26 | ) | ||
27 | } | ||
28 | }, | ||
29 | { | ||
30 | label: "状态", | ||
31 | render: (h, scope) => { | ||
32 | return ( | ||
33 | <div> | ||
34 | {/* <a v-on:click="doSomething"></a> */} | ||
35 | <a style='color:#3498db;' v-show={scope.row.zt == 1} >正在办理</a> | ||
36 | <span v-show={scope.row.zjgcdyzt == 1}>,在建工程抵押</span> | ||
37 | <span v-show={scope.row.ycfzt == 1}>,已预查封</span> | ||
38 | <span v-show={scope.row.ycfzt == 1}>,已预查封</span> | ||
39 | <span v-show={scope.row.cfzt == 1}>,已查封</span> | ||
40 | <span v-show={scope.row.diyizt == 1}>,已地役</span> | ||
41 | <span v-show={scope.row.yyzt == 1}>,异议中</span> | ||
42 | <span v-show={scope.row.xzzt == 1}>,已限制</span> | ||
43 | <span v-show={scope.row.ygmmzt == 1}>,已预告买卖</span> | ||
44 | <span v-show={scope.row.ygdyzt == 1}>,已预告抵押</span> | ||
45 | <span v-show={scope.row.dyzt == 1}>,已抵押</span> | ||
46 | </div> | ||
47 | ) | ||
48 | } | ||
49 | }, | ||
50 | { | ||
51 | prop: "qllxmc", | ||
52 | label: "权利类型", | ||
53 | }, | ||
54 | { | ||
55 | prop: "bdcdyh", | ||
56 | label: "不动产单元号", | ||
57 | }, | ||
58 | { | ||
59 | prop: "szc", | ||
60 | label: "房屋所在层数", | ||
61 | }, | ||
62 | { | ||
63 | prop: "mj", | ||
64 | label: "房屋面积", | ||
65 | }, | ||
66 | { | ||
67 | prop: "fwjgmc", | ||
68 | label: "房屋结构", | ||
69 | }, | ||
70 | { | ||
71 | prop: "zl", | ||
72 | label: "坐落", | ||
73 | } | ||
74 | ] | ||
75 | } | ||
76 | |||
77 | |||
78 | } | ||
79 | let datas = new data() | ||
80 | export { | ||
81 | datas, | ||
82 | sendThis | ||
83 | } |
1 | import filter from '@/utils/filter.js' | ||
2 | let vm = null | ||
3 | |||
4 | const sendThis = (_this) => { | ||
5 | vm = _this | ||
6 | } | ||
7 | class data extends filter { | ||
8 | constructor() { | ||
9 | super() | ||
10 | } | ||
11 | columns () { | ||
12 | return [ | ||
13 | { | ||
14 | type: 'selection', | ||
15 | label: '全选' | ||
16 | }, | ||
17 | { | ||
18 | label: '序号', | ||
19 | type: 'index', | ||
20 | width: '50', | ||
21 | render: (h, scope) => { | ||
22 | return ( | ||
23 | <div> | ||
24 | {(vm.pageData.currentPage - 1) * vm.pageData.pageSize + scope.$index + 1} | ||
25 | </div> | ||
26 | ) | ||
27 | } | ||
28 | }, | ||
29 | { | ||
30 | prop: "status", | ||
31 | label: "状态", | ||
32 | render: (h, scope) => { | ||
33 | return ( | ||
34 | <div> | ||
35 | {/* <a v-on:click="doSomething"></a> */} | ||
36 | <a style='color:#3498db;' v-show={scope.row.djblzt == 1} >正在办理</a> | ||
37 | <span v-show={scope.row.zjgcdyzt == 1}>,在建工程抵押</span> | ||
38 | <span v-show={scope.row.ycfzt == 1}>,已预查封</span> | ||
39 | <span v-show={scope.row.ycfzt == 1}>,已预查封</span> | ||
40 | <span v-show={scope.row.cfzt == 1}>,已查封</span> | ||
41 | <span v-show={scope.row.diyizt == 1}>,已地役</span> | ||
42 | <span v-show={scope.row.yyzt == 1}>,异议中</span> | ||
43 | <span v-show={scope.row.xzzt == 1}>,已限制</span> | ||
44 | <span v-show={scope.row.ygmmzt == 1}>,已预告买卖</span> | ||
45 | <span v-show={scope.row.ygdyzt == 1}>,已预告抵押</span> | ||
46 | <span v-show={scope.row.dyzt == 1}>,已抵押</span> | ||
47 | </div> | ||
48 | ) | ||
49 | } | ||
50 | }, | ||
51 | { | ||
52 | prop: "qllxmc", | ||
53 | label: "权利类型", | ||
54 | }, | ||
55 | { | ||
56 | prop: "bdcdyh", | ||
57 | label: "不动产单元号", | ||
58 | }, | ||
59 | { | ||
60 | prop: "bdcqzh", | ||
61 | label: "不动产权证号", | ||
62 | }, | ||
63 | { | ||
64 | prop: "fwxz", | ||
65 | label: "房屋性质", | ||
66 | }, | ||
67 | { | ||
68 | prop: "fwjgmc", | ||
69 | label: "房屋结构", | ||
70 | }, | ||
71 | { | ||
72 | prop: "qlrmc", | ||
73 | label: "权利人", | ||
74 | }, | ||
75 | { | ||
76 | prop: "zjh", | ||
77 | label: "证件号", | ||
78 | }, | ||
79 | { | ||
80 | prop: "mj", | ||
81 | label: "面积", | ||
82 | }, | ||
83 | { | ||
84 | prop: "showTdyt", | ||
85 | label: "用途", | ||
86 | }, | ||
87 | { | ||
88 | prop: "zdmj", | ||
89 | label: "宗地面积", | ||
90 | }, | ||
91 | { | ||
92 | prop: "zl", | ||
93 | label: "坐落", | ||
94 | } | ||
95 | ] | ||
96 | } | ||
97 | |||
98 | |||
99 | } | ||
100 | let datas = new data() | ||
101 | export { | ||
102 | datas, | ||
103 | sendThis | ||
104 | } |
... | @@ -48,6 +48,14 @@ export function queueDjywmc(djywbm) { | ... | @@ -48,6 +48,14 @@ export function queueDjywmc(djywbm) { |
48 | case "B39400"://解封 | 48 | case "B39400"://解封 |
49 | vm = "cfdj"; | 49 | vm = "cfdj"; |
50 | break; | 50 | break; |
51 | case "B40100"://预告首次 | ||
52 | vm ="selectYgdj100"; | ||
53 | break; | ||
54 | case "B40200"://预告转移 | ||
55 | case "B40300"://预告变更 | ||
56 | case "B40400"://预告注销 | ||
57 | vm ="selectYgdj200"; | ||
58 | break; | ||
51 | default: | 59 | default: |
52 | vm = "selecBdcql"; | 60 | vm = "selecBdcql"; |
53 | break; | 61 | break; | ... | ... |
-
Please register or sign in to post a comment