--no commit message
Showing
18 changed files
with
698 additions
and
687 deletions
| ... | @@ -116,6 +116,19 @@ export function startBusinessFlow (data) { | ... | @@ -116,6 +116,19 @@ export function startBusinessFlow (data) { |
| 116 | } | 116 | } |
| 117 | 117 | ||
| 118 | /** | 118 | /** |
| 119 | * @description: 业务办理-发起业务申请流程 | ||
| 120 | * @param {*} data | ||
| 121 | * @author: renchao | ||
| 122 | */ | ||
| 123 | export function startRepairFlow (data) { | ||
| 124 | return request({ | ||
| 125 | url: SERVER.SERVERAPI + '/rest/business/workFlow/startRepairFlow', | ||
| 126 | method: 'post', | ||
| 127 | data | ||
| 128 | }) | ||
| 129 | } | ||
| 130 | |||
| 131 | /** | ||
| 119 | * @description: 已办箱列表查询接口 | 132 | * @description: 已办箱列表查询接口 |
| 120 | * @param {*} data | 133 | * @param {*} data |
| 121 | * @author: renchao | 134 | * @author: renchao | ... | ... |
| ... | @@ -11,8 +11,7 @@ | ... | @@ -11,8 +11,7 @@ |
| 11 | maxlength="28" | 11 | maxlength="28" |
| 12 | v-model="queryForm.bdcdyh" | 12 | v-model="queryForm.bdcdyh" |
| 13 | clearable | 13 | clearable |
| 14 | class="width200px" | 14 | class="width200px"></el-input> |
| 15 | ></el-input> | ||
| 16 | </el-form-item> | 15 | </el-form-item> |
| 17 | </el-col> | 16 | </el-col> |
| 18 | <el-col :span="8"> | 17 | <el-col :span="8"> |
| ... | @@ -26,8 +25,7 @@ | ... | @@ -26,8 +25,7 @@ |
| 26 | placeholder="请输入不动产权证号" | 25 | placeholder="请输入不动产权证号" |
| 27 | v-model="queryForm.cfwh" | 26 | v-model="queryForm.cfwh" |
| 28 | clearable | 27 | clearable |
| 29 | class="width200px" | 28 | class="width200px"></el-input> |
| 30 | ></el-input> | ||
| 31 | </el-form-item> | 29 | </el-form-item> |
| 32 | </el-col> | 30 | </el-col> |
| 33 | </el-row> | 31 | </el-row> |
| ... | @@ -60,8 +58,7 @@ | ... | @@ -60,8 +58,7 @@ |
| 60 | @p-current-change="handleCurrentChange" | 58 | @p-current-change="handleCurrentChange" |
| 61 | @selection-change="handleSelectionChange" | 59 | @selection-change="handleSelectionChange" |
| 62 | :column="tableData.columns" | 60 | :column="tableData.columns" |
| 63 | :data="tableData.data" | 61 | :data="tableData.data"></lb-table> |
| 64 | ></lb-table> | ||
| 65 | </div> | 62 | </div> |
| 66 | <div class="submit_button"> | 63 | <div class="submit_button"> |
| 67 | <el-button @click="$popupCacel">取消</el-button> | 64 | <el-button @click="$popupCacel">取消</el-button> |
| ... | @@ -70,134 +67,140 @@ | ... | @@ -70,134 +67,140 @@ |
| 70 | </div> | 67 | </div> |
| 71 | </template> | 68 | </template> |
| 72 | <script> | 69 | <script> |
| 73 | //查封登记 | 70 | //查封登记 |
| 74 | import store from "@/store/index.js"; | 71 | import store from "@/store/index.js"; |
| 75 | import { datas, sendThis } from "../javascript/cfdj.js"; | 72 | import { datas, sendThis } from "../javascript/cfdj.js"; |
| 76 | import { defaultParameters } from "../javascript/publicDefaultPar.js"; | 73 | import { defaultParameters } from "../javascript/publicDefaultPar.js"; |
| 77 | import table from "@/utils/mixin/table"; | 74 | import table from "@/utils/mixin/table"; |
| 78 | import jump from "../components/mixin/jump"; | 75 | import jump from "../components/mixin/jump"; |
| 79 | import { selectCfdj, startBusinessFlow, choiceBdcdy } from "@/api/ywbl.js"; | 76 | import { selectCfdj, startBusinessFlow, choiceBdcdy } from "@/api/ywbl.js"; |
| 80 | export default { | 77 | export default { |
| 81 | props: { | 78 | props: { |
| 82 | isJump: { type: Boolean, default: false }, | 79 | isJump: { type: Boolean, default: false }, |
| 83 | sqywInfo: { type: Object, default: () => {} }, | 80 | sqywInfo: { type: Object, default: () => { } }, |
| 84 | }, | ||
| 85 | mixins: [table, jump], | ||
| 86 | data() { | ||
| 87 | return { | ||
| 88 | queryForm: defaultParameters.defaultParameters(), | ||
| 89 | tableData: { | ||
| 90 | total: 0, | ||
| 91 | columns: datas.columns(), | ||
| 92 | data: [], | ||
| 93 | }, | ||
| 94 | bdcdysz: [], | ||
| 95 | bsmSqyw: | ||
| 96 | this.sqywInfo.nodetype === "djlx" | ||
| 97 | ? this.sqywInfo.bsmSqyw | ||
| 98 | : this.sqywInfo.parentid, | ||
| 99 | }; | ||
| 100 | }, | ||
| 101 | mounted() { | ||
| 102 | sendThis(this); | ||
| 103 | }, | ||
| 104 | methods: { | ||
| 105 | queryClick() { | ||
| 106 | console.log("申请业务单一流向状态", this.sqywInfo.sqywdylx); | ||
| 107 | this.$startLoading(); | ||
| 108 | selectCfdj({ ...this.queryForm, ...this.pageData }).then((res) => { | ||
| 109 | this.$endLoading(); | ||
| 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 | if (!this.isJump) { | ||
| 123 | startBusinessFlow({ | ||
| 124 | bsmSqyw: this.bsmSqyw, | ||
| 125 | bdcdysz: this.bdcdysz, | ||
| 126 | djqxbm: | ||
| 127 | this.sqywInfo.nodetype == "djqx" ? this.sqywInfo.nodecode : "", | ||
| 128 | djqxmc: | ||
| 129 | this.sqywInfo.nodetype == "djqx" ? this.sqywInfo.nodename : "", | ||
| 130 | }).then((res) => { | ||
| 131 | if (res.code == 200) { | ||
| 132 | this.$message({ | ||
| 133 | showClose: true, | ||
| 134 | message: "发起申请成功", | ||
| 135 | type: "success", | ||
| 136 | }); | ||
| 137 | this.jump(res.result, this.sqywInfo.djywbm); | ||
| 138 | } else { | ||
| 139 | this.$message.error(res.message); | ||
| 140 | } | ||
| 141 | }); | ||
| 142 | } else { | ||
| 143 | choiceBdcdy({ | ||
| 144 | bsmSlsq: this.$route.query.bsmSlsq, | ||
| 145 | bdcdysz: this.bdcdysz, | ||
| 146 | }).then((res) => { | ||
| 147 | if (res.code == 200) { | ||
| 148 | this.$message({ | ||
| 149 | showClose: true, | ||
| 150 | message: "发起申请成功", | ||
| 151 | type: "success", | ||
| 152 | }); | ||
| 153 | store.dispatch("user/refreshPage", true); | ||
| 154 | } else { | ||
| 155 | this.$message.error(res.message); | ||
| 156 | } | ||
| 157 | this.$popupCacel(); | ||
| 158 | }); | ||
| 159 | } | ||
| 160 | }, | 81 | }, |
| 161 | handleSelectionChange(val) { | 82 | mixins: [table, jump], |
| 162 | this.bdcdysz = val; | 83 | data () { |
| 84 | return { | ||
| 85 | queryForm: defaultParameters.defaultParameters(), | ||
| 86 | tableData: { | ||
| 87 | total: 0, | ||
| 88 | columns: datas.columns(), | ||
| 89 | data: [], | ||
| 90 | }, | ||
| 91 | bdcdysz: [], | ||
| 92 | bsmSqyw: | ||
| 93 | this.sqywInfo.nodetype === "djlx" | ||
| 94 | ? this.sqywInfo.bsmSqyw | ||
| 95 | : this.sqywInfo.parentid, | ||
| 96 | }; | ||
| 163 | }, | 97 | }, |
| 164 | select(selection, row) { | 98 | mounted () { |
| 165 | if (this.sqywInfo.sqywdylx == "1") { | 99 | sendThis(this); |
| 166 | // 清除 所有勾选项 | ||
| 167 | this.$refs.table.clearSelection(); | ||
| 168 | // 当表格数据都没有被勾选的时候 就返回 | ||
| 169 | // 主要用于将当前勾选的表格状态清除 | ||
| 170 | if (selection.length == 0) return; | ||
| 171 | this.$refs.table.toggleRowSelection(row, true); | ||
| 172 | } | ||
| 173 | }, | 100 | }, |
| 174 | handleRowClick(row) { | 101 | methods: { |
| 175 | // 如果状态是1,那就是单选 | 102 | queryClick () { |
| 176 | if (this.sqywInfo.sqywdylx == "1") { | 103 | console.log("申请业务单一流向状态", this.sqywInfo.sqywdylx); |
| 177 | const bdcdysz = this.bdcdysz; | 104 | this.$startLoading(); |
| 178 | this.$refs.table.clearSelection(); | 105 | selectCfdj({ ...this.queryForm, ...this.pageData }).then((res) => { |
| 179 | if (bdcdysz.length == 1) { | 106 | this.$endLoading(); |
| 180 | bdcdysz.forEach((item) => { | 107 | if (res.code === 200) { |
| 181 | // 判断 如果当前的一行被勾选, 再次点击的时候就会取消选中 | 108 | let { total, records } = res.result; |
| 182 | if (item == row) { | 109 | this.tableData.total = total; |
| 183 | this.$refs.table.toggleRowSelection(row, false); | 110 | this.tableData.data = records; |
| 184 | } | 111 | } |
| 185 | // 不然就让当前的一行勾选 | 112 | }); |
| 186 | else { | 113 | }, |
| 187 | this.$refs.table.toggleRowSelection(row, true); | 114 | submitForm () { |
| 115 | if (this.bdcdysz.length == 0) { | ||
| 116 | this.$message.error("请至少选择一条数据"); | ||
| 117 | return; | ||
| 118 | } | ||
| 119 | if (!this.isJump) { | ||
| 120 | startBusinessFlow({ | ||
| 121 | bsmSqyw: this.bsmSqyw, | ||
| 122 | bdcdysz: this.bdcdysz, | ||
| 123 | djqxbm: | ||
| 124 | this.sqywInfo.nodetype == "djqx" ? this.sqywInfo.nodecode : "", | ||
| 125 | djqxmc: | ||
| 126 | 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 | store.dispatch('user/refreshPage', true); | ||
| 138 | } | ||
| 139 | this.$popupCacel() | ||
| 140 | |||
| 141 | } else { | ||
| 142 | this.$message.error(res.message); | ||
| 188 | } | 143 | } |
| 189 | }); | 144 | }); |
| 190 | } else { | 145 | } else { |
| 146 | choiceBdcdy({ | ||
| 147 | bsmSlsq: this.$route.query.bsmSlsq, | ||
| 148 | bdcdysz: this.bdcdysz, | ||
| 149 | }).then((res) => { | ||
| 150 | if (res.code == 200) { | ||
| 151 | this.$message({ | ||
| 152 | showClose: true, | ||
| 153 | message: "发起申请成功", | ||
| 154 | type: "success", | ||
| 155 | }); | ||
| 156 | store.dispatch("user/refreshPage", true); | ||
| 157 | } else { | ||
| 158 | this.$message.error(res.message); | ||
| 159 | } | ||
| 160 | this.$popupCacel(); | ||
| 161 | }); | ||
| 162 | } | ||
| 163 | }, | ||
| 164 | handleSelectionChange (val) { | ||
| 165 | this.bdcdysz = val; | ||
| 166 | }, | ||
| 167 | select (selection, row) { | ||
| 168 | if (this.sqywInfo.sqywdylx == "1") { | ||
| 169 | // 清除 所有勾选项 | ||
| 170 | this.$refs.table.clearSelection(); | ||
| 171 | // 当表格数据都没有被勾选的时候 就返回 | ||
| 172 | // 主要用于将当前勾选的表格状态清除 | ||
| 173 | if (selection.length == 0) return; | ||
| 191 | this.$refs.table.toggleRowSelection(row, true); | 174 | this.$refs.table.toggleRowSelection(row, true); |
| 192 | } | 175 | } |
| 193 | } else { | 176 | }, |
| 194 | this.$refs.table.toggleRowSelection(row); | 177 | handleRowClick (row) { |
| 195 | } | 178 | // 如果状态是1,那就是单选 |
| 179 | if (this.sqywInfo.sqywdylx == "1") { | ||
| 180 | const bdcdysz = this.bdcdysz; | ||
| 181 | this.$refs.table.clearSelection(); | ||
| 182 | if (bdcdysz.length == 1) { | ||
| 183 | bdcdysz.forEach((item) => { | ||
| 184 | // 判断 如果当前的一行被勾选, 再次点击的时候就会取消选中 | ||
| 185 | if (item == row) { | ||
| 186 | this.$refs.table.toggleRowSelection(row, false); | ||
| 187 | } | ||
| 188 | // 不然就让当前的一行勾选 | ||
| 189 | else { | ||
| 190 | this.$refs.table.toggleRowSelection(row, true); | ||
| 191 | } | ||
| 192 | }); | ||
| 193 | } else { | ||
| 194 | this.$refs.table.toggleRowSelection(row, true); | ||
| 195 | } | ||
| 196 | } else { | ||
| 197 | this.$refs.table.toggleRowSelection(row); | ||
| 198 | } | ||
| 199 | }, | ||
| 196 | }, | 200 | }, |
| 197 | }, | 201 | }; |
| 198 | }; | ||
| 199 | </script> | 202 | </script> |
| 200 | <style scoped lang="scss"> | 203 | <style scoped lang="scss"> |
| 201 | @import "~@/styles/mixin.scss"; | 204 | @import "~@/styles/mixin.scss"; |
| 202 | @import "~@/styles/public.scss"; | 205 | @import "~@/styles/public.scss"; |
| 203 | </style> | 206 | </style> | ... | ... |
| ... | @@ -43,7 +43,7 @@ | ... | @@ -43,7 +43,7 @@ |
| 43 | <!-- 表格 --> | 43 | <!-- 表格 --> |
| 44 | <div class="from-clues-content loadingtext"> | 44 | <div class="from-clues-content loadingtext"> |
| 45 | <lb-table ref="table" @row-click="handleRowClick" :page-size="pageData.pageSize" :calcHeight="300" | 45 | <lb-table ref="table" @row-click="handleRowClick" :page-size="pageData.pageSize" :calcHeight="300" |
| 46 | :current-page.sync="pageData.currentPage" :total="tableData.total" @size-change="handleSizeChange" @select="select" | 46 | :current-page.sync="pageData.currentPage" :total="tableData.total" @size-change="handleSizeChange" @select="select" |
| 47 | @p-current-change="handleCurrentChange" @selection-change="handleSelectionChange" :column="tableData.columns" | 47 | @p-current-change="handleCurrentChange" @selection-change="handleSelectionChange" :column="tableData.columns" |
| 48 | :data="tableData.data"> | 48 | :data="tableData.data"> |
| 49 | </lb-table> | 49 | </lb-table> |
| ... | @@ -83,9 +83,7 @@ | ... | @@ -83,9 +83,7 @@ |
| 83 | sendThis(this); | 83 | sendThis(this); |
| 84 | }, | 84 | }, |
| 85 | methods: { | 85 | methods: { |
| 86 | |||
| 87 | queryClick () { | 86 | queryClick () { |
| 88 | console.log("申请业务单一流向状态",this.sqywInfo.sqywdylx); | ||
| 89 | this.$startLoading(); | 87 | this.$startLoading(); |
| 90 | this.queryForm.sqywbm = this.sqywInfo.djywbm; | 88 | this.queryForm.sqywbm = this.sqywInfo.djywbm; |
| 91 | selectDiyaq({ ...this.queryForm, ...this.pageData }).then((res) => { | 89 | selectDiyaq({ ...this.queryForm, ...this.pageData }).then((res) => { |
| ... | @@ -119,48 +117,48 @@ | ... | @@ -119,48 +117,48 @@ |
| 119 | } else { | 117 | } else { |
| 120 | store.dispatch('user/refreshPage', true); | 118 | store.dispatch('user/refreshPage', true); |
| 121 | } | 119 | } |
| 120 | this.$popupCacel() | ||
| 122 | } else { | 121 | } else { |
| 123 | this.$message.error(res.message); | 122 | this.$message.error(res.message); |
| 124 | } | 123 | } |
| 125 | this.$popupCacel() | ||
| 126 | }) | 124 | }) |
| 127 | }, | 125 | }, |
| 128 | handleSelectionChange (val) { | 126 | handleSelectionChange (val) { |
| 129 | this.bdcdysz = val; | 127 | this.bdcdysz = val; |
| 130 | }, | 128 | }, |
| 131 | select(selection, row){ | 129 | select (selection, row) { |
| 132 | if(this.sqywInfo.sqywdylx=="1"){ | 130 | if (this.sqywInfo.sqywdylx == "1") { |
| 133 | // 清除 所有勾选项 | 131 | // 清除 所有勾选项 |
| 134 | this.$refs.table.clearSelection() | 132 | this.$refs.table.clearSelection() |
| 135 | // 当表格数据都没有被勾选的时候 就返回 | 133 | // 当表格数据都没有被勾选的时候 就返回 |
| 136 | // 主要用于将当前勾选的表格状态清除 | 134 | // 主要用于将当前勾选的表格状态清除 |
| 137 | if(selection.length == 0) return | 135 | if (selection.length == 0) return |
| 138 | this.$refs.table.toggleRowSelection(row, true); | 136 | this.$refs.table.toggleRowSelection(row, true); |
| 139 | } | 137 | } |
| 140 | }, | 138 | }, |
| 141 | handleRowClick(row){ | 139 | handleRowClick (row) { |
| 142 | // 如果状态是1,那就是单选 | 140 | // 如果状态是1,那就是单选 |
| 143 | if(this.sqywInfo.sqywdylx=="1"){ | 141 | if (this.sqywInfo.sqywdylx == "1") { |
| 144 | const bdcdysz = this.bdcdysz | 142 | const bdcdysz = this.bdcdysz |
| 145 | this.$refs.table.clearSelection() | 143 | this.$refs.table.clearSelection() |
| 146 | if( bdcdysz.length == 1 ) { | 144 | if (bdcdysz.length == 1) { |
| 147 | bdcdysz.forEach(item => { | 145 | bdcdysz.forEach(item => { |
| 148 | // 判断 如果当前的一行被勾选, 再次点击的时候就会取消选中 | 146 | // 判断 如果当前的一行被勾选, 再次点击的时候就会取消选中 |
| 149 | if (item == row) { | 147 | if (item == row) { |
| 150 | this.$refs.table.toggleRowSelection(row, false); | 148 | this.$refs.table.toggleRowSelection(row, false); |
| 151 | } | 149 | } |
| 152 | // 不然就让当前的一行勾选 | 150 | // 不然就让当前的一行勾选 |
| 153 | else { | 151 | else { |
| 154 | this.$refs.table.toggleRowSelection(row, true); | 152 | this.$refs.table.toggleRowSelection(row, true); |
| 155 | } | 153 | } |
| 156 | }) | 154 | }) |
| 157 | } | 155 | } |
| 158 | else { | 156 | else { |
| 159 | this.$refs.table.toggleRowSelection(row, true); | 157 | this.$refs.table.toggleRowSelection(row, true); |
| 160 | } | 158 | } |
| 161 | }else{ | 159 | } else { |
| 162 | this.$refs.table.toggleRowSelection(row); | 160 | this.$refs.table.toggleRowSelection(row); |
| 163 | } | 161 | } |
| 164 | }, | 162 | }, |
| 165 | }, | 163 | }, |
| 166 | }; | 164 | }; | ... | ... |
| ... | @@ -171,7 +171,7 @@ | ... | @@ -171,7 +171,7 @@ |
| 171 | }, | 171 | }, |
| 172 | methods: { | 172 | methods: { |
| 173 | queryClick () { | 173 | queryClick () { |
| 174 | console.log("申请业务单一流向状态",this.sqywInfo.sqywdylx); | 174 | console.log("申请业务单一流向状态", this.sqywInfo.sqywdylx); |
| 175 | this.$startLoading(); | 175 | this.$startLoading(); |
| 176 | if (!this.isJump) { | 176 | if (!this.isJump) { |
| 177 | //从业务办理进入 | 177 | //从业务办理进入 |
| ... | @@ -224,7 +224,7 @@ | ... | @@ -224,7 +224,7 @@ |
| 224 | if (!this.isJump) { | 224 | if (!this.isJump) { |
| 225 | startBusinessFlow({ | 225 | startBusinessFlow({ |
| 226 | bsmSqyw: this.bsmSqyw, | 226 | bsmSqyw: this.bsmSqyw, |
| 227 | fwlx: this.activeName, | 227 | sjlx: 'zrz', |
| 228 | bdcdysz: this.bdcdysz, | 228 | bdcdysz: this.bdcdysz, |
| 229 | djqxbm: this.sqywInfo.nodetype == "djqx" ? this.sqywInfo.nodecode : "", | 229 | djqxbm: this.sqywInfo.nodetype == "djqx" ? this.sqywInfo.nodecode : "", |
| 230 | djqxmc: this.sqywInfo.nodetype == "djqx" ? this.sqywInfo.nodename : "", | 230 | djqxmc: this.sqywInfo.nodetype == "djqx" ? this.sqywInfo.nodename : "", |
| ... | @@ -235,7 +235,12 @@ | ... | @@ -235,7 +235,12 @@ |
| 235 | message: '发起申请成功', | 235 | message: '发起申请成功', |
| 236 | type: 'success' | 236 | type: 'success' |
| 237 | }) | 237 | }) |
| 238 | this.jump(res.result, this.djywbm) | 238 | if (!this.isJump) { |
| 239 | this.jump(res.result, this.sqywInfo.djywbm); | ||
| 240 | } else { | ||
| 241 | store.dispatch('user/refreshPage', true); | ||
| 242 | } | ||
| 243 | this.$popupCacel() | ||
| 239 | } else { | 244 | } else { |
| 240 | this.$message.error(res.message); | 245 | this.$message.error(res.message); |
| 241 | } | 246 | } |
| ... | @@ -275,40 +280,40 @@ | ... | @@ -275,40 +280,40 @@ |
| 275 | } | 280 | } |
| 276 | }) | 281 | }) |
| 277 | }, | 282 | }, |
| 278 | select(selection, row){ | 283 | select (selection, row) { |
| 279 | if(this.sqywInfo.sqywdylx=="1"){ | 284 | if (this.sqywInfo.sqywdylx == "1") { |
| 280 | // 清除 所有勾选项 | 285 | // 清除 所有勾选项 |
| 281 | this.$refs.table.clearSelection() | 286 | this.$refs.table.clearSelection() |
| 282 | // 当表格数据都没有被勾选的时候 就返回 | 287 | // 当表格数据都没有被勾选的时候 就返回 |
| 283 | // 主要用于将当前勾选的表格状态清除 | 288 | // 主要用于将当前勾选的表格状态清除 |
| 284 | if(selection.length == 0) return | 289 | if (selection.length == 0) return |
| 285 | this.$refs.table.toggleRowSelection(row, true); | 290 | this.$refs.table.toggleRowSelection(row, true); |
| 286 | } | 291 | } |
| 287 | 292 | ||
| 288 | }, | 293 | }, |
| 289 | handleRowClick(row){ | 294 | handleRowClick (row) { |
| 290 | // 如果状态是1,那就是单选 | 295 | // 如果状态是1,那就是单选 |
| 291 | if(this.sqywInfo.sqywdylx=="1"){ | 296 | if (this.sqywInfo.sqywdylx == "1") { |
| 292 | const bdcdysz = this.bdcdysz | 297 | const bdcdysz = this.bdcdysz |
| 293 | this.$refs.table.clearSelection() | 298 | this.$refs.table.clearSelection() |
| 294 | if( bdcdysz.length == 1 ) { | 299 | if (bdcdysz.length == 1) { |
| 295 | bdcdysz.forEach(item => { | 300 | bdcdysz.forEach(item => { |
| 296 | // 判断 如果当前的一行被勾选, 再次点击的时候就会取消选中 | 301 | // 判断 如果当前的一行被勾选, 再次点击的时候就会取消选中 |
| 297 | if (item == row) { | 302 | if (item == row) { |
| 298 | this.$refs.table.toggleRowSelection(row, false); | 303 | this.$refs.table.toggleRowSelection(row, false); |
| 299 | } | 304 | } |
| 300 | // 不然就让当前的一行勾选 | 305 | // 不然就让当前的一行勾选 |
| 301 | else { | 306 | else { |
| 302 | this.$refs.table.toggleRowSelection(row, true); | 307 | this.$refs.table.toggleRowSelection(row, true); |
| 303 | } | 308 | } |
| 304 | }) | 309 | }) |
| 305 | } | 310 | } |
| 306 | else { | 311 | else { |
| 307 | this.$refs.table.toggleRowSelection(row, true); | 312 | this.$refs.table.toggleRowSelection(row, true); |
| 308 | } | 313 | } |
| 309 | }else{ | 314 | } else { |
| 310 | this.$refs.table.toggleRowSelection(row); | 315 | this.$refs.table.toggleRowSelection(row); |
| 311 | } | 316 | } |
| 312 | }, | 317 | }, |
| 313 | } | 318 | } |
| 314 | } | 319 | } | ... | ... |
| ... | @@ -106,48 +106,48 @@ | ... | @@ -106,48 +106,48 @@ |
| 106 | } else { | 106 | } else { |
| 107 | store.dispatch('user/refreshPage', true); | 107 | store.dispatch('user/refreshPage', true); |
| 108 | } | 108 | } |
| 109 | this.$popupCacel() | ||
| 109 | } else { | 110 | } else { |
| 110 | this.$message.error(res.message); | 111 | this.$message.error(res.message); |
| 111 | } | 112 | } |
| 112 | this.$popupCacel() | ||
| 113 | }) | 113 | }) |
| 114 | }, | 114 | }, |
| 115 | handleSelectionChange (val) { | 115 | handleSelectionChange (val) { |
| 116 | this.bdcdysz = val; | 116 | this.bdcdysz = val; |
| 117 | }, | 117 | }, |
| 118 | select(selection, row){ | 118 | select (selection, row) { |
| 119 | if(this.sqywInfo.sqywdylx=="1"){ | 119 | if (this.sqywInfo.sqywdylx == "1") { |
| 120 | // 清除 所有勾选项 | 120 | // 清除 所有勾选项 |
| 121 | this.$refs.table.clearSelection() | 121 | this.$refs.table.clearSelection() |
| 122 | // 当表格数据都没有被勾选的时候 就返回 | 122 | // 当表格数据都没有被勾选的时候 就返回 |
| 123 | // 主要用于将当前勾选的表格状态清除 | 123 | // 主要用于将当前勾选的表格状态清除 |
| 124 | if(selection.length == 0) return | 124 | if (selection.length == 0) return |
| 125 | this.$refs.table.toggleRowSelection(row, true); | 125 | this.$refs.table.toggleRowSelection(row, true); |
| 126 | } | 126 | } |
| 127 | }, | 127 | }, |
| 128 | handleRowClick(row){ | 128 | handleRowClick (row) { |
| 129 | // 如果状态是1,那就是单选 | 129 | // 如果状态是1,那就是单选 |
| 130 | if(this.sqywInfo.sqywdylx=="1"){ | 130 | if (this.sqywInfo.sqywdylx == "1") { |
| 131 | const bdcdysz = this.bdcdysz | 131 | const bdcdysz = this.bdcdysz |
| 132 | this.$refs.table.clearSelection() | 132 | this.$refs.table.clearSelection() |
| 133 | if( bdcdysz.length == 1 ) { | 133 | if (bdcdysz.length == 1) { |
| 134 | bdcdysz.forEach(item => { | 134 | bdcdysz.forEach(item => { |
| 135 | // 判断 如果当前的一行被勾选, 再次点击的时候就会取消选中 | 135 | // 判断 如果当前的一行被勾选, 再次点击的时候就会取消选中 |
| 136 | if (item == row) { | 136 | if (item == row) { |
| 137 | this.$refs.table.toggleRowSelection(row, false); | 137 | this.$refs.table.toggleRowSelection(row, false); |
| 138 | } | 138 | } |
| 139 | // 不然就让当前的一行勾选 | 139 | // 不然就让当前的一行勾选 |
| 140 | else { | 140 | else { |
| 141 | this.$refs.table.toggleRowSelection(row, true); | 141 | this.$refs.table.toggleRowSelection(row, true); |
| 142 | } | 142 | } |
| 143 | }) | 143 | }) |
| 144 | } | 144 | } |
| 145 | else { | 145 | else { |
| 146 | this.$refs.table.toggleRowSelection(row, true); | 146 | this.$refs.table.toggleRowSelection(row, true); |
| 147 | } | 147 | } |
| 148 | }else{ | 148 | } else { |
| 149 | this.$refs.table.toggleRowSelection(row); | 149 | this.$refs.table.toggleRowSelection(row); |
| 150 | } | 150 | } |
| 151 | }, | 151 | }, |
| 152 | } | 152 | } |
| 153 | } | 153 | } | ... | ... |
| ... | @@ -70,7 +70,7 @@ | ... | @@ -70,7 +70,7 @@ |
| 70 | }, | 70 | }, |
| 71 | methods: { | 71 | methods: { |
| 72 | queryClick () { | 72 | queryClick () { |
| 73 | console.log("申请业务单一流向状态",this.sqywInfo.sqywdylx); | 73 | console.log("申请业务单一流向状态", this.sqywInfo.sqywdylx); |
| 74 | this.$startLoading(); | 74 | this.$startLoading(); |
| 75 | this.queryForm.sqywbm = this.sqywInfo.djywbm; | 75 | this.queryForm.sqywbm = this.sqywInfo.djywbm; |
| 76 | selectNydsyqQlxx({ ...this.queryForm, ...this.pageData }).then((res) => { | 76 | selectNydsyqQlxx({ ...this.queryForm, ...this.pageData }).then((res) => { |
| ... | @@ -104,10 +104,10 @@ | ... | @@ -104,10 +104,10 @@ |
| 104 | } else { | 104 | } else { |
| 105 | store.dispatch('user/refreshPage', true); | 105 | store.dispatch('user/refreshPage', true); |
| 106 | } | 106 | } |
| 107 | this.$popupCacel() | ||
| 107 | } else { | 108 | } else { |
| 108 | this.$message.error(res.message); | 109 | this.$message.error(res.message); |
| 109 | } | 110 | } |
| 110 | this.$popupCacel() | ||
| 111 | }) | 111 | }) |
| 112 | }, | 112 | }, |
| 113 | handleSelectionChange (val) { | 113 | handleSelectionChange (val) { |
| ... | @@ -119,39 +119,39 @@ | ... | @@ -119,39 +119,39 @@ |
| 119 | formData: param | 119 | formData: param |
| 120 | }) | 120 | }) |
| 121 | }, | 121 | }, |
| 122 | select(selection, row){ | 122 | select (selection, row) { |
| 123 | if(this.sqywInfo.sqywdylx=="1"){ | 123 | if (this.sqywInfo.sqywdylx == "1") { |
| 124 | // 清除 所有勾选项 | 124 | // 清除 所有勾选项 |
| 125 | this.$refs.table.clearSelection() | 125 | this.$refs.table.clearSelection() |
| 126 | // 当表格数据都没有被勾选的时候 就返回 | 126 | // 当表格数据都没有被勾选的时候 就返回 |
| 127 | // 主要用于将当前勾选的表格状态清除 | 127 | // 主要用于将当前勾选的表格状态清除 |
| 128 | if(selection.length == 0) return | 128 | if (selection.length == 0) return |
| 129 | this.$refs.table.toggleRowSelection(row, true); | 129 | this.$refs.table.toggleRowSelection(row, true); |
| 130 | } | 130 | } |
| 131 | }, | 131 | }, |
| 132 | handleRowClick(row){ | 132 | handleRowClick (row) { |
| 133 | // 如果状态是1,那就是单选 | 133 | // 如果状态是1,那就是单选 |
| 134 | if(this.sqywInfo.sqywdylx=="1"){ | 134 | if (this.sqywInfo.sqywdylx == "1") { |
| 135 | const bdcdysz = this.bdcdysz | 135 | const bdcdysz = this.bdcdysz |
| 136 | this.$refs.table.clearSelection() | 136 | this.$refs.table.clearSelection() |
| 137 | if( bdcdysz.length == 1 ) { | 137 | if (bdcdysz.length == 1) { |
| 138 | bdcdysz.forEach(item => { | 138 | bdcdysz.forEach(item => { |
| 139 | // 判断 如果当前的一行被勾选, 再次点击的时候就会取消选中 | 139 | // 判断 如果当前的一行被勾选, 再次点击的时候就会取消选中 |
| 140 | if (item == row) { | 140 | if (item == row) { |
| 141 | this.$refs.table.toggleRowSelection(row, false); | 141 | this.$refs.table.toggleRowSelection(row, false); |
| 142 | } | 142 | } |
| 143 | // 不然就让当前的一行勾选 | 143 | // 不然就让当前的一行勾选 |
| 144 | else { | 144 | else { |
| 145 | this.$refs.table.toggleRowSelection(row, true); | 145 | this.$refs.table.toggleRowSelection(row, true); |
| 146 | } | 146 | } |
| 147 | }) | 147 | }) |
| 148 | } | 148 | } |
| 149 | else { | 149 | else { |
| 150 | this.$refs.table.toggleRowSelection(row, true); | 150 | this.$refs.table.toggleRowSelection(row, true); |
| 151 | } | 151 | } |
| 152 | }else{ | 152 | } else { |
| 153 | this.$refs.table.toggleRowSelection(row); | 153 | this.$refs.table.toggleRowSelection(row); |
| 154 | } | 154 | } |
| 155 | }, | 155 | }, |
| 156 | } | 156 | } |
| 157 | } | 157 | } | ... | ... |
| ... | @@ -98,7 +98,7 @@ | ... | @@ -98,7 +98,7 @@ |
| 98 | methods: { | 98 | methods: { |
| 99 | //默认加载表格信息 | 99 | //默认加载表格信息 |
| 100 | queryClick () { | 100 | queryClick () { |
| 101 | console.log("申请业务单一流向状态",this.sqywInfo.sqywdylx); | 101 | console.log("申请业务单一流向状态", this.sqywInfo.sqywdylx); |
| 102 | this.$startLoading(); | 102 | this.$startLoading(); |
| 103 | this.queryForm.bsmSqyw = this.bsmSqyw; | 103 | this.queryForm.bsmSqyw = this.bsmSqyw; |
| 104 | selectQlxx({ ...this.queryForm, ...this.pageData }).then((res) => { | 104 | selectQlxx({ ...this.queryForm, ...this.pageData }).then((res) => { |
| ... | @@ -132,48 +132,48 @@ | ... | @@ -132,48 +132,48 @@ |
| 132 | } else { | 132 | } else { |
| 133 | store.dispatch('user/refreshPage', true); | 133 | store.dispatch('user/refreshPage', true); |
| 134 | } | 134 | } |
| 135 | this.$popupCacel() | ||
| 135 | } else { | 136 | } else { |
| 136 | this.$alert(res.message); | 137 | this.$message.error(res.message) |
| 137 | } | 138 | } |
| 138 | this.$popupCacel() | ||
| 139 | }) | 139 | }) |
| 140 | }, | 140 | }, |
| 141 | handleSelectionChange (val) { | 141 | handleSelectionChange (val) { |
| 142 | this.bdcdysz = val; | 142 | this.bdcdysz = val; |
| 143 | }, | 143 | }, |
| 144 | select(selection, row){ | 144 | select (selection, row) { |
| 145 | if(this.sqywInfo.sqywdylx=="1"){ | 145 | if (this.sqywInfo.sqywdylx == "1") { |
| 146 | // 清除 所有勾选项 | 146 | // 清除 所有勾选项 |
| 147 | this.$refs.table.clearSelection() | 147 | this.$refs.table.clearSelection() |
| 148 | // 当表格数据都没有被勾选的时候 就返回 | 148 | // 当表格数据都没有被勾选的时候 就返回 |
| 149 | // 主要用于将当前勾选的表格状态清除 | 149 | // 主要用于将当前勾选的表格状态清除 |
| 150 | if(selection.length == 0) return | 150 | if (selection.length == 0) return |
| 151 | this.$refs.table.toggleRowSelection(row, true); | 151 | this.$refs.table.toggleRowSelection(row, true); |
| 152 | } | 152 | } |
| 153 | }, | 153 | }, |
| 154 | handleRowClick(row){ | 154 | handleRowClick (row) { |
| 155 | // 如果状态是1,那就是单选 | 155 | // 如果状态是1,那就是单选 |
| 156 | if(this.sqywInfo.sqywdylx=="1"){ | 156 | if (this.sqywInfo.sqywdylx == "1") { |
| 157 | const bdcdysz = this.bdcdysz | 157 | const bdcdysz = this.bdcdysz |
| 158 | this.$refs.table.clearSelection() | 158 | this.$refs.table.clearSelection() |
| 159 | if( bdcdysz.length == 1 ) { | 159 | if (bdcdysz.length == 1) { |
| 160 | bdcdysz.forEach(item => { | 160 | bdcdysz.forEach(item => { |
| 161 | // 判断 如果当前的一行被勾选, 再次点击的时候就会取消选中 | 161 | // 判断 如果当前的一行被勾选, 再次点击的时候就会取消选中 |
| 162 | if (item == row) { | 162 | if (item == row) { |
| 163 | this.$refs.table.toggleRowSelection(row, false); | 163 | this.$refs.table.toggleRowSelection(row, false); |
| 164 | } | 164 | } |
| 165 | // 不然就让当前的一行勾选 | 165 | // 不然就让当前的一行勾选 |
| 166 | else { | 166 | else { |
| 167 | this.$refs.table.toggleRowSelection(row, true); | 167 | this.$refs.table.toggleRowSelection(row, true); |
| 168 | } | 168 | } |
| 169 | }) | 169 | }) |
| 170 | } | 170 | } |
| 171 | else { | 171 | else { |
| 172 | this.$refs.table.toggleRowSelection(row, true); | 172 | this.$refs.table.toggleRowSelection(row, true); |
| 173 | } | 173 | } |
| 174 | }else{ | 174 | } else { |
| 175 | this.$refs.table.toggleRowSelection(row); | 175 | this.$refs.table.toggleRowSelection(row); |
| 176 | } | 176 | } |
| 177 | }, | 177 | }, |
| 178 | }, | 178 | }, |
| 179 | }; | 179 | }; | ... | ... |
| ... | @@ -30,132 +30,125 @@ | ... | @@ -30,132 +30,125 @@ |
| 30 | </el-col> | 30 | </el-col> |
| 31 | <el-col :span="4" class="btnColRight"> | 31 | <el-col :span="4" class="btnColRight"> |
| 32 | <el-form-item> | 32 | <el-form-item> |
| 33 | <el-button type="primary" @click="resetForm(true)">重置</el-button> | 33 | <el-button type="primary" @click="resetForm(true)">重置</el-button> |
| 34 | <el-button type="primary" @click="handleSearch">查询</el-button> | 34 | <el-button type="primary" @click="handleSearch">查询</el-button> |
| 35 | </el-form-item> | 35 | </el-form-item> |
| 36 | </el-col> | 36 | </el-col> |
| 37 | </el-row> | 37 | </el-row> |
| 38 | </el-form> | 38 | </el-form> |
| 39 | </div> | 39 | </div> |
| 40 | <!-- 表格 --> | 40 | <!-- 表格 --> |
| 41 | <div class="from-clues-content loadingtext" > | 41 | <div class="from-clues-content loadingtext"> |
| 42 | <lb-table ref="table" @row-click="handleRowClick" :page-size="pageData.size" class="loadingtext" | 42 | <lb-table ref="table" @row-click="handleRowClick" :page-size="pageData.size" class="loadingtext" |
| 43 | :current-page.sync="pageData.current" :total="tableData.total" @size-change="handleSizeChange" | 43 | :current-page.sync="pageData.current" :total="tableData.total" @size-change="handleSizeChange" |
| 44 | @p-current-change="handleCurrentChange" @selection-change="handleSelectionChange" :column="tableData.columns" :data="tableData.data"> | 44 | @p-current-change="handleCurrentChange" @selection-change="handleSelectionChange" :column="tableData.columns" :data="tableData.data"> |
| 45 | </lb-table> | 45 | </lb-table> |
| 46 | </div> | 46 | </div> |
| 47 | <div class="submit_button"> | 47 | <div class="submit_button"> |
| 48 | <el-button @click="$popupCacel">取消</el-button> | 48 | <el-button @click="$popupCacel">取消</el-button> |
| 49 | <el-button type="primary" plain @click="submitForm">发起申请</el-button> | 49 | <el-button type="primary" plain @click="submitForm">发起申请</el-button> |
| 50 | </div> | 50 | </div> |
| 51 | </div> | 51 | </div> |
| 52 | </template> | 52 | </template> |
| 53 | <script> | 53 | <script> |
| 54 | import { mapGetters } from "vuex"; | 54 | import { mapGetters } from "vuex"; |
| 55 | import {startBusinessFlow} from "@/api/djbbl.js" | 55 | import { startRepairFlow } from "@/api/ywbl.js"; |
| 56 | import store from '@/store/index.js' | 56 | import store from '@/store/index.js' |
| 57 | import table from "@/utils/mixin/table"; | 57 | import table from "@/utils/mixin/table"; |
| 58 | import { datas, sendThis } from "../javascript/selectDjbbl.js"; | 58 | import { datas, sendThis } from "../javascript/selectDjbbl.js"; |
| 59 | import { getDjbBysearch } from "@/api/zhcx.js"; | 59 | import { getDjbBysearch } from "@/api/zhcx.js"; |
| 60 | import jump from "../components/mixin/djbbljump"; | 60 | import jump from "../components/mixin/jump"; |
| 61 | export default { | 61 | export default { |
| 62 | name: "djbcx", | 62 | name: "djbcx", |
| 63 | mixins: [table, jump], | 63 | mixins: [table, jump], |
| 64 | mounted () { | 64 | mounted () { |
| 65 | sendThis(this); | 65 | sendThis(this); |
| 66 | this.queryClick() | 66 | this.queryClick() |
| 67 | }, | 67 | }, |
| 68 | props: { | 68 | props: { |
| 69 | isJump: { type: Boolean, default: false }, | 69 | isJump: { type: Boolean, default: false }, |
| 70 | sqywInfo: { type: Object, default: () => { } }, | 70 | sqywInfo: { type: Object, default: () => { } }, |
| 71 | }, | 71 | }, |
| 72 | data () { | 72 | data () { |
| 73 | return { | 73 | return { |
| 74 | bdcdysz: [], | 74 | bdcdysz: [], |
| 75 | queryForm: { | 75 | queryForm: { |
| 76 | zl: "", | 76 | zl: "", |
| 77 | bdcdyh: "", | 77 | bdcdyh: "", |
| 78 | bdcqzh: "", | 78 | bdcqzh: "", |
| 79 | ywh: "", | 79 | ywh: "", |
| 80 | }, | 80 | }, |
| 81 | pageData: { | 81 | pageData: { |
| 82 | current: 1, | 82 | current: 1, |
| 83 | size: 10, | 83 | size: 10, |
| 84 | total: 0, | 84 | total: 0, |
| 85 | }, | 85 | }, |
| 86 | tableData: { | 86 | tableData: { |
| 87 | columns: datas.columns(), | 87 | columns: datas.columns(), |
| 88 | data: [], | 88 | data: [], |
| 89 | }, | 89 | }, |
| 90 | qllxs: [], | 90 | qllxs: [], |
| 91 | isDialog: false, | 91 | isDialog: false, |
| 92 | djbxxData: {}, | 92 | djbxxData: {}, |
| 93 | bsmSqyw: | 93 | bsmSqyw: |
| 94 | this.sqywInfo.nodetype === "djlx" | 94 | this.sqywInfo.nodetype === "djlx" |
| 95 | ? this.sqywInfo.bsmSqyw | 95 | ? this.sqywInfo.bsmSqyw |
| 96 | : this.sqywInfo.parentid, | 96 | : this.sqywInfo.parentid, |
| 97 | }; | 97 | }; |
| 98 | }, | ||
| 99 | computed: { | ||
| 100 | // ...mapGetters(["dictData"]), | ||
| 101 | }, | ||
| 102 | methods: { | ||
| 103 | // 初始化数据 | ||
| 104 | queryClick () { | ||
| 105 | console.log("this.queryForm",this.queryForm); | ||
| 106 | this.$startLoading() | ||
| 107 | getDjbBysearch({ ...this.queryForm, ...this.pageData }).then((res) => { | ||
| 108 | this.$endLoading() | ||
| 109 | if (res.code === 200) { | ||
| 110 | let { total, records } = res.result; | ||
| 111 | this.tableData.data = records; | ||
| 112 | this.tableData.total = total; | ||
| 113 | } | ||
| 114 | }); | ||
| 115 | }, | 98 | }, |
| 116 | // handleSort (name, sort) { | 99 | methods: { |
| 117 | // console.log(name, sort); | 100 | // 初始化数据 |
| 118 | // }, | 101 | queryClick () { |
| 119 | // 高级查询 | 102 | this.$startLoading() |
| 120 | moreQueryClick () { }, | 103 | getDjbBysearch({ ...this.queryForm, ...this.pageData }).then((res) => { |
| 121 | // openDialog (scroll) { | 104 | this.$endLoading() |
| 122 | // this.$popupDialog('登记簿详情', 'registerBook/djbFrame', scroll, '85%'); | 105 | if (res.code === 200) { |
| 123 | // }, | 106 | let { total, records } = res.result; |
| 124 | // handleLpbClick (item) { | 107 | this.tableData.data = records; |
| 125 | // this.$popupDialog('楼盘表', 'lpb/index', { | 108 | this.tableData.total = total; |
| 126 | // bsm: '' | 109 | } |
| 127 | // }, '85%') | 110 | }); |
| 128 | // }, | 111 | }, |
| 129 | ywhClick (item) { | 112 | // 高级查询 |
| 113 | moreQueryClick () { }, | ||
| 114 | // openDialog (scroll) { | ||
| 115 | // this.$popupDialog('登记簿详情', 'registerBook/djbFrame', scroll, '85%'); | ||
| 116 | // }, | ||
| 117 | // handleLpbClick (item) { | ||
| 118 | // this.$popupDialog('楼盘表', 'lpb/index', { | ||
| 119 | // bsm: '' | ||
| 120 | // }, '85%') | ||
| 121 | // }, | ||
| 122 | ywhClick (item) { | ||
| 130 | const { href } = this.$router.resolve( | 123 | const { href } = this.$router.resolve( |
| 131 | "/djbworkFrame?bdcdyid=" + | 124 | "/djbworkFrame?bdcdyid=" + |
| 132 | item.bdcdyid+ | 125 | item.bdcdyid + |
| 133 | "&bdcdyh=" + | 126 | "&bdcdyh=" + |
| 134 | item.bdcdyh+ | 127 | item.bdcdyh + |
| 135 | "&qllx="+ | 128 | "&qllx=" + |
| 136 | item.qllx+ | 129 | item.qllx + |
| 137 | "&bsmQlxx="+ | 130 | "&bsmQlxx=" + |
| 138 | item.bsmQlxx + | 131 | item.bsmQlxx + |
| 139 | "&viewtype=1" | 132 | "&viewtype=1" |
| 140 | ); | 133 | ); |
| 141 | localStorage.setItem('ywbl', JSON.stringify(item)); | 134 | localStorage.setItem('ywbl', JSON.stringify(item)); |
| 142 | window.open(href, `urlname${item.bdcdyid}`); | 135 | window.open(href, `urlname${item.bdcdyid}`); |
| 143 | 136 | ||
| 144 | }, | 137 | }, |
| 145 | submitForm () { | 138 | submitForm () { |
| 146 | if (this.bdcdysz.length == 0) { | 139 | if (this.bdcdysz.length == 0) { |
| 147 | this.$message.error("请至少选择一条数据"); | 140 | this.$message.error("请至少选择一条数据"); |
| 148 | return; | 141 | return; |
| 149 | } | 142 | } |
| 150 | console.log("this.sqywInfo",this.sqywInfo,this.sqywInfo.nodetype == "djqx"); | 143 | console.log("this.sqywInfo", this.sqywInfo, this.sqywInfo.nodetype == "djqx"); |
| 151 | let from={ | 144 | let from = { |
| 152 | bsmSqyw: this.bsmSqyw, | 145 | bsmSqyw: this.bsmSqyw, |
| 153 | bdcdysz: this.bdcdysz, | 146 | bdcdysz: this.bdcdysz, |
| 154 | djqxbm: this.sqywInfo.nodetype == "djlx" ? this.sqywInfo.nodecode : "", | 147 | djqxbm: this.sqywInfo.nodetype == "djlx" ? this.sqywInfo.nodecode : "", |
| 155 | djqxmc: this.sqywInfo.nodetype == "djlx" ? this.sqywInfo.nodename : "", | 148 | djqxmc: this.sqywInfo.nodetype == "djlx" ? this.sqywInfo.nodename : "", |
| 156 | } | 149 | } |
| 157 | console.log("发起申请传参",from,this.sqywInfo); | 150 | console.log("发起申请传参", from, this.sqywInfo); |
| 158 | startBusinessFlow(from).then((res) => { | 151 | startRepairFlow(from).then((res) => { |
| 159 | if (res.code == 200) { | 152 | if (res.code == 200) { |
| 160 | this.$message({ | 153 | this.$message({ |
| 161 | showClose: true, | 154 | showClose: true, |
| ... | @@ -167,58 +160,58 @@ export default { | ... | @@ -167,58 +160,58 @@ export default { |
| 167 | } else { | 160 | } else { |
| 168 | store.dispatch('user/refreshPage', true); | 161 | store.dispatch('user/refreshPage', true); |
| 169 | } | 162 | } |
| 163 | this.$popupCacel() | ||
| 170 | } else { | 164 | } else { |
| 171 | this.$message.error(res.message); | 165 | this.$message.error(res.message); |
| 172 | } | 166 | } |
| 173 | this.$popupCacel() | ||
| 174 | }) | 167 | }) |
| 175 | }, | 168 | }, |
| 176 | handleSelectionChange (val) { | 169 | handleSelectionChange (val) { |
| 177 | console.log("val",val); | 170 | console.log("val", val); |
| 178 | this.bdcdysz = val; | 171 | this.bdcdysz = val; |
| 179 | }, | 172 | }, |
| 180 | handleRowClick(row){ | 173 | handleRowClick (row) { |
| 181 | // 如果状态是1,那就是单选 | 174 | // 如果状态是1,那就是单选 |
| 182 | if(this.sqywInfo.sqywdylx=="1"){ | 175 | if (this.sqywInfo.sqywdylx == "1") { |
| 183 | const bdcdysz = this.bdcdysz | 176 | const bdcdysz = this.bdcdysz |
| 184 | this.$refs.table.clearSelection() | 177 | this.$refs.table.clearSelection() |
| 185 | if( bdcdysz.length == 1 ) { | 178 | if (bdcdysz.length == 1) { |
| 186 | bdcdysz.forEach(item => { | 179 | bdcdysz.forEach(item => { |
| 187 | // 判断 如果当前的一行被勾选, 再次点击的时候就会取消选中 | 180 | // 判断 如果当前的一行被勾选, 再次点击的时候就会取消选中 |
| 188 | if (item == row) { | 181 | if (item == row) { |
| 189 | this.$refs.table.toggleRowSelection(row, false); | 182 | this.$refs.table.toggleRowSelection(row, false); |
| 190 | } | 183 | } |
| 191 | // 不然就让当前的一行勾选 | 184 | // 不然就让当前的一行勾选 |
| 192 | else { | 185 | else { |
| 193 | this.$refs.table.toggleRowSelection(row, true); | 186 | this.$refs.table.toggleRowSelection(row, true); |
| 194 | } | 187 | } |
| 195 | }) | 188 | }) |
| 196 | } | 189 | } |
| 197 | else { | 190 | else { |
| 198 | this.$refs.table.toggleRowSelection(row, true); | 191 | this.$refs.table.toggleRowSelection(row, true); |
| 199 | } | 192 | } |
| 200 | }else{ | 193 | } else { |
| 201 | this.$refs.table.toggleRowSelection(row); | 194 | this.$refs.table.toggleRowSelection(row); |
| 202 | } | 195 | } |
| 203 | }, | 196 | }, |
| 197 | } | ||
| 204 | } | 198 | } |
| 205 | } | ||
| 206 | </script> | 199 | </script> |
| 207 | <style scoped lang="scss"> | 200 | <style scoped lang="scss"> |
| 208 | @import "~@/styles/mixin.scss"; | 201 | @import "~@/styles/mixin.scss"; |
| 209 | @import "~@/styles/public.scss"; | 202 | @import "~@/styles/public.scss"; |
| 210 | 203 | ||
| 211 | .icon-circle { | 204 | .icon-circle { |
| 212 | position: relative; | 205 | position: relative; |
| 213 | } | 206 | } |
| 214 | 207 | ||
| 215 | .icon-circle::before { | 208 | .icon-circle::before { |
| 216 | content: ""; | 209 | content: ""; |
| 217 | width: 4px; | 210 | width: 4px; |
| 218 | height: 4px; | 211 | height: 4px; |
| 219 | border-radius: 50%; | 212 | border-radius: 50%; |
| 220 | background: #000; | 213 | background: #000; |
| 221 | top: 0px; | 214 | top: 0px; |
| 222 | left: 0px; | 215 | left: 0px; |
| 223 | } | 216 | } |
| 224 | </style> | 217 | </style> | ... | ... |
| ... | @@ -75,7 +75,7 @@ | ... | @@ -75,7 +75,7 @@ |
| 75 | }, | 75 | }, |
| 76 | methods: { | 76 | methods: { |
| 77 | queryClick () { | 77 | queryClick () { |
| 78 | console.log("申请业务单一流向状态",this.sqywInfo.sqywdylx); | 78 | console.log("申请业务单一流向状态", this.sqywInfo.sqywdylx); |
| 79 | this.$startLoading(); | 79 | this.$startLoading(); |
| 80 | this.queryForm.sqywbm = this.sqywInfo.djywbm; | 80 | this.queryForm.sqywbm = this.sqywInfo.djywbm; |
| 81 | selectFwsyq({ ...this.queryForm, ...this.pageData }).then((res) => { | 81 | selectFwsyq({ ...this.queryForm, ...this.pageData }).then((res) => { |
| ... | @@ -109,48 +109,48 @@ | ... | @@ -109,48 +109,48 @@ |
| 109 | } else { | 109 | } else { |
| 110 | store.dispatch('user/refreshPage', true); | 110 | store.dispatch('user/refreshPage', true); |
| 111 | } | 111 | } |
| 112 | this.$popupCacel() | ||
| 112 | } else { | 113 | } else { |
| 113 | this.$message.error(res.message); | 114 | this.$message.error(res.message); |
| 114 | } | 115 | } |
| 115 | this.$popupCacel() | ||
| 116 | }) | 116 | }) |
| 117 | }, | 117 | }, |
| 118 | handleSelectionChange (val) { | 118 | handleSelectionChange (val) { |
| 119 | this.bdcdysz = val; | 119 | this.bdcdysz = val; |
| 120 | }, | 120 | }, |
| 121 | select(selection, row){ | 121 | select (selection, row) { |
| 122 | if(this.sqywInfo.sqywdylx=="1"){ | 122 | if (this.sqywInfo.sqywdylx == "1") { |
| 123 | // 清除 所有勾选项 | 123 | // 清除 所有勾选项 |
| 124 | this.$refs.table.clearSelection() | 124 | this.$refs.table.clearSelection() |
| 125 | // 当表格数据都没有被勾选的时候 就返回 | 125 | // 当表格数据都没有被勾选的时候 就返回 |
| 126 | // 主要用于将当前勾选的表格状态清除 | 126 | // 主要用于将当前勾选的表格状态清除 |
| 127 | if(selection.length == 0) return | 127 | if (selection.length == 0) return |
| 128 | this.$refs.table.toggleRowSelection(row, true); | 128 | this.$refs.table.toggleRowSelection(row, true); |
| 129 | } | 129 | } |
| 130 | }, | 130 | }, |
| 131 | handleRowClick(row){ | 131 | handleRowClick (row) { |
| 132 | // 如果状态是1,那就是单选 | 132 | // 如果状态是1,那就是单选 |
| 133 | if(this.sqywInfo.sqywdylx=="1"){ | 133 | if (this.sqywInfo.sqywdylx == "1") { |
| 134 | const bdcdysz = this.bdcdysz | 134 | const bdcdysz = this.bdcdysz |
| 135 | this.$refs.table.clearSelection() | 135 | this.$refs.table.clearSelection() |
| 136 | if( bdcdysz.length == 1 ) { | 136 | if (bdcdysz.length == 1) { |
| 137 | bdcdysz.forEach(item => { | 137 | bdcdysz.forEach(item => { |
| 138 | // 判断 如果当前的一行被勾选, 再次点击的时候就会取消选中 | 138 | // 判断 如果当前的一行被勾选, 再次点击的时候就会取消选中 |
| 139 | if (item == row) { | 139 | if (item == row) { |
| 140 | this.$refs.table.toggleRowSelection(row, false); | 140 | this.$refs.table.toggleRowSelection(row, false); |
| 141 | } | 141 | } |
| 142 | // 不然就让当前的一行勾选 | 142 | // 不然就让当前的一行勾选 |
| 143 | else { | 143 | else { |
| 144 | this.$refs.table.toggleRowSelection(row, true); | 144 | this.$refs.table.toggleRowSelection(row, true); |
| 145 | } | 145 | } |
| 146 | }) | 146 | }) |
| 147 | } | 147 | } |
| 148 | else { | 148 | else { |
| 149 | this.$refs.table.toggleRowSelection(row, true); | 149 | this.$refs.table.toggleRowSelection(row, true); |
| 150 | } | 150 | } |
| 151 | }else{ | 151 | } else { |
| 152 | this.$refs.table.toggleRowSelection(row); | 152 | this.$refs.table.toggleRowSelection(row); |
| 153 | } | 153 | } |
| 154 | }, | 154 | }, |
| 155 | }, | 155 | }, |
| 156 | }; | 156 | }; | ... | ... |
| ... | @@ -75,7 +75,7 @@ | ... | @@ -75,7 +75,7 @@ |
| 75 | }, | 75 | }, |
| 76 | methods: { | 76 | methods: { |
| 77 | queryClick () { | 77 | queryClick () { |
| 78 | console.log("申请业务单一流向状态",this.sqywInfo.sqywdylx); | 78 | console.log("申请业务单一流向状态", this.sqywInfo.sqywdylx); |
| 79 | this.$startLoading(); | 79 | this.$startLoading(); |
| 80 | this.queryForm.sqywbm = this.sqywInfo.djywbm; | 80 | this.queryForm.sqywbm = this.sqywInfo.djywbm; |
| 81 | selectHQjdc({ ...this.queryForm, ...this.pageData }).then((res) => { | 81 | selectHQjdc({ ...this.queryForm, ...this.pageData }).then((res) => { |
| ... | @@ -109,48 +109,48 @@ | ... | @@ -109,48 +109,48 @@ |
| 109 | } else { | 109 | } else { |
| 110 | store.dispatch('user/refreshPage', true); | 110 | store.dispatch('user/refreshPage', true); |
| 111 | } | 111 | } |
| 112 | this.$popupCacel() | ||
| 112 | } else { | 113 | } else { |
| 113 | this.$message.error(res.message); | 114 | this.$message.error(res.message); |
| 114 | } | 115 | } |
| 115 | this.$popupCacel() | ||
| 116 | }) | 116 | }) |
| 117 | }, | 117 | }, |
| 118 | handleSelectionChange (val) { | 118 | handleSelectionChange (val) { |
| 119 | this.bdcdysz = val; | 119 | this.bdcdysz = val; |
| 120 | }, | 120 | }, |
| 121 | select(selection, row){ | 121 | select (selection, row) { |
| 122 | if(this.sqywInfo.sqywdylx=="1"){ | 122 | if (this.sqywInfo.sqywdylx == "1") { |
| 123 | // 清除 所有勾选项 | 123 | // 清除 所有勾选项 |
| 124 | this.$refs.table.clearSelection() | 124 | this.$refs.table.clearSelection() |
| 125 | // 当表格数据都没有被勾选的时候 就返回 | 125 | // 当表格数据都没有被勾选的时候 就返回 |
| 126 | // 主要用于将当前勾选的表格状态清除 | 126 | // 主要用于将当前勾选的表格状态清除 |
| 127 | if(selection.length == 0) return | 127 | if (selection.length == 0) return |
| 128 | this.$refs.table.toggleRowSelection(row, true); | 128 | this.$refs.table.toggleRowSelection(row, true); |
| 129 | } | 129 | } |
| 130 | }, | 130 | }, |
| 131 | handleRowClick(row){ | 131 | handleRowClick (row) { |
| 132 | // 如果状态是1,那就是单选 | 132 | // 如果状态是1,那就是单选 |
| 133 | if(this.sqywInfo.sqywdylx=="1"){ | 133 | if (this.sqywInfo.sqywdylx == "1") { |
| 134 | const bdcdysz = this.bdcdysz | 134 | const bdcdysz = this.bdcdysz |
| 135 | this.$refs.table.clearSelection() | 135 | this.$refs.table.clearSelection() |
| 136 | if( bdcdysz.length == 1 ) { | 136 | if (bdcdysz.length == 1) { |
| 137 | bdcdysz.forEach(item => { | 137 | bdcdysz.forEach(item => { |
| 138 | // 判断 如果当前的一行被勾选, 再次点击的时候就会取消选中 | 138 | // 判断 如果当前的一行被勾选, 再次点击的时候就会取消选中 |
| 139 | if (item == row) { | 139 | if (item == row) { |
| 140 | this.$refs.table.toggleRowSelection(row, false); | 140 | this.$refs.table.toggleRowSelection(row, false); |
| 141 | } | 141 | } |
| 142 | // 不然就让当前的一行勾选 | 142 | // 不然就让当前的一行勾选 |
| 143 | else { | 143 | else { |
| 144 | this.$refs.table.toggleRowSelection(row, true); | 144 | this.$refs.table.toggleRowSelection(row, true); |
| 145 | } | 145 | } |
| 146 | }) | 146 | }) |
| 147 | } | 147 | } |
| 148 | else { | 148 | else { |
| 149 | this.$refs.table.toggleRowSelection(row, true); | 149 | this.$refs.table.toggleRowSelection(row, true); |
| 150 | } | 150 | } |
| 151 | }else{ | 151 | } else { |
| 152 | this.$refs.table.toggleRowSelection(row); | 152 | this.$refs.table.toggleRowSelection(row); |
| 153 | } | 153 | } |
| 154 | }, | 154 | }, |
| 155 | }, | 155 | }, |
| 156 | }; | 156 | }; | ... | ... |
| ... | @@ -83,7 +83,7 @@ | ... | @@ -83,7 +83,7 @@ |
| 83 | }, | 83 | }, |
| 84 | methods: { | 84 | methods: { |
| 85 | queryClick () { | 85 | queryClick () { |
| 86 | console.log("申请业务单一流向状态",this.sqywInfo.sqywdylx); | 86 | console.log("申请业务单一流向状态", this.sqywInfo.sqywdylx); |
| 87 | this.$startLoading(); | 87 | this.$startLoading(); |
| 88 | this.queryForm.sqywbm = this.sqywInfo.djywbm; | 88 | this.queryForm.sqywbm = this.sqywInfo.djywbm; |
| 89 | selectJsydQlxx({ ...this.queryForm, ...this.pageData }).then((res) => { | 89 | selectJsydQlxx({ ...this.queryForm, ...this.pageData }).then((res) => { |
| ... | @@ -117,13 +117,13 @@ | ... | @@ -117,13 +117,13 @@ |
| 117 | } else { | 117 | } else { |
| 118 | store.dispatch('user/refreshPage', true); | 118 | store.dispatch('user/refreshPage', true); |
| 119 | } | 119 | } |
| 120 | this.$popupCacel() | ||
| 120 | } else { | 121 | } else { |
| 121 | this.$message.error(res.message); | 122 | this.$message.error(res.message); |
| 122 | } | 123 | } |
| 123 | this.$popupCacel() | ||
| 124 | }) | 124 | }) |
| 125 | }, | 125 | }, |
| 126 | handleSelectionChange (val) { | 126 | handleSelectionChange (val) { |
| 127 | this.bdcdysz = val; | 127 | this.bdcdysz = val; |
| 128 | }, | 128 | }, |
| 129 | openBook (row) { | 129 | openBook (row) { |
| ... | @@ -137,39 +137,39 @@ | ... | @@ -137,39 +137,39 @@ |
| 137 | formData: param | 137 | formData: param |
| 138 | }) | 138 | }) |
| 139 | }, | 139 | }, |
| 140 | select(selection, row){ | 140 | select (selection, row) { |
| 141 | if(this.sqywInfo.sqywdylx=="1"){ | 141 | if (this.sqywInfo.sqywdylx == "1") { |
| 142 | // 清除 所有勾选项 | 142 | // 清除 所有勾选项 |
| 143 | this.$refs.table.clearSelection() | 143 | this.$refs.table.clearSelection() |
| 144 | // 当表格数据都没有被勾选的时候 就返回 | 144 | // 当表格数据都没有被勾选的时候 就返回 |
| 145 | // 主要用于将当前勾选的表格状态清除 | 145 | // 主要用于将当前勾选的表格状态清除 |
| 146 | if(selection.length == 0) return | 146 | if (selection.length == 0) return |
| 147 | this.$refs.table.toggleRowSelection(row, true); | 147 | this.$refs.table.toggleRowSelection(row, true); |
| 148 | } | 148 | } |
| 149 | }, | 149 | }, |
| 150 | handleRowClick(row){ | 150 | handleRowClick (row) { |
| 151 | // 如果状态是1,那就是单选 | 151 | // 如果状态是1,那就是单选 |
| 152 | if(this.sqywInfo.sqywdylx=="1"){ | 152 | if (this.sqywInfo.sqywdylx == "1") { |
| 153 | const bdcdysz = this.bdcdysz | 153 | const bdcdysz = this.bdcdysz |
| 154 | this.$refs.table.clearSelection() | 154 | this.$refs.table.clearSelection() |
| 155 | if( bdcdysz.length == 1 ) { | 155 | if (bdcdysz.length == 1) { |
| 156 | bdcdysz.forEach(item => { | 156 | bdcdysz.forEach(item => { |
| 157 | // 判断 如果当前的一行被勾选, 再次点击的时候就会取消选中 | 157 | // 判断 如果当前的一行被勾选, 再次点击的时候就会取消选中 |
| 158 | if (item == row) { | 158 | if (item == row) { |
| 159 | this.$refs.table.toggleRowSelection(row, false); | 159 | this.$refs.table.toggleRowSelection(row, false); |
| 160 | } | 160 | } |
| 161 | // 不然就让当前的一行勾选 | 161 | // 不然就让当前的一行勾选 |
| 162 | else { | 162 | else { |
| 163 | this.$refs.table.toggleRowSelection(row, true); | 163 | this.$refs.table.toggleRowSelection(row, true); |
| 164 | } | 164 | } |
| 165 | }) | 165 | }) |
| 166 | } | 166 | } |
| 167 | else { | 167 | else { |
| 168 | this.$refs.table.toggleRowSelection(row, true); | 168 | this.$refs.table.toggleRowSelection(row, true); |
| 169 | } | 169 | } |
| 170 | }else{ | 170 | } else { |
| 171 | this.$refs.table.toggleRowSelection(row); | 171 | this.$refs.table.toggleRowSelection(row); |
| 172 | } | 172 | } |
| 173 | }, | 173 | }, |
| 174 | } | 174 | } |
| 175 | } | 175 | } | ... | ... |
| 1 | <!-- | 1 | <!-- |
| 2 | * @Description: | 2 | * @Description: |
| 3 | * @Autor: renchao | 3 | * @Autor: renchao |
| 4 | * @LastEditTime: 2023-06-15 16:59:40 | 4 | * @LastEditTime: 2023-06-16 09:37:51 |
| 5 | --> | 5 | --> |
| 6 | <template> | 6 | <template> |
| 7 | <div class="from-clues"> | 7 | <div class="from-clues"> |
| ... | @@ -47,9 +47,6 @@ | ... | @@ -47,9 +47,6 @@ |
| 47 | <!-- 表格 --> | 47 | <!-- 表格 --> |
| 48 | <div class="from-clues-content loadingtext"> | 48 | <div class="from-clues-content loadingtext"> |
| 49 | 分割合并前权利信息 | 49 | 分割合并前权利信息 |
| 50 | <!-- <lb-table ref="table" @row-click="handleRowClick" heightNumSetting :pagination=false | ||
| 51 | :column="tableData.columns" :data="tableData.data"> | ||
| 52 | </lb-table> --> | ||
| 53 | <el-table | 50 | <el-table |
| 54 | :data="tableData.data" | 51 | :data="tableData.data" |
| 55 | height="230" | 52 | height="230" |
| ... | @@ -193,6 +190,12 @@ | ... | @@ -193,6 +190,12 @@ |
| 193 | methods: { | 190 | methods: { |
| 194 | // 单选事件 | 191 | // 单选事件 |
| 195 | close () { | 192 | close () { |
| 193 | this.tableData.data.forEach(item => { | ||
| 194 | if (this.radioVal == item.bhqkbsm) { | ||
| 195 | item.bglx = '1' | ||
| 196 | this.bdcdysz[0] = item | ||
| 197 | } | ||
| 198 | }) | ||
| 196 | this.queryForm.bhqkbsm = this.radioVal | 199 | this.queryForm.bhqkbsm = this.radioVal |
| 197 | selectZdjbxxSplitMergeLast({ ...this.queryForm }).then((res) => { | 200 | selectZdjbxxSplitMergeLast({ ...this.queryForm }).then((res) => { |
| 198 | this.$endLoading(); | 201 | this.$endLoading(); |
| ... | @@ -217,12 +220,11 @@ | ... | @@ -217,12 +220,11 @@ |
| 217 | }); | 220 | }); |
| 218 | }, | 221 | }, |
| 219 | handleRowClick (val) { | 222 | handleRowClick (val) { |
| 220 | this.radioVal = val.bhqkbsm | 223 | // this.radioVal = val.bhqkbsm |
| 221 | let obj = val | 224 | // let obj = val |
| 222 | obj.bglx = '1'; | 225 | // obj.bglx = '1'; |
| 223 | 226 | // this.bdcdysz[0] = obj | |
| 224 | this.bdcdysz[0] = obj | 227 | // this.close() |
| 225 | this.close() | ||
| 226 | }, | 228 | }, |
| 227 | submitForm () { | 229 | submitForm () { |
| 228 | startBusinessFlow({ | 230 | startBusinessFlow({ |
| ... | @@ -242,10 +244,10 @@ | ... | @@ -242,10 +244,10 @@ |
| 242 | } else { | 244 | } else { |
| 243 | store.dispatch('user/refreshPage', true); | 245 | store.dispatch('user/refreshPage', true); |
| 244 | } | 246 | } |
| 247 | this.$popupCacel() | ||
| 245 | } else { | 248 | } else { |
| 246 | this.$message.error(res.message) | 249 | this.$message.error(res.message) |
| 247 | } | 250 | } |
| 248 | this.$popupCacel() | ||
| 249 | }) | 251 | }) |
| 250 | }, | 252 | }, |
| 251 | openBook (row) { | 253 | openBook (row) { | ... | ... |
| ... | @@ -4,25 +4,25 @@ | ... | @@ -4,25 +4,25 @@ |
| 4 | <div class="from-clues-header"> | 4 | <div class="from-clues-header"> |
| 5 | <el-form :model="queryForm" ref="queryForm"> | 5 | <el-form :model="queryForm" ref="queryForm"> |
| 6 | <el-row> | 6 | <el-row> |
| 7 | <el-col :span="8"> | 7 | <el-col :span="7"> |
| 8 | <el-form-item label="宗地代码"> | 8 | <el-form-item label="宗地代码"> |
| 9 | <el-input placeholder="请输入宗地代码" maxlength="19" v-model="queryForm.zddm" clearable class="width300px"> | 9 | <el-input placeholder="请输入宗地代码" maxlength="19" v-model="queryForm.zddm" 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="8"> | 13 | <el-col :span="7"> |
| 14 | <el-form-item label="不动产单元号"> | 14 | <el-form-item label="不动产单元号"> |
| 15 | <el-input placeholder="请输入不动产单元号" maxlength="28" v-model="queryForm.bdcdyh" clearable class="width300px"> | 15 | <el-input placeholder="请输入不动产单元号" maxlength="28" v-model="queryForm.bdcdyh" 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="8"> | 19 | <el-col :span="6"> |
| 20 | <el-form-item label="坐落"> | 20 | <el-form-item label="坐落"> |
| 21 | <el-input placeholder="请输入坐落" v-model.trim="queryForm.zl" clearable class="width300px"> | 21 | <el-input placeholder="请输入坐落" v-model.trim="queryForm.zl" 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="6" class="btnColRight"> | 25 | <el-col :span="4" class="btnColRight"> |
| 26 | <el-form-item> | 26 | <el-form-item> |
| 27 | <el-button type="primary" @click="resetForm(true)">重置</el-button> | 27 | <el-button type="primary" @click="resetForm(true)">重置</el-button> |
| 28 | <el-button type="primary" @click="handleSearch">查询</el-button> | 28 | <el-button type="primary" @click="handleSearch">查询</el-button> |
| ... | @@ -79,7 +79,7 @@ | ... | @@ -79,7 +79,7 @@ |
| 79 | }, | 79 | }, |
| 80 | methods: { | 80 | methods: { |
| 81 | queryClick () { | 81 | queryClick () { |
| 82 | console.log("申请业务单一流向状态",this.sqywInfo.sqywdylx); | 82 | console.log("申请业务单一流向状态", this.sqywInfo.sqywdylx); |
| 83 | this.$startLoading(); | 83 | this.$startLoading(); |
| 84 | this.queryForm.sqywbm = this.sqywInfo.djywbm; | 84 | this.queryForm.sqywbm = this.sqywInfo.djywbm; |
| 85 | selectZdjbxx({ ...this.queryForm, ...this.pageData }).then((res) => { | 85 | selectZdjbxx({ ...this.queryForm, ...this.pageData }).then((res) => { |
| ... | @@ -114,10 +114,11 @@ | ... | @@ -114,10 +114,11 @@ |
| 114 | } else { | 114 | } else { |
| 115 | store.dispatch('user/refreshPage', true); | 115 | store.dispatch('user/refreshPage', true); |
| 116 | } | 116 | } |
| 117 | this.$popupCacel() | ||
| 117 | } else { | 118 | } else { |
| 118 | this.$alert(res.message); | 119 | this.$message.error(res.message) |
| 119 | } | 120 | } |
| 120 | this.$popupCacel() | 121 | |
| 121 | }) | 122 | }) |
| 122 | }, | 123 | }, |
| 123 | handleSelectionChange (val) { | 124 | handleSelectionChange (val) { |
| ... | @@ -126,40 +127,40 @@ | ... | @@ -126,40 +127,40 @@ |
| 126 | }); | 127 | }); |
| 127 | this.bdcdysz = val; | 128 | this.bdcdysz = val; |
| 128 | }, | 129 | }, |
| 129 | select(selection, row){ | 130 | select (selection, row) { |
| 130 | if(this.sqywInfo.sqywdylx=="1"){ | 131 | if (this.sqywInfo.sqywdylx == "1") { |
| 131 | // 清除 所有勾选项 | 132 | // 清除 所有勾选项 |
| 132 | this.$refs.table.clearSelection() | 133 | this.$refs.table.clearSelection() |
| 133 | // 当表格数据都没有被勾选的时候 就返回 | 134 | // 当表格数据都没有被勾选的时候 就返回 |
| 134 | // 主要用于将当前勾选的表格状态清除 | 135 | // 主要用于将当前勾选的表格状态清除 |
| 135 | if(selection.length == 0) return | 136 | if (selection.length == 0) return |
| 136 | this.$refs.table.toggleRowSelection(row, true); | 137 | this.$refs.table.toggleRowSelection(row, true); |
| 137 | } | 138 | } |
| 138 | }, | 139 | }, |
| 139 | 140 | ||
| 140 | handleRowClick(row){ | 141 | handleRowClick (row) { |
| 141 | // 如果状态是1,那就是单选 | 142 | // 如果状态是1,那就是单选 |
| 142 | if(this.sqywInfo.sqywdylx=="1"){ | 143 | if (this.sqywInfo.sqywdylx == "1") { |
| 143 | const bdcdysz = this.bdcdysz | 144 | const bdcdysz = this.bdcdysz |
| 144 | this.$refs.table.clearSelection() | 145 | this.$refs.table.clearSelection() |
| 145 | if( bdcdysz.length == 1 ) { | 146 | if (bdcdysz.length == 1) { |
| 146 | bdcdysz.forEach(item => { | 147 | bdcdysz.forEach(item => { |
| 147 | // 判断 如果当前的一行被勾选, 再次点击的时候就会取消选中 | 148 | // 判断 如果当前的一行被勾选, 再次点击的时候就会取消选中 |
| 148 | if (item == row) { | 149 | if (item == row) { |
| 149 | this.$refs.table.toggleRowSelection(row, false); | 150 | this.$refs.table.toggleRowSelection(row, false); |
| 150 | } | 151 | } |
| 151 | // 不然就让当前的一行勾选 | 152 | // 不然就让当前的一行勾选 |
| 152 | else { | 153 | else { |
| 153 | this.$refs.table.toggleRowSelection(row, true); | 154 | this.$refs.table.toggleRowSelection(row, true); |
| 154 | } | 155 | } |
| 155 | }) | 156 | }) |
| 156 | } | 157 | } |
| 157 | else { | 158 | else { |
| 158 | this.$refs.table.toggleRowSelection(row, true); | 159 | this.$refs.table.toggleRowSelection(row, true); |
| 159 | } | 160 | } |
| 160 | }else{ | 161 | } else { |
| 161 | this.$refs.table.toggleRowSelection(row); | 162 | this.$refs.table.toggleRowSelection(row); |
| 162 | } | 163 | } |
| 163 | }, | 164 | }, |
| 164 | 165 | ||
| 165 | }, | 166 | }, | ... | ... |
| ... | @@ -75,7 +75,7 @@ | ... | @@ -75,7 +75,7 @@ |
| 75 | }, | 75 | }, |
| 76 | methods: { | 76 | methods: { |
| 77 | queryClick () { | 77 | queryClick () { |
| 78 | console.log("申请业务单一流向状态",this.sqywInfo.sqywdylx); | 78 | console.log("申请业务单一流向状态", this.sqywInfo.sqywdylx); |
| 79 | this.$startLoading(); | 79 | this.$startLoading(); |
| 80 | this.queryForm.sqywbm = this.sqywInfo.djywbm; | 80 | this.queryForm.sqywbm = this.sqywInfo.djywbm; |
| 81 | selectYgdj200({ ...this.queryForm, ...this.pageData }).then((res) => { | 81 | selectYgdj200({ ...this.queryForm, ...this.pageData }).then((res) => { |
| ... | @@ -108,49 +108,49 @@ | ... | @@ -108,49 +108,49 @@ |
| 108 | this.jump(res.result, this.sqywInfo.djywbm) | 108 | this.jump(res.result, this.sqywInfo.djywbm) |
| 109 | } else { | 109 | } else { |
| 110 | store.dispatch('user/refreshPage', true); | 110 | store.dispatch('user/refreshPage', true); |
| 111 | this.$popupCacel() | ||
| 111 | } | 112 | } |
| 112 | } else { | 113 | } else { |
| 113 | this.$message.error(res.message); | 114 | this.$message.error(res.message); |
| 114 | } | 115 | } |
| 115 | this.$popupCacel() | ||
| 116 | }) | 116 | }) |
| 117 | }, | 117 | }, |
| 118 | handleSelectionChange (val) { | 118 | handleSelectionChange (val) { |
| 119 | this.bdcdysz = val; | 119 | this.bdcdysz = val; |
| 120 | }, | 120 | }, |
| 121 | select(selection, row){ | 121 | select (selection, row) { |
| 122 | if(this.sqywInfo.sqywdylx=="1"){ | 122 | if (this.sqywInfo.sqywdylx == "1") { |
| 123 | // 清除 所有勾选项 | 123 | // 清除 所有勾选项 |
| 124 | this.$refs.table.clearSelection() | 124 | this.$refs.table.clearSelection() |
| 125 | // 当表格数据都没有被勾选的时候 就返回 | 125 | // 当表格数据都没有被勾选的时候 就返回 |
| 126 | // 主要用于将当前勾选的表格状态清除 | 126 | // 主要用于将当前勾选的表格状态清除 |
| 127 | if(selection.length == 0) return | 127 | if (selection.length == 0) return |
| 128 | this.$refs.table.toggleRowSelection(row, true); | 128 | this.$refs.table.toggleRowSelection(row, true); |
| 129 | } | 129 | } |
| 130 | }, | 130 | }, |
| 131 | handleRowClick(row){ | 131 | handleRowClick (row) { |
| 132 | // 如果状态是1,那就是单选 | 132 | // 如果状态是1,那就是单选 |
| 133 | if(this.sqywInfo.sqywdylx=="1"){ | 133 | if (this.sqywInfo.sqywdylx == "1") { |
| 134 | const bdcdysz = this.bdcdysz | 134 | const bdcdysz = this.bdcdysz |
| 135 | this.$refs.table.clearSelection() | 135 | this.$refs.table.clearSelection() |
| 136 | if( bdcdysz.length == 1 ) { | 136 | if (bdcdysz.length == 1) { |
| 137 | bdcdysz.forEach(item => { | 137 | bdcdysz.forEach(item => { |
| 138 | // 判断 如果当前的一行被勾选, 再次点击的时候就会取消选中 | 138 | // 判断 如果当前的一行被勾选, 再次点击的时候就会取消选中 |
| 139 | if (item == row) { | 139 | if (item == row) { |
| 140 | this.$refs.table.toggleRowSelection(row, false); | 140 | this.$refs.table.toggleRowSelection(row, false); |
| 141 | } | 141 | } |
| 142 | // 不然就让当前的一行勾选 | 142 | // 不然就让当前的一行勾选 |
| 143 | else { | 143 | else { |
| 144 | this.$refs.table.toggleRowSelection(row, true); | 144 | this.$refs.table.toggleRowSelection(row, true); |
| 145 | } | 145 | } |
| 146 | }) | 146 | }) |
| 147 | } | 147 | } |
| 148 | else { | 148 | else { |
| 149 | this.$refs.table.toggleRowSelection(row, true); | 149 | this.$refs.table.toggleRowSelection(row, true); |
| 150 | } | 150 | } |
| 151 | }else{ | 151 | } else { |
| 152 | this.$refs.table.toggleRowSelection(row); | 152 | this.$refs.table.toggleRowSelection(row); |
| 153 | } | 153 | } |
| 154 | }, | 154 | }, |
| 155 | }, | 155 | }, |
| 156 | }; | 156 | }; | ... | ... |
| ... | @@ -75,7 +75,7 @@ | ... | @@ -75,7 +75,7 @@ |
| 75 | }, | 75 | }, |
| 76 | methods: { | 76 | methods: { |
| 77 | queryClick () { | 77 | queryClick () { |
| 78 | console.log("申请业务单一流向状态",this.sqywInfo.sqywdylx); | 78 | console.log("申请业务单一流向状态", this.sqywInfo.sqywdylx); |
| 79 | this.$startLoading(); | 79 | this.$startLoading(); |
| 80 | this.queryForm.sqywbm = this.sqywInfo.djywbm; | 80 | this.queryForm.sqywbm = this.sqywInfo.djywbm; |
| 81 | selectYgdy({ ...this.queryForm, ...this.pageData }).then((res) => { | 81 | selectYgdy({ ...this.queryForm, ...this.pageData }).then((res) => { |
| ... | @@ -109,48 +109,48 @@ | ... | @@ -109,48 +109,48 @@ |
| 109 | } else { | 109 | } else { |
| 110 | store.dispatch('user/refreshPage', true); | 110 | store.dispatch('user/refreshPage', true); |
| 111 | } | 111 | } |
| 112 | this.$popupCacel() | ||
| 112 | } else { | 113 | } else { |
| 113 | this.$message.error(res.message); | 114 | this.$message.error(res.message); |
| 114 | } | 115 | } |
| 115 | this.$popupCacel() | ||
| 116 | }) | 116 | }) |
| 117 | }, | 117 | }, |
| 118 | handleSelectionChange (val) { | 118 | handleSelectionChange (val) { |
| 119 | this.bdcdysz = val; | 119 | this.bdcdysz = val; |
| 120 | }, | 120 | }, |
| 121 | select(selection, row){ | 121 | select (selection, row) { |
| 122 | if(this.sqywInfo.sqywdylx=="1"){ | 122 | if (this.sqywInfo.sqywdylx == "1") { |
| 123 | // 清除 所有勾选项 | 123 | // 清除 所有勾选项 |
| 124 | this.$refs.table.clearSelection() | 124 | this.$refs.table.clearSelection() |
| 125 | // 当表格数据都没有被勾选的时候 就返回 | 125 | // 当表格数据都没有被勾选的时候 就返回 |
| 126 | // 主要用于将当前勾选的表格状态清除 | 126 | // 主要用于将当前勾选的表格状态清除 |
| 127 | if(selection.length == 0) return | 127 | if (selection.length == 0) return |
| 128 | this.$refs.table.toggleRowSelection(row, true); | 128 | this.$refs.table.toggleRowSelection(row, true); |
| 129 | } | 129 | } |
| 130 | }, | 130 | }, |
| 131 | handleRowClick(row){ | 131 | handleRowClick (row) { |
| 132 | // 如果状态是1,那就是单选 | 132 | // 如果状态是1,那就是单选 |
| 133 | if(this.sqywInfo.sqywdylx=="1"){ | 133 | if (this.sqywInfo.sqywdylx == "1") { |
| 134 | const bdcdysz = this.bdcdysz | 134 | const bdcdysz = this.bdcdysz |
| 135 | this.$refs.table.clearSelection() | 135 | this.$refs.table.clearSelection() |
| 136 | if( bdcdysz.length == 1 ) { | 136 | if (bdcdysz.length == 1) { |
| 137 | bdcdysz.forEach(item => { | 137 | bdcdysz.forEach(item => { |
| 138 | // 判断 如果当前的一行被勾选, 再次点击的时候就会取消选中 | 138 | // 判断 如果当前的一行被勾选, 再次点击的时候就会取消选中 |
| 139 | if (item == row) { | 139 | if (item == row) { |
| 140 | this.$refs.table.toggleRowSelection(row, false); | 140 | this.$refs.table.toggleRowSelection(row, false); |
| 141 | } | 141 | } |
| 142 | // 不然就让当前的一行勾选 | 142 | // 不然就让当前的一行勾选 |
| 143 | else { | 143 | else { |
| 144 | this.$refs.table.toggleRowSelection(row, true); | 144 | this.$refs.table.toggleRowSelection(row, true); |
| 145 | } | 145 | } |
| 146 | }) | 146 | }) |
| 147 | } | 147 | } |
| 148 | else { | 148 | else { |
| 149 | this.$refs.table.toggleRowSelection(row, true); | 149 | this.$refs.table.toggleRowSelection(row, true); |
| 150 | } | 150 | } |
| 151 | }else{ | 151 | } else { |
| 152 | this.$refs.table.toggleRowSelection(row); | 152 | this.$refs.table.toggleRowSelection(row); |
| 153 | } | 153 | } |
| 154 | }, | 154 | }, |
| 155 | }, | 155 | }, |
| 156 | }; | 156 | }; | ... | ... |
| ... | @@ -75,10 +75,10 @@ | ... | @@ -75,10 +75,10 @@ |
| 75 | sendThis(this); | 75 | sendThis(this); |
| 76 | }, | 76 | }, |
| 77 | methods: { | 77 | methods: { |
| 78 | queryClick () { | 78 | queryClick () { |
| 79 | this.$startLoading(); | 79 | this.$startLoading(); |
| 80 | this.queryForm.zrzbsm = this.sqywInfo.zrzbsm; | 80 | this.queryForm.zrzbsm = this.sqywInfo.zrzbsm; |
| 81 | selectHQjdc({...this.queryForm, ...this.pageData }).then((res) => { | 81 | selectHQjdc({ ...this.queryForm, ...this.pageData }).then((res) => { |
| 82 | this.$endLoading(); | 82 | this.$endLoading(); |
| 83 | if (res.code === 200) { | 83 | if (res.code === 200) { |
| 84 | let { total, records } = res.result; | 84 | let { total, records } = res.result; |
| ... | @@ -109,48 +109,48 @@ | ... | @@ -109,48 +109,48 @@ |
| 109 | } else { | 109 | } else { |
| 110 | store.dispatch('user/refreshPage', true); | 110 | store.dispatch('user/refreshPage', true); |
| 111 | } | 111 | } |
| 112 | this.$popupCacel() | ||
| 112 | } else { | 113 | } else { |
| 113 | this.$message.error(res.message); | 114 | this.$message.error(res.message); |
| 114 | } | 115 | } |
| 115 | this.$popupCacel() | ||
| 116 | }) | 116 | }) |
| 117 | }, | 117 | }, |
| 118 | handleSelectionChange (val) { | 118 | handleSelectionChange (val) { |
| 119 | this.bdcdysz = val; | 119 | this.bdcdysz = val; |
| 120 | }, | 120 | }, |
| 121 | select(selection, row){ | 121 | select (selection, row) { |
| 122 | if(this.sqywInfo.sqywdylx=="1"){ | 122 | if (this.sqywInfo.sqywdylx == "1") { |
| 123 | // 清除 所有勾选项 | 123 | // 清除 所有勾选项 |
| 124 | this.$refs.table.clearSelection() | 124 | this.$refs.table.clearSelection() |
| 125 | // 当表格数据都没有被勾选的时候 就返回 | 125 | // 当表格数据都没有被勾选的时候 就返回 |
| 126 | // 主要用于将当前勾选的表格状态清除 | 126 | // 主要用于将当前勾选的表格状态清除 |
| 127 | if(selection.length == 0) return | 127 | if (selection.length == 0) return |
| 128 | this.$refs.table.toggleRowSelection(row, true); | 128 | this.$refs.table.toggleRowSelection(row, true); |
| 129 | } | 129 | } |
| 130 | }, | 130 | }, |
| 131 | handleRowClick(row){ | 131 | handleRowClick (row) { |
| 132 | // 如果状态是1,那就是单选 | 132 | // 如果状态是1,那就是单选 |
| 133 | if(this.sqywInfo.sqywdylx=="1"){ | 133 | if (this.sqywInfo.sqywdylx == "1") { |
| 134 | const bdcdysz = this.bdcdysz | 134 | const bdcdysz = this.bdcdysz |
| 135 | this.$refs.table.clearSelection() | 135 | this.$refs.table.clearSelection() |
| 136 | if( bdcdysz.length == 1 ) { | 136 | if (bdcdysz.length == 1) { |
| 137 | bdcdysz.forEach(item => { | 137 | bdcdysz.forEach(item => { |
| 138 | // 判断 如果当前的一行被勾选, 再次点击的时候就会取消选中 | 138 | // 判断 如果当前的一行被勾选, 再次点击的时候就会取消选中 |
| 139 | if (item == row) { | 139 | if (item == row) { |
| 140 | this.$refs.table.toggleRowSelection(row, false); | 140 | this.$refs.table.toggleRowSelection(row, false); |
| 141 | } | 141 | } |
| 142 | // 不然就让当前的一行勾选 | 142 | // 不然就让当前的一行勾选 |
| 143 | else { | 143 | else { |
| 144 | this.$refs.table.toggleRowSelection(row, true); | 144 | this.$refs.table.toggleRowSelection(row, true); |
| 145 | } | 145 | } |
| 146 | }) | 146 | }) |
| 147 | } | 147 | } |
| 148 | else { | 148 | else { |
| 149 | this.$refs.table.toggleRowSelection(row, true); | 149 | this.$refs.table.toggleRowSelection(row, true); |
| 150 | } | 150 | } |
| 151 | }else{ | 151 | } else { |
| 152 | this.$refs.table.toggleRowSelection(row); | 152 | this.$refs.table.toggleRowSelection(row); |
| 153 | } | 153 | } |
| 154 | }, | 154 | }, |
| 155 | }, | 155 | }, |
| 156 | }; | 156 | }; | ... | ... |
| ... | @@ -34,14 +34,14 @@ | ... | @@ -34,14 +34,14 @@ |
| 34 | <div v-if="selectType == 'amend'" class="right-situation el-card"> | 34 | <div v-if="selectType == 'amend'" class="right-situation el-card"> |
| 35 | <div class="right-title">登记簿补录</div> | 35 | <div class="right-title">登记簿补录</div> |
| 36 | <ul> | 36 | <ul> |
| 37 | <li :class="item.selected ? 'cactive' : ''" v-for="(item, index) in djqxList" :key="index" | 37 | <li :class="item.selected ? 'cactive' : ''" v-for="(item, index) in djqxList" :key="index" |
| 38 | @dblclick="dblclick(djqxList, index, item)" @click="selectSqywClick(djqxList, index)"> | 38 | @dblclick="dblclick(djqxList, index, item)" @click="selectSqywClick(djqxList, index)"> |
| 39 | <dt>{{ item.nodename }}</dt> | 39 | <dt>{{ item.nodename }}</dt> |
| 40 | <p :class="item.userCollect == 1 ? 'active' : ''" @click.stop="handleCollection(item)"> | 40 | <p :class="item.userCollect == 1 ? 'active' : ''" @click.stop="handleCollection(item)"> |
| 41 | <i class="el-icon-star-off"></i> | 41 | <i class="el-icon-star-off"></i> |
| 42 | </p> | 42 | </p> |
| 43 | </li> | 43 | </li> |
| 44 | </ul> | 44 | </ul> |
| 45 | </div> | 45 | </div> |
| 46 | <!-- 业务申请 --> | 46 | <!-- 业务申请 --> |
| 47 | <template v-if="selectType == 'apply'"> | 47 | <template v-if="selectType == 'apply'"> |
| ... | @@ -80,7 +80,7 @@ | ... | @@ -80,7 +80,7 @@ |
| 80 | </div> | 80 | </div> |
| 81 | </template> | 81 | </template> |
| 82 | <script> | 82 | <script> |
| 83 | import { getCollectBiz, getleftMenu, getNextNode,getRepairBiz, addCollectBiz, deleteCollectBiz } from "@/api/ywbl" | 83 | import { getCollectBiz, getleftMenu, getNextNode, getRepairBiz, addCollectBiz, deleteCollectBiz } from "@/api/ywbl" |
| 84 | export default { | 84 | export default { |
| 85 | data () { | 85 | data () { |
| 86 | return { | 86 | return { |
| ... | @@ -127,20 +127,20 @@ | ... | @@ -127,20 +127,20 @@ |
| 127 | }, | 127 | }, |
| 128 | //申请业务类型菜单事件 | 128 | //申请业务类型菜单事件 |
| 129 | sqywlxClick (item) { | 129 | sqywlxClick (item) { |
| 130 | console.log("item",item); | 130 | console.log("item", item); |
| 131 | this.btnDisabled = true; | 131 | this.btnDisabled = true; |
| 132 | this.selectType = item.type; | 132 | this.selectType = item.type; |
| 133 | console.log("this.sqywQllxList",this.sqywQllxList); | 133 | console.log("this.sqywQllxList", this.sqywQllxList); |
| 134 | this.sqywQllxList.forEach(item => { | 134 | this.sqywQllxList.forEach(item => { |
| 135 | if (item.check) item.check = false; | 135 | if (item.check) item.check = false; |
| 136 | }); | 136 | }); |
| 137 | if(this.selectType == 'amend'){ | 137 | if (this.selectType == 'amend') { |
| 138 | this.getRepairBiz(); | 138 | this.getRepairBiz(); |
| 139 | } | 139 | } |
| 140 | }, | 140 | }, |
| 141 | //权利类型菜单事件 | 141 | //权利类型菜单事件 |
| 142 | qllxClick (index) { | 142 | qllxClick (index) { |
| 143 | console.log("业务",index); | 143 | console.log("业务", index); |
| 144 | this.btnDisabled = true; | 144 | this.btnDisabled = true; |
| 145 | this.sqywQllxList.forEach(item => { | 145 | this.sqywQllxList.forEach(item => { |
| 146 | if (item.check) item.check = false; | 146 | if (item.check) item.check = false; |
| ... | @@ -153,7 +153,6 @@ | ... | @@ -153,7 +153,6 @@ |
| 153 | }, | 153 | }, |
| 154 | //选择申请业务事件 | 154 | //选择申请业务事件 |
| 155 | selectSqywClick (data, index) { | 155 | selectSqywClick (data, index) { |
| 156 | console.log("选择",data,index); | ||
| 157 | data.forEach(item => { | 156 | data.forEach(item => { |
| 158 | item.selected = false; | 157 | item.selected = false; |
| 159 | }); | 158 | }); |
| ... | @@ -184,16 +183,14 @@ | ... | @@ -184,16 +183,14 @@ |
| 184 | }) | 183 | }) |
| 185 | }, | 184 | }, |
| 186 | 185 | ||
| 187 | //获取下个节点类型数据 | 186 | //获取下个节点类型数据 |
| 188 | getRepairBiz () { | 187 | getRepairBiz () { |
| 189 | getRepairBiz().then(res => { | 188 | getRepairBiz().then(res => { |
| 190 | if (res) { | 189 | if (res) { |
| 191 | console.log("res",res); | 190 | console.log("res", res); |
| 192 | this.djqxList = res.result; | 191 | this.djqxList = res.result; |
| 193 | 192 | } | |
| 194 | }; | 193 | }) |
| 195 | }) | ||
| 196 | |||
| 197 | }, | 194 | }, |
| 198 | //双击事件 | 195 | //双击事件 |
| 199 | dblclick (data, index, item) { | 196 | dblclick (data, index, item) { |
| ... | @@ -207,7 +204,6 @@ | ... | @@ -207,7 +204,6 @@ |
| 207 | }, | 204 | }, |
| 208 | //收藏操作 | 205 | //收藏操作 |
| 209 | handleCollection (item) { | 206 | handleCollection (item) { |
| 210 | console.log("item收藏",item); | ||
| 211 | let that = this | 207 | let that = this |
| 212 | if (item.userCollect == '2') { | 208 | if (item.userCollect == '2') { |
| 213 | addCollectBiz(item.bsmSqyw).then(res => { | 209 | addCollectBiz(item.bsmSqyw).then(res => { |
| ... | @@ -283,10 +279,10 @@ | ... | @@ -283,10 +279,10 @@ |
| 283 | this.openDialog() | 279 | this.openDialog() |
| 284 | }, | 280 | }, |
| 285 | openDialog () { | 281 | openDialog () { |
| 286 | console.log("this.selectParam",this.selectParam); | 282 | console.log("this.selectParam", this.selectParam); |
| 287 | let title = "申请业务:" + this.selectParam?.djywmc ? this.selectParam?.djywmc : ''; | 283 | let title = "申请业务:" + this.selectParam?.djywmc ? this.selectParam?.djywmc : ''; |
| 288 | 284 | ||
| 289 | this.$popupDialog(title, "ywbl/ywsq/selectBdc", { 'sqywInfo': this.selectParam }, "80%") | 285 | this.$popupDialog(title, "ywbl/ywsq/selectBdc", { 'sqywInfo': this.selectParam }, "85%") |
| 290 | }, | 286 | }, |
| 291 | loadView (view) { | 287 | loadView (view) { |
| 292 | return r => require.ensure([], () => r(require(`./components/${view}/${view}.vue`))) | 288 | return r => require.ensure([], () => r(require(`./components/${view}/${view}.vue`))) | ... | ... |
| ... | @@ -4,8 +4,8 @@ export function queueDjywmc(djywbm, djqxbm) { | ... | @@ -4,8 +4,8 @@ export function queueDjywmc(djywbm, djqxbm) { |
| 4 | return "selectJsydsyqSplitMerge"; | 4 | return "selectJsydsyqSplitMerge"; |
| 5 | } | 5 | } |
| 6 | if (djqxbm == "DJBBL001") { | 6 | if (djqxbm == "DJBBL001") { |
| 7 | return "selectDjbbl"; | 7 | return "selectDjbbl"; |
| 8 | } | 8 | } |
| 9 | let vm = null; | 9 | let vm = null; |
| 10 | switch (djywbm) { | 10 | switch (djywbm) { |
| 11 | case "A03100"://建设用地使用权(首次登记) | 11 | case "A03100"://建设用地使用权(首次登记) | ... | ... |
-
Please register or sign in to post a comment