Merge branch 'master' of http://yun.pashanhoo.com:9090/bdc/bdcdj-web
Showing
21 changed files
with
383 additions
and
269 deletions
... | @@ -224,9 +224,9 @@ export default { | ... | @@ -224,9 +224,9 @@ export default { |
224 | } | 224 | } |
225 | 225 | ||
226 | &.active { | 226 | &.active { |
227 | background-color: #42b983; | 227 | background-color: #0794FF; |
228 | color: #fff; | 228 | color: #fff; |
229 | border-color: #42b983; | 229 | border-color: #0794FF; |
230 | 230 | ||
231 | &::before { | 231 | &::before { |
232 | content: ''; | 232 | content: ''; | ... | ... |
... | @@ -3,12 +3,12 @@ import Loading from '@/components/loading/index.js'; | ... | @@ -3,12 +3,12 @@ import Loading from '@/components/loading/index.js'; |
3 | let loading | 3 | let loading |
4 | 4 | ||
5 | // loading开始 方法 | 5 | // loading开始 方法 |
6 | function startLoading (target, loadingText = '正在加载中...') { | 6 | function startLoading (loadingText = '正在加载中...') { |
7 | loading = Loading.service({ | 7 | loading = Loading.service({ |
8 | text: loadingText, | 8 | text: loadingText, |
9 | spinner: 'el-icon-loading', | 9 | spinner: 'el-icon-loading', |
10 | background: 'rgba(255, 255, 255, 0.5)', | 10 | background: 'rgba(255, 255, 255, 0.5)', |
11 | target: target ? '#' + target : 'body' | 11 | target: document.querySelector('.loadingtext') |
12 | }) | 12 | }) |
13 | } | 13 | } |
14 | 14 | ... | ... |
... | @@ -2,24 +2,46 @@ | ... | @@ -2,24 +2,46 @@ |
2 | <div class="from-clues"> | 2 | <div class="from-clues"> |
3 | <!-- 表单部分 --> | 3 | <!-- 表单部分 --> |
4 | <div class="from-clues-header"> | 4 | <div class="from-clues-header"> |
5 | <el-form :model="queryForm" ref="queryForm" @submit.native.prevent label-width="70px"> | 5 | <el-form |
6 | :model="queryForm" | ||
7 | ref="queryForm" | ||
8 | @submit.native.prevent | ||
9 | label-width="70px" | ||
10 | > | ||
6 | <el-row> | 11 | <el-row> |
7 | <el-col :span="5"> | 12 | <el-col :span="5"> |
8 | <el-form-item label="查询编号"> | 13 | <el-form-item label="查询编号"> |
9 | <el-input placeholder="请输入编号" v-model="queryForm.cxbh" class="width100" clearable @clear="queryClick()"> | 14 | <el-input |
15 | placeholder="请输入编号" | ||
16 | v-model="queryForm.cxbh" | ||
17 | class="width100" | ||
18 | clearable | ||
19 | @clear="queryClick()" | ||
20 | > | ||
10 | </el-input> | 21 | </el-input> |
11 | </el-form-item> | 22 | </el-form-item> |
12 | </el-col> | 23 | </el-col> |
13 | <el-col :span="5"> | 24 | <el-col :span="5"> |
14 | <el-form-item label="申请人"> | 25 | <el-form-item label="申请人"> |
15 | <el-input placeholder="请输入申请人" v-model="queryForm.sqr" class="width100" @clear="queryClick()" clearable> | 26 | <el-input |
27 | placeholder="请输入申请人" | ||
28 | v-model="queryForm.sqr" | ||
29 | class="width100" | ||
30 | @clear="queryClick()" | ||
31 | clearable | ||
32 | > | ||
16 | </el-input> | 33 | </el-input> |
17 | </el-form-item> | 34 | </el-form-item> |
18 | </el-col> | 35 | </el-col> |
19 | 36 | ||
20 | <el-col :span="14" class="btnColRight"> | 37 | <el-col :span="14" class="btnColRight"> |
21 | <el-form-item> | 38 | <el-form-item> |
22 | <el-button type="primary" native-type="submit" @click="queryClick()">查询</el-button> | 39 | <el-button |
40 | type="primary" | ||
41 | native-type="submit" | ||
42 | @click="queryClick()" | ||
43 | >查询</el-button | ||
44 | > | ||
23 | <el-button @click="moreQueryClick()">高级查询</el-button> | 45 | <el-button @click="moreQueryClick()">高级查询</el-button> |
24 | </el-form-item> | 46 | </el-form-item> |
25 | </el-col> | 47 | </el-col> |
... | @@ -27,10 +49,19 @@ | ... | @@ -27,10 +49,19 @@ |
27 | </el-form> | 49 | </el-form> |
28 | </div> | 50 | </div> |
29 | <!-- 表格 --> | 51 | <!-- 表格 --> |
30 | <div class="from-clues-content"> | 52 | <div class="from-clues-content" id="divcontentid"> |
31 | <lb-table :page-size="pageData.size" id="dydjb" border @sort-change="handleSort" | 53 | <lb-table |
32 | :current-page.sync="pageData.current" :total="tableData.total" @size-change="handleSizeChange" | 54 | :page-size="pageData.size" |
33 | @p-current-change="handleCurrentChange" :column="tableData.columns" :data="tableData.data"> | 55 | id="dydjb" |
56 | border | ||
57 | @sort-change="handleSort" | ||
58 | :current-page.sync="pageData.current" | ||
59 | :total="tableData.total" | ||
60 | @size-change="handleSizeChange" | ||
61 | @p-current-change="handleCurrentChange" | ||
62 | :column="tableData.columns" | ||
63 | :data="tableData.data" | ||
64 | > | ||
34 | </lb-table> | 65 | </lb-table> |
35 | </div> | 66 | </div> |
36 | </div> | 67 | </div> |
... | @@ -44,13 +75,13 @@ import { getJtfcPage } from "@/api/jtfc"; | ... | @@ -44,13 +75,13 @@ import { getJtfcPage } from "@/api/jtfc"; |
44 | export default { | 75 | export default { |
45 | name: "dydjb", | 76 | name: "dydjb", |
46 | mixins: [table], | 77 | mixins: [table], |
47 | mounted () { | 78 | mounted() { |
48 | sendThis(this); | 79 | sendThis(this); |
49 | }, | 80 | }, |
50 | computed: { | 81 | computed: { |
51 | ...mapGetters(["dictData"]), | 82 | ...mapGetters(["dictData"]), |
52 | }, | 83 | }, |
53 | data () { | 84 | data() { |
54 | return { | 85 | return { |
55 | queryForm: { | 86 | queryForm: { |
56 | cxbh: "", | 87 | cxbh: "", |
... | @@ -64,36 +95,37 @@ export default { | ... | @@ -64,36 +95,37 @@ export default { |
64 | }; | 95 | }; |
65 | }, | 96 | }, |
66 | methods: { | 97 | methods: { |
98 | //查询 | ||
99 | queryClick() { | ||
100 | this.fetchData(); | ||
101 | }, | ||
67 | // 初始化数据 | 102 | // 初始化数据 |
68 | fetchData () { | 103 | fetchData() { |
69 | getJtfcPage({ ...this.queryForm, ...this.pageData }, { 'target': '#dydjb' }).then((res) => { | 104 | this.$startLoading("divcontentid"); |
70 | let { records, total } = res.result; | 105 | getJtfcPage({ ...this.queryForm, ...this.pageData }).then((res) => { |
71 | this.tableData.data = records; | 106 | this.$endLoading(); |
72 | this.tableData.total = total; | 107 | if (res.code === 200) { |
108 | let { records, total } = res.result; | ||
109 | this.tableData.data = records; | ||
110 | this.tableData.total = total; | ||
111 | } | ||
73 | }); | 112 | }); |
74 | }, | 113 | }, |
75 | handleSort (name, sort) { | 114 | dydjbClick(scope) { |
76 | console.log(name, sort); | ||
77 | }, | ||
78 | |||
79 | dydjbClick (scope) { | ||
80 | // var sqcxBsm = scope.row.bsmSqcx; | ||
81 | this.$popup("打印登记薄", "sqcx/dydjb/components/dydjbInfo", { | 115 | this.$popup("打印登记薄", "sqcx/dydjb/components/dydjbInfo", { |
82 | btnShow: true, | ||
83 | height: "800px", | 116 | height: "800px", |
84 | formData: { | 117 | formData: { |
85 | sqcxdata: scope.row, | 118 | sqcxdata: scope.row, |
86 | }, | 119 | }, |
87 | cancel: function () { }, //取消事件的回调 | 120 | cancel: function () {}, //取消事件的回调 |
88 | confirm: function () { | 121 | confirm: function () {}, |
89 | } | 122 | }); |
90 | }) | ||
91 | }, | 123 | }, |
92 | queryClick () { | 124 | handleSort(name, sort) { |
93 | this.fetchData(); | 125 | console.log(name, sort); |
94 | } | 126 | }, |
95 | } | 127 | }, |
96 | } | 128 | }; |
97 | </script> | 129 | </script> |
98 | <style scoped lang="scss"> | 130 | <style scoped lang="scss"> |
99 | @import "~@/styles/public.scss"; | 131 | @import "~@/styles/public.scss"; | ... | ... |
... | @@ -130,7 +130,6 @@ export default { | ... | @@ -130,7 +130,6 @@ export default { |
130 | } | 130 | } |
131 | }, | 131 | }, |
132 | queryChick () { | 132 | queryChick () { |
133 | debugger; | ||
134 | this.addJtfc.djSqcxDO = { ...this.ruleForm } | 133 | this.addJtfc.djSqcxDO = { ...this.ruleForm } |
135 | // this.$message({ | 134 | // this.$message({ |
136 | // type: 'success', | 135 | // type: 'success', | ... | ... |
... | @@ -2,32 +2,59 @@ | ... | @@ -2,32 +2,59 @@ |
2 | <div class="from-clues"> | 2 | <div class="from-clues"> |
3 | <!-- 家庭房产 --> | 3 | <!-- 家庭房产 --> |
4 | <div class="from-clues-header"> | 4 | <div class="from-clues-header"> |
5 | <el-form :model="queryForm" @submit.native.prevent ref="queryForm" label-width="70px"> | 5 | <el-form |
6 | :model="queryForm" | ||
7 | @submit.native.prevent | ||
8 | ref="queryForm" | ||
9 | label-width="70px" | ||
10 | > | ||
6 | <el-row> | 11 | <el-row> |
7 | <el-col :span="5"> | 12 | <el-col :span="5"> |
8 | <el-form-item label="查询编号"> | 13 | <el-form-item label="查询编号"> |
9 | <el-input placeholder="请输入查询编号" @clear="queryClick()" v-model="queryForm.cxbh" clearable class="width100"> | 14 | <el-input |
15 | placeholder="请输入查询编号" | ||
16 | @clear="queryClick()" | ||
17 | v-model="queryForm.cxbh" | ||
18 | clearable | ||
19 | class="width100" | ||
20 | > | ||
10 | </el-input> | 21 | </el-input> |
11 | </el-form-item> | 22 | </el-form-item> |
12 | </el-col> | 23 | </el-col> |
13 | <el-col :span="5"> | 24 | <el-col :span="5"> |
14 | <el-form-item label="申请人"> | 25 | <el-form-item label="申请人"> |
15 | <el-input placeholder="请输入申请人" @clear="queryClick()" v-model="queryForm.sqr" clearable class="width100"> | 26 | <el-input |
27 | placeholder="请输入申请人" | ||
28 | @clear="queryClick()" | ||
29 | v-model="queryForm.sqr" | ||
30 | clearable | ||
31 | class="width100" | ||
32 | > | ||
16 | </el-input> | 33 | </el-input> |
17 | </el-form-item> | 34 | </el-form-item> |
18 | </el-col> | 35 | </el-col> |
19 | <el-col :span="14" class="btnColRight"> | 36 | <el-col :span="14" class="btnColRight"> |
20 | <el-button type="primary" native-type="submit" @click="queryClick()">查询</el-button> | 37 | <el-button type="primary" native-type="submit" @click="queryClick()" |
38 | >查询</el-button | ||
39 | > | ||
21 | <el-button type="primary" @click="handleAdd">新增</el-button> | 40 | <el-button type="primary" @click="handleAdd">新增</el-button> |
22 | </el-col> | 41 | </el-col> |
23 | </el-row> | 42 | </el-row> |
24 | </el-form> | 43 | </el-form> |
25 | </div> | 44 | </div> |
26 | <!-- 表格 --> | 45 | <!-- 表格 --> |
27 | <div class="from-clues-content"> | 46 | <div class="from-clues-content" id="divcontentid"> |
28 | <lb-table :page-size="pageData.size" border id="jtfc" :current-page.sync="pageData.current" | 47 | <lb-table |
29 | :total="tableData.total" @size-change="handleSizeChange" @p-current-change="handleCurrentChange" | 48 | :page-size="pageData.size" |
30 | :column="tableData.columns" :data="tableData.data"> | 49 | border |
50 | id="jtfc" | ||
51 | :current-page.sync="pageData.current" | ||
52 | :total="tableData.total" | ||
53 | @size-change="handleSizeChange" | ||
54 | @p-current-change="handleCurrentChange" | ||
55 | :column="tableData.columns" | ||
56 | :data="tableData.data" | ||
57 | > | ||
31 | </lb-table> | 58 | </lb-table> |
32 | </div> | 59 | </div> |
33 | <addjtfc v-model="isDialog" /> | 60 | <addjtfc v-model="isDialog" /> |
... | @@ -42,10 +69,10 @@ export default { | ... | @@ -42,10 +69,10 @@ export default { |
42 | name: "jtfc", | 69 | name: "jtfc", |
43 | components: { addjtfc }, | 70 | components: { addjtfc }, |
44 | mixins: [table], | 71 | mixins: [table], |
45 | mounted () { | 72 | mounted() { |
46 | sendThis(this); | 73 | sendThis(this); |
47 | }, | 74 | }, |
48 | data () { | 75 | data() { |
49 | return { | 76 | return { |
50 | isDialog: false, | 77 | isDialog: false, |
51 | sqrOption: [], | 78 | sqrOption: [], |
... | @@ -59,29 +86,33 @@ export default { | ... | @@ -59,29 +86,33 @@ export default { |
59 | columns: datas.columns(), | 86 | columns: datas.columns(), |
60 | data: [], | 87 | data: [], |
61 | }, | 88 | }, |
62 | |||
63 | }; | 89 | }; |
64 | }, | 90 | }, |
65 | methods: { | 91 | methods: { |
66 | queryClick () { | 92 | //查询 |
93 | queryClick() { | ||
67 | this.fetchData(); | 94 | this.fetchData(); |
68 | }, | 95 | }, |
69 | // 初始化数据 | 96 | // 初始化数据 |
70 | fetchData () { | 97 | fetchData() { |
71 | getJtfcPage({ ...this.queryForm, ...this.pageData }, { 'target': '#jtfc' }).then((res) => { | 98 | this.$startLoading("divcontentid"); |
72 | let { records, total } = res.result; | 99 | getJtfcPage({ ...this.queryForm, ...this.pageData }).then((res) => { |
73 | this.tableData.data = records; | 100 | this.$endLoading(); |
74 | this.tableData.total = total; | 101 | if (res.code === 200) { |
102 | let { records, total } = res.result; | ||
103 | this.tableData.data = records; | ||
104 | this.tableData.total = total; | ||
105 | } | ||
75 | }); | 106 | }); |
76 | }, | 107 | }, |
77 | handleSort (name, sort) { | 108 | handleSort(name, sort) { |
78 | console.log(name, sort); | 109 | console.log(name, sort); |
79 | }, | 110 | }, |
80 | handleAdd () { | 111 | handleAdd() { |
81 | this.isDialog = true; | 112 | this.isDialog = true; |
82 | } | 113 | }, |
83 | } | 114 | }, |
84 | } | 115 | }; |
85 | </script> | 116 | </script> |
86 | <style scoped lang="scss"> | 117 | <style scoped lang="scss"> |
87 | @import "~@/styles/public.scss"; | 118 | @import "~@/styles/public.scss"; | ... | ... |
... | @@ -2,23 +2,45 @@ | ... | @@ -2,23 +2,45 @@ |
2 | <div class="from-clues"> | 2 | <div class="from-clues"> |
3 | <!-- 表单部分 --> | 3 | <!-- 表单部分 --> |
4 | <div class="from-clues-header"> | 4 | <div class="from-clues-header"> |
5 | <el-form :model="queryForm" ref="queryForm" @submit.native.prevent label-width="70px"> | 5 | <el-form |
6 | :model="queryForm" | ||
7 | ref="queryForm" | ||
8 | @submit.native.prevent | ||
9 | label-width="70px" | ||
10 | > | ||
6 | <el-row> | 11 | <el-row> |
7 | <el-col :span="5"> | 12 | <el-col :span="5"> |
8 | <el-form-item label="查询编号"> | 13 | <el-form-item label="查询编号"> |
9 | <el-input placeholder="请输入编号" @clear="queryClick()" v-model="queryForm.cxbh" class="width100" clearable> | 14 | <el-input |
15 | placeholder="请输入编号" | ||
16 | @clear="queryClick()" | ||
17 | v-model="queryForm.cxbh" | ||
18 | class="width100" | ||
19 | clearable | ||
20 | > | ||
10 | </el-input> | 21 | </el-input> |
11 | </el-form-item> | 22 | </el-form-item> |
12 | </el-col> | 23 | </el-col> |
13 | <el-col :span="5"> | 24 | <el-col :span="5"> |
14 | <el-form-item label="申请人"> | 25 | <el-form-item label="申请人"> |
15 | <el-input placeholder="请输入申请人" @clear="queryClick()" v-model="queryForm.sqr" class="width100" clearable> | 26 | <el-input |
27 | placeholder="请输入申请人" | ||
28 | @clear="queryClick()" | ||
29 | v-model="queryForm.sqr" | ||
30 | class="width100" | ||
31 | clearable | ||
32 | > | ||
16 | </el-input> | 33 | </el-input> |
17 | </el-form-item> | 34 | </el-form-item> |
18 | </el-col> | 35 | </el-col> |
19 | <el-col :span="14" class="btnColRight"> | 36 | <el-col :span="14" class="btnColRight"> |
20 | <el-form-item> | 37 | <el-form-item> |
21 | <el-button type="primary" native-type="submit" @click="queryClick()">查询</el-button> | 38 | <el-button |
39 | type="primary" | ||
40 | native-type="submit" | ||
41 | @click="queryClick()" | ||
42 | >查询</el-button | ||
43 | > | ||
22 | <el-button @click="moreQueryClick()">高级查询</el-button> | 44 | <el-button @click="moreQueryClick()">高级查询</el-button> |
23 | </el-form-item> | 45 | </el-form-item> |
24 | </el-col> | 46 | </el-col> |
... | @@ -26,10 +48,19 @@ | ... | @@ -26,10 +48,19 @@ |
26 | </el-form> | 48 | </el-form> |
27 | </div> | 49 | </div> |
28 | <!-- 表格 --> | 50 | <!-- 表格 --> |
29 | <div class="from-clues-content"> | 51 | <div class="from-clues-content" id="divcontentid"> |
30 | <lb-table :page-size="pageData.size" border id="sqcxjl" @sort-change="handleSort" | 52 | <lb-table |
31 | :current-page.sync="pageData.current" :total="tableData.total" @size-change="handleSizeChange" | 53 | :page-size="pageData.size" |
32 | @p-current-change="handleCurrentChange" :column="tableData.columns" :data="tableData.data"> | 54 | border |
55 | id="sqcxjl" | ||
56 | @sort-change="handleSort" | ||
57 | :current-page.sync="pageData.current" | ||
58 | :total="tableData.total" | ||
59 | @size-change="handleSizeChange" | ||
60 | @p-current-change="handleCurrentChange" | ||
61 | :column="tableData.columns" | ||
62 | :data="tableData.data" | ||
63 | > | ||
33 | </lb-table> | 64 | </lb-table> |
34 | </div> | 65 | </div> |
35 | </div> | 66 | </div> |
... | @@ -41,10 +72,10 @@ import { getJtfcPage } from "@/api/jtfc"; | ... | @@ -41,10 +72,10 @@ import { getJtfcPage } from "@/api/jtfc"; |
41 | export default { | 72 | export default { |
42 | name: "sqcxjl", | 73 | name: "sqcxjl", |
43 | mixins: [table], | 74 | mixins: [table], |
44 | mounted () { | 75 | mounted() { |
45 | sendThis(this); | 76 | sendThis(this); |
46 | }, | 77 | }, |
47 | data () { | 78 | data() { |
48 | return { | 79 | return { |
49 | queryForm: { | 80 | queryForm: { |
50 | cxbh: "", | 81 | cxbh: "", |
... | @@ -58,41 +89,38 @@ export default { | ... | @@ -58,41 +89,38 @@ export default { |
58 | }; | 89 | }; |
59 | }, | 90 | }, |
60 | methods: { | 91 | methods: { |
61 | queryClick () { | 92 | queryClick() { |
62 | this.fetchData(); | 93 | this.fetchData(); |
63 | }, | 94 | }, |
64 | // 初始化数据 | 95 | // 初始化数据 |
65 | fetchData () { | 96 | fetchData() { |
66 | 97 | this.$startLoading("divcontentid"); | |
67 | getJtfcPage({ ...this.queryForm, ...this.pageData }, { 'target': '#sqcxjl' }).then((res) => { | 98 | getJtfcPage({ ...this.queryForm, ...this.pageData }).then((res) => { |
68 | let { records, total } = res.result; | 99 | this.$endLoading(); |
69 | this.tableData.data = records; | 100 | if (res.code === 200) { |
70 | this.tableData.total = total; | 101 | let { records, total } = res.result; |
102 | this.tableData.data = records; | ||
103 | this.tableData.total = total; | ||
104 | } | ||
71 | }); | 105 | }); |
72 | }, | 106 | }, |
73 | handleSort (name, sort) { | 107 | handleSort(name, sort) { |
74 | console.log(name, sort); | 108 | console.log(name, sort); |
75 | }, | 109 | }, |
76 | // 查看 | 110 | // 查看 |
77 | handleViewClick (scope) { | 111 | handleViewClick(scope) { |
78 | var sqcxBsm = scope.row.bsmSqcx; | 112 | var sqcxBsm = scope.row.bsmSqcx; |
79 | this.$popup({ | 113 | this.$popup("申请查询记录", "sqcx/sqcxjl/components/sqcxjlInfo", { |
80 | title: "申请查询记录", | 114 | height: "800px", |
81 | width: "85%", | ||
82 | btnShow: true, | ||
83 | editItem: "sqcx/sqcxjl/components/sqcxjlInfo", // 弹窗内容 | ||
84 | height: "700px", | ||
85 | formData: { | 115 | formData: { |
86 | sqcxBsm: sqcxBsm, | 116 | sqcxBsm: sqcxBsm, |
87 | }, | 117 | }, |
88 | cancel: function () { }, //取消事件的回调 | 118 | cancel: function () {}, //取消事件的回调 |
89 | confirm: function () { | 119 | confirm: function () {}, |
90 | // that.loadBdcdylist(); | 120 | }); |
91 | }, //确认事件的回调 | 121 | }, |
92 | }) | 122 | }, |
93 | } | 123 | }; |
94 | } | ||
95 | } | ||
96 | </script> | 124 | </script> |
97 | <style scoped lang="scss"> | 125 | <style scoped lang="scss"> |
98 | @import "~@/styles/public.scss"; | 126 | @import "~@/styles/public.scss"; | ... | ... |
... | @@ -157,7 +157,7 @@ export default { | ... | @@ -157,7 +157,7 @@ export default { |
157 | unloadHandler(e) { | 157 | unloadHandler(e) { |
158 | this._gap_time = new Date().getTime() - this._beforeUnload_time | 158 | this._gap_time = new Date().getTime() - this._beforeUnload_time |
159 | //判断是窗口关闭还是刷新 | 159 | //判断是窗口关闭还是刷新 |
160 | if (this._gap_time <= 5) { | 160 | if (this._gap_time <= 10) { |
161 | //取消认领 | 161 | //取消认领 |
162 | unClaimTask(this.bsmSlsq,this.bestepid) | 162 | unClaimTask(this.bsmSlsq,this.bestepid) |
163 | } | 163 | } | ... | ... |
... | @@ -55,10 +55,11 @@ | ... | @@ -55,10 +55,11 @@ |
55 | </el-row> | 55 | </el-row> |
56 | </el-form> | 56 | </el-form> |
57 | </div> | 57 | </div> |
58 | <div class="from-clues-content" id="dbx"> | 58 | <div class="from-clues-content"> |
59 | <lb-table :page-size="pageData.size" border @sort-change="handleSort" :current-page.sync="pageData.currentPage" | 59 | <lb-table :page-size="pageData.size" class="loadingtext" border @sort-change="handleSort" |
60 | :heightNum="300" :total="tableData.total" @size-change="handleSizeChange" | 60 | :current-page.sync="pageData.currentPage" :heightNum="300" :total="tableData.total" |
61 | @p-current-change="handleCurrentChange" :column="tableData.columns" :data="tableData.data"> | 61 | @size-change="handleSizeChange" @p-current-change="handleCurrentChange" :column="tableData.columns" |
62 | :data="tableData.data"> | ||
62 | </lb-table> | 63 | </lb-table> |
63 | </div> | 64 | </div> |
64 | <searchBox v-model="isSearch" @getSearch="getSearch" /> | 65 | <searchBox v-model="isSearch" @getSearch="getSearch" /> |
... | @@ -70,7 +71,7 @@ import searchBox from '../components/search.vue' | ... | @@ -70,7 +71,7 @@ import searchBox from '../components/search.vue' |
70 | import table from "@/utils/mixin/table" | 71 | import table from "@/utils/mixin/table" |
71 | import searchMin from "../components/mixin/index" | 72 | import searchMin from "../components/mixin/index" |
72 | import { datas, sendThis } from "./dbxdata" | 73 | import { datas, sendThis } from "./dbxdata" |
73 | import { searchTaskToDo, deleteFlow ,claimTask} from "@/api/ywbl.js" | 74 | import { searchTaskToDo, deleteFlow, claimTask } from "@/api/ywbl.js" |
74 | export default { | 75 | export default { |
75 | name: "dbx", | 76 | name: "dbx", |
76 | components: { searchBox }, | 77 | components: { searchBox }, |
... | @@ -95,26 +96,12 @@ export default { | ... | @@ -95,26 +96,12 @@ export default { |
95 | }, | 96 | }, |
96 | mounted () { | 97 | mounted () { |
97 | sendThis(this); | 98 | sendThis(this); |
98 | window.addEventListener('visibilitychange', this.init, true) | 99 | this.queryClick() |
99 | }, | 100 | }, |
100 | destroyed () { | ||
101 | window.removeEventListener('visibilitychange', this.init, true) | ||
102 | }, | ||
103 | created () { }, | ||
104 | methods: { | 101 | methods: { |
105 | init (e) { | ||
106 | var isHidden = document.hidden; | ||
107 | if (isHidden) {//切离该页面时执行 | ||
108 | //页面切换时,处理逻辑 | ||
109 | } else {//切换到该页面时执行 | ||
110 | if (window.location.hash == '#/ywbl/dbx') { | ||
111 | this.fetchData() | ||
112 | } | ||
113 | } | ||
114 | }, | ||
115 | // 列表渲染接口 | 102 | // 列表渲染接口 |
116 | fetchData () { | 103 | queryClick () { |
117 | this.$startLoading('dbx') | 104 | this.$startLoading() |
118 | searchTaskToDo({ ...this.queryForm, ...this.pageData }).then(res => { | 105 | searchTaskToDo({ ...this.queryForm, ...this.pageData }).then(res => { |
119 | if (res.code === 200) { | 106 | if (res.code === 200) { |
120 | this.$endLoading() | 107 | this.$endLoading() |
... | @@ -132,9 +119,6 @@ export default { | ... | @@ -132,9 +119,6 @@ export default { |
132 | } | 119 | } |
133 | }) | 120 | }) |
134 | }, | 121 | }, |
135 | queryClick () { | ||
136 | this.fetchData() | ||
137 | }, | ||
138 | handelItem (index) { | 122 | handelItem (index) { |
139 | console.log(index); | 123 | console.log(index); |
140 | this.searchList.splice(index, 1) | 124 | this.searchList.splice(index, 1) |
... | @@ -142,7 +126,7 @@ export default { | ... | @@ -142,7 +126,7 @@ export default { |
142 | handleSort (val) { | 126 | handleSort (val) { |
143 | this.queryForm.sortField = val.prop | 127 | this.queryForm.sortField = val.prop |
144 | this.queryForm.sortOrder = val.order == "ascending" ? 'asc' : 'desc' | 128 | this.queryForm.sortOrder = val.order == "ascending" ? 'asc' : 'desc' |
145 | this.fetchData() | 129 | this.queryClick() |
146 | }, | 130 | }, |
147 | del (item) { | 131 | del (item) { |
148 | let formdata = new FormData(); | 132 | let formdata = new FormData(); |
... | @@ -159,7 +143,7 @@ export default { | ... | @@ -159,7 +143,7 @@ export default { |
159 | type: 'success', | 143 | type: 'success', |
160 | message: '删除成功!' | 144 | message: '删除成功!' |
161 | }); | 145 | }); |
162 | this.fetchData() | 146 | this.queryClick() |
163 | } else { | 147 | } else { |
164 | this.$message.error(res.message); | 148 | this.$message.error(res.message); |
165 | } | 149 | } |
... | @@ -174,9 +158,8 @@ export default { | ... | @@ -174,9 +158,8 @@ export default { |
174 | ywhClick (item) { | 158 | ywhClick (item) { |
175 | const { href } = this.$router.resolve('/workFrame?bsmSlsq=' + item.bsmSlsq + '&bestepid=' + item.bestepid + '&bsmBusiness=' + '&sqywbm=' + item.djywbm); | 159 | const { href } = this.$router.resolve('/workFrame?bsmSlsq=' + item.bsmSlsq + '&bestepid=' + item.bestepid + '&bsmBusiness=' + '&sqywbm=' + item.djywbm); |
176 | window.open(href, '_blank'); | 160 | window.open(href, '_blank'); |
177 | |||
178 | //从待办箱进入的调取任务领取接口 | 161 | //从待办箱进入的调取任务领取接口 |
179 | claimTask(item.bsmSlsq,item.bestepid) | 162 | claimTask(item.bsmSlsq, item.bestepid) |
180 | } | 163 | } |
181 | } | 164 | } |
182 | } | 165 | } | ... | ... |
... | @@ -33,14 +33,14 @@ | ... | @@ -33,14 +33,14 @@ |
33 | </el-col> | 33 | </el-col> |
34 | <el-col :span="5"> | 34 | <el-col :span="5"> |
35 | <el-form-item label="业务号"> | 35 | <el-form-item label="业务号"> |
36 | <el-input placeholder="请输入业务号" v-model="queryForm.ywh" @clear="queryClick()" clearable class="width200px"> | 36 | <el-input placeholder="请输入业务号" v-model="queryForm.ywh" @clear="queryClick" clearable class="width200px"> |
37 | </el-input> | 37 | </el-input> |
38 | </el-form-item> | 38 | </el-form-item> |
39 | </el-col> | 39 | </el-col> |
40 | 40 | ||
41 | <el-col :span="4" class="btnColRight"> | 41 | <el-col :span="4" class="btnColRight"> |
42 | <el-form-item> | 42 | <el-form-item> |
43 | <el-button type="primary" native-type="submit" @click="queryClick()">查询</el-button> | 43 | <el-button type="primary" native-type="submit" @click="queryClick">查询</el-button> |
44 | <el-button @click="moreQueryClick()">高级查询</el-button> | 44 | <el-button @click="moreQueryClick()">高级查询</el-button> |
45 | </el-form-item> | 45 | </el-form-item> |
46 | </el-col> | 46 | </el-col> |
... | @@ -60,7 +60,7 @@ | ... | @@ -60,7 +60,7 @@ |
60 | </div> | 60 | </div> |
61 | <!-- 表格 --> | 61 | <!-- 表格 --> |
62 | <div class="from-clues-content"> | 62 | <div class="from-clues-content"> |
63 | <lb-table :page-size="pageData.size" id="ybxLoading" :heightNum="300" @sort-change="handleSort" border | 63 | <lb-table :page-size="pageData.size" class="loadingtext" :heightNum="300" @sort-change="handleSort" border |
64 | :current-page.sync="pageData.current" :total="pageData.total" @size-change="handleSizeChange" | 64 | :current-page.sync="pageData.current" :total="pageData.total" @size-change="handleSizeChange" |
65 | @p-current-change="handleCurrentChange" :column="tableData.columns" :data="tableData.data"> | 65 | @p-current-change="handleCurrentChange" :column="tableData.columns" :data="tableData.data"> |
66 | </lb-table> | 66 | </lb-table> |
... | @@ -81,6 +81,7 @@ export default { | ... | @@ -81,6 +81,7 @@ export default { |
81 | mixins: [table, searchMin], | 81 | mixins: [table, searchMin], |
82 | mounted () { | 82 | mounted () { |
83 | sendThis(this); | 83 | sendThis(this); |
84 | this.queryClick() | ||
84 | }, | 85 | }, |
85 | computed: { | 86 | computed: { |
86 | ...mapGetters(['dictData']) | 87 | ...mapGetters(['dictData']) |
... | @@ -106,13 +107,12 @@ export default { | ... | @@ -106,13 +107,12 @@ export default { |
106 | }; | 107 | }; |
107 | }, | 108 | }, |
108 | methods: { | 109 | methods: { |
109 | init (e) { | ||
110 | this.fetchData() | ||
111 | }, | ||
112 | // 列表渲染接口 | 110 | // 列表渲染接口 |
113 | fetchData () { | 111 | queryClick () { |
112 | this.$startLoading() | ||
114 | searchTaskDone({ ...this.queryForm, ...this.pageData }, { 'target': '#ybxLoading' }).then(res => { | 113 | searchTaskDone({ ...this.queryForm, ...this.pageData }, { 'target': '#ybxLoading' }).then(res => { |
115 | if (res.code === 200) { | 114 | if (res.code === 200) { |
115 | this.$endLoading() | ||
116 | let { total, records } = res.result | 116 | let { total, records } = res.result |
117 | this.pageData.total = total; | 117 | this.pageData.total = total; |
118 | records.forEach(item => { | 118 | records.forEach(item => { |
... | @@ -125,13 +125,10 @@ export default { | ... | @@ -125,13 +125,10 @@ export default { |
125 | } | 125 | } |
126 | }) | 126 | }) |
127 | }, | 127 | }, |
128 | queryClick () { | ||
129 | this.fetchData() | ||
130 | }, | ||
131 | handleSort (val) { | 128 | handleSort (val) { |
132 | this.queryForm.sortField = val.prop | 129 | this.queryForm.sortField = val.prop |
133 | this.queryForm.sortOrder = val.order == "ascending" ? 'asc' : 'desc' | 130 | this.queryForm.sortOrder = val.order == "ascending" ? 'asc' : 'desc' |
134 | this.fetchData() | 131 | this.queryClick() |
135 | }, | 132 | }, |
136 | ywhClick (item) { | 133 | ywhClick (item) { |
137 | const { href } = this.$router.resolve('/workFrameView?bsmSlsq=' + item.bsmSlsq + '&bestepid=' + item.bestepid + '&bsmBusiness=' + '&viewtype=1'); | 134 | const { href } = this.$router.resolve('/workFrameView?bsmSlsq=' + item.bsmSlsq + '&bestepid=' + item.bestepid + '&bsmBusiness=' + '&viewtype=1'); | ... | ... |
... | @@ -40,9 +40,10 @@ | ... | @@ -40,9 +40,10 @@ |
40 | </div> | 40 | </div> |
41 | <!-- 表格 --> | 41 | <!-- 表格 --> |
42 | <div class="from-clues-content"> | 42 | <div class="from-clues-content"> |
43 | <lb-table :page-size="pageData.pageSize" :heightNum="400" :current-page.sync="pageData.currentPage" | 43 | <lb-table ref="table" @row-click="handleRowClick" :page-size="pageData.pageSize" :heightNum="400" |
44 | :total="tableData.total" @size-change="handleSizeChange" @p-current-change="handleCurrentChange" | 44 | :current-page.sync="pageData.currentPage" :total="tableData.total" @size-change="handleSizeChange" |
45 | @selection-change="handleSelectionChange" :column="tableData.columns" :data="tableData.data"> | 45 | @p-current-change="handleCurrentChange" @selection-change="handleSelectionChange" :column="tableData.columns" |
46 | :data="tableData.data"> | ||
46 | </lb-table> | 47 | </lb-table> |
47 | </div> | 48 | </div> |
48 | <div class="submit_button"> | 49 | <div class="submit_button"> |
... | @@ -53,7 +54,6 @@ | ... | @@ -53,7 +54,6 @@ |
53 | </template> | 54 | </template> |
54 | <script> | 55 | <script> |
55 | //查封登记 | 56 | //查封登记 |
56 | import Cookies from 'js-cookie' | ||
57 | import { datas, sendThis } from "../javascript/bdcql.js"; | 57 | import { datas, sendThis } from "../javascript/bdcql.js"; |
58 | import { defaultParameters } from "../javascript/publicDefaultPar.js"; | 58 | import { defaultParameters } from "../javascript/publicDefaultPar.js"; |
59 | import table from "@/utils/mixin/table"; | 59 | import table from "@/utils/mixin/table"; |
... | @@ -63,7 +63,12 @@ export default { | ... | @@ -63,7 +63,12 @@ export default { |
63 | mixins: [table, jump], | 63 | mixins: [table, jump], |
64 | props: { | 64 | props: { |
65 | isJump: { type: Boolean, default: false }, | 65 | isJump: { type: Boolean, default: false }, |
66 | djywbm: { type: String, default: '' } | 66 | djywbm: { type: String, default: '' }, |
67 | djqxObj: { | ||
68 | type: Object, | ||
69 | default: {} | ||
70 | }, | ||
71 | bsmSqyw: { type: String, default: '' }, | ||
67 | }, | 72 | }, |
68 | data () { | 73 | data () { |
69 | return { | 74 | return { |
... | @@ -82,6 +87,11 @@ export default { | ... | @@ -82,6 +87,11 @@ export default { |
82 | sendThis(this) | 87 | sendThis(this) |
83 | }, | 88 | }, |
84 | methods: { | 89 | methods: { |
90 | //点击行选中或取消复选框 | ||
91 | handleRowClick (row, column, event) { | ||
92 | //通过ref绑定后这里使用$refs.table来操作bom元素 | ||
93 | this.$refs.table.toggleRowSelection(row); | ||
94 | }, | ||
85 | closeDialog () { | 95 | closeDialog () { |
86 | this.$emit("closeDialog") | 96 | this.$emit("closeDialog") |
87 | }, | 97 | }, |
... | @@ -103,10 +113,10 @@ export default { | ... | @@ -103,10 +113,10 @@ export default { |
103 | } | 113 | } |
104 | if (!this.isJump) { | 114 | if (!this.isJump) { |
105 | startBusinessFlow({ | 115 | startBusinessFlow({ |
106 | bsmSqyw: Cookies.get("bsmSqyw"), | 116 | bsmSqyw: this.bsmSqyw, |
107 | bdcdysz: this.bdcdysz, | 117 | bdcdysz: this.bdcdysz, |
108 | djqxbm: Cookies.get("djqxObj") ? JSON.parse(Cookies.get("djqxObj"))?.djqxbm : '', | 118 | djqxbm: this.djqxObj?.djqxbm, |
109 | djqxmc: Cookies.get("djqxObj") ? JSON.parse(Cookies.get("djqxObj"))?.djqxmc : '', | 119 | djqxmc: this.djqxObj?.djqxmc |
110 | }).then((res) => { | 120 | }).then((res) => { |
111 | if (res.code == 200) { | 121 | if (res.code == 200) { |
112 | this.$message({ | 122 | this.$message({ |
... | @@ -146,7 +156,7 @@ export default { | ... | @@ -146,7 +156,7 @@ export default { |
146 | }) | 156 | }) |
147 | this.bdcdysz = val | 157 | this.bdcdysz = val |
148 | } | 158 | } |
149 | }, | 159 | } |
150 | }; | 160 | }; |
151 | </script> | 161 | </script> |
152 | <style scoped lang="scss"> | 162 | <style scoped lang="scss"> | ... | ... |
... | @@ -41,9 +41,10 @@ | ... | @@ -41,9 +41,10 @@ |
41 | </div> | 41 | </div> |
42 | <!-- 表格 --> | 42 | <!-- 表格 --> |
43 | <div class="from-clues-content"> | 43 | <div class="from-clues-content"> |
44 | <lb-table :page-size="pageData.pageSize" :heightNum="400" :current-page.sync="pageData.currentPage" | 44 | <lb-table ref="table" @row-click="handleRowClick" :page-size="pageData.pageSize" :heightNum="400" |
45 | :total="tableData.total" @size-change="handleSizeChange" @p-current-change="handleCurrentChange" | 45 | :current-page.sync="pageData.currentPage" :total="tableData.total" @size-change="handleSizeChange" |
46 | @selection-change="handleSelectionChange" :column="tableData.columns" :data="tableData.data"> | 46 | @p-current-change="handleCurrentChange" @selection-change="handleSelectionChange" :column="tableData.columns" |
47 | :data="tableData.data"> | ||
47 | </lb-table> | 48 | </lb-table> |
48 | </div> | 49 | </div> |
49 | <div class="submit_button"> | 50 | <div class="submit_button"> |
... | @@ -53,7 +54,6 @@ | ... | @@ -53,7 +54,6 @@ |
53 | </div> | 54 | </div> |
54 | </template> | 55 | </template> |
55 | <script> | 56 | <script> |
56 | import Cookies from 'js-cookie' | ||
57 | import { datas, sendThis } from "../javascript/bdcqlMain.js"; | 57 | import { datas, sendThis } from "../javascript/bdcqlMain.js"; |
58 | import { defaultParameters } from "../javascript/publicDefaultPar.js"; | 58 | import { defaultParameters } from "../javascript/publicDefaultPar.js"; |
59 | import table from "@/utils/mixin/table"; | 59 | import table from "@/utils/mixin/table"; |
... | @@ -63,7 +63,12 @@ export default { | ... | @@ -63,7 +63,12 @@ export default { |
63 | mixins: [table, jump], | 63 | mixins: [table, jump], |
64 | props: { | 64 | props: { |
65 | isJump: { type: Boolean, default: false }, | 65 | isJump: { type: Boolean, default: false }, |
66 | djywbm: { type: String, default: '' } | 66 | djywbm: { type: String, default: '' }, |
67 | djqxObj: { | ||
68 | type: Object, | ||
69 | default: {} | ||
70 | }, | ||
71 | bsmSqyw: { type: String, default: '' } | ||
67 | }, | 72 | }, |
68 | data () { | 73 | data () { |
69 | return { | 74 | return { |
... | @@ -81,6 +86,11 @@ export default { | ... | @@ -81,6 +86,11 @@ export default { |
81 | sendThis(this) | 86 | sendThis(this) |
82 | }, | 87 | }, |
83 | methods: { | 88 | methods: { |
89 | //点击行选中或取消复选框 | ||
90 | handleRowClick (row, column, event) { | ||
91 | //通过ref绑定后这里使用$refs.table来操作bom元素 | ||
92 | this.$refs.table.toggleRowSelection(row); | ||
93 | }, | ||
84 | closeDialog () { | 94 | closeDialog () { |
85 | this.$emit("closeDialog") | 95 | this.$emit("closeDialog") |
86 | }, | 96 | }, |
... | @@ -101,10 +111,10 @@ export default { | ... | @@ -101,10 +111,10 @@ export default { |
101 | return; | 111 | return; |
102 | } | 112 | } |
103 | startBusinessFlow({ | 113 | startBusinessFlow({ |
104 | bsmSqyw: Cookies.get("bsmSqyw"), | 114 | bsmSqyw: this.bsmSqyw, |
105 | bdcdysz: this.bdcdysz, | 115 | bdcdysz: this.bdcdysz, |
106 | djqxbm: Cookies.get("djqxObj") ? JSON.parse(Cookies.get("djqxObj"))?.djqxbm : '', | 116 | djqxbm: this.djqxObj?.djqxbm, |
107 | djqxmc: Cookies.get("djqxObj") ? JSON.parse(Cookies.get("djqxObj"))?.djqxmc : '', | 117 | djqxmc: this.djqxObj?.djqxmc |
108 | }).then((res) => { | 118 | }).then((res) => { |
109 | if (res.code == 200) { | 119 | if (res.code == 200) { |
110 | this.jump(res.result) | 120 | this.jump(res.result) | ... | ... |
... | @@ -40,9 +40,10 @@ | ... | @@ -40,9 +40,10 @@ |
40 | </div> | 40 | </div> |
41 | <!-- 表格 --> | 41 | <!-- 表格 --> |
42 | <div class="from-clues-content"> | 42 | <div class="from-clues-content"> |
43 | <lb-table :page-size="pageData.pageSize" :heightNum="400" :current-page.sync="pageData.currentPage" | 43 | <lb-table ref="table" @row-click="handleRowClick" :page-size="pageData.pageSize" :heightNum="400" |
44 | :total="tableData.total" @size-change="handleSizeChange" @p-current-change="handleCurrentChange" | 44 | :current-page.sync="pageData.currentPage" :total="tableData.total" @size-change="handleSizeChange" |
45 | @selection-change="handleSelectionChange" :column="tableData.columns" :data="tableData.data"> | 45 | @p-current-change="handleCurrentChange" @selection-change="handleSelectionChange" :column="tableData.columns" |
46 | :data="tableData.data"> | ||
46 | </lb-table> | 47 | </lb-table> |
47 | </div> | 48 | </div> |
48 | <div class="submit_button"> | 49 | <div class="submit_button"> |
... | @@ -53,7 +54,6 @@ | ... | @@ -53,7 +54,6 @@ |
53 | </template> | 54 | </template> |
54 | <script> | 55 | <script> |
55 | //查封登记 | 56 | //查封登记 |
56 | import Cookies from 'js-cookie' | ||
57 | import { datas, sendThis } from "../javascript/cfdj.js"; | 57 | import { datas, sendThis } from "../javascript/cfdj.js"; |
58 | import { defaultParameters } from "../javascript/publicDefaultPar.js"; | 58 | import { defaultParameters } from "../javascript/publicDefaultPar.js"; |
59 | import table from "@/utils/mixin/table"; | 59 | import table from "@/utils/mixin/table"; |
... | @@ -62,7 +62,12 @@ import { selectCfdj, startBusinessFlow, choiceBdcdy } from "@/api/ywbl.js"; | ... | @@ -62,7 +62,12 @@ import { selectCfdj, startBusinessFlow, choiceBdcdy } from "@/api/ywbl.js"; |
62 | export default { | 62 | export default { |
63 | props: { | 63 | props: { |
64 | isJump: { type: Boolean, default: false }, | 64 | isJump: { type: Boolean, default: false }, |
65 | djywbm: { type: String, default: '' } | 65 | djywbm: { type: String, default: '' }, |
66 | djqxObj: { | ||
67 | type: Object, | ||
68 | default: {} | ||
69 | }, | ||
70 | bsmSqyw: { type: String, default: '' }, | ||
66 | }, | 71 | }, |
67 | mixins: [table, jump], | 72 | mixins: [table, jump], |
68 | data () { | 73 | data () { |
... | @@ -81,6 +86,11 @@ export default { | ... | @@ -81,6 +86,11 @@ export default { |
81 | sendThis(this); | 86 | sendThis(this); |
82 | }, | 87 | }, |
83 | methods: { | 88 | methods: { |
89 | //点击行选中或取消复选框 | ||
90 | handleRowClick (row, column, event) { | ||
91 | //通过ref绑定后这里使用$refs.table来操作bom元素 | ||
92 | this.$refs.table.toggleRowSelection(row); | ||
93 | }, | ||
84 | closeDialog () { | 94 | closeDialog () { |
85 | this.$emit("closeDialog") | 95 | this.$emit("closeDialog") |
86 | }, | 96 | }, |
... | @@ -102,10 +112,10 @@ export default { | ... | @@ -102,10 +112,10 @@ export default { |
102 | } | 112 | } |
103 | if (!this.isJump) { | 113 | if (!this.isJump) { |
104 | startBusinessFlow({ | 114 | startBusinessFlow({ |
105 | bsmSqyw: Cookies.get("bsmSqyw"), | 115 | bsmSqyw: this.bsmSqyw, |
106 | bdcdysz: this.bdcdysz, | 116 | bdcdysz: this.bdcdysz, |
107 | djqxbm: Cookies.get("djqxObj") ? JSON.parse(Cookies.get("djqxObj"))?.djqxbm : '', | 117 | djqxbm: this.djqxObj?.djqxbm, |
108 | djqxmc: Cookies.get("djqxObj") ? JSON.parse(Cookies.get("djqxObj"))?.djqxmc : '', | 118 | djqxmc: this.djqxObj?.djqxmc |
109 | }).then((res) => { | 119 | }).then((res) => { |
110 | if (res.code == 200) { | 120 | if (res.code == 200) { |
111 | this.$message({ | 121 | this.$message({ | ... | ... |
... | @@ -42,9 +42,10 @@ | ... | @@ -42,9 +42,10 @@ |
42 | </div> | 42 | </div> |
43 | <!-- 表格 --> | 43 | <!-- 表格 --> |
44 | <div class="from-clues-content"> | 44 | <div class="from-clues-content"> |
45 | <lb-table :page-size="pageData.pageSize" :heightNum="400" :current-page.sync="pageData.currentPage" | 45 | <lb-table ref="table" @row-click="handleRowClick" :page-size="pageData.pageSize" :heightNum="400" |
46 | :total="tableData.total" @size-change="handleSizeChange" @p-current-change="handleCurrentChange" | 46 | :current-page.sync="pageData.currentPage" :total="tableData.total" @size-change="handleSizeChange" |
47 | @selection-change="handleSelectionChange" :column="tableData.columns" :data="tableData.data"> | 47 | @p-current-change="handleCurrentChange" @selection-change="handleSelectionChange" :column="tableData.columns" |
48 | :data="tableData.data"> | ||
48 | </lb-table> | 49 | </lb-table> |
49 | </div> | 50 | </div> |
50 | <div class="submit_button"> | 51 | <div class="submit_button"> |
... | @@ -55,7 +56,6 @@ | ... | @@ -55,7 +56,6 @@ |
55 | </template> | 56 | </template> |
56 | <script> | 57 | <script> |
57 | //抵押权首次登记 | 58 | //抵押权首次登记 |
58 | import Cookies from 'js-cookie' | ||
59 | import { datas, sendThis } from "../javascript/diyaq.js"; | 59 | import { datas, sendThis } from "../javascript/diyaq.js"; |
60 | import { defaultParameters } from "../javascript/publicDefaultPar.js"; | 60 | import { defaultParameters } from "../javascript/publicDefaultPar.js"; |
61 | import table from "@/utils/mixin/table"; | 61 | import table from "@/utils/mixin/table"; |
... | @@ -65,7 +65,12 @@ export default { | ... | @@ -65,7 +65,12 @@ export default { |
65 | mixins: [table, jump], | 65 | mixins: [table, jump], |
66 | props: { | 66 | props: { |
67 | isJump: { type: Boolean, default: false }, | 67 | isJump: { type: Boolean, default: false }, |
68 | djywbm: { type: String, default: '' } | 68 | djywbm: { type: String, default: '' }, |
69 | djqxObj: { | ||
70 | type: Object, | ||
71 | default: {} | ||
72 | }, | ||
73 | bsmSqyw: { type: String, default: '' }, | ||
69 | }, | 74 | }, |
70 | data () { | 75 | data () { |
71 | return { | 76 | return { |
... | @@ -83,6 +88,11 @@ export default { | ... | @@ -83,6 +88,11 @@ export default { |
83 | sendThis(this); | 88 | sendThis(this); |
84 | }, | 89 | }, |
85 | methods: { | 90 | methods: { |
91 | //点击行选中或取消复选框 | ||
92 | handleRowClick (row, column, event) { | ||
93 | //通过ref绑定后这里使用$refs.table来操作bom元素 | ||
94 | this.$refs.table.toggleRowSelection(row); | ||
95 | }, | ||
86 | closeDialog () { | 96 | closeDialog () { |
87 | this.$emit("closeDialog"); | 97 | this.$emit("closeDialog"); |
88 | }, | 98 | }, |
... | @@ -94,7 +104,7 @@ export default { | ... | @@ -94,7 +104,7 @@ export default { |
94 | this.tableData.total = total; | 104 | this.tableData.total = total; |
95 | this.tableData.data = records; | 105 | this.tableData.data = records; |
96 | } | 106 | } |
97 | }); | 107 | }) |
98 | }, | 108 | }, |
99 | submitForm () { | 109 | submitForm () { |
100 | if (this.bdcdysz.length == 0) { | 110 | if (this.bdcdysz.length == 0) { |
... | @@ -102,10 +112,10 @@ export default { | ... | @@ -102,10 +112,10 @@ export default { |
102 | return; | 112 | return; |
103 | } | 113 | } |
104 | startBusinessFlow({ | 114 | startBusinessFlow({ |
105 | bsmSqyw: Cookies.get("bsmSqyw"), | 115 | bsmSqyw: this.bsmSqyw, |
106 | bdcdysz: this.bdcdysz, | 116 | bdcdysz: this.bdcdysz, |
107 | djqxbm: Cookies.get("djqxObj") ? JSON.parse(Cookies.get("djqxObj"))?.djqxbm : '', | 117 | djqxbm: this.djqxObj?.djqxbm, |
108 | djqxmc: Cookies.get("djqxObj") ? JSON.parse(Cookies.get("djqxObj"))?.djqxmc : '', | 118 | djqxmc: this.djqxObj?.djqxmc |
109 | }).then((res) => { | 119 | }).then((res) => { |
110 | if (res.code == 200) { | 120 | if (res.code == 200) { |
111 | this.$message({ | 121 | this.$message({ |
... | @@ -129,8 +139,7 @@ export default { | ... | @@ -129,8 +139,7 @@ export default { |
129 | item.ybdcqzsh = item.bdcqzh | 139 | item.ybdcqzsh = item.bdcqzh |
130 | }) | 140 | }) |
131 | this.bdcdysz = val; | 141 | this.bdcdysz = val; |
132 | }, | 142 | } |
133 | |||
134 | } | 143 | } |
135 | } | 144 | } |
136 | </script> | 145 | </script> | ... | ... |
... | @@ -13,19 +13,19 @@ | ... | @@ -13,19 +13,19 @@ |
13 | </el-input> | 13 | </el-input> |
14 | </el-form-item> | 14 | </el-form-item> |
15 | </el-col> | 15 | </el-col> |
16 | <el-col :span="7"> | 16 | <el-col :span="7"> |
17 | <el-form-item label="土地证号"> | 17 | <el-form-item label="土地证号"> |
18 | <el-input placeholder="土地证号" v-model="queryForm.bdcqzh" clearable> | 18 | <el-input placeholder="土地证号" v-model="queryForm.bdcqzh" clearable> |
19 | </el-input> | 19 | </el-input> |
20 | </el-form-item> | 20 | </el-form-item> |
21 | </el-col> | 21 | </el-col> |
22 | <el-col :span="7"> | 22 | <el-col :span="7"> |
23 | <el-form-item label="土地坐落"> | 23 | <el-form-item label="土地坐落"> |
24 | <el-input placeholder="土地坐落" v-model="queryForm.zl" clearable> | 24 | <el-input placeholder="土地坐落" v-model="queryForm.zl" clearable> |
25 | </el-input> | 25 | </el-input> |
26 | </el-form-item> | 26 | </el-form-item> |
27 | </el-col> | 27 | </el-col> |
28 | 28 | ||
29 | </el-row> | 29 | </el-row> |
30 | <el-row> | 30 | <el-row> |
31 | <el-col :span="7"> | 31 | <el-col :span="7"> |
... | @@ -34,18 +34,18 @@ | ... | @@ -34,18 +34,18 @@ |
34 | </el-input> | 34 | </el-input> |
35 | </el-form-item> | 35 | </el-form-item> |
36 | </el-col> | 36 | </el-col> |
37 | <el-col :span="7"> | 37 | <el-col :span="7"> |
38 | <el-form-item label="项目名称"> | 38 | <el-form-item label="项目名称"> |
39 | <el-input v-model="queryForm.xmmc"></el-input> | 39 | <el-input v-model="queryForm.xmmc"></el-input> |
40 | </el-form-item> | 40 | </el-form-item> |
41 | </el-col> | 41 | </el-col> |
42 | <el-col :span="7"> | 42 | <el-col :span="7"> |
43 | <el-form-item label="建筑物名称"> | 43 | <el-form-item label="建筑物名称"> |
44 | <el-input placeholder="建筑物名称" v-model="queryForm.jzwmc" clearable> | 44 | <el-input placeholder="建筑物名称" v-model="queryForm.jzwmc" clearable> |
45 | </el-input> | 45 | </el-input> |
46 | </el-form-item> | 46 | </el-form-item> |
47 | </el-col> | 47 | </el-col> |
48 | 48 | ||
49 | <el-col :span="3" class="btnColRight"> | 49 | <el-col :span="3" class="btnColRight"> |
50 | <el-form-item> | 50 | <el-form-item> |
51 | <el-button type="primary" @click="fetchData()">查询</el-button> | 51 | <el-button type="primary" @click="fetchData()">查询</el-button> |
... | @@ -55,9 +55,10 @@ | ... | @@ -55,9 +55,10 @@ |
55 | </el-form> | 55 | </el-form> |
56 | </div> | 56 | </div> |
57 | <div class="from-clues-content"> | 57 | <div class="from-clues-content"> |
58 | <lb-table border :page-size="pageData.pageSize" :heightNum="400" :current-page.sync="pageData.currentPage" | 58 | <lb-table ref="table" @row-click="handleRowClick" :page-size="pageData.pageSize" :heightNum="400" |
59 | :total="tableData.total" @size-change="handleSizeChange" @p-current-change="handleCurrentChange" | 59 | :current-page.sync="pageData.currentPage" :total="tableData.total" @size-change="handleSizeChange" |
60 | @selection-change="handleSelectionChange" :column="tableData.columns" :data="tableData.data"> | 60 | @p-current-change="handleCurrentChange" @selection-change="handleSelectionChange" :column="tableData.columns" |
61 | :data="tableData.data"> | ||
61 | </lb-table> | 62 | </lb-table> |
62 | </div> | 63 | </div> |
63 | <div class="submit_button"> | 64 | <div class="submit_button"> |
... | @@ -68,7 +69,6 @@ | ... | @@ -68,7 +69,6 @@ |
68 | </template> | 69 | </template> |
69 | <script> | 70 | <script> |
70 | //国有建设用地使用权/房屋使用权 | 71 | //国有建设用地使用权/房屋使用权 |
71 | import Cookies from 'js-cookie' | ||
72 | import { datas, sendThis } from "../javascript/fwsyq.js"; | 72 | import { datas, sendThis } from "../javascript/fwsyq.js"; |
73 | import table from "@/utils/mixin/table"; | 73 | import table from "@/utils/mixin/table"; |
74 | import jump from "@/views/ywbl/ywsq/components/mixin/jump"; | 74 | import jump from "@/views/ywbl/ywsq/components/mixin/jump"; |
... | @@ -78,7 +78,12 @@ export default { | ... | @@ -78,7 +78,12 @@ export default { |
78 | mixins: [table, jump], | 78 | mixins: [table, jump], |
79 | props: { | 79 | props: { |
80 | isJump: { type: Boolean, default: false }, | 80 | isJump: { type: Boolean, default: false }, |
81 | djywbm: { type: String, default: '' } | 81 | djywbm: { type: String, default: '' }, |
82 | djqxObj: { | ||
83 | type: Object, | ||
84 | default: {} | ||
85 | }, | ||
86 | bsmSqyw: { type: String, default: '' }, | ||
82 | }, | 87 | }, |
83 | data () { | 88 | data () { |
84 | return { | 89 | return { |
... | @@ -102,6 +107,11 @@ export default { | ... | @@ -102,6 +107,11 @@ export default { |
102 | sendThis(this) | 107 | sendThis(this) |
103 | }, | 108 | }, |
104 | methods: { | 109 | methods: { |
110 | //点击行选中或取消复选框 | ||
111 | handleRowClick (row, column, event) { | ||
112 | //通过ref绑定后这里使用$refs.table来操作bom元素 | ||
113 | this.$refs.table.toggleRowSelection(row); | ||
114 | }, | ||
105 | closeDialog () { | 115 | closeDialog () { |
106 | this.$emit("closeDialog"); | 116 | this.$emit("closeDialog"); |
107 | }, | 117 | }, |
... | @@ -150,11 +160,11 @@ export default { | ... | @@ -150,11 +160,11 @@ export default { |
150 | } | 160 | } |
151 | if (!this.isJump) { | 161 | if (!this.isJump) { |
152 | startBusinessFlow({ | 162 | startBusinessFlow({ |
153 | bsmSqyw: Cookies.get("bsmSqyw"), | 163 | bsmSqyw: this.bsmSqyw, |
154 | fwlx: this.activeName, | 164 | fwlx: this.activeName, |
155 | bdcdysz: this.bdcdysz, | 165 | bdcdysz: this.bdcdysz, |
156 | djqxbm: Cookies.get("djqxObj") ? JSON.parse(Cookies.get("djqxObj"))?.djqxbm : '', | 166 | djqxbm: this.djqxObj?.djqxbm, |
157 | djqxmc: Cookies.get("djqxObj") ? JSON.parse(Cookies.get("djqxObj"))?.djqxmc : '', | 167 | djqxmc: this.djqxObj?.djqxmc |
158 | }).then((res) => { | 168 | }).then((res) => { |
159 | if (res.code == 200) { | 169 | if (res.code == 200) { |
160 | this.$message({ | 170 | this.$message({ |
... | @@ -189,14 +199,11 @@ export default { | ... | @@ -189,14 +199,11 @@ export default { |
189 | this.bdcdysz = val | 199 | this.bdcdysz = val |
190 | }, | 200 | }, |
191 | handleLpbClick (item) { | 201 | handleLpbClick (item) { |
192 | console.log(item, 'eeeeeeeeeeeeee'); | ||
193 | this.$popup('楼盘表', 'components/bjlp/index', { | 202 | this.$popup('楼盘表', 'components/bjlp/index', { |
194 | width: '85%', | 203 | width: '85%', |
195 | formData: { | 204 | formData: { |
196 | bsm: item.bsm | 205 | bsm: item.bsm |
197 | }, | 206 | } |
198 | cancel: function () { }, //取消事件的回调 | ||
199 | confirm: function () { }, //确认事件的回调 | ||
200 | }) | 207 | }) |
201 | } | 208 | } |
202 | } | 209 | } | ... | ... |
... | @@ -26,9 +26,10 @@ | ... | @@ -26,9 +26,10 @@ |
26 | </div> | 26 | </div> |
27 | <!-- 表格 --> | 27 | <!-- 表格 --> |
28 | <div class="from-clues-content"> | 28 | <div class="from-clues-content"> |
29 | <lb-table border :page-size="pageData.pageSize" :heightNum="400" :current-page.sync="pageData.currentPage" | 29 | <lb-table ref="table" @row-click="handleRowClick" :page-size="pageData.pageSize" :heightNum="400" |
30 | :total="tableData.total" @size-change="handleSizeChange" @p-current-change="handleCurrentChange" | 30 | :current-page.sync="pageData.currentPage" :total="tableData.total" @size-change="handleSizeChange" |
31 | @selection-change="handleSelectionChange" :column="tableData.columns" :data="tableData.data"> | 31 | @p-current-change="handleCurrentChange" @selection-change="handleSelectionChange" :column="tableData.columns" |
32 | :data="tableData.data"> | ||
32 | </lb-table> | 33 | </lb-table> |
33 | </div> | 34 | </div> |
34 | <div class="submit_button"> | 35 | <div class="submit_button"> |
... | @@ -39,7 +40,6 @@ | ... | @@ -39,7 +40,6 @@ |
39 | </template> | 40 | </template> |
40 | <script> | 41 | <script> |
41 | //首次登记 | 42 | //首次登记 |
42 | import Cookies from 'js-cookie' | ||
43 | import { datas, sendThis } from "../javascript/jsydsyq100.js"; | 43 | import { datas, sendThis } from "../javascript/jsydsyq100.js"; |
44 | import { defaultParameters } from "../javascript/publicDefaultPar.js"; | 44 | import { defaultParameters } from "../javascript/publicDefaultPar.js"; |
45 | import table from "@/utils/mixin/table"; | 45 | import table from "@/utils/mixin/table"; |
... | @@ -50,7 +50,12 @@ export default { | ... | @@ -50,7 +50,12 @@ export default { |
50 | mixins: [table, jump], | 50 | mixins: [table, jump], |
51 | props: { | 51 | props: { |
52 | isJump: { type: Boolean, default: false }, | 52 | isJump: { type: Boolean, default: false }, |
53 | djywbm: { type: String, default: '' } | 53 | djywbm: { type: String, default: '' }, |
54 | djqxObj: { | ||
55 | type: Object, | ||
56 | default: {} | ||
57 | }, | ||
58 | bsmSqyw: { type: String, default: '' }, | ||
54 | }, | 59 | }, |
55 | data () { | 60 | data () { |
56 | return { | 61 | return { |
... | @@ -67,15 +72,18 @@ export default { | ... | @@ -67,15 +72,18 @@ export default { |
67 | }, | 72 | }, |
68 | mounted () { | 73 | mounted () { |
69 | sendThis(this); | 74 | sendThis(this); |
70 | console.log(Cookies.get("bsmSqyw")); | ||
71 | }, | 75 | }, |
72 | methods: { | 76 | methods: { |
77 | //点击行选中或取消复选框 | ||
78 | handleRowClick (row, column, event) { | ||
79 | //通过ref绑定后这里使用$refs.table来操作bom元素 | ||
80 | this.$refs.table.toggleRowSelection(row); | ||
81 | }, | ||
73 | closeDialog () { | 82 | closeDialog () { |
74 | this.$emit("closeDialog"); | 83 | this.$emit("closeDialog"); |
75 | }, | 84 | }, |
76 | fetchData () { | 85 | fetchData () { |
77 | this.queryForm.sqywbm = this.djywbm; | 86 | this.queryForm.sqywbm = this.djywbm; |
78 | |||
79 | selectZdjbxx({ ...this.queryForm, ...this.pageData }).then((res) => { | 87 | selectZdjbxx({ ...this.queryForm, ...this.pageData }).then((res) => { |
80 | if (res.code === 200) { | 88 | if (res.code === 200) { |
81 | let { total, records } = res.result; | 89 | let { total, records } = res.result; |
... | @@ -90,10 +98,10 @@ export default { | ... | @@ -90,10 +98,10 @@ export default { |
90 | return; | 98 | return; |
91 | } | 99 | } |
92 | startBusinessFlow({ | 100 | startBusinessFlow({ |
93 | bsmSqyw: Cookies.get("bsmSqyw"), | 101 | bsmSqyw: this.bsmSqyw, |
94 | bdcdysz: this.bdcdysz, | 102 | bdcdysz: this.bdcdysz, |
95 | djqxbm: Cookies.get("djqxObj") ? JSON.parse(Cookies.get("djqxObj"))?.djqxbm : '', | 103 | djqxbm: this.djqxObj?.djqxbm, |
96 | djqxmc: Cookies.get("djqxObj") ? JSON.parse(Cookies.get("djqxObj"))?.djqxmc : '', | 104 | djqxmc: this.djqxObj?.djqxmc |
97 | }).then((res) => { | 105 | }).then((res) => { |
98 | if (res.code == 200) { | 106 | if (res.code == 200) { |
99 | this.$message({ | 107 | this.$message({ |
... | @@ -109,11 +117,11 @@ export default { | ... | @@ -109,11 +117,11 @@ export default { |
109 | } else { | 117 | } else { |
110 | this.$message.error(res.message); | 118 | this.$message.error(res.message); |
111 | } | 119 | } |
112 | }); | 120 | }) |
113 | }, | 121 | }, |
114 | handleSelectionChange (val) { | 122 | handleSelectionChange (val) { |
115 | this.bdcdysz = val; | 123 | this.bdcdysz = val; |
116 | }, | 124 | } |
117 | } | 125 | } |
118 | } | 126 | } |
119 | </script> | 127 | </script> |
... | @@ -121,3 +129,4 @@ export default { | ... | @@ -121,3 +129,4 @@ export default { |
121 | @import "~@/styles/mixin.scss"; | 129 | @import "~@/styles/mixin.scss"; |
122 | @import "~@/styles/public.scss"; | 130 | @import "~@/styles/public.scss"; |
123 | </style> | 131 | </style> |
132 | ... | ... |
... | @@ -40,9 +40,10 @@ | ... | @@ -40,9 +40,10 @@ |
40 | </div> | 40 | </div> |
41 | <!-- 表格 --> | 41 | <!-- 表格 --> |
42 | <div class="from-clues-content"> | 42 | <div class="from-clues-content"> |
43 | <lb-table border :page-size="pageData.pageSize" :heightNum="400" :current-page.sync="pageData.currentPage" | 43 | <lb-table ref="table" @row-click="handleRowClick" :page-size="pageData.pageSize" :heightNum="400" |
44 | :total="tableData.total" @size-change="handleSizeChange" @p-current-change="handleCurrentChange" | 44 | :current-page.sync="pageData.currentPage" :total="tableData.total" @size-change="handleSizeChange" |
45 | @selection-change="handleSelectionChange" :column="tableData.columns" :data="tableData.data"> | 45 | @p-current-change="handleCurrentChange" @selection-change="handleSelectionChange" :column="tableData.columns" |
46 | :data="tableData.data"> | ||
46 | </lb-table> | 47 | </lb-table> |
47 | </div> | 48 | </div> |
48 | <div class="submit_button"> | 49 | <div class="submit_button"> |
... | @@ -53,7 +54,6 @@ | ... | @@ -53,7 +54,6 @@ |
53 | </template> | 54 | </template> |
54 | <script> | 55 | <script> |
55 | //首次登记 | 56 | //首次登记 |
56 | import Cookies from 'js-cookie' | ||
57 | import { datas, sendThis } from "../javascript/jsydsyq200.js"; | 57 | import { datas, sendThis } from "../javascript/jsydsyq200.js"; |
58 | import { defaultParameters } from "../javascript/publicDefaultPar.js"; | 58 | import { defaultParameters } from "../javascript/publicDefaultPar.js"; |
59 | import table from "@/utils/mixin/table"; | 59 | import table from "@/utils/mixin/table"; |
... | @@ -64,7 +64,12 @@ export default { | ... | @@ -64,7 +64,12 @@ export default { |
64 | mixins: [table, jump], | 64 | mixins: [table, jump], |
65 | props: { | 65 | props: { |
66 | isJump: { type: Boolean, default: false }, | 66 | isJump: { type: Boolean, default: false }, |
67 | djywbm: { type: String, default: '' } | 67 | djywbm: { type: String, default: '' }, |
68 | djqxObj: { | ||
69 | type: Object, | ||
70 | default: {} | ||
71 | }, | ||
72 | bsmSqyw: { type: String, default: '' }, | ||
68 | }, | 73 | }, |
69 | data () { | 74 | data () { |
70 | return { | 75 | return { |
... | @@ -82,6 +87,11 @@ export default { | ... | @@ -82,6 +87,11 @@ export default { |
82 | sendThis(this); | 87 | sendThis(this); |
83 | }, | 88 | }, |
84 | methods: { | 89 | methods: { |
90 | //点击行选中或取消复选框 | ||
91 | handleRowClick (row, column, event) { | ||
92 | //通过ref绑定后这里使用$refs.table来操作bom元素 | ||
93 | this.$refs.table.toggleRowSelection(row); | ||
94 | }, | ||
85 | closeDialog () { | 95 | closeDialog () { |
86 | this.$emit("closeDialog"); | 96 | this.$emit("closeDialog"); |
87 | }, | 97 | }, |
... | @@ -93,7 +103,7 @@ export default { | ... | @@ -93,7 +103,7 @@ export default { |
93 | this.tableData.total = total; | 103 | this.tableData.total = total; |
94 | this.tableData.data = records; | 104 | this.tableData.data = records; |
95 | } | 105 | } |
96 | }); | 106 | }) |
97 | }, | 107 | }, |
98 | submitForm () { | 108 | submitForm () { |
99 | if (this.bdcdysz.length == 0) { | 109 | if (this.bdcdysz.length == 0) { |
... | @@ -101,10 +111,10 @@ export default { | ... | @@ -101,10 +111,10 @@ export default { |
101 | return; | 111 | return; |
102 | } | 112 | } |
103 | startBusinessFlow({ | 113 | startBusinessFlow({ |
104 | bsmSqyw: Cookies.get("bsmSqyw"), | 114 | bsmSqyw: this.bsmSqyw, |
105 | bdcdysz: this.bdcdysz, | 115 | bdcdysz: this.bdcdysz, |
106 | djqxbm: Cookies.get("djqxObj") ? JSON.parse(Cookies.get("djqxObj"))?.djqxbm : '', | 116 | djqxbm: this.djqxObj?.djqxbm, |
107 | djqxmc: Cookies.get("djqxObj") ? JSON.parse(Cookies.get("djqxObj"))?.djqxmc : '', | 117 | djqxmc: this.djqxObj?.djqxmc |
108 | }).then((res) => { | 118 | }).then((res) => { |
109 | if (res.code == 200) { | 119 | if (res.code == 200) { |
110 | this.$message({ | 120 | this.$message({ |
... | @@ -120,7 +130,7 @@ export default { | ... | @@ -120,7 +130,7 @@ export default { |
120 | } else { | 130 | } else { |
121 | this.$message.error(res.message); | 131 | this.$message.error(res.message); |
122 | } | 132 | } |
123 | }); | 133 | }) |
124 | }, | 134 | }, |
125 | handleSelectionChange (val) { | 135 | handleSelectionChange (val) { |
126 | val.forEach((item, index) => { | 136 | val.forEach((item, index) => { |
... | @@ -131,22 +141,9 @@ export default { | ... | @@ -131,22 +141,9 @@ export default { |
131 | }, | 141 | }, |
132 | openBook (row) { | 142 | openBook (row) { |
133 | var param = { bdcdyid: row.bdcdyid, qllx: row.qllx, bdcdyh: row.bdcdyh, bsmQlxx: row.bsmQlxx }; | 143 | var param = { bdcdyid: row.bdcdyid, qllx: row.qllx, bdcdyh: row.bdcdyh, bsmQlxx: row.bsmQlxx }; |
134 | this.$popup({ | 144 | this.$popup('登记簿详情', 'registerBook/djbFrame', { |
135 | titleStyle: "left", | 145 | formData: param |
136 | title: "登记簿详情", // 弹窗标题 | 146 | }) |
137 | editItem: "registerBook/djbFrame", // 弹窗内容 | ||
138 | formData: param, | ||
139 | width: "1220px", | ||
140 | height: "790px", | ||
141 | // cancelText: '取消摆烂', // 右边按钮文本 | ||
142 | // confirmText: '确定点击', //左边按钮文本 | ||
143 | cancel: () => { | ||
144 | console.log("取消回调"); | ||
145 | }, | ||
146 | confirm: () => { | ||
147 | console.log("确认回调"); | ||
148 | }, | ||
149 | }); | ||
150 | } | 147 | } |
151 | } | 148 | } |
152 | } | 149 | } | ... | ... |
1 | <template> | 1 | <template> |
2 | <dialogBox title="查询权利信息" width="85%" :isButton="false" :isMain="true" @closeDialog="closeDialog" v-model="myValue"> | 2 | <dialogBox title="查询权利信息" width="85%" :isButton="false" :isMain="true" @closeDialog="closeDialog" v-model="myValue"> |
3 | <component :is="editItem" @closeDialog="closeDialog" :isJump="isJump" id="slectBdc" @updateDialog="updateDialog" | 3 | <component :is="editItem" @closeDialog="closeDialog" v-bind="$attrs" :isJump="isJump" id="slectBdc" |
4 | :djywbm="djywbm" :key="key" /> | 4 | @updateDialog="updateDialog" :djywbm="djywbm" :key="key" /> |
5 | </dialogBox> | 5 | </dialogBox> |
6 | </template> | 6 | </template> |
7 | <script> | 7 | <script> |
... | @@ -16,7 +16,7 @@ export default { | ... | @@ -16,7 +16,7 @@ export default { |
16 | return { | 16 | return { |
17 | key: 0, | 17 | key: 0, |
18 | editItem: '', | 18 | editItem: '', |
19 | myValue: this.value, | 19 | myValue: this.value |
20 | } | 20 | } |
21 | }, | 21 | }, |
22 | watch: { | 22 | watch: { |
... | @@ -24,12 +24,12 @@ export default { | ... | @@ -24,12 +24,12 @@ export default { |
24 | this.myValue = val | 24 | this.myValue = val |
25 | this.key++ | 25 | this.key++ |
26 | if (this.$route.query.sqywbm) { | 26 | if (this.$route.query.sqywbm) { |
27 | let dd = queueDjywmc(this.$route.query.sqywbm, { 'target': '#slectBdc' }) | 27 | let dd = queueDjywmc(this.$route.query.sqywbm) |
28 | this.editItem = this.loadView(dd) | 28 | this.editItem = this.loadView(dd) |
29 | } | 29 | } |
30 | }, | 30 | }, |
31 | 'djywbm' (val) { | 31 | 'djywbm' (val) { |
32 | let dd = queueDjywmc(val, { 'target': '#slectBdc' }) | 32 | let dd = queueDjywmc(val) |
33 | this.editItem = this.loadView(dd) | 33 | this.editItem = this.loadView(dd) |
34 | } | 34 | } |
35 | }, | 35 | }, | ... | ... |
... | @@ -66,7 +66,7 @@ | ... | @@ -66,7 +66,7 @@ |
66 | <el-button type="primary" :disabled="btnDisabled" @click="bthSelectClick">选择不动产</el-button> | 66 | <el-button type="primary" :disabled="btnDisabled" @click="bthSelectClick">选择不动产</el-button> |
67 | </div> | 67 | </div> |
68 | </div> | 68 | </div> |
69 | <fqsqDialog v-model="isDialog" :djywbm="djywbm"/> | 69 | <fqsqDialog v-model="isDialog" :djqxObj="djqxObj" :bsmSqyw="bsmSqyw" :djywbm="djywbm" /> |
70 | </div> | 70 | </div> |
71 | </template> | 71 | </template> |
72 | <script> | 72 | <script> |
... | @@ -87,7 +87,13 @@ export default { | ... | @@ -87,7 +87,13 @@ export default { |
87 | djqxList: [], | 87 | djqxList: [], |
88 | isDialog: false, | 88 | isDialog: false, |
89 | btnDisabled: true, | 89 | btnDisabled: true, |
90 | djywbm: '' | 90 | djywbm: '', |
91 | |||
92 | djqxObj: { | ||
93 | djqxbm: '', | ||
94 | djqxmc: '' | ||
95 | }, | ||
96 | bsmSqyw: '' | ||
91 | } | 97 | } |
92 | }, | 98 | }, |
93 | components: { | 99 | components: { |
... | @@ -122,13 +128,12 @@ export default { | ... | @@ -122,13 +128,12 @@ export default { |
122 | this.$set(item, 'cselect', false) | 128 | this.$set(item, 'cselect', false) |
123 | }) | 129 | }) |
124 | item.cselect = true | 130 | item.cselect = true |
125 | Cookies.set("djqxObj", JSON.stringify({ | 131 | this.djqxObj.djqxbm = item.nodecode |
126 | 'djqxbm': item.nodecode, | 132 | this.djqxObj.djqxmc = item.djqxmc |
127 | 'djqxmc': item.nodename | 133 | |
128 | })) | ||
129 | if (item.sffqlc == '1') { | 134 | if (item.sffqlc == '1') { |
130 | this.btnDisabled = false | 135 | this.btnDisabled = false |
131 | Cookies.set("bsmSqyw", item.bsmSqyw) | 136 | this.bsmSqyw = item.bsmSqyw |
132 | this.djywbm = item.djywbm | 137 | this.djywbm = item.djywbm |
133 | console.log(this.djywbm, 'this.djywbm'); | 138 | console.log(this.djywbm, 'this.djywbm'); |
134 | } | 139 | } |
... | @@ -200,7 +205,7 @@ export default { | ... | @@ -200,7 +205,7 @@ export default { |
200 | this.$set(item, 'cselect', true) | 205 | this.$set(item, 'cselect', true) |
201 | if (item.sffqlc == '1') { | 206 | if (item.sffqlc == '1') { |
202 | this.btnDisabled = false | 207 | this.btnDisabled = false |
203 | Cookies.set("bsmSqyw", item.bsmSqyw) | 208 | this.bsmSqyw = item.bsmSqyw |
204 | this.djywbm = item.djywbm | 209 | this.djywbm = item.djywbm |
205 | } else { | 210 | } else { |
206 | this.getNextNode(item.bsmSqyw, false) | 211 | this.getNextNode(item.bsmSqyw, false) | ... | ... |
... | @@ -118,7 +118,7 @@ export default { | ... | @@ -118,7 +118,7 @@ export default { |
118 | handleLpbClick (item) { | 118 | handleLpbClick (item) { |
119 | this.$popup('楼盘表', 'components/bjlp/index', { | 119 | this.$popup('楼盘表', 'components/bjlp/index', { |
120 | width: '90%', | 120 | width: '90%', |
121 | height: "90%", | 121 | height: "92%", |
122 | formData: { | 122 | formData: { |
123 | bsm: '' | 123 | bsm: '' |
124 | } | 124 | } | ... | ... |
... | @@ -99,36 +99,23 @@ export default { | ... | @@ -99,36 +99,23 @@ export default { |
99 | 99 | ||
100 | //打开楼盘表 | 100 | //打开楼盘表 |
101 | openlpbClick (scope) { | 101 | openlpbClick (scope) { |
102 | debugger; | 102 | // var zrzbsm = scope.row.bsm; |
103 | var zrzbsm = scope.row.bsm; | 103 | this.$popup('楼盘表', 'components/bjlp/index', { |
104 | 104 | width: '90%', | |
105 | let that = this; | 105 | height: "92%", |
106 | this.$popup({ | ||
107 | title: "楼盘表", | ||
108 | width: "50%", | ||
109 | btnShow: true, | ||
110 | editItem: "xxxxxxxxxx", | ||
111 | height: "600px", | ||
112 | formData: { | 106 | formData: { |
113 | bsmSlsq: this.bsmSlsq, | 107 | bsm: '' |
114 | dataList: this.unitData, | 108 | } |
115 | }, | 109 | }) |
116 | cancel: function () { }, //取消事件的回调 | 110 | // getLpb({ zrzbsm: zrzbsm }) |
117 | confirm: function () { | 111 | // .then((res) => { |
118 | that.loadBdcdylist(); | 112 | // if (res.code == 200) { |
119 | }, //确认事件的回调 | 113 | // var lpbdata = res.result; |
120 | }); | 114 | // } |
121 | 115 | // }) | |
122 | 116 | // .catch((error) => { | |
123 | getLpb({ zrzbsm: zrzbsm }) | 117 | // console.log(error); |
124 | .then((res) => { | 118 | // }); |
125 | if (res.code == 200) { | ||
126 | var lpbdata = res.result; | ||
127 | } | ||
128 | }) | ||
129 | .catch((error) => { | ||
130 | console.log(error); | ||
131 | }); | ||
132 | }, | 119 | }, |
133 | }, | 120 | }, |
134 | }; | 121 | }; | ... | ... |
-
Please register or sign in to post a comment