d94bf034 by tianhaohao@pashanhoo.com

修改在建工程抵押

1 parent 3ee57c9c
...@@ -12,8 +12,12 @@ let SERVER = window.config ? window.config : JSON.parse(localStorage.getItem('Ap ...@@ -12,8 +12,12 @@ let SERVER = window.config ? window.config : JSON.parse(localStorage.getItem('Ap
12 * @author: renchao 12 * @author: renchao
13 */ 13 */
14 export function Init (data) { 14 export function Init (data) {
15 let apiUrl = "/rest/ywbl/zjgcdy/init";
16 if (data.get("djlx") == "400") {
17 apiUrl = "/rest/ywbl/zjgcdy/logoutInit";
18 }
15 return request({ 19 return request({
16 url: SERVER.SERVERAPI + "/rest/ywbl/zjgcdy/init", 20 url: SERVER.SERVERAPI + apiUrl,
17 method: 'post', 21 method: 'post',
18 data 22 data
19 }) 23 })
......
...@@ -59,7 +59,7 @@ ...@@ -59,7 +59,7 @@
59 <div class="slxx_title title-block" v-if="ruleForm.slsq.djywbm.includes('100')"> 59 <div class="slxx_title title-block" v-if="ruleForm.slsq.djywbm.includes('100')">
60 <el-row> 60 <el-row>
61 <el-col :span="19"> 61 <el-col :span="19">
62 <p>房屋信息列表</p> 62 <p>房屋信息列表{{ ruleForm.hlist.length }} 户)</p>
63 </el-col> 63 </el-col>
64 <el-col :span="5"> 64 <el-col :span="5">
65 <el-form-item label="发证方式:" :disabled="!viewEdit"> 65 <el-form-item label="发证方式:" :disabled="!viewEdit">
......
...@@ -54,8 +54,9 @@ ...@@ -54,8 +54,9 @@
54 v-if="ruleForm.hlist && ruleForm.hlist.length > 0"> 54 v-if="ruleForm.hlist && ruleForm.hlist.length > 0">
55 抵押户信息列表信息({{ ruleForm.hlist.length }} 户) 55 抵押户信息列表信息({{ ruleForm.hlist.length }} 户)
56 <div class="triangle"></div> 56 <div class="triangle"></div>
57 </div> 57 </div>
58 <qjhTable :tableData="ruleForm.hlist" /> 58 <cfBdcdyTable :tableData="ruleForm.qlxxList" v-if="ruleForm.slsq.djywbm.includes('400')"/>
59 <qjhTable v-else :tableData="ruleForm.hlist" />
59 <div class="slxx_title title-block"> 60 <div class="slxx_title title-block">
60 抵押信息 61 抵押信息
61 <div class="triangle"></div> 62 <div class="triangle"></div>
...@@ -293,6 +294,7 @@ ...@@ -293,6 +294,7 @@
293 </template> 294 </template>
294 <script> 295 <script>
295 import qjhTable from "@/views/workflow/components/qjhTable"; 296 import qjhTable from "@/views/workflow/components/qjhTable";
297 import cfBdcdyTable from "@/views/workflow/components/cfBdcdyTable";
296 import qlrCommonTable from "@/views/workflow/components/qlrCommonTable"; 298 import qlrCommonTable from "@/views/workflow/components/qlrCommonTable";
297 import { bacthInit, saveBatchData } from "@/api/workflow/zjgcdyFlow.js"; 299 import { bacthInit, saveBatchData } from "@/api/workflow/zjgcdyFlow.js";
298 import { mapGetters } from "vuex"; 300 import { mapGetters } from "vuex";
...@@ -333,7 +335,7 @@ ...@@ -333,7 +335,7 @@
333 this.loading = false 335 this.loading = false
334 }) 336 })
335 }, 337 },
336 components: { qlrCommonTable, qjhTable }, 338 components: { qlrCommonTable, qjhTable,cfBdcdyTable },
337 computed: { 339 computed: {
338 ...mapGetters(["dictData", "flag"]), 340 ...mapGetters(["dictData", "flag"]),
339 }, 341 },
......