Merge branch 'dev' of http://yun.pashanhoo.com:9090/bdc/bdcdj-web into dev
Showing
10 changed files
with
266 additions
and
305 deletions
| ... | @@ -26,7 +26,7 @@ | ... | @@ -26,7 +26,7 @@ |
| 26 | </tr> | 26 | </tr> |
| 27 | <tr> | 27 | <tr> |
| 28 | <td style="width:15%">宗地面积</td> | 28 | <td style="width:15%">宗地面积</td> |
| 29 | <td style="width:30%">{{ zdjbxx.zdmj }}</td> | 29 | <td style="width:30%">{{ zdjbxx.zdmj }}m²</td> |
| 30 | <td style="width:15%">用途</td> | 30 | <td style="width:15%">用途</td> |
| 31 | <td style="width:30%">{{ zdjbxx.ghytmc }}</td> | 31 | <td style="width:30%">{{ zdjbxx.ghytmc }}</td> |
| 32 | </tr> | 32 | </tr> |
| ... | @@ -193,22 +193,22 @@ | ... | @@ -193,22 +193,22 @@ |
| 193 | }, | 193 | }, |
| 194 | methods: { | 194 | methods: { |
| 195 | loadData () { | 195 | loadData () { |
| 196 | console.log("this.$attrs",this.$attrs); | 196 | console.log("this.$attrs", this.$attrs); |
| 197 | console.log("this.propsParam",this.propsParam); | 197 | console.log("this.propsParam", this.propsParam); |
| 198 | if(this.propsParam.bsmSldy){ | 198 | if (this.propsParam.bsmSldy) { |
| 199 | console.log("宗地基本信息"); | 199 | console.log("宗地基本信息"); |
| 200 | }else{ | 200 | } else { |
| 201 | console.log("登记簿里宗地基本信息"); | 201 | console.log("登记簿里宗地基本信息"); |
| 202 | getZdjjxxBybdcdyid({ bdcdyid: this.propsParam.bdcdyid }).then((res) => { | 202 | getZdjjxxBybdcdyid({ bdcdyid: this.propsParam.bdcdyid }).then((res) => { |
| 203 | if (res.code === 200) { | 203 | if (res.code === 200) { |
| 204 | this.zdjbxx = res.result.zdjbxx; | 204 | this.zdjbxx = res.result.zdjbxx; |
| 205 | this.zdbhqks = res.result.zdbhqkList; | 205 | this.zdbhqks = res.result.zdbhqkList; |
| 206 | if (this.zdbhqks != null && this.zdbhqks.length > 0) { | 206 | if (this.zdbhqks != null && this.zdbhqks.length > 0) { |
| 207 | this.showGroup = true; | 207 | this.showGroup = true; |
| 208 | } | ||
| 208 | } | 209 | } |
| 209 | } | 210 | }) |
| 210 | }) | 211 | } |
| 211 | } | ||
| 212 | 212 | ||
| 213 | } | 213 | } |
| 214 | } | 214 | } | ... | ... |
| ... | @@ -26,7 +26,7 @@ | ... | @@ -26,7 +26,7 @@ |
| 26 | </tr> | 26 | </tr> |
| 27 | <tr> | 27 | <tr> |
| 28 | <td style="width:15%">宗地面积</td> | 28 | <td style="width:15%">宗地面积</td> |
| 29 | <td style="width:30%">{{ zdjbxx.zdmj }}</td> | 29 | <td style="width:30%">{{ zdjbxx.zdmj }}m²</td> |
| 30 | <td style="width:15%">用途</td> | 30 | <td style="width:15%">用途</td> |
| 31 | <td style="width:30%">{{ zdjbxx.ghytmc }}</td> | 31 | <td style="width:30%">{{ zdjbxx.ghytmc }}</td> |
| 32 | </tr> | 32 | </tr> |
| ... | @@ -193,7 +193,7 @@ | ... | @@ -193,7 +193,7 @@ |
| 193 | }, | 193 | }, |
| 194 | methods: { | 194 | methods: { |
| 195 | loadData () { | 195 | loadData () { |
| 196 | getZdjjxxBybdcdyid({ bdcdyid: this.propsParam.bdcdyid }).then((res) => { | 196 | getZdjjxxBybdcdyid({ bdcdyid: this.propsParam.bdcdyid }).then((res) => { |
| 197 | if (res.code === 200) { | 197 | if (res.code === 200) { |
| 198 | this.zdjbxx = res.result.zdjbxx; | 198 | this.zdjbxx = res.result.zdjbxx; |
| 199 | this.zdbhqks = res.result.zdbhqkList; | 199 | this.zdbhqks = res.result.zdbhqkList; |
| ... | @@ -201,7 +201,7 @@ | ... | @@ -201,7 +201,7 @@ |
| 201 | this.showGroup = true; | 201 | this.showGroup = true; |
| 202 | } | 202 | } |
| 203 | } | 203 | } |
| 204 | }) | 204 | }) |
| 205 | } | 205 | } |
| 206 | } | 206 | } |
| 207 | } | 207 | } | ... | ... |
| ... | @@ -42,7 +42,7 @@ | ... | @@ -42,7 +42,7 @@ |
| 42 | </template> | 42 | </template> |
| 43 | <script> | 43 | <script> |
| 44 | import { mapGetters } from "vuex"; | 44 | import { mapGetters } from "vuex"; |
| 45 | import clxxAddDialog from "./dialog/clxxAddDialog.vue"; | 45 | import clxxAddDialog from "../dialog/clxxAddDialog.vue"; |
| 46 | import imagePreview from '@/views/components/imagePreview.vue' | 46 | import imagePreview from '@/views/components/imagePreview.vue' |
| 47 | import { InitClml, saveClml, deleteSjClml, moveClml } from "@/api/clxx.js"; | 47 | import { InitClml, saveClml, deleteSjClml, moveClml } from "@/api/clxx.js"; |
| 48 | export default { | 48 | export default { | ... | ... |
| 1 | <!-- | 1 | <!-- |
| 2 | * @Description: | 2 | * @Description: |
| 3 | * @Autor: renchao | 3 | * @Autor: renchao |
| 4 | * @LastEditTime: 2023-05-17 10:40:38 | 4 | * @LastEditTime: 2023-06-19 13:15:13 |
| 5 | --> | 5 | --> |
| 6 | <template> | 6 | <template> |
| 7 | <div class="clxx"> | 7 | <div class="clxx"> |
| ... | @@ -24,18 +24,17 @@ | ... | @@ -24,18 +24,17 @@ |
| 24 | </div> | 24 | </div> |
| 25 | <el-button type="primary" native-type="submit" style="width:100%" @click="handleAdd()" v-if="!this.$route.query.viewtype">新增</el-button> | 25 | <el-button type="primary" native-type="submit" style="width:100%" @click="handleAdd()" v-if="!this.$route.query.viewtype">新增</el-button> |
| 26 | </div> | 26 | </div> |
| 27 | <image-preview ref='imageRef' :previewImg="previewImg" @updateList="updateList" @nextPriview="nextPriview" | 27 | <image-preview ref='imageRef' v-if="tableData.length>0" :previewImg="previewImg" @updateList="updateList" @nextPriview="nextPriview" |
| 28 | @prevPriview="prevPriview" /> | 28 | @prevPriview="prevPriview" /> |
| 29 | </div> | 29 | </div> |
| 30 | </div> | 30 | </div> |
| 31 | <clxxAddDialog v-model="isDialog" /> | 31 | <clxxAddDialog v-model="isDialog" /> |
| 32 | <!-- <clxxDetailDialog v-model="detailDialog" :data="tableData" /> --> | ||
| 33 | </div> | 32 | </div> |
| 34 | </template> | 33 | </template> |
| 35 | <script> | 34 | <script> |
| 36 | import { mapGetters } from "vuex"; | 35 | import { mapGetters } from "vuex"; |
| 37 | import clxxAddDialog from "./dialog/clxxAddDialog.vue"; | 36 | import clxxAddDialog from "../dialog/clxxAddDialog.vue"; |
| 38 | import clxxDetailDialog from "./dialog/clxxDetailDialog.vue"; | 37 | import clxxDetailDialog from "../dialog/clxxDetailDialog.vue"; |
| 39 | import imagePreview from '@/views/components/imagePreview.vue' | 38 | import imagePreview from '@/views/components/imagePreview.vue' |
| 40 | import { InitClml, saveClml, deleteSjClml, moveClml } from "@/api/clxx.js"; | 39 | import { InitClml, saveClml, deleteSjClml, moveClml } from "@/api/clxx.js"; |
| 41 | import { popupDialog } from "@/utils/popup.js"; | 40 | import { popupDialog } from "@/utils/popup.js"; | ... | ... |
| 1 | /* | 1 | /* |
| 2 | * @Description: | 2 | * @Description: |
| 3 | * @Autor: renchao | 3 | * @Autor: renchao |
| 4 | * @LastEditTime: 2023-06-07 13:32:24 | 4 | * @LastEditTime: 2023-06-19 13:16:53 |
| 5 | */ | 5 | */ |
| 6 | //流程环节操作按钮 | 6 | //流程环节操作按钮 |
| 7 | export function getForm (tabName, djywbm) { | 7 | export function getForm (tabName, djywbm) { |
| ... | @@ -42,7 +42,7 @@ export function getForm (tabName, djywbm) { | ... | @@ -42,7 +42,7 @@ export function getForm (tabName, djywbm) { |
| 42 | form = require("@/views/ywbl/slsqxx/diyaq/slxx.vue"); | 42 | form = require("@/views/ywbl/slsqxx/diyaq/slxx.vue"); |
| 43 | break; | 43 | break; |
| 44 | case "clxx": | 44 | case "clxx": |
| 45 | form = require("@/views/workflow/components/clxxUnify.vue"); | 45 | form = require("@/views/workflow/components/clxx/clxxUnify.vue"); |
| 46 | break; | 46 | break; |
| 47 | case "spyj": | 47 | case "spyj": |
| 48 | form = require("@/views/workflow/components/spyj.vue"); | 48 | form = require("@/views/workflow/components/spyj.vue"); | ... | ... |
| ... | @@ -6,8 +6,7 @@ | ... | @@ -6,8 +6,7 @@ |
| 6 | :model="queryForm" | 6 | :model="queryForm" |
| 7 | ref="queryForm" | 7 | ref="queryForm" |
| 8 | @submit.native.prevent | 8 | @submit.native.prevent |
| 9 | label-width="80px" | 9 | label-width="80px"> |
| 10 | > | ||
| 11 | <el-row> | 10 | <el-row> |
| 12 | <el-col :span="5"> | 11 | <el-col :span="5"> |
| 13 | <el-form-item label="业务来源" label-width="70px"> | 12 | <el-form-item label="业务来源" label-width="70px"> |
| ... | @@ -18,14 +17,12 @@ | ... | @@ -18,14 +17,12 @@ |
| 18 | class="width100" | 17 | class="width100" |
| 19 | filterable | 18 | filterable |
| 20 | clearable | 19 | clearable |
| 21 | placeholder="请选择业务来源" | 20 | placeholder="请选择业务来源"> |
| 22 | > | ||
| 23 | <el-option | 21 | <el-option |
| 24 | v-for="item in dictData['ywly']" | 22 | v-for="item in dictData['ywly']" |
| 25 | :key="item.dcode" | 23 | :key="item.dcode" |
| 26 | :label="item.dname" | 24 | :label="item.dname" |
| 27 | :value="item.dcode" | 25 | :value="item.dcode"> |
| 28 | > | ||
| 29 | </el-option> | 26 | </el-option> |
| 30 | </el-select> | 27 | </el-select> |
| 31 | </el-form-item> | 28 | </el-form-item> |
| ... | @@ -39,14 +36,12 @@ | ... | @@ -39,14 +36,12 @@ |
| 39 | class="width100" | 36 | class="width100" |
| 40 | filterable | 37 | filterable |
| 41 | clearable | 38 | clearable |
| 42 | placeholder="请选择权利类型" | 39 | placeholder="请选择权利类型"> |
| 43 | > | ||
| 44 | <el-option | 40 | <el-option |
| 45 | v-for="item in dictData['A8']" | 41 | v-for="item in dictData['A8']" |
| 46 | :key="item.dcode" | 42 | :key="item.dcode" |
| 47 | :label="item.dname" | 43 | :label="item.dname" |
| 48 | :value="item.dcode" | 44 | :value="item.dcode"> |
| 49 | > | ||
| 50 | </el-option> | 45 | </el-option> |
| 51 | </el-select> | 46 | </el-select> |
| 52 | </el-form-item> | 47 | </el-form-item> |
| ... | @@ -60,14 +55,12 @@ | ... | @@ -60,14 +55,12 @@ |
| 60 | class="width100" | 55 | class="width100" |
| 61 | filterable | 56 | filterable |
| 62 | clearable | 57 | clearable |
| 63 | placeholder="请选择登记类型" | 58 | placeholder="请选择登记类型"> |
| 64 | > | ||
| 65 | <el-option | 59 | <el-option |
| 66 | v-for="item in dictData['A21']" | 60 | v-for="item in dictData['A21']" |
| 67 | :key="item.dcode" | 61 | :key="item.dcode" |
| 68 | :label="item.dname" | 62 | :label="item.dname" |
| 69 | :value="item.dcode" | 63 | :value="item.dcode"> |
| 70 | > | ||
| 71 | </el-option> | 64 | </el-option> |
| 72 | </el-select> | 65 | </el-select> |
| 73 | </el-form-item> | 66 | </el-form-item> |
| ... | @@ -78,17 +71,14 @@ | ... | @@ -78,17 +71,14 @@ |
| 78 | placeholder="请输入业务号" | 71 | placeholder="请输入业务号" |
| 79 | v-model="queryForm.ywh" | 72 | v-model="queryForm.ywh" |
| 80 | clearable | 73 | clearable |
| 81 | class="width200px" | 74 | class="width200px"> |
| 82 | > | ||
| 83 | </el-input> | 75 | </el-input> |
| 84 | </el-form-item> | 76 | </el-form-item> |
| 85 | </el-col> | 77 | </el-col> |
| 86 | 78 | ||
| 87 | <el-col :span="4" class="btnColRight"> | 79 | <el-col :span="4" class="btnColRight"> |
| 88 | <el-form-item> | 80 | <el-form-item> |
| 89 | <el-button type="primary" native-type="submit" @click="handleSearch" | 81 | <el-button type="primary" native-type="submit" @click="handleSearch">查询</el-button> |
| 90 | >查询</el-button | ||
| 91 | > | ||
| 92 | <el-button @click="moreQueryClick">高级查询</el-button> | 82 | <el-button @click="moreQueryClick">高级查询</el-button> |
| 93 | </el-form-item> | 83 | </el-form-item> |
| 94 | </el-col> | 84 | </el-col> |
| ... | @@ -100,16 +90,14 @@ | ... | @@ -100,16 +90,14 @@ |
| 100 | {{ item.name }}:{{ item.value }} | 90 | {{ item.name }}:{{ item.value }} |
| 101 | <i | 91 | <i |
| 102 | class="el-icon-circle-close" | 92 | class="el-icon-circle-close" |
| 103 | @click="handelItem(item, index)" | 93 | @click="handelItem(item, index)"></i> |
| 104 | ></i> | ||
| 105 | </li> | 94 | </li> |
| 106 | </ul> | 95 | </ul> |
| 107 | <el-button | 96 | <el-button |
| 108 | class="clean-btn" | 97 | class="clean-btn" |
| 109 | type="text" | 98 | type="text" |
| 110 | v-if="searchList.length > 0" | 99 | v-if="searchList.length > 0" |
| 111 | @click.native="hanldeCleanAll" | 100 | @click.native="hanldeCleanAll">清除全部 |
| 112 | >清除全部 | ||
| 113 | </el-button> | 101 | </el-button> |
| 114 | </el-row> | 102 | </el-row> |
| 115 | </el-form> | 103 | </el-form> |
| ... | @@ -126,98 +114,97 @@ | ... | @@ -126,98 +114,97 @@ |
| 126 | @size-change="handleSizeChange" | 114 | @size-change="handleSizeChange" |
| 127 | @p-current-change="handleCurrentChange" | 115 | @p-current-change="handleCurrentChange" |
| 128 | :column="tableData.columns" | 116 | :column="tableData.columns" |
| 129 | :data="tableData.data" | 117 | :data="tableData.data"> |
| 130 | > | ||
| 131 | </lb-table> | 118 | </lb-table> |
| 132 | </div> | 119 | </div> |
| 133 | <searchBox v-model="isSearch" @getSearch="getSearch" :advancedForm="otherForm" /> | 120 | <searchBox v-model="isSearch" @getSearch="getSearch" :advancedForm="otherForm" /> |
| 134 | </div> | 121 | </div> |
| 135 | </template> | 122 | </template> |
| 136 | <script> | 123 | <script> |
| 137 | import { mapGetters } from "vuex"; | 124 | import { mapGetters } from "vuex"; |
| 138 | import searchMin from "../components/mixin/index"; | 125 | import searchMin from "../components/mixin/index"; |
| 139 | import table from "@/utils/mixin/table"; | 126 | import table from "@/utils/mixin/table"; |
| 140 | import { datas, sendThis } from "./ybxdata"; | 127 | import { datas, sendThis } from "./ybxdata"; |
| 141 | import { searchTaskDone } from "@/api/ywbl"; | 128 | import { searchTaskDone } from "@/api/ywbl"; |
| 142 | import searchBox from "../components/search.vue"; | 129 | import searchBox from "../components/search.vue"; |
| 143 | export default { | 130 | export default { |
| 144 | name: "ybx", | 131 | name: "ybx", |
| 145 | components: { searchBox }, | 132 | components: { searchBox }, |
| 146 | mixins: [table, searchMin], | 133 | mixins: [table, searchMin], |
| 147 | mounted() { | 134 | mounted () { |
| 148 | window["getBpageList"] = () => { | 135 | window["getBpageList"] = () => { |
| 149 | this.queryClick(); | 136 | this.queryClick(); |
| 150 | }; | 137 | }; |
| 151 | sendThis(this); | 138 | sendThis(this); |
| 152 | }, | 139 | }, |
| 153 | computed: { | 140 | computed: { |
| 154 | ...mapGetters(["dictData"]), | 141 | ...mapGetters(["dictData"]), |
| 155 | }, | ||
| 156 | data() { | ||
| 157 | return { | ||
| 158 | queryForm: { | ||
| 159 | ywly: "", | ||
| 160 | qllx: "", | ||
| 161 | djlx: "", | ||
| 162 | ywh: "", | ||
| 163 | }, | ||
| 164 | searchForm: { | ||
| 165 | ywlymc: "", | ||
| 166 | qllxmc: "", | ||
| 167 | djlxmc: "", | ||
| 168 | ywh: "", | ||
| 169 | }, | ||
| 170 | tableData: { | ||
| 171 | total: 0, | ||
| 172 | columns: datas.columns(), | ||
| 173 | data: [], | ||
| 174 | }, | ||
| 175 | }; | ||
| 176 | }, | ||
| 177 | methods: { | ||
| 178 | // 列表渲染接口 | ||
| 179 | queryClick() { | ||
| 180 | this.$startLoading(); | ||
| 181 | this.searchForm.ywh = this.queryForm.ywh; | ||
| 182 | this.iterationData(); | ||
| 183 | searchTaskDone({ | ||
| 184 | ...this.queryForm, | ||
| 185 | ...this.otherForm, | ||
| 186 | ...this.pageData, | ||
| 187 | }).then((res) => { | ||
| 188 | this.$endLoading(); | ||
| 189 | if (res.code === 200) { | ||
| 190 | let { total, records } = res.result; | ||
| 191 | records.forEach((item) => { | ||
| 192 | item.qlrmc = item.qlrmc.join(","); | ||
| 193 | item.ywh = item.ywh.join(","); | ||
| 194 | item.zl = item.zl.join(","); | ||
| 195 | item.outstepdate = item.outstepdate[0]; | ||
| 196 | }); | ||
| 197 | this.tableData.total = total ? total : 0; | ||
| 198 | this.tableData.data = records ? records : []; | ||
| 199 | } | ||
| 200 | }); | ||
| 201 | }, | 142 | }, |
| 202 | handleSort(val) { | 143 | data () { |
| 203 | this.queryForm.sortField = val.prop; | 144 | return { |
| 204 | this.queryForm.sortOrder = val.order == "ascending" ? "asc" : "desc"; | 145 | queryForm: { |
| 205 | this.queryClick(); | 146 | ywly: "", |
| 147 | qllx: "", | ||
| 148 | djlx: "", | ||
| 149 | ywh: "", | ||
| 150 | }, | ||
| 151 | searchForm: { | ||
| 152 | ywlymc: "", | ||
| 153 | qllxmc: "", | ||
| 154 | djlxmc: "", | ||
| 155 | ywh: "", | ||
| 156 | }, | ||
| 157 | tableData: { | ||
| 158 | total: 0, | ||
| 159 | columns: datas.columns(), | ||
| 160 | data: [], | ||
| 161 | }, | ||
| 162 | }; | ||
| 206 | }, | 163 | }, |
| 207 | ywhClick(item) { | 164 | methods: { |
| 208 | const { href } = this.$router.resolve( | 165 | // 列表渲染接口 |
| 209 | "/workFrameView?bsmSlsq=" + | 166 | queryClick () { |
| 167 | this.$startLoading(); | ||
| 168 | this.searchForm.ywh = this.queryForm.ywh; | ||
| 169 | this.iterationData(); | ||
| 170 | searchTaskDone({ | ||
| 171 | ...this.queryForm, | ||
| 172 | ...this.otherForm, | ||
| 173 | ...this.pageData, | ||
| 174 | }).then((res) => { | ||
| 175 | this.$endLoading(); | ||
| 176 | if (res.code === 200) { | ||
| 177 | let { total, records } = res.result; | ||
| 178 | records.forEach((item) => { | ||
| 179 | item.qlrmc = item.qlrmc.join(","); | ||
| 180 | item.ywh = item.ywh.join(","); | ||
| 181 | item.zl = item.zl.join(","); | ||
| 182 | item.outstepdate = item.outstepdate[0]; | ||
| 183 | }); | ||
| 184 | this.tableData.total = total ? total : 0; | ||
| 185 | this.tableData.data = records ? records : []; | ||
| 186 | } | ||
| 187 | }); | ||
| 188 | }, | ||
| 189 | handleSort (val) { | ||
| 190 | this.queryForm.sortField = val.prop; | ||
| 191 | this.queryForm.sortOrder = val.order == "ascending" ? "asc" : "desc"; | ||
| 192 | this.queryClick(); | ||
| 193 | }, | ||
| 194 | ywhClick (item) { | ||
| 195 | const { href } = this.$router.resolve( | ||
| 196 | "/workFrameView?bsmSlsq=" + | ||
| 210 | item.bsmSlsq + | 197 | item.bsmSlsq + |
| 211 | "&bestepid=" + | 198 | "&bestepid=" + |
| 212 | item.bestepid + | 199 | item.bestepid + |
| 213 | "&bsmBusiness=" + | 200 | "&bsmBusiness=" + |
| 214 | "&viewtype=1" | 201 | "&viewtype=1" |
| 215 | ); | 202 | ); |
| 216 | window.open(href, `urlname${item.bsmSlsq}`); | 203 | window.open(href, `urlname${item.bsmSlsq}`); |
| 204 | }, | ||
| 217 | }, | 205 | }, |
| 218 | }, | 206 | }; |
| 219 | }; | ||
| 220 | </script> | 207 | </script> |
| 221 | <style scoped lang="scss"> | 208 | <style scoped lang="scss"> |
| 222 | @import "~@/styles/public.scss"; | 209 | @import "~@/styles/public.scss"; |
| 223 | </style> | 210 | </style> | ... | ... |
| ... | @@ -102,11 +102,6 @@ | ... | @@ -102,11 +102,6 @@ |
| 102 | djlx: "", | 102 | djlx: "", |
| 103 | ywh: "", | 103 | ywh: "", |
| 104 | }, | 104 | }, |
| 105 | // pageData: { | ||
| 106 | // currentPage: 1, | ||
| 107 | // pageSize: 10, | ||
| 108 | // total: 0, | ||
| 109 | // }, | ||
| 110 | tableData: { | 105 | tableData: { |
| 111 | total: 0, | 106 | total: 0, |
| 112 | columns: datas.columns(), | 107 | columns: datas.columns(), |
| ... | @@ -122,24 +117,6 @@ | ... | @@ -122,24 +117,6 @@ |
| 122 | this.$endLoading() | 117 | this.$endLoading() |
| 123 | if (res.code === 200) { | 118 | if (res.code === 200) { |
| 124 | let { total, records } = res.result | 119 | let { total, records } = res.result |
| 125 | // let str = '' | ||
| 126 | // records.forEach(item => { | ||
| 127 | // if (item.userNameList.length != 0) { | ||
| 128 | // str = String(item.userNameList) | ||
| 129 | // item.blStatus = item.zbhj + '(' + str.replace(/,/g, "+") + ')' | ||
| 130 | // } | ||
| 131 | // if (item.qlrmc.length != 0) { | ||
| 132 | // item.qlrmcStr = String(item.qlrmc) | ||
| 133 | // } | ||
| 134 | // if (item.ywrmc.length != 0) { | ||
| 135 | // item.ywrmcStr = String(item.ywrmc) | ||
| 136 | // } | ||
| 137 | // if (item.zlList.length != 0) { | ||
| 138 | // item.zlStr = String(item.zlList) | ||
| 139 | // } | ||
| 140 | // }) | ||
| 141 | // this.pageData.total = total; | ||
| 142 | // this.tableData.data = records | ||
| 143 | this.tableData.total = total ? total : 0; | 120 | this.tableData.total = total ? total : 0; |
| 144 | this.tableData.data = records ? records : []; | 121 | this.tableData.data = records ? records : []; |
| 145 | } | 122 | } |
| ... | @@ -148,10 +125,10 @@ | ... | @@ -148,10 +125,10 @@ |
| 148 | handleSort (name, sort) { | 125 | handleSort (name, sort) { |
| 149 | console.log(name, sort); | 126 | console.log(name, sort); |
| 150 | }, | 127 | }, |
| 128 | moreQueryClick () { }, | ||
| 151 | openDialog (item) { | 129 | openDialog (item) { |
| 152 | const { href } = this.$router.resolve('/workFrameView?bsmSlsq=' + item.bsmSlsq + '&bestepid=' + item.bestepid + '&bsmBusiness=' + item.bsmBusiness + '&viewtype=3') | 130 | const { href } = this.$router.resolve('/workFrameView?bsmSlsq=' + item.bsmSlsq + '&bestepid=' + item.bestepid + '&bsmBusiness=' + item.bsmBusiness + '&viewtype=3') |
| 153 | // window.open(href, '_blank'); | 131 | window.open(href, `urlname${item.bsmSlsq}`) |
| 154 | window.open(href, `urlname${item.bsmSlsq}`); | ||
| 155 | } | 132 | } |
| 156 | } | 133 | } |
| 157 | } | 134 | } | ... | ... |
| ... | @@ -6,25 +6,25 @@ | ... | @@ -6,25 +6,25 @@ |
| 6 | <el-row> | 6 | <el-row> |
| 7 | <el-col :span="5"> | 7 | <el-col :span="5"> |
| 8 | <el-form-item label="项目名称" label-width="70px"> | 8 | <el-form-item label="项目名称" label-width="70px"> |
| 9 | <el-input placeholder="请输入项目名称" v-model="queryForm.xmmc" clearable class="width100"> | 9 | <el-input placeholder="请输入项目名称" v-model="queryForm.xmmc" clearable class="width100"> |
| 10 | </el-input> | 10 | </el-input> |
| 11 | </el-form-item> | 11 | </el-form-item> |
| 12 | </el-col> | 12 | </el-col> |
| 13 | <el-col :span="5"> | 13 | <el-col :span="5"> |
| 14 | <el-form-item label="项目编号"> | 14 | <el-form-item label="项目编号"> |
| 15 | <el-input placeholder="请输入项目编号" v-model="queryForm.xmbh" clearable class="width100"> | 15 | <el-input placeholder="请输入项目编号" v-model="queryForm.xmbh" clearable class="width100"> |
| 16 | </el-input> | 16 | </el-input> |
| 17 | </el-form-item> | 17 | </el-form-item> |
| 18 | </el-col> | 18 | </el-col> |
| 19 | <el-col :span="5"> | 19 | <el-col :span="5"> |
| 20 | <el-form-item label="宗地代码"> | 20 | <el-form-item label="宗地代码"> |
| 21 | <el-input placeholder="请输入宗地代码" v-model="queryForm.zddm" clearable class="width100"> | 21 | <el-input placeholder="请输入宗地代码" v-model="queryForm.zddm" clearable class="width100"> |
| 22 | </el-input> | 22 | </el-input> |
| 23 | </el-form-item> | 23 | </el-form-item> |
| 24 | </el-col> | 24 | </el-col> |
| 25 | <el-col :span="5"> | 25 | <el-col :span="5"> |
| 26 | <el-form-item label="自然幢号"> | 26 | <el-form-item label="自然幢号"> |
| 27 | <el-input placeholder="请输入自然幢号" v-model="queryForm.zrzh" clearable class="width100"> | 27 | <el-input placeholder="请输入自然幢号" v-model="queryForm.zrzh" clearable class="width100"> |
| 28 | </el-input> | 28 | </el-input> |
| 29 | </el-form-item> | 29 | </el-form-item> |
| 30 | </el-col> | 30 | </el-col> |
| ... | @@ -48,64 +48,60 @@ | ... | @@ -48,64 +48,60 @@ |
| 48 | </div> | 48 | </div> |
| 49 | </template> | 49 | </template> |
| 50 | <script> | 50 | <script> |
| 51 | import table from "@/utils/mixin/table"; | 51 | import table from "@/utils/mixin/table"; |
| 52 | import { datas, sendThis } from "./lpcxdata"; | 52 | import { datas, sendThis } from "./lpcxdata"; |
| 53 | import { getLpZrz } from "@/api/lpb.js"; | 53 | import { getLpZrz } from "@/api/lpb.js"; |
| 54 | export default { | 54 | export default { |
| 55 | name: "lpcx", | 55 | name: "lpcx", |
| 56 | components: {}, | 56 | components: {}, |
| 57 | mixins: [table], | 57 | mixins: [table], |
| 58 | mounted () { | 58 | mounted () { |
| 59 | sendThis(this) | 59 | sendThis(this) |
| 60 | }, | ||
| 61 | data () { | ||
| 62 | return { | ||
| 63 | queryForm: { | ||
| 64 | xmmc: "", | ||
| 65 | xmbh: "", | ||
| 66 | zddm: "", | ||
| 67 | zrzh: "", | ||
| 68 | }, | ||
| 69 | pageData: { | ||
| 70 | currentPage: 1, | ||
| 71 | pageSize: 10, | ||
| 72 | total: 0, | ||
| 73 | }, | ||
| 74 | tableData: { | ||
| 75 | columns: datas.columns(), | ||
| 76 | data: [], | ||
| 77 | }, | ||
| 78 | }; | ||
| 79 | }, | ||
| 80 | methods: { | ||
| 81 | // 初始化数据 | ||
| 82 | queryClick () { | ||
| 83 | this.$startLoading(); | ||
| 84 | getLpZrz({ ...this.queryForm, ...this.pageData }).then((res) => { | ||
| 85 | this.$endLoading(); | ||
| 86 | if (res.code === 200) { | ||
| 87 | this.pageData.total = res.result.total; | ||
| 88 | this.tableData.data = res.result.records; | ||
| 89 | } | ||
| 90 | }); | ||
| 91 | }, | 60 | }, |
| 92 | handleSort (name, sort) { | 61 | data () { |
| 93 | console.log(name, sort); | 62 | return { |
| 94 | }, | 63 | queryForm: { |
| 95 | //打开楼盘表 | 64 | xmmc: "", |
| 96 | openlpbClick (scope) { | 65 | xmbh: "", |
| 97 | // var zrzbsm = scope.row.bsm; | 66 | zddm: "", |
| 98 | this.$popup('楼盘表', 'lpb/index', { | 67 | zrzh: "", |
| 99 | width: '90%', | 68 | }, |
| 100 | height: "92%", | 69 | tableData: { |
| 101 | formData: { | 70 | total: 0, |
| 102 | bsm: scope.row.bsm | 71 | columns: datas.columns(), |
| 72 | data: [], | ||
| 103 | } | 73 | } |
| 104 | }) | 74 | } |
| 105 | }, | 75 | }, |
| 106 | }, | 76 | methods: { |
| 107 | }; | 77 | // 初始化数据 |
| 78 | queryClick () { | ||
| 79 | this.$startLoading(); | ||
| 80 | getLpZrz({ ...this.queryForm, ...this.pageData }).then((res) => { | ||
| 81 | this.$endLoading(); | ||
| 82 | if (res.code === 200) { | ||
| 83 | this.tableData.total = total ? total : 0; | ||
| 84 | this.tableData.data = res.result.records; | ||
| 85 | } | ||
| 86 | }); | ||
| 87 | }, | ||
| 88 | handleSort (name, sort) { | ||
| 89 | console.log(name, sort); | ||
| 90 | }, | ||
| 91 | moreQueryClick () { }, | ||
| 92 | //打开楼盘表 | ||
| 93 | openlpbClick (scope) { | ||
| 94 | this.$popup('楼盘表', 'lpb/index', { | ||
| 95 | width: '90%', | ||
| 96 | height: "92%", | ||
| 97 | formData: { | ||
| 98 | bsm: scope.row.bsm | ||
| 99 | } | ||
| 100 | }) | ||
| 101 | } | ||
| 102 | } | ||
| 103 | } | ||
| 108 | </script> | 104 | </script> |
| 109 | <style scoped lang="scss"> | 105 | <style scoped lang="scss"> |
| 110 | @import "~@/styles/public.scss"; | 106 | @import "~@/styles/public.scss"; |
| 111 | </style> | 107 | </style> | ... | ... |
| ... | @@ -40,71 +40,68 @@ | ... | @@ -40,71 +40,68 @@ |
| 40 | </div> | 40 | </div> |
| 41 | <!-- 表格 --> | 41 | <!-- 表格 --> |
| 42 | <div class="from-clues-content"> | 42 | <div class="from-clues-content"> |
| 43 | <lb-table :page-size="pageData.size" :current-page.sync="pageData.current" :total="tableData.total" | 43 | <lb-table :page-size="pageData.size" class="loadingtext" :current-page.sync="pageData.current" :total="tableData.total" |
| 44 | @size-change="handleSizeChange" @p-current-change="handleCurrentChange" :column="tableData.columns" | 44 | @size-change="handleSizeChange" @p-current-change="handleCurrentChange" :column="tableData.columns" |
| 45 | :data="tableData.data"> | 45 | :data="tableData.data"> |
| 46 | </lb-table> | 46 | </lb-table> |
| 47 | </div> | 47 | </div> |
| 48 | <!-- <el-dialog :visible.sync="dialogVisible" width="52%" :before-close="handleClose"> | ||
| 49 | |||
| 50 | </el-dialog> --> | ||
| 51 | </div> | 48 | </div> |
| 52 | </template> | 49 | </template> |
| 53 | <script> | 50 | <script> |
| 54 | import table from "@/utils/mixin/table"; | 51 | import table from "@/utils/mixin/table"; |
| 55 | import { datas, sendThis } from "./zslqcx"; | 52 | import { datas, sendThis } from "./zslqcx"; |
| 56 | import { getBdcqzReceiveList } from "@/api/zhcx" | 53 | import { getBdcqzReceiveList } from "@/api/zhcx" |
| 57 | import { bdcqzPreview } from "@/api/bdcqz" | 54 | import { bdcqzPreview } from "@/api/bdcqz" |
| 58 | export default { | 55 | export default { |
| 59 | components: {}, | 56 | components: {}, |
| 60 | mixins: [table], | 57 | mixins: [table], |
| 61 | mounted () { | 58 | mounted () { |
| 62 | sendThis(this); | 59 | sendThis(this); |
| 63 | }, | 60 | }, |
| 64 | data () { | 61 | data () { |
| 65 | return { | 62 | return { |
| 66 | queryForm: { | 63 | queryForm: { |
| 67 | bdcqzh: "", | 64 | bdcqzh: "", |
| 68 | ysxlh: "", | 65 | ysxlh: "", |
| 69 | ywh: "", | 66 | ywh: "", |
| 70 | lzrxm: "", | 67 | lzrxm: "", |
| 68 | }, | ||
| 69 | dialogVisible: false, | ||
| 70 | tableData: { | ||
| 71 | total: 0, | ||
| 72 | columns: datas.columns(), | ||
| 73 | data: [], | ||
| 74 | }, | ||
| 75 | }; | ||
| 76 | }, | ||
| 77 | methods: { | ||
| 78 | // 查询 | ||
| 79 | queryClick () { | ||
| 80 | this.$startLoading() | ||
| 81 | getBdcqzReceiveList({ ...this.queryForm, ...this.pageData }).then(res => { | ||
| 82 | this.$endLoading() | ||
| 83 | if (res.code === 200) { | ||
| 84 | let { total, records } = res.result | ||
| 85 | this.tableData.total = total; | ||
| 86 | this.tableData.data = records ? records : [] | ||
| 87 | } | ||
| 88 | }) | ||
| 71 | }, | 89 | }, |
| 72 | dialogVisible: false, | 90 | openDialog (item) { |
| 73 | tableData: { | 91 | this.$startLoading() |
| 74 | total: 0, | 92 | bdcqzPreview(item).then(res => { |
| 75 | columns: datas.columns(), | 93 | this.$endLoading() |
| 76 | data: [], | 94 | this.dialogVisible = true; |
| 95 | let blob = new Blob([res]); | ||
| 96 | this.$popupDialog("证书内容", "zhcx/zslqcx/components/zslr", { 'previewImage': window.URL.createObjectURL(blob) }) | ||
| 97 | }) | ||
| 77 | }, | 98 | }, |
| 78 | }; | 99 | handleClose () { |
| 79 | }, | 100 | this.dialogVisible = false; |
| 80 | methods: { | 101 | } |
| 81 | // 查询 | ||
| 82 | queryClick () { | ||
| 83 | this.$startLoading() | ||
| 84 | getBdcqzReceiveList({ ...this.queryForm, ...this.pageData }).then(res => { | ||
| 85 | this.$endLoading() | ||
| 86 | if (res.code === 200) { | ||
| 87 | let { total, records } = res.result | ||
| 88 | this.tableData.total = total; | ||
| 89 | this.tableData.data = records ? records : [] | ||
| 90 | } | ||
| 91 | }) | ||
| 92 | }, | ||
| 93 | openDialog (item) { | ||
| 94 | this.$startLoading() | ||
| 95 | bdcqzPreview(item).then(res => { | ||
| 96 | this.$endLoading() | ||
| 97 | this.dialogVisible = true; | ||
| 98 | let blob = new Blob([res]); | ||
| 99 | this.$popupDialog("证书内容", "zhcx/zslqcx/components/zslr", { 'previewImage': window.URL.createObjectURL(blob) }) | ||
| 100 | }) | ||
| 101 | }, | 102 | }, |
| 102 | handleClose () { | 103 | }; |
| 103 | this.dialogVisible = false; | ||
| 104 | } | ||
| 105 | }, | ||
| 106 | }; | ||
| 107 | </script> | 104 | </script> |
| 108 | <style scoped lang="scss"> | 105 | <style scoped lang="scss"> |
| 109 | @import "~@/styles/public.scss"; | 106 | @import "~@/styles/public.scss"; |
| 110 | </style> | 107 | </style> | ... | ... |
| 1 | <!-- | ||
| 2 | * @Description: | ||
| 3 | * @Autor: renchao | ||
| 4 | * @LastEditTime: 2023-06-19 13:32:04 | ||
| 5 | --> | ||
| 1 | <template> | 6 | <template> |
| 2 | <div class="from-clues"> | 7 | <div class="from-clues"> |
| 3 | <!-- 表单部分 --> | 8 | <!-- 表单部分 --> |
| ... | @@ -33,7 +38,7 @@ | ... | @@ -33,7 +38,7 @@ |
| 33 | </div> | 38 | </div> |
| 34 | <!-- 表格 --> | 39 | <!-- 表格 --> |
| 35 | <div class="from-clues-content"> | 40 | <div class="from-clues-content"> |
| 36 | <lb-table :page-size="pageData.size" :current-page.sync="pageData.current" :total="tableData.total" | 41 | <lb-table :page-size="pageData.size" class="loadingtext" :current-page.sync="pageData.current" :total="tableData.total" |
| 37 | @size-change="handleSizeChange" @p-current-change="handleCurrentChange" :column="tableData.columns" | 42 | @size-change="handleSizeChange" @p-current-change="handleCurrentChange" :column="tableData.columns" |
| 38 | :data="tableData.data"> | 43 | :data="tableData.data"> |
| 39 | </lb-table> | 44 | </lb-table> |
| ... | @@ -41,46 +46,46 @@ | ... | @@ -41,46 +46,46 @@ |
| 41 | </div> | 46 | </div> |
| 42 | </template> | 47 | </template> |
| 43 | <script> | 48 | <script> |
| 44 | import table from "@/utils/mixin/table"; | 49 | import table from "@/utils/mixin/table"; |
| 45 | import { datas, sendThis } from "./zxgcdycx"; | 50 | import { datas, sendThis } from "./zxgcdycx"; |
| 46 | import { getZjgcdyList } from "@/api/zhcx" | 51 | import { getZjgcdyList } from "@/api/zhcx" |
| 47 | export default { | 52 | export default { |
| 48 | components: {}, | 53 | components: {}, |
| 49 | mixins: [table], | 54 | mixins: [table], |
| 50 | mounted () { | 55 | mounted () { |
| 51 | sendThis(this); | 56 | sendThis(this); |
| 52 | }, | ||
| 53 | data () { | ||
| 54 | return { | ||
| 55 | queryForm: { | ||
| 56 | xmmc: "", | ||
| 57 | qymc: "", | ||
| 58 | zrzh: "", | ||
| 59 | }, | ||
| 60 | tableData: { | ||
| 61 | total: 0, | ||
| 62 | columns: datas.columns(), | ||
| 63 | data: [], | ||
| 64 | }, | ||
| 65 | }; | ||
| 66 | }, | ||
| 67 | methods: { | ||
| 68 | // 查询 | ||
| 69 | queryClick () { | ||
| 70 | this.$startLoading() | ||
| 71 | getZjgcdyList({ ...this.queryForm, ...this.pageData }).then(res => { | ||
| 72 | this.$endLoading() | ||
| 73 | if (res.code === 200) { | ||
| 74 | let { total, records } = res.result | ||
| 75 | this.tableData.total = total; | ||
| 76 | this.tableData.data = records ? records : [] | ||
| 77 | } | ||
| 78 | }) | ||
| 79 | }, | 57 | }, |
| 80 | 58 | data () { | |
| 81 | }, | 59 | return { |
| 82 | }; | 60 | queryForm: { |
| 61 | xmmc: "", | ||
| 62 | qymc: "", | ||
| 63 | zrzh: "", | ||
| 64 | }, | ||
| 65 | tableData: { | ||
| 66 | total: 0, | ||
| 67 | columns: datas.columns(), | ||
| 68 | data: [], | ||
| 69 | }, | ||
| 70 | }; | ||
| 71 | }, | ||
| 72 | methods: { | ||
| 73 | // 查询 | ||
| 74 | queryClick () { | ||
| 75 | this.$startLoading() | ||
| 76 | getZjgcdyList({ ...this.queryForm, ...this.pageData }).then(res => { | ||
| 77 | this.$endLoading() | ||
| 78 | if (res.code === 200) { | ||
| 79 | let { total, records } = res.result | ||
| 80 | this.tableData.total = total ? total : 0 | ||
| 81 | this.tableData.data = records ? records : [] | ||
| 82 | } | ||
| 83 | }) | ||
| 84 | }, | ||
| 85 | moreQueryClick () { } | ||
| 86 | } | ||
| 87 | } | ||
| 83 | </script> | 88 | </script> |
| 84 | <style scoped lang="scss"> | 89 | <style scoped lang="scss"> |
| 85 | @import "~@/styles/public.scss"; | 90 | @import "~@/styles/public.scss"; |
| 86 | </style> | 91 | </style> | ... | ... |
-
Please register or sign in to post a comment