45d0aaf4 by liangyifan

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

# Conflicts:
#	src/api/ywbl.js
2 parents f69ef313 e2679cda
...@@ -31,7 +31,6 @@ export function getNextNode (bsmSqyw) { ...@@ -31,7 +31,6 @@ export function getNextNode (bsmSqyw) {
31 /* 31 /*
32 业务办理-选择单元-根据条件进行列表查询 32 业务办理-选择单元-根据条件进行列表查询
33 */ 33 */
34 //
35 export function getselectBdcdy (data) { 34 export function getselectBdcdy (data) {
36 return request({ 35 return request({
37 url: '/ywbl/ywsq/selectBdcdy', 36 url: '/ywbl/ywsq/selectBdcdy',
...@@ -47,3 +46,14 @@ export function searchTaskToDo (data) { ...@@ -47,3 +46,14 @@ export function searchTaskToDo (data) {
47 data 46 data
48 }) 47 })
49 } 48 }
49
50 /*
51 业务办理-发起业务申请流程
52 */
53 export function startBusinessFlow (data) {
54 return request({
55 url: '/business/workFlow/startBusinessFlow',
56 method: 'post',
57 data
58 })
59 }
......
...@@ -44,7 +44,8 @@ ...@@ -44,7 +44,8 @@
44 <!-- 表格 --> 44 <!-- 表格 -->
45 <div class="from-clues-content"> 45 <div class="from-clues-content">
46 <lb-table :page-size="pageData.pageSize" heightNumSetting :current-page.sync="pageData.currentPage" 46 <lb-table :page-size="pageData.pageSize" heightNumSetting :current-page.sync="pageData.currentPage"
47 :total="tableData.total" @size-change="handleSizeChange" @p-current-change="handleCurrentChange" 47 :total="pageData.total" @size-change="handleSizeChange" @p-current-change="handleCurrentChange"
48 @selection-change="handleSelectionChange"
48 :column="tableData.columns" :data="tableData.data"> 49 :column="tableData.columns" :data="tableData.data">
49 </lb-table> 50 </lb-table>
50 </div> 51 </div>
...@@ -54,11 +55,9 @@ ...@@ -54,11 +55,9 @@
54 55
55 </template> 56 </template>
56 <script> 57 <script>
57 import { datas } from "../ywsqdata.js"; 58 import { datas } from "./gyjsydsyqdata.js";
58 import table from "@/utils/mixin/table";
59 import { getselectBdcdy } from "@/api/ywbl.js" 59 import { getselectBdcdy } from "@/api/ywbl.js"
60 export default { 60 export default {
61 mixins: [table],
62 props: { 61 props: {
63 value: { type: Boolean, default: false }, 62 value: { type: Boolean, default: false },
64 }, 63 },
...@@ -70,22 +69,31 @@ export default { ...@@ -70,22 +69,31 @@ export default {
70 bdcdyh: "", 69 bdcdyh: "",
71 ywh: "", 70 ywh: "",
72 bdcqzh: "", 71 bdcqzh: "",
73 sqywbm: 'A03100' 72 sqywbm:'A03100'
74 }, 73 },
75 qllxs: [], 74 qllxs: [],
76 tableData: { 75 pageData: {
76 pageSize: 10,
77 currentPage: 1,
77 total: 0, 78 total: 0,
79 },
80 tableData: {
78 columns: datas.columns(), 81 columns: datas.columns(),
79 data: [] 82 data: [
83
84 ]
80 } 85 }
81 } 86 }
82 }, 87 },
88 created(){
89 this.list()
90 },
83 methods: { 91 methods: {
84 fetchData () { 92 list(data){
85 getselectBdcdy({ ...this.queryForm, ...this.pageData }).then(res => { 93 getselectBdcdy({ ...this.queryForm, ...this.pageData,...data }).then(res => {
86 if (res.code === 200) { 94 if (res.code === 200) {
87 let { total, records } = res.result 95 let { total, records } = res.result
88 this.tableData.total = total; 96 this.pageData.total = total;
89 this.tableData.data = records 97 this.tableData.data = records
90 } 98 }
91 }) 99 })
...@@ -97,7 +105,19 @@ export default { ...@@ -97,7 +105,19 @@ export default {
97 }, 105 },
98 closeDialog () { 106 closeDialog () {
99 this.$emit('input', false) 107 this.$emit('input', false)
100 } 108 },
109 handleSizeChange (val) {
110 this.list({
111 pageSize: val,
112 currentPage: this.pageData.currentPage,
113 });
114 },
115 handleCurrentChange (val) {
116 this.list({ pageSize: this.pageData.pageSize, currentPage: val });
117 },
118 handleSelectionChange(val){
119
120 },
101 } 121 }
102 } 122 }
103 </script> 123 </script>
......
1 import filter from '@/utils/filter.js'
2 let vm = null
3
4 const sendThis = (_this) => {
5 vm = _this
6 }
7 class data extends filter {
8 constructor() {
9 super()
10 }
11 columns () {
12 return [
13 {
14 type: 'selection',
15 label: '全选'
16 },
17 {
18 label: '序号',
19 type: 'index',
20 width: '50'
21 },
22 {
23 prop: "status",
24 label: "状态",
25 },
26 {
27 prop: "qllx",
28 label: "权利类型",
29 },
30 {
31 prop: "zddm",
32 label: "宗地代码",
33 },
34 {
35 prop: "bdcdyh",
36 label: "不动产单元号",
37 },
38 {
39 prop: "qlxz",
40 label: "权利性质",
41 },
42 {
43 prop: "zdmj",
44 label: "宗地面积",
45 },
46 {
47 prop: "qlsdfs",
48 label: "权利设定方式",
49 },
50 {
51 prop: "tdyt",
52 label: "土地用途",
53 },
54 {
55 prop: "zl",
56 label: "坐落",
57 },
58 ]
59 }
60
61
62 }
63 let datas = new data()
64 export {
65 datas,
66 }
...@@ -63,12 +63,12 @@ ...@@ -63,12 +63,12 @@
63 <el-button type="primary" :disabled="btnDisabled" @click="btnClick()">选择不动产信息</el-button> 63 <el-button type="primary" :disabled="btnDisabled" @click="btnClick()">选择不动产信息</el-button>
64 </div> 64 </div>
65 </div> 65 </div>
66 <choiceDialog v-model="isDialog" /> 66 <choiceDialog v-model="isDialog" :bsmSqyw="bsmSqyw" />
67 </div> 67 </div>
68 </template> 68 </template>
69 <script> 69 <script>
70 import { getCollectBiz, getleftMenu, getNextNode } from "@/api/ywbl" 70 import { getCollectBiz, getleftMenu, getNextNode } from "@/api/ywbl"
71 import choiceDialog from "./components/selectql.vue" 71 import choiceDialog from "./components/gyjsydsyq/gyjsydsyq.vue"
72 export default { 72 export default {
73 data () { 73 data () {
74 return { 74 return {
...@@ -87,6 +87,7 @@ export default { ...@@ -87,6 +87,7 @@ export default {
87 } 87 }
88 ], 88 ],
89 djqxList: [], 89 djqxList: [],
90 bsmSqyw: '',
90 isDialog: false, 91 isDialog: false,
91 btnDisabled: true 92 btnDisabled: true
92 } 93 }
...@@ -125,6 +126,7 @@ export default { ...@@ -125,6 +126,7 @@ export default {
125 item.cselect = !item.cselect 126 item.cselect = !item.cselect
126 if (item.sffqlc == '1') { 127 if (item.sffqlc == '1') {
127 this.btnDisabled = false 128 this.btnDisabled = false
129 this.bsmSqyw = item.bsmSqyw
128 } 130 }
129 }, 131 },
130 handleList (list, obj) { 132 handleList (list, obj) {
...@@ -165,6 +167,7 @@ export default { ...@@ -165,6 +167,7 @@ export default {
165 this.$set(item, 'select', true) 167 this.$set(item, 'select', true)
166 if (item.sffqlc == '1') { 168 if (item.sffqlc == '1') {
167 this.btnDisabled = false 169 this.btnDisabled = false
170 this.bsmSqyw = item.bsmSqyw
168 } else { 171 } else {
169 this.getNextNode(item.bsmSqyw) 172 this.getNextNode(item.bsmSqyw)
170 } 173 }
......
...@@ -17,7 +17,14 @@ class data extends filter { ...@@ -17,7 +17,14 @@ class data extends filter {
17 { 17 {
18 label: '序号', 18 label: '序号',
19 type: 'index', 19 type: 'index',
20 width: '50' 20 width: '50',
21 render: (h, scope) => {
22 return (
23 <div>
24 {(vm.pageData.currentPage - 1) * vm.pageData.pageSize + scope.$index + 1}
25 </div>
26 )
27 }
21 }, 28 },
22 { 29 {
23 prop: "status", 30 prop: "status",
...@@ -63,4 +70,5 @@ class data extends filter { ...@@ -63,4 +70,5 @@ class data extends filter {
63 let datas = new data() 70 let datas = new data()
64 export { 71 export {
65 datas, 72 datas,
73 sendThis
66 } 74 }
......