Merge branch 'master' of http://yun.pashanhoo.com:9090/bdc/bdcdj-web
Showing
26 changed files
with
78 additions
and
61 deletions
... | @@ -120,7 +120,6 @@ export default { | ... | @@ -120,7 +120,6 @@ export default { |
120 | // 单选 | 120 | // 单选 |
121 | singleElection (row) { | 121 | singleElection (row) { |
122 | this.selected = this.data.indexOf(row); | 122 | this.selected = this.data.indexOf(row); |
123 | console.log(this.selected); | ||
124 | }, | 123 | }, |
125 | 124 | ||
126 | tableRowClassName ({ row, rowIndex }) { | 125 | tableRowClassName ({ row, rowIndex }) { | ... | ... |
... | @@ -120,7 +120,6 @@ export default { | ... | @@ -120,7 +120,6 @@ export default { |
120 | // 单选 | 120 | // 单选 |
121 | singleElection (row) { | 121 | singleElection (row) { |
122 | this.selected = this.data.indexOf(row); | 122 | this.selected = this.data.indexOf(row); |
123 | console.log(this.selected); | ||
124 | }, | 123 | }, |
125 | 124 | ||
126 | tableRowClassName ({ row, rowIndex }) { | 125 | tableRowClassName ({ row, rowIndex }) { | ... | ... |
... | @@ -49,6 +49,14 @@ export default { | ... | @@ -49,6 +49,14 @@ export default { |
49 | created () { | 49 | created () { |
50 | this.queryNoticeList() | 50 | this.queryNoticeList() |
51 | }, | 51 | }, |
52 | mounted () { | ||
53 | let that = this | ||
54 | window.addEventListener('message', function (messageEvent) { | ||
55 | if (messageEvent.data.update) { | ||
56 | that.queryNoticeList() | ||
57 | } | ||
58 | }, false) | ||
59 | }, | ||
52 | methods: { | 60 | methods: { |
53 | queryNoticeList () { | 61 | queryNoticeList () { |
54 | getHomeNoticeList().then(res => { | 62 | getHomeNoticeList().then(res => { | ... | ... |
... | @@ -15,6 +15,9 @@ export default { | ... | @@ -15,6 +15,9 @@ export default { |
15 | if (this.fetchData) { | 15 | if (this.fetchData) { |
16 | this.fetchData() | 16 | this.fetchData() |
17 | } | 17 | } |
18 | if (this.queryClick) { | ||
19 | this.queryClick() | ||
20 | } | ||
18 | }, | 21 | }, |
19 | methods: { | 22 | methods: { |
20 | handleSizeChange (val) { | 23 | handleSizeChange (val) { | ... | ... |
... | @@ -97,6 +97,9 @@ export default { | ... | @@ -97,6 +97,9 @@ export default { |
97 | this.myValue = val; | 97 | this.myValue = val; |
98 | let that = this | 98 | let that = this |
99 | if (val) { | 99 | if (val) { |
100 | this.form.sqrList = [] | ||
101 | this.form.qlrList = [] | ||
102 | this.isSearch = false | ||
100 | if (this.sqcxBsm == "") { | 103 | if (this.sqcxBsm == "") { |
101 | that.add("sqr"); | 104 | that.add("sqr"); |
102 | that.add("qlr"); | 105 | that.add("qlr"); |
... | @@ -121,9 +124,6 @@ export default { | ... | @@ -121,9 +124,6 @@ export default { |
121 | }, | 124 | }, |
122 | methods: { | 125 | methods: { |
123 | closeDialog () { | 126 | closeDialog () { |
124 | this.form.sqrList = [] | ||
125 | this.form.qlrList = [] | ||
126 | this.isSearch = false | ||
127 | this.$emit("input", false); | 127 | this.$emit("input", false); |
128 | }, | 128 | }, |
129 | loadData () { | 129 | loadData () { |
... | @@ -131,7 +131,7 @@ export default { | ... | @@ -131,7 +131,7 @@ export default { |
131 | getJtfcInfo({ sqcxBsm: this.sqcxBsm }).then((res) => { | 131 | getJtfcInfo({ sqcxBsm: this.sqcxBsm }).then((res) => { |
132 | this.$endLoading(); | 132 | this.$endLoading(); |
133 | if (res.code == 200) { | 133 | if (res.code == 200) { |
134 | this.form = _.cloneDeep(res.result); | 134 | this.form = res.result; |
135 | this.isSearch = true; | 135 | this.isSearch = true; |
136 | } | 136 | } |
137 | }); | 137 | }); | ... | ... |
... | @@ -88,6 +88,7 @@ export default { | ... | @@ -88,6 +88,7 @@ export default { |
88 | console.log(name, sort); | 88 | console.log(name, sort); |
89 | }, | 89 | }, |
90 | handleAdd () { | 90 | handleAdd () { |
91 | this.sqcxBsm = '' | ||
91 | this.isDialog = true; | 92 | this.isDialog = true; |
92 | }, | 93 | }, |
93 | handleViewClick (row) { | 94 | handleViewClick (row) { | ... | ... |
... | @@ -129,6 +129,7 @@ export default { | ... | @@ -129,6 +129,7 @@ export default { |
129 | publishNotice({ "bsmNotice": item.bsmNotice }).then(res => { | 129 | publishNotice({ "bsmNotice": item.bsmNotice }).then(res => { |
130 | if (res.code == 200) { | 130 | if (res.code == 200) { |
131 | this.$message.success('发布成功') | 131 | this.$message.success('发布成功') |
132 | this.postMessage() | ||
132 | this.queryClick(); | 133 | this.queryClick(); |
133 | } else { | 134 | } else { |
134 | this.$message.error(res.message) | 135 | this.$message.error(res.message) |
... | @@ -141,6 +142,9 @@ export default { | ... | @@ -141,6 +142,9 @@ export default { |
141 | }); | 142 | }); |
142 | }); | 143 | }); |
143 | }, | 144 | }, |
145 | postMessage () { | ||
146 | window.parent.postMessage({ update: true }, '*') | ||
147 | }, | ||
144 | //取消发布 | 148 | //取消发布 |
145 | toUnPublish (item) { | 149 | toUnPublish (item) { |
146 | this.$confirm('是否确定取消发布', '提示', { | 150 | this.$confirm('是否确定取消发布', '提示', { | ... | ... |
... | @@ -7,13 +7,23 @@ export default { | ... | @@ -7,13 +7,23 @@ export default { |
7 | } | 7 | } |
8 | }, | 8 | }, |
9 | created () { | 9 | created () { |
10 | getHomeNoticeList().then(res => { | 10 | this.getHomeNotice() |
11 | if (res.result) { | 11 | }, |
12 | this.noticeList = res.result.noticeList | 12 | mounted () { |
13 | window.addEventListener('message', function (messageEvent) { | ||
14 | if (messageEvent.data.update) { | ||
15 | this.getHomeNotice() | ||
13 | } | 16 | } |
14 | }) | 17 | }, false) |
15 | }, | 18 | }, |
16 | methods: { | 19 | methods: { |
20 | getHomeNotice () { | ||
21 | getHomeNoticeList().then(res => { | ||
22 | if (res.result) { | ||
23 | this.noticeList = res.result.noticeList | ||
24 | } | ||
25 | }) | ||
26 | }, | ||
17 | //右侧表单选项卡事件 | 27 | //右侧表单选项卡事件 |
18 | beforeLeave (activeName, oldActiveName) { | 28 | beforeLeave (activeName, oldActiveName) { |
19 | if (activeName && activeName != 0) this.getFromRouter(activeName) | 29 | if (activeName && activeName != 0) this.getFromRouter(activeName) |
... | @@ -21,8 +31,8 @@ export default { | ... | @@ -21,8 +31,8 @@ export default { |
21 | //切换选项卡内容组件 | 31 | //切换选项卡内容组件 |
22 | getFromRouter (tabname) { | 32 | getFromRouter (tabname) { |
23 | //根据tabname获取选中的表单 此操作为了获取后端返回的表单对象,使用里面的是否可操作的属性 | 33 | //根据tabname获取选中的表单 此操作为了获取后端返回的表单对象,使用里面的是否可操作的属性 |
24 | for(let item of this.tabList){ | 34 | for (let item of this.tabList) { |
25 | if(item.value === tabname){ | 35 | if (item.value === tabname) { |
26 | this.currentSelectTab = item | 36 | this.currentSelectTab = item |
27 | break; | 37 | break; |
28 | } | 38 | } | ... | ... |
... | @@ -41,7 +41,7 @@ | ... | @@ -41,7 +41,7 @@ |
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> |
47 | </el-row> | 47 | </el-row> |
... | @@ -82,7 +82,6 @@ export default { | ... | @@ -82,7 +82,6 @@ export default { |
82 | mixins: [table, searchMin], | 82 | mixins: [table, searchMin], |
83 | mounted () { | 83 | mounted () { |
84 | sendThis(this); | 84 | sendThis(this); |
85 | this.queryClick() | ||
86 | }, | 85 | }, |
87 | computed: { | 86 | computed: { |
88 | ...mapGetters(['dictData']) | 87 | ...mapGetters(['dictData']) | ... | ... |
1 | <template> | 1 | <template> |
2 | <div class="from-clues"> | 2 | <div class="from-clues"> |
3 | <div class="from-clues-header"> | 3 | <el-tabs type="card" v-model="activeName" @tab-click="handleTabClick" v-if="!isJump"> |
4 | <el-tabs v-model="activeName" @tab-click="handleTabClick" v-if="!isJump"> | ||
5 | <el-tab-pane label="自然幢" name="zrz"></el-tab-pane> | 4 | <el-tab-pane label="自然幢" name="zrz"></el-tab-pane> |
6 | <el-tab-pane label="多幢" name="h"></el-tab-pane> | 5 | <el-tab-pane label="多幢" name="h"></el-tab-pane> |
7 | </el-tabs> | 6 | </el-tabs> |
7 | |||
8 | <div class="from-clues-header"> | ||
8 | <el-form :model="queryForm" ref="queryForm" label-width="110px"> | 9 | <el-form :model="queryForm" ref="queryForm" label-width="110px"> |
9 | <el-row> | 10 | <el-row> |
10 | <el-col :span="7"> | 11 | <el-col :span="7"> |
11 | <el-form-item label="宗地代码"> | 12 | <el-form-item label="宗地代码"> |
12 | <el-input placeholder="宗地代码" v-model="queryForm.zddm" clearable> | 13 | <el-input placeholder="请输入宗地代码" v-model="queryForm.zddm" clearable> |
13 | </el-input> | 14 | </el-input> |
14 | </el-form-item> | 15 | </el-form-item> |
15 | </el-col> | 16 | </el-col> |
16 | <el-col :span="7"> | 17 | <el-col :span="7"> |
17 | <el-form-item label="土地证号"> | 18 | <el-form-item label="土地证号"> |
18 | <el-input placeholder="土地证号" v-model="queryForm.bdcqzh" clearable> | 19 | <el-input placeholder="请输入土地证号" v-model="queryForm.bdcqzh" clearable> |
19 | </el-input> | 20 | </el-input> |
20 | </el-form-item> | 21 | </el-form-item> |
21 | </el-col> | 22 | </el-col> |
22 | <el-col :span="7"> | 23 | <el-col :span="7"> |
23 | <el-form-item label="土地坐落"> | 24 | <el-form-item label="土地坐落"> |
24 | <el-input placeholder="土地坐落" v-model="queryForm.zl" clearable> | 25 | <el-input placeholder="请输入土地坐落" v-model="queryForm.zl" clearable> |
25 | </el-input> | 26 | </el-input> |
26 | </el-form-item> | 27 | </el-form-item> |
27 | </el-col> | 28 | </el-col> |
... | @@ -30,25 +31,25 @@ | ... | @@ -30,25 +31,25 @@ |
30 | <el-row> | 31 | <el-row> |
31 | <el-col :span="7"> | 32 | <el-col :span="7"> |
32 | <el-form-item label="自然幢号"> | 33 | <el-form-item label="自然幢号"> |
33 | <el-input placeholder="自然幢号" v-model="queryForm.zrzh" clearable> | 34 | <el-input placeholder="请输入自然幢号" v-model="queryForm.zrzh" clearable> |
34 | </el-input> | 35 | </el-input> |
35 | </el-form-item> | 36 | </el-form-item> |
36 | </el-col> | 37 | </el-col> |
37 | <el-col :span="7"> | 38 | <el-col :span="7"> |
38 | <el-form-item label="项目名称"> | 39 | <el-form-item label="项目名称"> |
39 | <el-input v-model="queryForm.xmmc"></el-input> | 40 | <el-input placeholder="请输入项目名称" v-model="queryForm.xmmc"></el-input> |
40 | </el-form-item> | 41 | </el-form-item> |
41 | </el-col> | 42 | </el-col> |
42 | <el-col :span="7"> | 43 | <el-col :span="7"> |
43 | <el-form-item label="建筑物名称"> | 44 | <el-form-item label="建筑物名称"> |
44 | <el-input placeholder="建筑物名称" v-model="queryForm.jzwmc" clearable> | 45 | <el-input placeholder="请输入建筑物名称" v-model="queryForm.jzwmc" clearable> |
45 | </el-input> | 46 | </el-input> |
46 | </el-form-item> | 47 | </el-form-item> |
47 | </el-col> | 48 | </el-col> |
48 | 49 | ||
49 | <el-col :span="3" class="btnColRight"> | 50 | <el-col :span="3" class="btnColRight"> |
50 | <el-form-item> | 51 | <el-form-item> |
51 | <el-button type="primary" @click="fetchData()">查询</el-button> | 52 | <el-button type="primary" @click="queryClick">查询</el-button> |
52 | </el-form-item> | 53 | </el-form-item> |
53 | </el-col> | 54 | </el-col> |
54 | </el-row> | 55 | </el-row> |
... | @@ -112,7 +113,7 @@ export default { | ... | @@ -112,7 +113,7 @@ export default { |
112 | closeDialog () { | 113 | closeDialog () { |
113 | this.$emit("closeDialog"); | 114 | this.$emit("closeDialog"); |
114 | }, | 115 | }, |
115 | fetchData () { | 116 | queryClick () { |
116 | if (!this.isJump) { | 117 | if (!this.isJump) { |
117 | //从业务办理进入 | 118 | //从业务办理进入 |
118 | this.queryForm.sqywbm = this.sqywInfo.djywbm; | 119 | this.queryForm.sqywbm = this.sqywInfo.djywbm; |
... | @@ -148,7 +149,7 @@ export default { | ... | @@ -148,7 +149,7 @@ export default { |
148 | }, | 149 | }, |
149 | handleTabClick () { | 150 | handleTabClick () { |
150 | this.pageData.currentPage = 1; | 151 | this.pageData.currentPage = 1; |
151 | this.fetchData(); | 152 | this.queryClick(); |
152 | }, | 153 | }, |
153 | submitForm () { | 154 | submitForm () { |
154 | if (this.bdcdysz.length == 0) { | 155 | if (this.bdcdysz.length == 0) { |
... | @@ -209,4 +210,5 @@ export default { | ... | @@ -209,4 +210,5 @@ export default { |
209 | <style scoped lang="scss"> | 210 | <style scoped lang="scss"> |
210 | @import "~@/styles/mixin.scss"; | 211 | @import "~@/styles/mixin.scss"; |
211 | @import "~@/styles/public.scss"; | 212 | @import "~@/styles/public.scss"; |
213 | |||
212 | </style> | 214 | </style> | ... | ... |
... | @@ -18,7 +18,7 @@ | ... | @@ -18,7 +18,7 @@ |
18 | </el-col> | 18 | </el-col> |
19 | <el-col :span="4" class="btnColRight"> | 19 | <el-col :span="4" class="btnColRight"> |
20 | <el-form-item> | 20 | <el-form-item> |
21 | <el-button type="primary" @click="fetchData">查询</el-button> | 21 | <el-button type="primary" @click="queryClick">查询</el-button> |
22 | </el-form-item> | 22 | </el-form-item> |
23 | </el-col> | 23 | </el-col> |
24 | </el-row> | 24 | </el-row> |
... | @@ -78,7 +78,7 @@ export default { | ... | @@ -78,7 +78,7 @@ export default { |
78 | closeDialog () { | 78 | closeDialog () { |
79 | this.$emit("closeDialog"); | 79 | this.$emit("closeDialog"); |
80 | }, | 80 | }, |
81 | fetchData () { | 81 | queryClick () { |
82 | this.queryForm.sqywbm = this.sqywInfo.djywbm; | 82 | this.queryForm.sqywbm = this.sqywInfo.djywbm; |
83 | selectZdjbxx({ ...this.queryForm, ...this.pageData }).then((res) => { | 83 | selectZdjbxx({ ...this.queryForm, ...this.pageData }).then((res) => { |
84 | if (res.code === 200) { | 84 | if (res.code === 200) { | ... | ... |
... | @@ -18,7 +18,7 @@ | ... | @@ -18,7 +18,7 @@ |
18 | </el-col> | 18 | </el-col> |
19 | <el-col :span="4" class="btnColRight"> | 19 | <el-col :span="4" class="btnColRight"> |
20 | <el-form-item> | 20 | <el-form-item> |
21 | <el-button type="primary" @click="fetchData">查询</el-button> | 21 | <el-button type="primary" @click="queryClick">查询</el-button> |
22 | </el-form-item> | 22 | </el-form-item> |
23 | </el-col> | 23 | </el-col> |
24 | </el-row> | 24 | </el-row> |
... | @@ -75,7 +75,7 @@ export default { | ... | @@ -75,7 +75,7 @@ export default { |
75 | closeDialog () { | 75 | closeDialog () { |
76 | this.$emit("closeDialog"); | 76 | this.$emit("closeDialog"); |
77 | }, | 77 | }, |
78 | fetchData () { | 78 | queryClick () { |
79 | this.queryForm.sqywbm = this.sqywInfo.djywbm; | 79 | this.queryForm.sqywbm = this.sqywInfo.djywbm; |
80 | selectNydsyqQlxx({ ...this.queryForm, ...this.pageData }).then((res) => { | 80 | selectNydsyqQlxx({ ...this.queryForm, ...this.pageData }).then((res) => { |
81 | if (res.code === 200) { | 81 | if (res.code === 200) { | ... | ... |
... | @@ -33,7 +33,7 @@ | ... | @@ -33,7 +33,7 @@ |
33 | </el-col> | 33 | </el-col> |
34 | <el-col :span="2" class="btnColRight"> | 34 | <el-col :span="2" class="btnColRight"> |
35 | <el-form-item> | 35 | <el-form-item> |
36 | <el-button type="primary" @click="fetchData()">查询</el-button> | 36 | <el-button type="primary" @click="queryClick">查询</el-button> |
37 | </el-form-item> | 37 | </el-form-item> |
38 | </el-col> | 38 | </el-col> |
39 | </el-row> | 39 | </el-row> |
... | @@ -103,7 +103,7 @@ export default { | ... | @@ -103,7 +103,7 @@ export default { |
103 | this.$emit("closeDialog"); | 103 | this.$emit("closeDialog"); |
104 | }, | 104 | }, |
105 | //默认加载表格信息 | 105 | //默认加载表格信息 |
106 | fetchData() { | 106 | queryClick() { |
107 | this.queryForm.bsmSqyw = this.bsmSqyw; | 107 | this.queryForm.bsmSqyw = this.bsmSqyw; |
108 | selectQlxx({ ...this.queryForm, ...this.pageData }).then((res) => { | 108 | selectQlxx({ ...this.queryForm, ...this.pageData }).then((res) => { |
109 | if (res.code === 200) { | 109 | if (res.code === 200) { | ... | ... |
... | @@ -25,7 +25,7 @@ | ... | @@ -25,7 +25,7 @@ |
25 | </el-col> | 25 | </el-col> |
26 | <el-col :span="2" class="btnColRight"> | 26 | <el-col :span="2" class="btnColRight"> |
27 | <el-form-item> | 27 | <el-form-item> |
28 | <el-button type="primary" @click="fetchData()">查询</el-button> | 28 | <el-button type="primary" @click="queryClick">查询</el-button> |
29 | </el-form-item> | 29 | </el-form-item> |
30 | </el-col> | 30 | </el-col> |
31 | </el-row> | 31 | </el-row> |
... | @@ -80,7 +80,7 @@ export default { | ... | @@ -80,7 +80,7 @@ export default { |
80 | closeDialog() { | 80 | closeDialog() { |
81 | this.$emit("closeDialog"); | 81 | this.$emit("closeDialog"); |
82 | }, | 82 | }, |
83 | fetchData() { | 83 | queryClick() { |
84 | this.queryForm.sqywbm = this.sqywInfo.djywbm; | 84 | this.queryForm.sqywbm = this.sqywInfo.djywbm; |
85 | selectFwsyq({ ...this.queryForm, ...this.pageData }).then((res) => { | 85 | selectFwsyq({ ...this.queryForm, ...this.pageData }).then((res) => { |
86 | if (res.code === 200) { | 86 | if (res.code === 200) { | ... | ... |
... | @@ -32,7 +32,7 @@ | ... | @@ -32,7 +32,7 @@ |
32 | </el-col> | 32 | </el-col> |
33 | <el-col :span="2" class="btnColRight"> | 33 | <el-col :span="2" class="btnColRight"> |
34 | <el-form-item> | 34 | <el-form-item> |
35 | <el-button type="primary" @click="fetchData">查询</el-button> | 35 | <el-button type="primary" @click="queryClick">查询</el-button> |
36 | </el-form-item> | 36 | </el-form-item> |
37 | </el-col> | 37 | </el-col> |
38 | </el-row> | 38 | </el-row> |
... | @@ -88,7 +88,7 @@ export default { | ... | @@ -88,7 +88,7 @@ export default { |
88 | closeDialog() { | 88 | closeDialog() { |
89 | this.$emit("closeDialog"); | 89 | this.$emit("closeDialog"); |
90 | }, | 90 | }, |
91 | fetchData() { | 91 | queryClick() { |
92 | this.queryForm.sqywbm = this.sqywInfo.djywbm; | 92 | this.queryForm.sqywbm = this.sqywInfo.djywbm; |
93 | selectJsydQlxx({ ...this.queryForm, ...this.pageData }).then((res) => { | 93 | selectJsydQlxx({ ...this.queryForm, ...this.pageData }).then((res) => { |
94 | if (res.code === 200) { | 94 | if (res.code === 200) { | ... | ... |
... | @@ -18,7 +18,7 @@ | ... | @@ -18,7 +18,7 @@ |
18 | </el-col> | 18 | </el-col> |
19 | <el-col :span="4" class="btnColRight"> | 19 | <el-col :span="4" class="btnColRight"> |
20 | <el-form-item> | 20 | <el-form-item> |
21 | <el-button type="primary" @click="fetchData">查询</el-button> | 21 | <el-button type="primary" @click="queryClick">查询</el-button> |
22 | </el-form-item> | 22 | </el-form-item> |
23 | </el-col> | 23 | </el-col> |
24 | </el-row> | 24 | </el-row> |
... | @@ -79,9 +79,6 @@ export default { | ... | @@ -79,9 +79,6 @@ export default { |
79 | this.$emit("closeDialog"); | 79 | this.$emit("closeDialog"); |
80 | }, | 80 | }, |
81 | queryClick() { | 81 | queryClick() { |
82 | this.fetchData(); | ||
83 | }, | ||
84 | fetchData() { | ||
85 | this.queryForm.sqywbm = this.sqywInfo.djywbm; | 82 | this.queryForm.sqywbm = this.sqywInfo.djywbm; |
86 | selectZdjbxx({ ...this.queryForm, ...this.pageData }).then((res) => { | 83 | selectZdjbxx({ ...this.queryForm, ...this.pageData }).then((res) => { |
87 | if (res.code === 200) { | 84 | if (res.code === 200) { | ... | ... |
... | @@ -40,7 +40,7 @@ | ... | @@ -40,7 +40,7 @@ |
40 | </el-col> | 40 | </el-col> |
41 | <el-col :span="2" class="btnColRight"> | 41 | <el-col :span="2" class="btnColRight"> |
42 | <el-form-item> | 42 | <el-form-item> |
43 | <el-button type="primary" @click="fetchData()">查询</el-button> | 43 | <el-button type="primary" @click="queryClick">查询</el-button> |
44 | </el-form-item> | 44 | </el-form-item> |
45 | </el-col> | 45 | </el-col> |
46 | </el-row> | 46 | </el-row> |
... | @@ -104,7 +104,7 @@ export default { | ... | @@ -104,7 +104,7 @@ export default { |
104 | closeDialog() { | 104 | closeDialog() { |
105 | this.$emit("closeDialog"); | 105 | this.$emit("closeDialog"); |
106 | }, | 106 | }, |
107 | fetchData() { | 107 | queryClick() { |
108 | this.queryForm.sqywbm = this.sqywInfo.djywbm; | 108 | this.queryForm.sqywbm = this.sqywInfo.djywbm; |
109 | selectYgdj100({ ...this.queryForm, ...this.pageData }).then((res) => { | 109 | selectYgdj100({ ...this.queryForm, ...this.pageData }).then((res) => { |
110 | if (res.code === 200) { | 110 | if (res.code === 200) { | ... | ... |
... | @@ -40,7 +40,7 @@ | ... | @@ -40,7 +40,7 @@ |
40 | </el-col> | 40 | </el-col> |
41 | <el-col :span="2" class="btnColRight"> | 41 | <el-col :span="2" class="btnColRight"> |
42 | <el-form-item> | 42 | <el-form-item> |
43 | <el-button type="primary" @click="fetchData()">查询</el-button> | 43 | <el-button type="primary" @click="queryClick">查询</el-button> |
44 | </el-form-item> | 44 | </el-form-item> |
45 | </el-col> | 45 | </el-col> |
46 | </el-row> | 46 | </el-row> |
... | @@ -104,7 +104,7 @@ export default { | ... | @@ -104,7 +104,7 @@ export default { |
104 | closeDialog() { | 104 | closeDialog() { |
105 | this.$emit("closeDialog"); | 105 | this.$emit("closeDialog"); |
106 | }, | 106 | }, |
107 | fetchData() { | 107 | queryClick() { |
108 | this.queryForm.sqywbm = this.sqywInfo.djywbm; | 108 | this.queryForm.sqywbm = this.sqywInfo.djywbm; |
109 | selectYgdj200({ ...this.queryForm, ...this.pageData }).then((res) => { | 109 | selectYgdj200({ ...this.queryForm, ...this.pageData }).then((res) => { |
110 | if (res.code === 200) { | 110 | if (res.code === 200) { | ... | ... |
... | @@ -40,7 +40,7 @@ | ... | @@ -40,7 +40,7 @@ |
40 | </el-col> | 40 | </el-col> |
41 | <el-col :span="2" class="btnColRight"> | 41 | <el-col :span="2" class="btnColRight"> |
42 | <el-form-item> | 42 | <el-form-item> |
43 | <el-button type="primary" @click="fetchData()">查询</el-button> | 43 | <el-button type="primary" @click="queryClick">查询</el-button> |
44 | </el-form-item> | 44 | </el-form-item> |
45 | </el-col> | 45 | </el-col> |
46 | </el-row> | 46 | </el-row> |
... | @@ -104,7 +104,7 @@ export default { | ... | @@ -104,7 +104,7 @@ export default { |
104 | closeDialog() { | 104 | closeDialog() { |
105 | this.$emit("closeDialog"); | 105 | this.$emit("closeDialog"); |
106 | }, | 106 | }, |
107 | fetchData() { | 107 | queryClick() { |
108 | this.queryForm.sqywbm = this.sqywInfo.djywbm; | 108 | this.queryForm.sqywbm = this.sqywInfo.djywbm; |
109 | selectYgdy({ ...this.queryForm, ...this.pageData }).then((res) => { | 109 | selectYgdy({ ...this.queryForm, ...this.pageData }).then((res) => { |
110 | if (res.code === 200) { | 110 | if (res.code === 200) { | ... | ... |
... | @@ -36,7 +36,7 @@ | ... | @@ -36,7 +36,7 @@ |
36 | <el-col :span="4" class="btnColRight"> | 36 | <el-col :span="4" class="btnColRight"> |
37 | <el-form-item> | 37 | <el-form-item> |
38 | <el-button type="primary" native-type="submit" @click="queryClick">查询</el-button> | 38 | <el-button type="primary" native-type="submit" @click="queryClick">查询</el-button> |
39 | <el-button @click="moreQueryClick()">高级查询</el-button> | 39 | <el-button @click="moreQueryClick">高级查询</el-button> |
40 | </el-form-item> | 40 | </el-form-item> |
41 | </el-col> | 41 | </el-col> |
42 | </el-row> | 42 | </el-row> | ... | ... |
... | @@ -38,7 +38,7 @@ | ... | @@ -38,7 +38,7 @@ |
38 | <el-col :span="4" class="btnColRight"> | 38 | <el-col :span="4" class="btnColRight"> |
39 | <el-form-item> | 39 | <el-form-item> |
40 | <el-button type="primary" native-type="submit" @click="queryClick">查询</el-button> | 40 | <el-button type="primary" native-type="submit" @click="queryClick">查询</el-button> |
41 | <el-button @click="moreQueryClick()">高级查询</el-button> | 41 | <el-button @click="moreQueryClick">高级查询</el-button> |
42 | </el-form-item> | 42 | </el-form-item> |
43 | </el-col> | 43 | </el-col> |
44 | </el-row> | 44 | </el-row> |
... | @@ -64,7 +64,6 @@ export default { | ... | @@ -64,7 +64,6 @@ export default { |
64 | mixins: [table], | 64 | mixins: [table], |
65 | mounted () { | 65 | mounted () { |
66 | sendThis(this); | 66 | sendThis(this); |
67 | this.queryClick() | ||
68 | }, | 67 | }, |
69 | computed: { | 68 | computed: { |
70 | ...mapGetters(['dictData']) | 69 | ...mapGetters(['dictData']) | ... | ... |
... | @@ -32,7 +32,7 @@ | ... | @@ -32,7 +32,7 @@ |
32 | <el-col :span="4" class="btnColRight"> | 32 | <el-col :span="4" class="btnColRight"> |
33 | <el-form-item> | 33 | <el-form-item> |
34 | <el-button type="primary" native-type="submit" @click="queryClick">查询</el-button> | 34 | <el-button type="primary" native-type="submit" @click="queryClick">查询</el-button> |
35 | <el-button @click="moreQueryClick()">高级查询</el-button> | 35 | <el-button @click="moreQueryClick">高级查询</el-button> |
36 | </el-form-item> | 36 | </el-form-item> |
37 | </el-col> | 37 | </el-col> |
38 | </el-row> | 38 | </el-row> |
... | @@ -57,7 +57,6 @@ export default { | ... | @@ -57,7 +57,6 @@ export default { |
57 | mixins: [table], | 57 | mixins: [table], |
58 | mounted () { | 58 | mounted () { |
59 | sendThis(this) | 59 | sendThis(this) |
60 | this.queryClick() | ||
61 | }, | 60 | }, |
62 | data () { | 61 | data () { |
63 | return { | 62 | return { | ... | ... |
... | @@ -6,32 +6,32 @@ | ... | @@ -6,32 +6,32 @@ |
6 | <el-row> | 6 | <el-row> |
7 | <el-col :span="5"> | 7 | <el-col :span="5"> |
8 | <el-form-item label="不动产权证号" label-width="100px"> | 8 | <el-form-item label="不动产权证号" label-width="100px"> |
9 | <el-input placeholder="请输入不动产权证号" class="width100" @clear="queryClick()" v-model="queryForm.bdcqzh"> | 9 | <el-input placeholder="请输入不动产权证号" class="width100" @clear="queryClick" v-model="queryForm.bdcqzh"> |
10 | </el-input> | 10 | </el-input> |
11 | </el-form-item> | 11 | </el-form-item> |
12 | </el-col> | 12 | </el-col> |
13 | <el-col :span="5"> | 13 | <el-col :span="5"> |
14 | <el-form-item label="印刷序列号" label-width="100px"> | 14 | <el-form-item label="印刷序列号" label-width="100px"> |
15 | <el-input placeholder="请输入印刷序列号" class="width100" @clear="queryClick()" v-model="queryForm.ysxlh"> | 15 | <el-input placeholder="请输入印刷序列号" class="width100" @clear="queryClick" v-model="queryForm.ysxlh"> |
16 | </el-input> | 16 | </el-input> |
17 | </el-form-item> | 17 | </el-form-item> |
18 | </el-col> | 18 | </el-col> |
19 | <el-col :span="5"> | 19 | <el-col :span="5"> |
20 | <el-form-item label="业务号"> | 20 | <el-form-item label="业务号"> |
21 | <el-input placeholder="请输入业务号" class="width100" @clear="queryClick()" v-model="queryForm.ywh"> | 21 | <el-input placeholder="请输入业务号" class="width100" @clear="queryClick" v-model="queryForm.ywh"> |
22 | </el-input> | 22 | </el-input> |
23 | </el-form-item> | 23 | </el-form-item> |
24 | </el-col> | 24 | </el-col> |
25 | <el-col :span="5"> | 25 | <el-col :span="5"> |
26 | <el-form-item label="领取人"> | 26 | <el-form-item label="领取人"> |
27 | <el-input placeholder="请输入领取人" class="width100" @clear="queryClick()" v-model="queryForm.lqr"> | 27 | <el-input placeholder="请输入领取人" class="width100" @clear="queryClick" v-model="queryForm.lqr"> |
28 | </el-input> | 28 | </el-input> |
29 | </el-form-item> | 29 | </el-form-item> |
30 | </el-col> | 30 | </el-col> |
31 | 31 | ||
32 | <el-col :span="4" class="btnColRight"> | 32 | <el-col :span="4" class="btnColRight"> |
33 | <el-form-item> | 33 | <el-form-item> |
34 | <el-button type="primary" native-type="submit" @click="queryClick()">查询</el-button> | 34 | <el-button type="primary" native-type="submit" @click="queryClick">查询</el-button> |
35 | <el-button @click="moreQueryClick()">高级查询</el-button> | 35 | <el-button @click="moreQueryClick()">高级查询</el-button> |
36 | </el-form-item> | 36 | </el-form-item> |
37 | </el-col> | 37 | </el-col> | ... | ... |
... | @@ -33,10 +33,10 @@ | ... | @@ -33,10 +33,10 @@ |
33 | <el-form-item> | 33 | <el-form-item> |
34 | <el-button | 34 | <el-button |
35 | type="primary" | 35 | type="primary" |
36 | @click="queryClick()" | 36 | @click="queryClick" |
37 | >查询</el-button | 37 | >查询</el-button |
38 | > | 38 | > |
39 | <el-button @click="moreQueryClick()">高级查询</el-button> | 39 | <el-button @click="moreQueryClick">高级查询</el-button> |
40 | </el-form-item> | 40 | </el-form-item> |
41 | </el-col> | 41 | </el-col> |
42 | </el-row> | 42 | </el-row> | ... | ... |
-
Please register or sign in to post a comment