306e13db by renchao@pashanhoo.com

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

2 parents 57b0fcf0 31bf6e58
...@@ -11,7 +11,7 @@ ...@@ -11,7 +11,7 @@
11 <template> 11 <template>
12 <div :class="['lb-table', customClass]"> 12 <div :class="['lb-table', customClass]">
13 <el-table v-if="!heightNumSetting" class="table-fixed" :row-style="{ height: '50px' }" ref="elTable" :border='border' 13 <el-table v-if="!heightNumSetting" class="table-fixed" :row-style="{ height: '50px' }" ref="elTable" :border='border'
14 :row-class-name="tableRowClassName" :show-header='showHeader' @row-dblclick="singleElection" v-bind="$attrs" 14 :row-class-name="tableRowClassName" :show-header='showHeader' @row-click="singleElection" v-bind="$attrs"
15 :height="tableHeight" v-on="$listeners" :data="data" style="width: 100%" 15 :height="tableHeight" v-on="$listeners" :data="data" style="width: 100%"
16 :span-method="this.merge ? this.mergeMethod : this.spanMethod"> 16 :span-method="this.merge ? this.mergeMethod : this.spanMethod">
17 <el-table-column width="45" align="center" v-if="isRadio"> 17 <el-table-column width="45" align="center" v-if="isRadio">
...@@ -25,7 +25,7 @@ ...@@ -25,7 +25,7 @@
25 </el-table> 25 </el-table>
26 26
27 <el-table v-else ref="elTable" id="heightNumSetting" class="table-fixed" :row-style="{ height: '50px' }" 27 <el-table v-else ref="elTable" id="heightNumSetting" class="table-fixed" :row-style="{ height: '50px' }"
28 :border='border' :row-class-name="tableRowClassName" :show-header='showHeader' @row-dblclick="singleElection" v-bind="$attrs" 28 :border='border' :row-class-name="tableRowClassName" :show-header='showHeader' @row-click="singleElection" v-bind="$attrs"
29 :max-height="maxHeight" :height="tableHeight" v-on="$listeners" :data="data" style="width: 100%" 29 :max-height="maxHeight" :height="tableHeight" v-on="$listeners" :data="data" style="width: 100%"
30 :span-method="this.merge ? this.mergeMethod : this.spanMethod"> 30 :span-method="this.merge ? this.mergeMethod : this.spanMethod">
31 31
...@@ -126,6 +126,7 @@ ...@@ -126,6 +126,7 @@
126 methods: { 126 methods: {
127 // 单选 127 // 单选
128 singleElection (row) { 128 singleElection (row) {
129 console.log("点击行");
129 this.selected = this.data.indexOf(row); 130 this.selected = this.data.indexOf(row);
130 }, 131 },
131 132
......
1 <!--
2 * @Description :宗地基本信息
3 * @Autor : miaofang
4 * @LastEditTime : 2023-05-24 15:08:51
5 -->
1 <template> 6 <template>
2 <div class="tableDivCss"> 7 <div class="tableDivCss">
3 <table cellpadding="0" cellspacing="0" class="tableCss"> 8 <table cellpadding="0" cellspacing="0" class="tableCss">
...@@ -188,7 +193,11 @@ ...@@ -188,7 +193,11 @@
188 }, 193 },
189 methods: { 194 methods: {
190 loadData () { 195 loadData () {
191 getZdjjxxBybdcdyid({ bdcdyid: this.propsParam.bdcdyid }).then((res) => { 196 if(this.propsParam.bsmSldy){
197 console.log("宗地基本信息");
198 }else{
199 console.log("登记簿里宗地基本信息");
200 getZdjjxxBybdcdyid({ bdcdyid: this.propsParam.bdcdyid }).then((res) => {
192 if (res.code === 200) { 201 if (res.code === 200) {
193 this.zdjbxx = res.result.zdjbxx; 202 this.zdjbxx = res.result.zdjbxx;
194 this.zdbhqks = res.result.zdbhqkList; 203 this.zdbhqks = res.result.zdbhqkList;
...@@ -197,6 +206,8 @@ ...@@ -197,6 +206,8 @@
197 } 206 }
198 } 207 }
199 }) 208 })
209 }
210
200 } 211 }
201 } 212 }
202 } 213 }
......
...@@ -27,7 +27,7 @@ ...@@ -27,7 +27,7 @@
27 </div> 27 </div>
28 <!-- 表格 --> 28 <!-- 表格 -->
29 <div class="from-clues-content loadingtext"> 29 <div class="from-clues-content loadingtext">
30 <lb-table ref="table" @row-dblclick="handleRowClick" :page-size="pageData.pageSize" :calcHeight="300" 30 <lb-table ref="table" @row-click="handleRowClick" :page-size="pageData.pageSize" :calcHeight="300"
31 :current-page.sync="pageData.currentPage" :total="tableData.total" @size-change="handleSizeChange" 31 :current-page.sync="pageData.currentPage" :total="tableData.total" @size-change="handleSizeChange"
32 @p-current-change="handleCurrentChange" @selection-change="handleSelectionChange" :column="tableData.columns" 32 @p-current-change="handleCurrentChange" @selection-change="handleSelectionChange" :column="tableData.columns"
33 :data="tableData.data"> 33 :data="tableData.data">
...@@ -46,7 +46,7 @@ ...@@ -46,7 +46,7 @@
46 import { defaultParameters } from "../javascript/publicDefaultPar.js"; 46 import { defaultParameters } from "../javascript/publicDefaultPar.js";
47 import table from "@/utils/mixin/table"; 47 import table from "@/utils/mixin/table";
48 import jump from "./mixin/jump"; 48 import jump from "./mixin/jump";
49 import { startBusinessFlow, selectZdjbxx } from "@/api/ywbl.js"; 49 import { startBusinessFlow, selectZdjbxx} from "@/api/ywbl.js";
50 export default { 50 export default {
51 mixins: [table, jump], 51 mixins: [table, jump],
52 props: { 52 props: {
...@@ -56,11 +56,12 @@ ...@@ -56,11 +56,12 @@
56 data () { 56 data () {
57 return { 57 return {
58 queryForm: defaultParameters.defaultParameters(), 58 queryForm: defaultParameters.defaultParameters(),
59 tableData: { 59 tableData: {
60 total: 0, 60 total: 0,
61 columns: datas.columns(), 61 columns: datas.columns(),
62 data: [], 62 data: [],
63 }, 63 },
64 radioVal: "",
64 bdcdysz: [], 65 bdcdysz: [],
65 bsmSqyw: 66 bsmSqyw:
66 this.sqywInfo.nodetype === "djlx" 67 this.sqywInfo.nodetype === "djlx"
...@@ -81,9 +82,23 @@ ...@@ -81,9 +82,23 @@
81 let { total, records } = res.result; 82 let { total, records } = res.result;
82 this.tableData.total = total; 83 this.tableData.total = total;
83 this.tableData.data = records; 84 this.tableData.data = records;
85 // this.tableData.columns.splice(0, 1,{
86 // label: '选择',
87 // width: '50px',
88 // render: (h, scope) => {
89 // return (
90 // <div class="orgColumn">
91 // <el-radio v-model={this.radioVal} label={scope.row.bdcdyh}>
92 // &ensp;
93 // </el-radio>
94 // </div>
95 // )
96 // }
97 // })
84 } 98 }
85 }); 99 });
86 }, 100 },
101
87 submitForm () { 102 submitForm () {
88 if (this.bdcdysz.length == 0) { 103 if (this.bdcdysz.length == 0) {
89 this.$alert("请至少选择一条数据"); 104 this.$alert("请至少选择一条数据");
...@@ -114,6 +129,7 @@ ...@@ -114,6 +129,7 @@
114 handleSelectionChange (val) { 129 handleSelectionChange (val) {
115 this.bdcdysz = val; 130 this.bdcdysz = val;
116 }, 131 },
132
117 }, 133 },
118 }; 134 };
119 </script> 135 </script>
......