Merge branch 'master' of http://yun.pashanhoo.com:9090/bdc/bdcdj-web
Showing
53 changed files
with
397 additions
and
492 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,17 @@ export default { | ... | @@ -49,6 +49,17 @@ 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 | }, | ||
60 | destroyed () { | ||
61 | window.removeEventListener('message') | ||
62 | }, | ||
52 | methods: { | 63 | methods: { |
53 | queryNoticeList () { | 64 | queryNoticeList () { |
54 | getHomeNoticeList().then(res => { | 65 | getHomeNoticeList().then(res => { | ... | ... |
... | @@ -64,14 +64,15 @@ | ... | @@ -64,14 +64,15 @@ |
64 | 64 | ||
65 | // 有子级 | 65 | // 有子级 |
66 | .el-submenu__title { | 66 | .el-submenu__title { |
67 | margin-left: 13px; | 67 | // margin-left: 13px; |
68 | padding-left: 10px !important; | 68 | // padding-left: 10px !important; |
69 | color: $menuText; | 69 | color: $menuText; |
70 | background-color: transparent !important; | 70 | background-color: transparent !important; |
71 | border-bottom: 1px solid $sliderBorderColor; | ||
71 | 72 | ||
72 | &:hover { | 73 | &:hover { |
73 | color: $subMenuActiveText !important; | 74 | color: $subMenuActiveText !important; |
74 | background-color: $subMenuHover !important; | 75 | background-color: $menuHover !important; |
75 | 76 | ||
76 | .svg-icon, | 77 | .svg-icon, |
77 | i, | 78 | i, |
... | @@ -84,10 +85,15 @@ | ... | @@ -84,10 +85,15 @@ |
84 | // 没有子级 | 85 | // 没有子级 |
85 | .submenu-title-noDropdown { | 86 | .submenu-title-noDropdown { |
86 | color: $menuText; | 87 | color: $menuText; |
87 | border-radius: 6px; | 88 | border-bottom: 1px solid $sliderBorderColor; |
88 | padding-left: 10px !important; | ||
89 | 89 | ||
90 | &:hover { | 90 | &:hover { |
91 | background-color: $subMenuHover !important; | ||
92 | } | ||
93 | |||
94 | // border-radius: 6px; | ||
95 | // padding-left: 10px !important; | ||
96 | b &:hover { | ||
91 | color: $menuActiveText !important; | 97 | color: $menuActiveText !important; |
92 | background-color: $subMenuHover !important; | 98 | background-color: $subMenuHover !important; |
93 | 99 | ||
... | @@ -119,8 +125,8 @@ | ... | @@ -119,8 +125,8 @@ |
119 | .el-submenu__title { | 125 | .el-submenu__title { |
120 | font-weight: 600; | 126 | font-weight: 600; |
121 | font-size: $sideBarFontSize; | 127 | font-size: $sideBarFontSize; |
122 | margin: 0 10px; | 128 | // margin: 0 10px; |
123 | border-radius: 6px; | 129 | // border-radius: 6px; |
124 | 130 | ||
125 | >i { | 131 | >i { |
126 | color: $subMenuActiveText !important; | 132 | color: $subMenuActiveText !important; |
... | @@ -151,22 +157,30 @@ | ... | @@ -151,22 +157,30 @@ |
151 | 157 | ||
152 | & .nest-menu .el-submenu>.el-submenu__title, | 158 | & .nest-menu .el-submenu>.el-submenu__title, |
153 | & .el-submenu .el-menu-item { | 159 | & .el-submenu .el-menu-item { |
160 | |||
161 | |||
154 | &.is-active { | 162 | &.is-active { |
155 | background-color: $subMenuHover !important; | 163 | background-color: $subMenuHover !important; |
156 | color: $menuActiveText !important; | 164 | color: $menuActiveText !important; |
165 | border-bottom: 1px solid $sliderBorderColor; | ||
157 | } | 166 | } |
158 | 167 | ||
159 | &:hover { | 168 | &:hover { |
160 | background-color: $subMenuHover !important; | 169 | background-color: $subMenuHover !important; |
161 | color: $menuActiveText !important; | 170 | color: $menuActiveText !important; |
171 | border-bottom: 1px solid $sliderBorderColor; | ||
162 | } | 172 | } |
163 | 173 | ||
164 | min-width: 130px !important; | 174 | min-width: 130px !important; |
165 | background-color: transparent !important; | 175 | background-color: transparent !important; |
166 | font-weight: 600; | 176 | font-weight: 600; |
167 | font-size: $sideBarFontSize; | 177 | font-size: $sideBarFontSize; |
168 | margin: 0 10px; | 178 | |
169 | border-radius: 6px; | 179 | // margin: 0 10px; |
180 | // border-radius: 6px; | ||
181 | span { | ||
182 | margin-left: 10px; | ||
183 | } | ||
170 | } | 184 | } |
171 | } | 185 | } |
172 | 186 | ||
... | @@ -279,16 +293,16 @@ | ... | @@ -279,16 +293,16 @@ |
279 | 293 | ||
280 | .nest-menu .el-submenu>.el-submenu__title, | 294 | .nest-menu .el-submenu>.el-submenu__title, |
281 | .el-menu-item { | 295 | .el-menu-item { |
282 | width: calc(100% - 12px); | 296 | // width: calc(100% - 12px); |
283 | border-top-right-radius: 8px; | 297 | // border-top-right-radius: 8px; |
284 | border-bottom-right-radius: 8px; | 298 | // border-bottom-right-radius: 8px; |
285 | font-weight: 600 !important; | 299 | font-weight: 600 !important; |
286 | font-size: 15px !important; | 300 | font-size: 15px !important; |
287 | background-color: $menuHover !important; | 301 | background-color: $menuHover !important; |
288 | color: $menuText !important; | 302 | color: $menuText !important; |
289 | 303 | ||
290 | &:hover { | 304 | &:hover { |
291 | background-color: $menuHover !important; | 305 | background-color: $subMenuHover !important; |
292 | opacity: .9; | 306 | opacity: .9; |
293 | 307 | ||
294 | .svg-icon, | 308 | .svg-icon, | ... | ... |
... | @@ -17,16 +17,18 @@ $menuActiveText:#ffffff; | ... | @@ -17,16 +17,18 @@ $menuActiveText:#ffffff; |
17 | $subMenuActiveText:#ffffff; | 17 | $subMenuActiveText:#ffffff; |
18 | 18 | ||
19 | $menuBg:#202B3D; | 19 | $menuBg:#202B3D; |
20 | $menuHover:#0794FF; | 20 | $menuHover:#249af4; |
21 | 21 | ||
22 | $subMenuBg:#202B3D; | 22 | $subMenuBg:#202B3D; |
23 | $subMenuHover:#0794FF; | 23 | $subMenuHover:#0e6fba; |
24 | 24 | ||
25 | $sideBarWidth: 170px; | 25 | $sideBarWidth: 170px; |
26 | $sideBarFontSize:15px; | 26 | $sideBarFontSize:15px; |
27 | 27 | ||
28 | // border颜色 | 28 | // border颜色 |
29 | $borderColor: #EBEEF5; | 29 | $borderColor: #EBEEF5; |
30 | $sliderBorderColor: #606266; | ||
31 | |||
30 | 32 | ||
31 | // the :export directive is the magic sauce for webpack | 33 | // the :export directive is the magic sauce for webpack |
32 | // https://www.bluematador.com/blog/how-to-share-variables-between-js-and-sass | 34 | // https://www.bluematador.com/blog/how-to-share-variables-between-js-and-sass | ... | ... |
... | @@ -11,9 +11,12 @@ export default { | ... | @@ -11,9 +11,12 @@ export default { |
11 | computed: { | 11 | computed: { |
12 | ...mapGetters(['dictData']), | 12 | ...mapGetters(['dictData']), |
13 | }, | 13 | }, |
14 | created () { | 14 | mounted () { |
15 | if (this.fetchData) { | 15 | // if (this.fetchData) { |
16 | this.fetchData() | 16 | // this.fetchData() |
17 | // } | ||
18 | if (this.queryClick) { | ||
19 | this.queryClick() | ||
17 | } | 20 | } |
18 | }, | 21 | }, |
19 | methods: { | 22 | methods: { |
... | @@ -24,9 +27,9 @@ export default { | ... | @@ -24,9 +27,9 @@ export default { |
24 | }, | 27 | }, |
25 | handleCurrentChange (val) { | 28 | handleCurrentChange (val) { |
26 | this.pageData.currentPage = val | 29 | this.pageData.currentPage = val |
27 | if (this.fetchData) { | 30 | // if (this.fetchData) { |
28 | this.fetchData() | 31 | // this.fetchData() |
29 | } | 32 | // } |
30 | console.log('this.queryClick,', this.queryClick, 'this.fetchData', this.fetchData); | 33 | console.log('this.queryClick,', this.queryClick, 'this.fetchData', this.fetchData); |
31 | if (this.queryClick) { | 34 | if (this.queryClick) { |
32 | this.queryClick() | 35 | this.queryClick() | ... | ... |
... | @@ -107,6 +107,7 @@ | ... | @@ -107,6 +107,7 @@ |
107 | import * as G2 from '@antv/g2' | 107 | import * as G2 from '@antv/g2' |
108 | import vueSeamlessScroll from "vue-seamless-scroll" | 108 | import vueSeamlessScroll from "vue-seamless-scroll" |
109 | import { getHomeNoticeList, getHomeTodoList, getHomeDoneList, getHomeFrequentProjects } from "@/api/user.js"; | 109 | import { getHomeNoticeList, getHomeTodoList, getHomeDoneList, getHomeFrequentProjects } from "@/api/user.js"; |
110 | import { setReadStatus } from '@/api/system' | ||
110 | import addDialog from "./components/addProject.vue"; | 111 | import addDialog from "./components/addProject.vue"; |
111 | export default { | 112 | export default { |
112 | name: 'home', | 113 | name: 'home', |
... | @@ -336,6 +337,11 @@ export default { | ... | @@ -336,6 +337,11 @@ export default { |
336 | this.projectDialog = true; | 337 | this.projectDialog = true; |
337 | }, | 338 | }, |
338 | handleNotice (item) { | 339 | handleNotice (item) { |
340 | setReadStatus({ bsmNotice: item.bsmNotice }).then(res => { | ||
341 | if (res.code == 200) { | ||
342 | this.queryNoticeList() | ||
343 | } | ||
344 | }) | ||
339 | this.$alertMes(item.noticeTitle, item.noticeContent) | 345 | this.$alertMes(item.noticeTitle, item.noticeContent) |
340 | } | 346 | } |
341 | } | 347 | } | ... | ... |
... | @@ -16,8 +16,17 @@ | ... | @@ -16,8 +16,17 @@ |
16 | </el-input> | 16 | </el-input> |
17 | </el-form-item> | 17 | </el-form-item> |
18 | </el-col> | 18 | </el-col> |
19 | 19 | <el-col :span="10"> | |
20 | <el-col :span="14" class="btnColRight"> | 20 | <el-form-item label="查询时间"> |
21 | <el-date-picker v-model="queryForm.sqr" type="date" placeholder="开始日期" value-format="yyyy-MM-dd" | ||
22 | clearable> | ||
23 | </el-date-picker> 至 | ||
24 | <el-date-picker v-model="queryForm.sqr" type="date" placeholder="结束日期" value-format="yyyy-MM-dd" | ||
25 | clearable> | ||
26 | </el-date-picker> | ||
27 | </el-form-item> | ||
28 | </el-col> | ||
29 | <el-col :span="4" class="btnColRight"> | ||
21 | <el-form-item> | 30 | <el-form-item> |
22 | <el-button type="primary" native-type="submit" @click="queryClick">查询</el-button> | 31 | <el-button type="primary" native-type="submit" @click="queryClick">查询</el-button> |
23 | <el-button @click="moreQueryClick()">高级查询</el-button> | 32 | <el-button @click="moreQueryClick()">高级查询</el-button> |
... | @@ -44,14 +53,14 @@ import { getJtfcPage } from "@/api/sqcx"; | ... | @@ -44,14 +53,14 @@ import { getJtfcPage } from "@/api/sqcx"; |
44 | export default { | 53 | export default { |
45 | name: "dydjb", | 54 | name: "dydjb", |
46 | mixins: [table], | 55 | mixins: [table], |
47 | mounted () { | 56 | mounted() { |
48 | sendThis(this); | 57 | sendThis(this); |
49 | this.queryClick() | 58 | this.queryClick(); |
50 | }, | 59 | }, |
51 | computed: { | 60 | computed: { |
52 | ...mapGetters(["dictData"]), | 61 | ...mapGetters(["dictData"]), |
53 | }, | 62 | }, |
54 | data () { | 63 | data() { |
55 | return { | 64 | return { |
56 | queryForm: { | 65 | queryForm: { |
57 | cxbh: "", | 66 | cxbh: "", |
... | @@ -66,7 +75,7 @@ export default { | ... | @@ -66,7 +75,7 @@ export default { |
66 | }, | 75 | }, |
67 | methods: { | 76 | methods: { |
68 | // 初始化数据 | 77 | // 初始化数据 |
69 | queryClick () { | 78 | queryClick() { |
70 | this.$startLoading(); | 79 | this.$startLoading(); |
71 | getJtfcPage({ ...this.queryForm, ...this.pageData }).then((res) => { | 80 | getJtfcPage({ ...this.queryForm, ...this.pageData }).then((res) => { |
72 | this.$endLoading(); | 81 | this.$endLoading(); |
... | @@ -77,12 +86,12 @@ export default { | ... | @@ -77,12 +86,12 @@ export default { |
77 | } | 86 | } |
78 | }); | 87 | }); |
79 | }, | 88 | }, |
80 | dydjbClick (scope) { | 89 | dydjbClick(scope) { |
81 | popupDialog("打印登记薄", "sqcx/dydjb/components/dydjbInfo", { | 90 | popupDialog("打印登记薄", "sqcx/dydjb/components/dydjbInfo", { |
82 | sqcxdata: scope.row, | 91 | sqcxdata: scope.row, |
83 | }) | 92 | }); |
84 | }, | 93 | }, |
85 | handleSort (name, sort) { | 94 | handleSort(name, sort) { |
86 | console.log(name, sort); | 95 | console.log(name, sort); |
87 | }, | 96 | }, |
88 | }, | 97 | }, | ... | ... |
... | @@ -21,14 +21,12 @@ | ... | @@ -21,14 +21,12 @@ |
21 | </el-col> | 21 | </el-col> |
22 | </el-row> | 22 | </el-row> |
23 | </el-form> | 23 | </el-form> |
24 | <!-- <personInfoTable @getInfoList="handleGetSqList" :dataList="form.sqrList" /> --> | 24 | <lb-table :column="sqrColumns" key="sqr1" :data="form.sqrList" :maxHeight="200" heightNumSetting |
25 | <lb-table border :column="sqrColumns" key="sqr1" :data="form.sqrList" :maxHeight="200" heightNumSetting | ||
26 | :pagination="false"> | 25 | :pagination="false"> |
27 | </lb-table> | 26 | </lb-table> |
28 | 27 | ||
29 | <b class="title">权利人</b> | 28 | <b class="title">权利人</b> |
30 | <!-- <personInfoTable @getInfoList="handleGetQlList" :dataList="form.qlrList" :isGanged="isGanged" /> --> | 29 | <lb-table :column="qlrColumns" key="ql2r" :data="form.qlrList" :maxHeight="200" heightNumSetting |
31 | <lb-table border :column="qlrColumns" key="ql2r" :data="form.qlrList" :maxHeight="200" heightNumSetting | ||
32 | :pagination="false"> | 30 | :pagination="false"> |
33 | </lb-table> | 31 | </lb-table> |
34 | <div v-show="isSearch"> | 32 | <div v-show="isSearch"> |
... | @@ -41,10 +39,10 @@ | ... | @@ -41,10 +39,10 @@ |
41 | <el-divider></el-divider> | 39 | <el-divider></el-divider> |
42 | <div class="submit-button" style="padding-bottom:50px"> | 40 | <div class="submit-button" style="padding-bottom:50px"> |
43 | <el-button @click="resetClick">重置</el-button> | 41 | <el-button @click="resetClick">重置</el-button> |
44 | <el-button type="primary" v-show="isSearch==false" @click="queryChick">查询</el-button> | 42 | <el-button type="primary" v-show="isSearch == false" @click="queryChick">查询</el-button> |
45 | <el-button type="primary" v-show="isSearch&&form.dyjlList.length > 0">房产结果打印({{form.dyjlList.length}}) | 43 | <el-button type="primary" v-show="isSearch && form.dyjlList.length > 0">房产结果打印({{ form.dyjlList.length }}) |
46 | </el-button> | 44 | </el-button> |
47 | <el-button type="primary" v-show="isSearch&&form.dyjlList.length == 0">无房证明打印({{form.dyjlList.length}}) | 45 | <el-button type="primary" v-show="isSearch && form.dyjlList.length == 0">无房证明打印({{ form.dyjlList.length }}) |
48 | </el-button> | 46 | </el-button> |
49 | <el-button @click="closeDialog">关闭</el-button> | 47 | <el-button @click="closeDialog">关闭</el-button> |
50 | </div> | 48 | </div> |
... | @@ -53,25 +51,21 @@ | ... | @@ -53,25 +51,21 @@ |
53 | </template> | 51 | </template> |
54 | 52 | ||
55 | <script> | 53 | <script> |
56 | import personInfoTable from "./personInfoTable"; | ||
57 | import { addJtfcCxjgXx, getJtfcInfo } from "@/api/sqcx"; | 54 | import { addJtfcCxjgXx, getJtfcInfo } from "@/api/sqcx"; |
58 | import { datas, sendThis } from "./addjtfcdata"; | 55 | import { datas, sendThis } from "./addjtfcdata"; |
59 | import { mapGetters } from "vuex"; | 56 | import { mapGetters } from "vuex"; |
60 | export default { | 57 | export default { |
61 | components: { | ||
62 | personInfoTable, | ||
63 | }, | ||
64 | computed: { | 58 | computed: { |
65 | ...mapGetters(["dictData"]), | 59 | ...mapGetters(["dictData"]), |
66 | }, | 60 | }, |
67 | props: { | 61 | props: { |
68 | value: { type: Boolean, default: false }, | 62 | value: { type: Boolean, default: false }, |
69 | bsmSqcx: { type: String, default: "" }, | 63 | sqcxBsm: { type: String, default: "" }, |
70 | }, | 64 | }, |
71 | mounted() { | 65 | mounted () { |
72 | sendThis(this); | 66 | sendThis(this); |
73 | }, | 67 | }, |
74 | data() { | 68 | data () { |
75 | return { | 69 | return { |
76 | myValue: this.value, | 70 | myValue: this.value, |
77 | //是否查询 | 71 | //是否查询 |
... | @@ -99,37 +93,42 @@ export default { | ... | @@ -99,37 +93,42 @@ export default { |
99 | }; | 93 | }; |
100 | }, | 94 | }, |
101 | watch: { | 95 | watch: { |
102 | value(val) { | 96 | value (val) { |
103 | this.myValue = val; | 97 | this.myValue = val; |
98 | let that = this | ||
104 | if (val) { | 99 | if (val) { |
105 | //this.$alert(this.bsmSqcx); | 100 | this.form.sqrList = [] |
106 | if (this.bsmSqcx == "") { | 101 | this.form.qlrList = [] |
107 | this.add("sqr"); | 102 | this.isSearch = false |
108 | this.add("qlr"); | 103 | if (this.sqcxBsm == "") { |
104 | that.add("sqr"); | ||
105 | that.add("qlr"); | ||
109 | } else { | 106 | } else { |
110 | this.loadData(); | 107 | that.loadData(); |
111 | } | 108 | } |
112 | } | 109 | } |
113 | }, | 110 | }, |
114 | "form.djSqcxDO.ycyrgx"(val) { | 111 | "form.djSqcxDO.ycyrgx" (val) { |
115 | if (val == "1") { | 112 | if (val == "1") { |
116 | this.form.qlrList = this.form.sqrList; | 113 | this.form.qlrList = _.cloneDeep(this.form.sqrList); |
117 | } else { | 114 | } else { |
118 | this.form.qlrList = []; | 115 | this.form.qlrList = []; |
119 | this.add("qlr"); | 116 | this.add("qlr"); |
120 | } | 117 | } |
121 | }, | 118 | }, |
122 | "form.sqrList"(val) { | 119 | "form.sqrList" (val) { |
123 | //this.$alert(val); | 120 | if (this.form.djSqcxDO.ycyrgx == '1') { |
124 | }, | 121 | this.form.qlrList = _.cloneDeep(this.form.sqrList) |
122 | } | ||
123 | } | ||
125 | }, | 124 | }, |
126 | methods: { | 125 | methods: { |
127 | closeDialog() { | 126 | closeDialog () { |
128 | this.$emit("input", false); | 127 | this.$emit("input", false); |
129 | }, | 128 | }, |
130 | loadData() { | 129 | loadData () { |
131 | this.$startLoading(); | 130 | this.$startLoading(); |
132 | getJtfcInfo({ sqcxBsm: sqcxBsm }).then((res) => { | 131 | getJtfcInfo({ sqcxBsm: this.sqcxBsm }).then((res) => { |
133 | this.$endLoading(); | 132 | this.$endLoading(); |
134 | if (res.code == 200) { | 133 | if (res.code == 200) { |
135 | this.form = res.result; | 134 | this.form = res.result; |
... | @@ -137,7 +136,7 @@ export default { | ... | @@ -137,7 +136,7 @@ export default { |
137 | } | 136 | } |
138 | }); | 137 | }); |
139 | }, | 138 | }, |
140 | queryChick() { | 139 | queryChick () { |
141 | this.$startLoading(); | 140 | this.$startLoading(); |
142 | addJtfcCxjgXx(this.form).then((res) => { | 141 | addJtfcCxjgXx(this.form).then((res) => { |
143 | this.$endLoading(); | 142 | this.$endLoading(); |
... | @@ -148,30 +147,30 @@ export default { | ... | @@ -148,30 +147,30 @@ export default { |
148 | } | 147 | } |
149 | }); | 148 | }); |
150 | }, | 149 | }, |
151 | resetClick() { | 150 | resetClick () { |
152 | this.form.djSqcxDO = { ycyrgx: "1", cxyt: "" }; | 151 | this.form.djSqcxDO = { ycyrgx: "1", cxyt: "" }; |
153 | this.form.sqrList = _.cloneDeep([this.newData]); | 152 | this.form.sqrList = _.cloneDeep([this.newData]); |
154 | this.form.qlrList =_.cloneDeep([this.newData]); | 153 | this.form.qlrList = _.cloneDeep([this.newData]); |
155 | this.form.cxjgList = []; | 154 | this.form.cxjgList = []; |
156 | this.form.dyjlList = []; | 155 | this.form.dyjlList = []; |
157 | this.isSearch = false; | 156 | this.isSearch = false; |
158 | }, | 157 | }, |
159 | handleRead(scope) {}, | 158 | handleRead (scope) { }, |
160 | add(type) { | 159 | add (type) { |
161 | if (type == "sqr") { | 160 | if (type == "sqr") { |
162 | this.form.sqrList.push(this.newData); | 161 | this.form.sqrList.push(_.cloneDeep(this.newData)); |
163 | } else { | 162 | } else { |
164 | this.form.qlrList.push(this.newData); | 163 | this.form.qlrList.push(_.cloneDeep(this.newData)); |
165 | } | 164 | } |
166 | }, | 165 | }, |
167 | remove(index, row, type) { | 166 | remove (index, row, type) { |
168 | if (type == "sqr") { | 167 | if (type == "sqr") { |
169 | this.form.sqrList.splice(index, 1); | 168 | this.form.sqrList.splice(index, 1); |
170 | } else { | 169 | } else { |
171 | this.form.qlrList.splice(index, 1); | 170 | this.form.qlrList.splice(index, 1); |
172 | } | 171 | } |
173 | }, | 172 | }, |
174 | teltest(row) { | 173 | teltest (row) { |
175 | const reg = /^1([38]\d|5[0-35-9]|7[3678])\d{8}$/; | 174 | const reg = /^1([38]\d|5[0-35-9]|7[3678])\d{8}$/; |
176 | if (row.lxdh == "" || row.lxdh.length <= 10 || !reg.test(row.lxdh)) { | 175 | if (row.lxdh == "" || row.lxdh.length <= 10 || !reg.test(row.lxdh)) { |
177 | row.inputErr = true; | 176 | row.inputErr = true; | ... | ... |
... | @@ -8,7 +8,7 @@ class data extends filter { | ... | @@ -8,7 +8,7 @@ class data extends filter { |
8 | constructor() { | 8 | constructor() { |
9 | super() | 9 | super() |
10 | } | 10 | } |
11 | columns() { | 11 | columns () { |
12 | return [ | 12 | return [ |
13 | { | 13 | { |
14 | prop: 'qszt', | 14 | prop: 'qszt', |
... | @@ -74,7 +74,7 @@ class data extends filter { | ... | @@ -74,7 +74,7 @@ class data extends filter { |
74 | } | 74 | } |
75 | ] | 75 | ] |
76 | } | 76 | } |
77 | sqrCol() { | 77 | sqrCol () { |
78 | return [ | 78 | return [ |
79 | { | 79 | { |
80 | width: "60", | 80 | width: "60", |
... | @@ -94,7 +94,7 @@ class data extends filter { | ... | @@ -94,7 +94,7 @@ class data extends filter { |
94 | <i | 94 | <i |
95 | class="el-icon-minus pointer" | 95 | class="el-icon-minus pointer" |
96 | onClick={() => { | 96 | onClick={() => { |
97 | vm.remove(scope.$index, scope.row,"sqr"); | 97 | vm.remove(scope.$index, scope.row, "sqr"); |
98 | }} | 98 | }} |
99 | ></i> | 99 | ></i> |
100 | ); | 100 | ); |
... | @@ -142,6 +142,7 @@ class data extends filter { | ... | @@ -142,6 +142,7 @@ class data extends filter { |
142 | return ( | 142 | return ( |
143 | <el-select | 143 | <el-select |
144 | class="width100" | 144 | class="width100" |
145 | clearable | ||
145 | value={scope.row[scope.column.property]} | 146 | value={scope.row[scope.column.property]} |
146 | onChange={(val) => { | 147 | onChange={(val) => { |
147 | scope.row[scope.column.property] = val; | 148 | scope.row[scope.column.property] = val; |
... | @@ -211,7 +212,7 @@ class data extends filter { | ... | @@ -211,7 +212,7 @@ class data extends filter { |
211 | }, | 212 | }, |
212 | ] | 213 | ] |
213 | } | 214 | } |
214 | qlrCol() { | 215 | qlrCol () { |
215 | return [ | 216 | return [ |
216 | { | 217 | { |
217 | width: "60", | 218 | width: "60", |
... | @@ -231,7 +232,7 @@ class data extends filter { | ... | @@ -231,7 +232,7 @@ class data extends filter { |
231 | <i | 232 | <i |
232 | class="el-icon-minus pointer" | 233 | class="el-icon-minus pointer" |
233 | onClick={() => { | 234 | onClick={() => { |
234 | vm.remove(scope.$index, scope.row,"qlr"); | 235 | vm.remove(scope.$index, scope.row, "qlr"); |
235 | }} | 236 | }} |
236 | ></i> | 237 | ></i> |
237 | ); | 238 | ); | ... | ... |
1 | <!-- | ||
2 | 功能:个人信息table | ||
3 | 作者:calliope | ||
4 | --> | ||
5 | <template> | ||
6 | <lb-table border :column="tableData.columns" :data="tableData.data" :maxHeight="200" heightNumSetting | ||
7 | :pagination="false"> | ||
8 | </lb-table> | ||
9 | </template> | ||
10 | <script> | ||
11 | import { mapGetters } from "vuex"; | ||
12 | export default { | ||
13 | props: { | ||
14 | dataList: { type: Array, default: () => [{}] }, | ||
15 | }, | ||
16 | created() { | ||
17 | if (this.dataList.length == 0) { | ||
18 | this.add(); | ||
19 | } | ||
20 | }, | ||
21 | computed: { | ||
22 | ...mapGetters(["dictData"]), | ||
23 | }, | ||
24 | data() { | ||
25 | return { | ||
26 | tableData: { | ||
27 | columns: [ | ||
28 | { | ||
29 | width: "60", | ||
30 | renderHeader: (h, scope) => { | ||
31 | return ( | ||
32 | <i | ||
33 | class="el-icon-plus pointer" | ||
34 | onClick={() => { | ||
35 | this.add(); | ||
36 | }} | ||
37 | style="color:#409EFF" | ||
38 | ></i> | ||
39 | ); | ||
40 | }, | ||
41 | render: (h, scope) => { | ||
42 | return ( | ||
43 | <i | ||
44 | class="el-icon-minus pointer" | ||
45 | onClick={() => { | ||
46 | this.remove(scope.$index, scope.row); | ||
47 | }} | ||
48 | ></i> | ||
49 | ); | ||
50 | }, | ||
51 | }, | ||
52 | { | ||
53 | width: "150", | ||
54 | label: "身份证读卡器", | ||
55 | render: (h, scope) => { | ||
56 | return ( | ||
57 | <div> | ||
58 | <el-button | ||
59 | type="text" | ||
60 | icon="el-icon-edit-outline" | ||
61 | onClick={() => { | ||
62 | this.handleRead(scope); | ||
63 | }} | ||
64 | > | ||
65 | 读取 | ||
66 | </el-button> | ||
67 | </div> | ||
68 | ); | ||
69 | }, | ||
70 | }, | ||
71 | { | ||
72 | width: "150", | ||
73 | prop: "sqrxm", | ||
74 | label: "姓名/名称", | ||
75 | render: (h, scope) => { | ||
76 | return ( | ||
77 | <el-input | ||
78 | placeholder="姓名/名称" | ||
79 | value={scope.row[scope.column.property]} | ||
80 | onInput={(val) => { | ||
81 | scope.row[scope.column.property] = val; | ||
82 | }} | ||
83 | ></el-input> | ||
84 | ); | ||
85 | }, | ||
86 | }, | ||
87 | { | ||
88 | prop: "sqrzjlxbm", | ||
89 | label: "证件种类", | ||
90 | render: (h, scope) => { | ||
91 | return ( | ||
92 | <el-select | ||
93 | class="width100" | ||
94 | value={scope.row[scope.column.property]} | ||
95 | onChange={(val) => { | ||
96 | scope.row[scope.column.property] = val; | ||
97 | }} | ||
98 | > | ||
99 | {this.dictData["A30"].map((option) => { | ||
100 | return ( | ||
101 | <el-option | ||
102 | label={option.dname} | ||
103 | value={option.dcode} | ||
104 | ></el-option> | ||
105 | ); | ||
106 | })} | ||
107 | </el-select> | ||
108 | ); | ||
109 | }, | ||
110 | }, | ||
111 | { | ||
112 | prop: "sqrzjhm", | ||
113 | label: "证件号", | ||
114 | render: (h, scope) => { | ||
115 | return ( | ||
116 | <el-input | ||
117 | placeholder="证件号" | ||
118 | value={scope.row[scope.column.property]} | ||
119 | onInput={(val) => { | ||
120 | scope.row[scope.column.property] = val; | ||
121 | }} | ||
122 | maxlength="21" | ||
123 | ></el-input> | ||
124 | ); | ||
125 | }, | ||
126 | }, | ||
127 | { | ||
128 | prop: "lxdh", | ||
129 | label: "联系电话", | ||
130 | render: (h, scope) => { | ||
131 | return ( | ||
132 | <div class="typePhone"> | ||
133 | <el-input | ||
134 | placeholder="联系电话" | ||
135 | value={scope.row[scope.column.property]} | ||
136 | onInput={(val) => { | ||
137 | scope.row[scope.column.property] = val; | ||
138 | }} | ||
139 | onBlur={(val) => { | ||
140 | this.teltest(scope.row); | ||
141 | }} | ||
142 | type="tel" | ||
143 | maxlength="11" | ||
144 | ></el-input> | ||
145 | <span | ||
146 | v-show={scope.row.inputErr} | ||
147 | style={{ | ||
148 | fontSize: "12px", | ||
149 | color: "red", | ||
150 | position: "absolute", | ||
151 | bottom: "-2px", | ||
152 | left: "0", | ||
153 | }} | ||
154 | > | ||
155 | 请输入正确手机号 | ||
156 | </span> | ||
157 | </div> | ||
158 | ); | ||
159 | }, | ||
160 | }, | ||
161 | ], | ||
162 | data: this.dataList, | ||
163 | }, | ||
164 | }; | ||
165 | }, | ||
166 | watch: { | ||
167 | // 'tableData.data': { | ||
168 | // handler (newValue, oldName) { | ||
169 | // if (newValue.length != 0) { | ||
170 | // //this.$alert(newValue); | ||
171 | // //this.$emit('getInfoList', newValue) | ||
172 | // } | ||
173 | // }, | ||
174 | // deep: true, | ||
175 | // immediate: true | ||
176 | // }, | ||
177 | // dataList: { | ||
178 | // handler (newValue, oldName) { | ||
179 | // this.tableData.data = _.cloneDeep(newValue) | ||
180 | // //console.log(this.tableData.data, 'this.tableData.datathis.tableData.data'); | ||
181 | // }, | ||
182 | // deep: true, | ||
183 | // immediate: true | ||
184 | // }, | ||
185 | }, | ||
186 | methods: { | ||
187 | add() { | ||
188 | this.tableData.data.push({ | ||
189 | sqrxm: "", | ||
190 | sqrzjlxbm: "", | ||
191 | sqrzjhm: "", | ||
192 | lxdh: "", | ||
193 | inputErr: false, | ||
194 | }); | ||
195 | }, | ||
196 | remove(index, row) { | ||
197 | this.tableData.data.splice(index, 1); | ||
198 | }, | ||
199 | teltest(row) { | ||
200 | const reg = /^1([38]\d|5[0-35-9]|7[3678])\d{8}$/; | ||
201 | if (row.lxdh == "" || row.lxdh.length <= 10 || !reg.test(row.lxdh)) { | ||
202 | row.inputErr = true; | ||
203 | return false; | ||
204 | } else { | ||
205 | row.inputErr = false; | ||
206 | return true; | ||
207 | } | ||
208 | }, | ||
209 | }, | ||
210 | }; | ||
211 | </script> | ||
212 | <style scoped lang='scss'> | ||
213 | /deep/.el-table__cell { | ||
214 | padding: 12px 0; | ||
215 | } | ||
216 | </style> | ||
... | \ No newline at end of file | ... | \ No newline at end of file |
... | @@ -18,11 +18,11 @@ | ... | @@ -18,11 +18,11 @@ |
18 | </el-col> | 18 | </el-col> |
19 | <el-col :span="10"> | 19 | <el-col :span="10"> |
20 | <el-form-item label="查询时间"> | 20 | <el-form-item label="查询时间"> |
21 | <el-date-picker v-model="queryForm.sqr" type="date" | 21 | <el-date-picker v-model="queryForm.sqr" type="date" placeholder="开始日期" value-format="yyyy-MM-dd" |
22 | placeholder="开始日期" value-format="yyyy-MM-dd" clearable> | 22 | clearable> |
23 | </el-date-picker> 至 | 23 | </el-date-picker> 至 |
24 | <el-date-picker v-model="queryForm.sqr" type="date" | 24 | <el-date-picker v-model="queryForm.sqr" type="date" placeholder="结束日期" value-format="yyyy-MM-dd" |
25 | placeholder="结束日期" value-format="yyyy-MM-dd" clearable> | 25 | clearable> |
26 | </el-date-picker> | 26 | </el-date-picker> |
27 | </el-form-item> | 27 | </el-form-item> |
28 | </el-col> | 28 | </el-col> |
... | @@ -52,11 +52,11 @@ export default { | ... | @@ -52,11 +52,11 @@ export default { |
52 | name: "jtfc", | 52 | name: "jtfc", |
53 | components: { addjtfc }, | 53 | components: { addjtfc }, |
54 | mixins: [table], | 54 | mixins: [table], |
55 | mounted() { | 55 | mounted () { |
56 | sendThis(this); | 56 | sendThis(this); |
57 | this.queryClick(); | 57 | this.queryClick(); |
58 | }, | 58 | }, |
59 | data() { | 59 | data () { |
60 | return { | 60 | return { |
61 | timer: "", | 61 | timer: "", |
62 | isDialog: false, | 62 | isDialog: false, |
... | @@ -73,7 +73,7 @@ export default { | ... | @@ -73,7 +73,7 @@ export default { |
73 | }, | 73 | }, |
74 | methods: { | 74 | methods: { |
75 | // 初始化数据 | 75 | // 初始化数据 |
76 | queryClick() { | 76 | queryClick () { |
77 | this.$startLoading(); | 77 | this.$startLoading(); |
78 | getJtfcPage({ ...this.queryForm, ...this.pageData }).then((res) => { | 78 | getJtfcPage({ ...this.queryForm, ...this.pageData }).then((res) => { |
79 | this.$endLoading(); | 79 | this.$endLoading(); |
... | @@ -84,26 +84,18 @@ export default { | ... | @@ -84,26 +84,18 @@ export default { |
84 | } | 84 | } |
85 | }); | 85 | }); |
86 | }, | 86 | }, |
87 | handleSort(name, sort) { | 87 | handleSort (name, sort) { |
88 | console.log(name, sort); | 88 | console.log(name, sort); |
89 | }, | 89 | }, |
90 | handleAdd() { | 90 | handleAdd () { |
91 | //this.handleLoad(); | 91 | this.sqcxBsm = '' |
92 | this.isDialog = true; | 92 | this.isDialog = true; |
93 | }, | 93 | }, |
94 | handleViewClick(scope) { | 94 | handleViewClick (row) { |
95 | //this.handleLoad(); | 95 | this.sqcxBsm = row.bsmSqcx; |
96 | this.bsmSqcx = scope.row.bsmSqcx; | ||
97 | this.isDialog = true; | 96 | this.isDialog = true; |
98 | // this.$popup("申请查询记录", "sqcx/sqcxjl/components/sqcxjlInfo", { | ||
99 | // formData: { | ||
100 | // sqcxBsm: sqcxBsm, | ||
101 | // }, | ||
102 | // cancel: function () { }, //取消事件的回调 | ||
103 | // confirm: function () { }, | ||
104 | // }); | ||
105 | }, | 97 | }, |
106 | handleLoad() { | 98 | handleLoad () { |
107 | this.timer = new Date().getTime(); | 99 | this.timer = new Date().getTime(); |
108 | }, | 100 | }, |
109 | }, | 101 | }, | ... | ... |
... | @@ -50,17 +50,8 @@ class data extends filter { | ... | @@ -50,17 +50,8 @@ class data extends filter { |
50 | label: "申请人", | 50 | label: "申请人", |
51 | }, | 51 | }, |
52 | { | 52 | { |
53 | label: "与权利人的关系", | 53 | prop: "ycqrgxmc", |
54 | render: (h, scope) => { | 54 | label: "与产权人的关系", |
55 | switch (scope.row.ycyrgx) { | ||
56 | case '1': | ||
57 | return <div>房屋权利人</div> | ||
58 | case '2': | ||
59 | return <div>产权利害关系人</div> | ||
60 | case '3': | ||
61 | return <div>委托人</div> | ||
62 | } | ||
63 | } | ||
64 | }, | 55 | }, |
65 | { | 56 | { |
66 | prop: "qlrxm", | 57 | prop: "qlrxm", |
... | @@ -74,7 +65,7 @@ class data extends filter { | ... | @@ -74,7 +65,7 @@ class data extends filter { |
74 | label: "操作", | 65 | label: "操作", |
75 | width: 80, | 66 | width: 80, |
76 | render: (h, scope) => { | 67 | render: (h, scope) => { |
77 | return <el-button type="text" icon='el-icon-view' onClick={() => { vm.handleViewClick(scope) }}>查看</el-button> | 68 | return <el-button type="text" icon='el-icon-view' onClick={() => { vm.handleViewClick(scope.row) }}>查看</el-button> |
78 | } | 69 | } |
79 | } | 70 | } |
80 | ] | 71 | ] | ... | ... |
1 | <template> | 1 | <template> |
2 | <div> | 2 | <div> |
3 | <el-form :model="ruleForm" label-width="120px"> | 3 | <el-form :model="form" boder label-width="120px"> |
4 | <el-row> | 4 | <el-row> |
5 | <el-col :span="24" style="margin-bottom: 15px"> | 5 | <el-col :span="24" style="margin-bottom: 15px"> |
6 | <div class="slxx_title title-block"> | 6 | <div class="slxx_title title-block"> |
7 | 申请信息 | 7 | 查询情况 |
8 | <div class="triangle"></div> | 8 | <div class="triangle"></div> |
9 | </div> | 9 | </div> |
10 | </el-col> | 10 | </el-col> |
11 | </el-row> | 11 | </el-row> |
12 | 12 | ||
13 | <el-row> | 13 | <el-row> |
14 | <el-col :span="8"> | 14 | <el-col :span="6"> |
15 | <el-form-item label="查询用途" label-width="90px"> | 15 | <el-form-item label="查询来源:" label-width="90px">{{form.djSqcxDO.cxly}} |
16 | <el-input v-model="ruleForm.cxyt" class="width200px"></el-input> | ||
17 | </el-form-item> | 16 | </el-form-item> |
18 | </el-col> | 17 | </el-col> |
19 | <el-col :span="16"> | 18 | <el-col :span="6"> |
20 | <el-form-item label="与产权人的关系"> | 19 | <el-form-item label="查询类型:">{{form.djSqcxDO.cxlx}} |
21 | <el-radio-group v-model="ruleForm.ycyrgx"> | 20 | </el-form-item> |
22 | <el-radio :label="1">房屋权利人</el-radio> | 21 | </el-col> |
23 | <el-radio :label="2">产权利害关系人</el-radio> | 22 | <el-col :span="6"> |
24 | <el-radio :label="3">委托人</el-radio> | 23 | <el-form-item label="查询人员:" label-width="90px">{{form.djSqcxDO.cxr}} |
25 | </el-radio-group> | 24 | </el-form-item> |
25 | </el-col> | ||
26 | <el-col :span="6"> | ||
27 | <el-form-item label="查询时间:">{{form.djSqcxDO.cxsj}} | ||
28 | </el-form-item> | ||
29 | </el-col> | ||
30 | </el-row> | ||
31 | <el-row> | ||
32 | <el-col :span="6"> | ||
33 | <el-form-item label="查询编号:" label-width="90px">{{form.djSqcxDO.cxbh}} | ||
34 | </el-form-item> | ||
35 | </el-col> | ||
36 | <el-col :span="6"> | ||
37 | <el-form-item label="查询用途:" label-width="90px">{{form.djSqcxDO.cxyt}} | ||
38 | </el-form-item> | ||
39 | </el-col> | ||
40 | <el-col :span="6"> | ||
41 | <el-form-item label="与产权人的关系:">{{form.djSqcxDO.ycqrgxmc}} | ||
42 | </el-form-item> | ||
43 | </el-col> | ||
44 | <el-col :span="6"> | ||
45 | <el-form-item label="不动产权证号:">{{form.djSqcxDO.bdcqzh}} | ||
26 | </el-form-item> | 46 | </el-form-item> |
27 | </el-col> | 47 | </el-col> |
28 | </el-row> | 48 | </el-row> |
29 | 49 | <el-row> | |
50 | <el-col :span="24" style="margin-bottom: 15px"> | ||
51 | <div class="slxx_title title-block"> | ||
52 | 申请人 | ||
53 | <div class="triangle"></div> | ||
54 | </div> | ||
55 | </el-col> | ||
56 | </el-row> | ||
30 | <el-row> | 57 | <el-row> |
31 | <el-col> | 58 | <el-col> |
32 | <lb-table :column="sqrData.columns" border :data="sqrData.data" :maxHeight="200" heightNumSetting | 59 | <lb-table :column="sqrData.columns" border :data="form.sqrList" :maxHeight="200" heightNumSetting |
33 | :pagination="false"> | 60 | :pagination="false"> |
34 | </lb-table> | 61 | </lb-table> |
35 | </el-col> | 62 | </el-col> |
36 | </el-row> | 63 | </el-row> |
37 | |||
38 | <el-row> | 64 | <el-row> |
39 | <el-col :span="24" style="margin-bottom: 15px"> | 65 | <el-col :span="24" style="margin-bottom: 15px"> |
40 | <div class="slxx_title title-block"> | 66 | <div class="slxx_title title-block"> |
... | @@ -45,7 +71,7 @@ | ... | @@ -45,7 +71,7 @@ |
45 | </el-row> | 71 | </el-row> |
46 | <el-row> | 72 | <el-row> |
47 | <el-col> | 73 | <el-col> |
48 | <lb-table :column="qlrData.columns" border :data="qlrData.data" :maxHeight="200" heightNumSetting | 74 | <lb-table :column="qlrData.columns" border :data="form.qlrList" :maxHeight="200" heightNumSetting |
49 | :pagination="false"> | 75 | :pagination="false"> |
50 | </lb-table> | 76 | </lb-table> |
51 | </el-col> | 77 | </el-col> |
... | @@ -61,13 +87,22 @@ | ... | @@ -61,13 +87,22 @@ |
61 | </el-row> | 87 | </el-row> |
62 | <el-row> | 88 | <el-row> |
63 | <el-col> | 89 | <el-col> |
64 | <p>查询编号:{{ cxbh }}</p> | 90 | <lb-table :column="cxjgData.columns" :data="form.cxjgList" :maxHeight="200" heightNumSetting |
91 | :pagination="false"> | ||
92 | </lb-table> | ||
93 | </el-col> | ||
94 | </el-row> | ||
95 | <el-row> | ||
96 | <el-col :span="24" style="margin-bottom: 15px"> | ||
97 | <div class="slxx_title title-block"> | ||
98 | 打印记录 | ||
99 | <div class="triangle"></div> | ||
100 | </div> | ||
65 | </el-col> | 101 | </el-col> |
66 | </el-row> | 102 | </el-row> |
67 | <el-row> | 103 | <el-row> |
68 | <el-col> | 104 | <el-col> |
69 | <lb-table :column="cxjgData.columns" :data="cxjgData.data" :maxHeight="200" heightNumSetting | 105 | <lb-table :column="dyjlcolumns" :data="form.dyjlList" :maxHeight="200" heightNumSetting :pagination="false"> |
70 | :pagination="false"> | ||
71 | </lb-table> | 106 | </lb-table> |
72 | </el-col> | 107 | </el-col> |
73 | </el-row> | 108 | </el-row> |
... | @@ -86,13 +121,14 @@ export default { | ... | @@ -86,13 +121,14 @@ export default { |
86 | // }, | 121 | // }, |
87 | props: ["formData"], | 122 | props: ["formData"], |
88 | 123 | ||
89 | created () { | 124 | created() { |
90 | // debugger; | 125 | // debugger; |
91 | // alert(this.formData.sqcxBsm); | 126 | // alert(this.formData.sqcxBsm); |
92 | }, | 127 | }, |
93 | 128 | ||
94 | data () { | 129 | data() { |
95 | return { | 130 | return { |
131 | form: {}, | ||
96 | ruleForm: { | 132 | ruleForm: { |
97 | cxyt: "", | 133 | cxyt: "", |
98 | ycyrgx: 1, | 134 | ycyrgx: 1, |
... | @@ -113,26 +149,27 @@ export default { | ... | @@ -113,26 +149,27 @@ export default { |
113 | columns: datas.qlrcolumns(), | 149 | columns: datas.qlrcolumns(), |
114 | data: [], | 150 | data: [], |
115 | }, | 151 | }, |
152 | dyjlcolumns: datas.dyjlcolumns(), | ||
116 | }; | 153 | }; |
117 | }, | 154 | }, |
118 | 155 | ||
119 | mounted () { | 156 | mounted() { |
120 | sendThis(this); | 157 | sendThis(this); |
121 | var sqcxBsm = this.formData.sqcxBsm; | 158 | var sqcxBsm = this.formData.sqcxBsm; |
122 | 159 | ||
123 | getJtfcInfo({ sqcxBsm: sqcxBsm }) | 160 | getJtfcInfo({ sqcxBsm: sqcxBsm }) |
124 | .then((res) => { | 161 | .then((res) => { |
125 | if (res.code == 200) { | 162 | if (res.code == 200) { |
163 | this.form = res.result; | ||
126 | this.sqrData.data = res.result.sqxx; | 164 | this.sqrData.data = res.result.sqxx; |
127 | this.qlrData.data = res.result.qlrxx; | 165 | this.qlrData.data = res.result.qlrxx; |
128 | this.cxjgData.data = res.result.djSqcxCxjgDOList; | 166 | this.cxjgData.data = res.result.djSqcxCxjgDOList; |
129 | this.cxbh = res.result.djSqcxDO.cxbh; | 167 | this.cxbh = res.result.djSqcxDO.cxbh; |
130 | |||
131 | } | 168 | } |
132 | }) | 169 | }) |
133 | .catch((error) => { | 170 | .catch((error) => { |
134 | console.log(error); | 171 | console.log(error); |
135 | }) | 172 | }); |
136 | }, | 173 | }, |
137 | methods: {}, | 174 | methods: {}, |
138 | }; | 175 | }; | ... | ... |
... | @@ -126,7 +126,22 @@ class data extends filter { | ... | @@ -126,7 +126,22 @@ class data extends filter { |
126 | }, | 126 | }, |
127 | ] | 127 | ] |
128 | } | 128 | } |
129 | 129 | dyjlcolumns () { | |
130 | return [ | ||
131 | { | ||
132 | prop: 'sqrxm', | ||
133 | label: '打印类型', | ||
134 | }, | ||
135 | { | ||
136 | prop: 'sqrzjlxmc', | ||
137 | label: '打印人员', | ||
138 | }, | ||
139 | { | ||
140 | prop: 'sqrzjhm', | ||
141 | label: '打印时间', | ||
142 | } | ||
143 | ] | ||
144 | } | ||
130 | } | 145 | } |
131 | 146 | ||
132 | 147 | ... | ... |
... | @@ -2,21 +2,53 @@ | ... | @@ -2,21 +2,53 @@ |
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 :model="queryForm" ref="queryForm" @submit.native.prevent label-width="100px"> |
6 | <el-row> | 6 | <el-row> |
7 | <el-col :span="5"> | 7 | <el-col :span="6"> |
8 | <el-form-item label="查询来源"> | ||
9 | <el-select v-model="queryForm.cxbh" class="width100" placeholder="请选择活动区域"> | ||
10 | <el-option label="区域一" value="shanghai"></el-option> | ||
11 | <el-option label="区域二" value="beijing"></el-option> | ||
12 | </el-select> | ||
13 | </el-form-item> | ||
14 | </el-col> | ||
15 | <el-col :span="6"> | ||
16 | <el-form-item label="查询类型"> | ||
17 | <el-select v-model="queryForm.cxbh" class="width100" placeholder="请选择活动区域"> | ||
18 | <el-option label="区域一" value="shanghai"></el-option> | ||
19 | <el-option label="区域二" value="beijing"></el-option> | ||
20 | </el-select> | ||
21 | </el-form-item> | ||
22 | </el-col> | ||
23 | <el-col :span="6"> | ||
8 | <el-form-item label="查询编号"> | 24 | <el-form-item label="查询编号"> |
9 | <el-input placeholder="请输入编号" @clear="queryClick" v-model="queryForm.cxbh" class="width100" clearable> | 25 | <el-input placeholder="请输入编号" @clear="queryClick" v-model="queryForm.cxbh" class="width100" clearable> |
10 | </el-input> | 26 | </el-input> |
11 | </el-form-item> | 27 | </el-form-item> |
12 | </el-col> | 28 | </el-col> |
13 | <el-col :span="5"> | 29 | <el-col :span="6"> |
14 | <el-form-item label="申请人"> | 30 | <el-form-item label="申请人"> |
15 | <el-input placeholder="请输入申请人" @clear="queryClick" v-model="queryForm.sqr" class="width100" clearable> | 31 | <el-input placeholder="请输入申请人" @clear="queryClick" v-model="queryForm.sqr" class="width100" clearable> |
16 | </el-input> | 32 | </el-input> |
17 | </el-form-item> | 33 | </el-form-item> |
18 | </el-col> | 34 | </el-col> |
19 | <el-col :span="14" class="btnColRight"> | 35 | </el-row> |
36 | <el-row> | ||
37 | <el-col :span="6"> | ||
38 | <el-form-item label="开始日期" class="marginbtm0"> | ||
39 | <el-date-picker class="width100" v-model="queryForm.sqr" type="date" placeholder="开始日期" | ||
40 | value-format="yyyy-MM-dd" clearable> | ||
41 | </el-date-picker> | ||
42 | </el-form-item> | ||
43 | </el-col> | ||
44 | <el-col :span="6"> | ||
45 | <el-form-item label="结束日期" class="marginbtm0"> | ||
46 | <el-date-picker class="width100" v-model="queryForm.sqr" type="date" placeholder="结束日期" | ||
47 | value-format="yyyy-MM-dd" clearable> | ||
48 | </el-date-picker> | ||
49 | </el-form-item> | ||
50 | </el-col> | ||
51 | <el-col :span="12" class="btnColRight"> | ||
20 | <el-form-item> | 52 | <el-form-item> |
21 | <el-button type="primary" native-type="submit" @click="queryClick">查询</el-button> | 53 | <el-button type="primary" native-type="submit" @click="queryClick">查询</el-button> |
22 | <el-button @click="moreQueryClick()">高级查询</el-button> | 54 | <el-button @click="moreQueryClick()">高级查询</el-button> |
... | @@ -27,7 +59,7 @@ | ... | @@ -27,7 +59,7 @@ |
27 | </div> | 59 | </div> |
28 | <!-- 表格 --> | 60 | <!-- 表格 --> |
29 | <div class="from-clues-content"> | 61 | <div class="from-clues-content"> |
30 | <lb-table :page-size="pageData.size" class="loadingtext" @sort-change="handleSort" | 62 | <lb-table :page-size="pageData.size" :heightNum="305" class="loadingtext" @sort-change="handleSort" |
31 | :current-page.sync="pageData.current" :total="tableData.total" @size-change="handleSizeChange" | 63 | :current-page.sync="pageData.current" :total="tableData.total" @size-change="handleSizeChange" |
32 | @p-current-change="handleCurrentChange" :column="tableData.columns" :data="tableData.data"> | 64 | @p-current-change="handleCurrentChange" :column="tableData.columns" :data="tableData.data"> |
33 | </lb-table> | 65 | </lb-table> |
... | @@ -43,7 +75,7 @@ export default { | ... | @@ -43,7 +75,7 @@ export default { |
43 | mixins: [table], | 75 | mixins: [table], |
44 | mounted () { | 76 | mounted () { |
45 | sendThis(this); | 77 | sendThis(this); |
46 | this.queryClick() | 78 | this.queryClick(); |
47 | }, | 79 | }, |
48 | data () { | 80 | data () { |
49 | return { | 81 | return { |
... | @@ -89,5 +121,9 @@ export default { | ... | @@ -89,5 +121,9 @@ export default { |
89 | }; | 121 | }; |
90 | </script> | 122 | </script> |
91 | <style scoped lang="scss"> | 123 | <style scoped lang="scss"> |
124 | .marginbtm0 { | ||
125 | margin-bottom: 0 | ||
126 | } | ||
127 | |||
92 | @import "~@/styles/public.scss"; | 128 | @import "~@/styles/public.scss"; |
93 | </style> | 129 | </style> | ... | ... |
... | @@ -8,7 +8,7 @@ class data extends filter { | ... | @@ -8,7 +8,7 @@ class data extends filter { |
8 | constructor() { | 8 | constructor() { |
9 | super() | 9 | super() |
10 | } | 10 | } |
11 | columns () { | 11 | columns() { |
12 | return [ | 12 | return [ |
13 | { | 13 | { |
14 | label: '序号', | 14 | label: '序号', |
... | @@ -16,13 +16,30 @@ class data extends filter { | ... | @@ -16,13 +16,30 @@ class data extends filter { |
16 | width: '50' | 16 | width: '50' |
17 | }, | 17 | }, |
18 | { | 18 | { |
19 | label: "查询来源", | ||
20 | render: (h, scope) => { | ||
21 | switch (scope.row.cxly) { | ||
22 | case '1': | ||
23 | return <div>办事大厅</div> | ||
24 | case '2': | ||
25 | return <div>自助查询机</div> | ||
26 | case '3': | ||
27 | return <div>政务一体化平台</div> | ||
28 | case '4': | ||
29 | return <div>互联网</div> | ||
30 | case '5': | ||
31 | return <div>微信公众号</div> | ||
32 | } | ||
33 | } | ||
34 | }, | ||
35 | { | ||
19 | label: "查询类型", | 36 | label: "查询类型", |
20 | render: (h, scope) => { | 37 | render: (h, scope) => { |
21 | switch (scope.row.cxlx) { | 38 | switch (scope.row.cxlx) { |
22 | case '1': | 39 | case '1': |
23 | return <div>家庭房产</div> | 40 | return <div>家庭房产</div> |
24 | case '2': | 41 | case '2': |
25 | return <div>登记簿</div> | 42 | return <div>房屋明细</div> |
26 | } | 43 | } |
27 | } | 44 | } |
28 | }, | 45 | }, |
... | @@ -44,7 +61,7 @@ class data extends filter { | ... | @@ -44,7 +61,7 @@ class data extends filter { |
44 | }, | 61 | }, |
45 | { | 62 | { |
46 | prop: "ycqrgxmc", | 63 | prop: "ycqrgxmc", |
47 | label: "与权利人的关系", | 64 | label: "与产权人的关系", |
48 | }, | 65 | }, |
49 | { | 66 | { |
50 | prop: "qlrxm", | 67 | prop: "qlrxm", | ... | ... |
... | @@ -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('是否确定取消发布', '提示', { |
... | @@ -150,6 +154,7 @@ export default { | ... | @@ -150,6 +154,7 @@ export default { |
150 | }).then(() => { | 154 | }).then(() => { |
151 | unPublishNotice({ "bsmNotice": item.bsmNotice }).then(res => { | 155 | unPublishNotice({ "bsmNotice": item.bsmNotice }).then(res => { |
152 | if (res.code == 200) { | 156 | if (res.code == 200) { |
157 | this.postMessage() | ||
153 | this.$message.success('删除成功') | 158 | this.$message.success('删除成功') |
154 | this.queryClick(); | 159 | this.queryClick(); |
155 | } else { | 160 | } else { | ... | ... |
... | @@ -21,7 +21,7 @@ | ... | @@ -21,7 +21,7 @@ |
21 | </el-col> | 21 | </el-col> |
22 | <el-col :span="6" class="btnColRight"> | 22 | <el-col :span="6" class="btnColRight"> |
23 | <el-form-item> | 23 | <el-form-item> |
24 | <el-button type="primary" icon="el-icon-search" @click="fetchData()">查询</el-button> | 24 | <el-button type="primary" icon="el-icon-search" @click="queryClick">查询</el-button> |
25 | <el-button type="primary" icon="el-icon-search" @click="zslqClick()">证书领取</el-button> | 25 | <el-button type="primary" icon="el-icon-search" @click="zslqClick()">证书领取</el-button> |
26 | </el-form-item> | 26 | </el-form-item> |
27 | </el-col> | 27 | </el-col> |
... | @@ -64,8 +64,7 @@ export default { | ... | @@ -64,8 +64,7 @@ export default { |
64 | } | 64 | } |
65 | }, | 65 | }, |
66 | methods: { | 66 | methods: { |
67 | // 列表渲染接口 | 67 | queryClick () { |
68 | fetchData () { | ||
69 | this.ruleForm.bsmSlsq = this.$route.query.bsmSlsq; | 68 | this.ruleForm.bsmSlsq = this.$route.query.bsmSlsq; |
70 | getCertificateList(this.ruleForm).then(res => { | 69 | getCertificateList(this.ruleForm).then(res => { |
71 | if (res.code === 200) { | 70 | if (res.code === 200) { | ... | ... |
... | @@ -86,7 +86,7 @@ export default { | ... | @@ -86,7 +86,7 @@ export default { |
86 | label: "联系电话" | 86 | label: "联系电话" |
87 | }, | 87 | }, |
88 | { | 88 | { |
89 | label: '修改', | 89 | label: '操作', |
90 | render: (h, scope) => { | 90 | render: (h, scope) => { |
91 | return ( | 91 | return ( |
92 | <div> | 92 | <div> |
... | @@ -98,6 +98,7 @@ export default { | ... | @@ -98,6 +98,7 @@ export default { |
98 | icon="el-icon-edit-outline" | 98 | icon="el-icon-edit-outline" |
99 | type="text" | 99 | type="text" |
100 | onClick={() => { this.editClick(scope.$index, scope.row) }}>编辑</el-button> | 100 | onClick={() => { this.editClick(scope.$index, scope.row) }}>编辑</el-button> |
101 | |||
101 | } | 102 | } |
102 | </div> | 103 | </div> |
103 | ) | 104 | ) |
... | @@ -131,7 +132,9 @@ export default { | ... | @@ -131,7 +132,9 @@ export default { |
131 | handler (newVal, oldValue) { | 132 | handler (newVal, oldValue) { |
132 | let dataList = _.cloneDeep(this.InformationTable) | 133 | let dataList = _.cloneDeep(this.InformationTable) |
133 | if (newVal == 0) { | 134 | if (newVal == 0) { |
134 | this.column = _.cloneDeep(dataList).slice(1, dataList.length) | 135 | // this.column = _.cloneDeep(dataList).slice(1, dataList.length) |
136 | this.column = _.cloneDeep(dataList) | ||
137 | |||
135 | } else if ((newVal == '1' || newVal == '3')) { | 138 | } else if ((newVal == '1' || newVal == '3')) { |
136 | this.column = dataList | 139 | this.column = dataList |
137 | } else { | 140 | } else { |
... | @@ -148,7 +151,6 @@ export default { | ... | @@ -148,7 +151,6 @@ export default { |
148 | }, | 151 | }, |
149 | methods: { | 152 | methods: { |
150 | handleupdateDetail (value) { | 153 | handleupdateDetail (value) { |
151 | debugger | ||
152 | if(this.isaddupdate){ | 154 | if(this.isaddupdate){ |
153 | if (!_.isEqual(value, this.tableData)) { | 155 | if (!_.isEqual(value, this.tableData)) { |
154 | this.tableDataList[this.tableDataList.length] = _.cloneDeep(value); | 156 | this.tableDataList[this.tableDataList.length] = _.cloneDeep(value); |
... | @@ -170,7 +172,14 @@ export default { | ... | @@ -170,7 +172,14 @@ export default { |
170 | 172 | ||
171 | // 删除 | 173 | // 删除 |
172 | deleClick (index, row) { | 174 | deleClick (index, row) { |
175 | this.$confirm('确定要删除吗, 是否继续?', '提示', { | ||
176 | confirmButtonText: '确定', | ||
177 | cancelButtonText: '取消', | ||
178 | type: 'warning' | ||
179 | }).then(() => { | ||
173 | this.tableData.splice(index, 1) | 180 | this.tableData.splice(index, 1) |
181 | }).catch(() => { | ||
182 | }); | ||
174 | }, | 183 | }, |
175 | 184 | ||
176 | // 身份证读取 | 185 | // 身份证读取 | ... | ... |
... | @@ -119,7 +119,7 @@ export default { | ... | @@ -119,7 +119,7 @@ export default { |
119 | issueCertificate(this.ruleForm).then(res => { | 119 | issueCertificate(this.ruleForm).then(res => { |
120 | if (res.code == 200) { | 120 | if (res.code == 200) { |
121 | this.$message.success('保存成功'); | 121 | this.$message.success('保存成功'); |
122 | this.$parent.fetchData(); | 122 | this.$parent.queryClick(); |
123 | this.$emit("input", false); | 123 | this.$emit("input", false); |
124 | } else { | 124 | } else { |
125 | this.$message.error(res.message) | 125 | this.$message.error(res.message) | ... | ... |
... | @@ -7,13 +7,23 @@ export default { | ... | @@ -7,13 +7,23 @@ export default { |
7 | } | 7 | } |
8 | }, | 8 | }, |
9 | created () { | 9 | created () { |
10 | this.getHomeNotice() | ||
11 | }, | ||
12 | mounted () { | ||
13 | let that = this | ||
14 | window.addEventListener('message', function (messageEvent) { | ||
15 | console.log(23333333333333333); | ||
16 | that.getHomeNotice() | ||
17 | }, false) | ||
18 | }, | ||
19 | methods: { | ||
20 | getHomeNotice () { | ||
10 | getHomeNoticeList().then(res => { | 21 | getHomeNoticeList().then(res => { |
11 | if (res.result) { | 22 | if (res.result) { |
12 | this.noticeList = res.result.noticeList | 23 | this.noticeList = res.result.noticeList |
13 | } | 24 | } |
14 | }) | 25 | }) |
15 | }, | 26 | }, |
16 | methods: { | ||
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 | } | ... | ... |
... | @@ -198,7 +198,7 @@ export default { | ... | @@ -198,7 +198,7 @@ export default { |
198 | //默认加载第一个表单信息 | 198 | //默认加载第一个表单信息 |
199 | this.tabName = res.result[0].value; | 199 | this.tabName = res.result[0].value; |
200 | //批量操作无分屏按钮 | 200 | //批量操作无分屏按钮 |
201 | if(index != null){ | 201 | if (index != null) { |
202 | //处理分屏材料信息 | 202 | //处理分屏材料信息 |
203 | let that = this; | 203 | let that = this; |
204 | this.tabList.forEach(function (item, index) { | 204 | this.tabList.forEach(function (item, index) { |
... | @@ -220,7 +220,7 @@ export default { | ... | @@ -220,7 +220,7 @@ export default { |
220 | this.stepForm(index); | 220 | this.stepForm(index); |
221 | }, | 221 | }, |
222 | //批量按钮点击事件 | 222 | //批量按钮点击事件 |
223 | batchUnitClick(){ | 223 | batchUnitClick () { |
224 | this.currentSelectProps.batchOperation = true; | 224 | this.currentSelectProps.batchOperation = true; |
225 | this.activeIndex = "-1"; | 225 | this.activeIndex = "-1"; |
226 | this.stepForm(); | 226 | this.stepForm(); | ... | ... |
... | @@ -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" native-type="submit" @click="queryClick()">查询</el-button> | 21 | <el-button type="primary" native-type="submit" @click="queryClick">查询</el-button> |
22 | </el-form-item> | 22 | </el-form-item> |
23 | </el-col> | 23 | </el-col> |
24 | </el-row> | 24 | </el-row> |
... | @@ -63,11 +63,7 @@ export default { | ... | @@ -63,11 +63,7 @@ export default { |
63 | }; | 63 | }; |
64 | }, | 64 | }, |
65 | methods: { | 65 | methods: { |
66 | init (e) { | 66 | queryClick(){ |
67 | this.fetchData() | ||
68 | }, | ||
69 | // 列表渲染接口 | ||
70 | fetchData () { | ||
71 | getErrorLogList({ ...this.queryForm, ...this.pageData }).then(res => { | 67 | getErrorLogList({ ...this.queryForm, ...this.pageData }).then(res => { |
72 | if (res.code === 200) { | 68 | if (res.code === 200) { |
73 | let { total, records } = res.result | 69 | let { total, records } = res.result |
... | @@ -79,9 +75,6 @@ export default { | ... | @@ -79,9 +75,6 @@ export default { |
79 | } | 75 | } |
80 | }) | 76 | }) |
81 | }, | 77 | }, |
82 | queryClick(){ | ||
83 | this.fetchData(); | ||
84 | }, | ||
85 | viewDetail(e){ | 78 | viewDetail(e){ |
86 | this.$popup("错误日志", "xtjk/cwrz/components/viewDialog", { | 79 | this.$popup("错误日志", "xtjk/cwrz/components/viewDialog", { |
87 | formData: { | 80 | formData: { | ... | ... |
... | @@ -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" native-type="submit" @click="queryClick()">查询</el-button> | 21 | <el-button type="primary" native-type="submit" @click="queryClick">查询</el-button> |
22 | </el-form-item> | 22 | </el-form-item> |
23 | </el-col> | 23 | </el-col> |
24 | </el-row> | 24 | </el-row> |
... | @@ -63,11 +63,7 @@ export default { | ... | @@ -63,11 +63,7 @@ export default { |
63 | }; | 63 | }; |
64 | }, | 64 | }, |
65 | methods: { | 65 | methods: { |
66 | init (e) { | 66 | queryClick(){ |
67 | this.fetchData() | ||
68 | }, | ||
69 | // 列表渲染接口 | ||
70 | fetchData () { | ||
71 | getOperationLogList({ ...this.queryForm, ...this.pageData }).then(res => { | 67 | getOperationLogList({ ...this.queryForm, ...this.pageData }).then(res => { |
72 | if (res.code === 200) { | 68 | if (res.code === 200) { |
73 | let { total, records } = res.result | 69 | let { total, records } = res.result |
... | @@ -76,9 +72,6 @@ export default { | ... | @@ -76,9 +72,6 @@ export default { |
76 | } | 72 | } |
77 | }) | 73 | }) |
78 | }, | 74 | }, |
79 | queryClick(){ | ||
80 | this.fetchData(); | ||
81 | }, | ||
82 | viewDetail(e){ | 75 | viewDetail(e){ |
83 | this.$popup("操作日志", "xtjk/czrz/components/viewDialog", { | 76 | this.$popup("操作日志", "xtjk/czrz/components/viewDialog", { |
84 | formData: { | 77 | formData: { | ... | ... |
... | @@ -157,11 +157,8 @@ export default { | ... | @@ -157,11 +157,8 @@ export default { |
157 | }; | 157 | }; |
158 | }, | 158 | }, |
159 | methods: { | 159 | methods: { |
160 | init (e) { | ||
161 | this.fetchData() | ||
162 | }, | ||
163 | // 列表渲染接口 | 160 | // 列表渲染接口 |
164 | fetchData () { | 161 | queryClick () { |
165 | getServerInfo().then(res => { | 162 | getServerInfo().then(res => { |
166 | if (res.code === 200) { | 163 | if (res.code === 200) { |
167 | this.serverData = res.result | 164 | this.serverData = res.result | ... | ... |
... | @@ -225,6 +225,16 @@ export default { | ... | @@ -225,6 +225,16 @@ export default { |
225 | this.ruleForm.ywrList && (this.ruleForm.ywrList = _.cloneDeep(val)) | 225 | this.ruleForm.ywrList && (this.ruleForm.ywrList = _.cloneDeep(val)) |
226 | }, | 226 | }, |
227 | onSubmit () { | 227 | onSubmit () { |
228 | if(this.ruleForm.slywxx.gyfs=="0"){ | ||
229 | if(this.ruleForm.qlrList.length>1){ | ||
230 | this.$message({ | ||
231 | showClose: true, | ||
232 | message: "共有方式:单独所有,权利人只能是一个人", | ||
233 | type: "error", | ||
234 | }); | ||
235 | return false; | ||
236 | } | ||
237 | } | ||
228 | saveData(this.ruleForm).then((res) => { | 238 | saveData(this.ruleForm).then((res) => { |
229 | if (res.code === 200) { | 239 | if (res.code === 200) { |
230 | this.$message({ | 240 | this.$message({ | ... | ... |
... | @@ -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']) | ... | ... |
... | @@ -24,7 +24,7 @@ | ... | @@ -24,7 +24,7 @@ |
24 | </el-col> | 24 | </el-col> |
25 | <el-col :span="2" class="btnColRight"> | 25 | <el-col :span="2" class="btnColRight"> |
26 | <el-form-item> | 26 | <el-form-item> |
27 | <el-button type="primary" @click="fetchData()">查询</el-button> | 27 | <el-button type="primary" @click="queryClick">查询</el-button> |
28 | </el-form-item> | 28 | </el-form-item> |
29 | </el-col> | 29 | </el-col> |
30 | </el-row> | 30 | </el-row> |
... | @@ -84,7 +84,7 @@ export default { | ... | @@ -84,7 +84,7 @@ export default { |
84 | closeDialog () { | 84 | closeDialog () { |
85 | this.$emit("closeDialog") | 85 | this.$emit("closeDialog") |
86 | }, | 86 | }, |
87 | fetchData () { | 87 | queryClick () { |
88 | this.queryForm.sqywbm = this.sqywInfo.djywbm; | 88 | this.queryForm.sqywbm = this.sqywInfo.djywbm; |
89 | selectCfdj({ ...this.queryForm, ...this.pageData }) | 89 | selectCfdj({ ...this.queryForm, ...this.pageData }) |
90 | .then((res) => { | 90 | .then((res) => { | ... | ... |
... | @@ -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="queryClick()">查询</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> |
... | @@ -89,7 +89,7 @@ export default { | ... | @@ -89,7 +89,7 @@ export default { |
89 | closeDialog() { | 89 | closeDialog() { |
90 | this.$emit("closeDialog"); | 90 | this.$emit("closeDialog"); |
91 | }, | 91 | }, |
92 | fetchData() { | 92 | queryClick() { |
93 | this.queryForm.sqywbm = this.sqywInfo.djywbm; | 93 | this.queryForm.sqywbm = this.sqywInfo.djywbm; |
94 | selectDiyaq({ ...this.queryForm, ...this.pageData }).then((res) => { | 94 | selectDiyaq({ ...this.queryForm, ...this.pageData }).then((res) => { |
95 | if (res.code === 200) { | 95 | if (res.code === 200) { | ... | ... |
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> |
... | @@ -73,12 +73,8 @@ export default { | ... | @@ -73,12 +73,8 @@ export default { |
73 | methods: { | 73 | methods: { |
74 | // 查询 | 74 | // 查询 |
75 | queryClick () { | 75 | queryClick () { |
76 | this.fetchData(); | ||
77 | }, | 76 | }, |
78 | 77 | ||
79 | // 初始化数据 | ||
80 | fetchData () { | ||
81 | }, | ||
82 | }, | 78 | }, |
83 | }; | 79 | }; |
84 | </script> | 80 | </script> | ... | ... |
... | @@ -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> |
... | @@ -83,11 +83,8 @@ export default { | ... | @@ -83,11 +83,8 @@ export default { |
83 | methods: { | 83 | methods: { |
84 | // 查询 | 84 | // 查询 |
85 | queryClick() { | 85 | queryClick() { |
86 | this.fetchData(); | ||
87 | }, | 86 | }, |
88 | 87 | ||
89 | // 初始化数据 | ||
90 | fetchData() {}, | ||
91 | }, | 88 | }, |
92 | }; | 89 | }; |
93 | </script> | 90 | </script> | ... | ... |
... | @@ -140,7 +140,7 @@ export default { | ... | @@ -140,7 +140,7 @@ export default { |
140 | this.$emit("input", false); | 140 | this.$emit("input", false); |
141 | this.$refs['ruleForm'].resetFields(); | 141 | this.$refs['ruleForm'].resetFields(); |
142 | this.resetTableFields(); | 142 | this.resetTableFields(); |
143 | this.$parent.fetchData(); | 143 | this.$parent.queryClick(); |
144 | } else { | 144 | } else { |
145 | this.$message.error(res.message) | 145 | this.$message.error(res.message) |
146 | } | 146 | } | ... | ... |
... | @@ -27,7 +27,7 @@ | ... | @@ -27,7 +27,7 @@ |
27 | 27 | ||
28 | <el-col :span="9" class="btnColRight"> | 28 | <el-col :span="9" class="btnColRight"> |
29 | <el-form-item> | 29 | <el-form-item> |
30 | <el-button type="primary" native-type="submit" @click="queryClick()">查询</el-button> | 30 | <el-button type="primary" native-type="submit" @click="queryClick">查询</el-button> |
31 | <el-button type="primary" @click="openDialog()">新增</el-button> | 31 | <el-button type="primary" @click="openDialog()">新增</el-button> |
32 | </el-form-item> | 32 | </el-form-item> |
33 | </el-col> | 33 | </el-col> |
... | @@ -96,19 +96,6 @@ export default { | ... | @@ -96,19 +96,6 @@ export default { |
96 | } | 96 | } |
97 | }, | 97 | }, |
98 | methods: { | 98 | methods: { |
99 | init (e) { | ||
100 | this.fetchData() | ||
101 | }, | ||
102 | // 列表渲染接口 | ||
103 | fetchData () { | ||
104 | getZsglffList({ ...this.ruleForm, ...this.pageData }).then(res => { | ||
105 | if (res.code === 200) { | ||
106 | let { total, records } = res.result | ||
107 | this.tableData.total = total; | ||
108 | this.tableData.data = records ? records : [] | ||
109 | } | ||
110 | }) | ||
111 | }, | ||
112 | openDialog (bsmBatch) { | 99 | openDialog (bsmBatch) { |
113 | if (bsmBatch) { | 100 | if (bsmBatch) { |
114 | this.$nextTick(() => { | 101 | this.$nextTick(() => { |
... | @@ -123,7 +110,13 @@ export default { | ... | @@ -123,7 +110,13 @@ export default { |
123 | this.isDialog = true; | 110 | this.isDialog = true; |
124 | }, | 111 | }, |
125 | queryClick () { | 112 | queryClick () { |
126 | this.fetchData() | 113 | getZsglffList({ ...this.ruleForm, ...this.pageData }).then(res => { |
114 | if (res.code === 200) { | ||
115 | let { total, records } = res.result | ||
116 | this.tableData.total = total; | ||
117 | this.tableData.data = records ? records : [] | ||
118 | } | ||
119 | }) | ||
127 | }, | 120 | }, |
128 | //确定证书分发 | 121 | //确定证书分发 |
129 | confrimVerify (item) { | 122 | confrimVerify (item) { |
... | @@ -135,7 +128,7 @@ export default { | ... | @@ -135,7 +128,7 @@ export default { |
135 | confirmZsff({ "bsmBatch": item.bsmBatch }).then(res => { | 128 | confirmZsff({ "bsmBatch": item.bsmBatch }).then(res => { |
136 | if (res.code == 200) { | 129 | if (res.code == 200) { |
137 | this.$message.success("分发成功") | 130 | this.$message.success("分发成功") |
138 | this.fetchData(); | 131 | this.queryClick(); |
139 | } else { | 132 | } else { |
140 | this.$message.error(res.message) | 133 | this.$message.error(res.message) |
141 | } | 134 | } |
... | @@ -158,7 +151,7 @@ export default { | ... | @@ -158,7 +151,7 @@ export default { |
158 | if (res.code == 200) { | 151 | if (res.code == 200) { |
159 | this.$message.success("删除成功") | 152 | this.$message.success("删除成功") |
160 | this.handleDel() | 153 | this.handleDel() |
161 | this.fetchData() | 154 | this.queryClick() |
162 | } else { | 155 | } else { |
163 | this.$message.error(res.message) | 156 | this.$message.error(res.message) |
164 | } | 157 | } | ... | ... |
... | @@ -147,7 +147,7 @@ export default { | ... | @@ -147,7 +147,7 @@ export default { |
147 | this.$emit("input", false); | 147 | this.$emit("input", false); |
148 | this.$refs['ruleForm'].resetFields(); | 148 | this.$refs['ruleForm'].resetFields(); |
149 | this.resetTableFields(); | 149 | this.resetTableFields(); |
150 | this.$parent.fetchData(); | 150 | this.$parent.queryClick(); |
151 | } else { | 151 | } else { |
152 | this.$message.error(res.message); | 152 | this.$message.error(res.message); |
153 | } | 153 | } | ... | ... |
... | @@ -25,7 +25,7 @@ | ... | @@ -25,7 +25,7 @@ |
25 | </el-col> | 25 | </el-col> |
26 | <el-col :span="9" class="btnColRight"> | 26 | <el-col :span="9" class="btnColRight"> |
27 | <el-form-item> | 27 | <el-form-item> |
28 | <el-button type="primary" native-type="submit" @click="queryClick()">查询</el-button> | 28 | <el-button type="primary" native-type="submit" @click="queryClick">查询</el-button> |
29 | <el-button type="primary" @click="openDialog()">新增</el-button> | 29 | <el-button type="primary" @click="openDialog()">新增</el-button> |
30 | </el-form-item> | 30 | </el-form-item> |
31 | </el-col> | 31 | </el-col> |
... | @@ -93,16 +93,6 @@ export default { | ... | @@ -93,16 +93,6 @@ export default { |
93 | } | 93 | } |
94 | }, | 94 | }, |
95 | methods: { | 95 | methods: { |
96 | // 列表渲染接口 | ||
97 | fetchData () { | ||
98 | getZsglrkList({ ...this.ruleForm, ...this.pageData }).then(res => { | ||
99 | if (res.code === 200) { | ||
100 | let { total, records } = res.result | ||
101 | this.tableData.total = total; | ||
102 | this.tableData.data = records ? records : [] | ||
103 | } | ||
104 | }) | ||
105 | }, | ||
106 | openDialog (bsmBatch) { | 96 | openDialog (bsmBatch) { |
107 | if (bsmBatch) { | 97 | if (bsmBatch) { |
108 | this.$nextTick(() => { | 98 | this.$nextTick(() => { |
... | @@ -116,7 +106,13 @@ export default { | ... | @@ -116,7 +106,13 @@ export default { |
116 | this.isDialog = true; | 106 | this.isDialog = true; |
117 | }, | 107 | }, |
118 | queryClick () { | 108 | queryClick () { |
119 | this.fetchData() | 109 | getZsglrkList({ ...this.ruleForm, ...this.pageData }).then(res => { |
110 | if (res.code === 200) { | ||
111 | let { total, records } = res.result | ||
112 | this.tableData.total = total; | ||
113 | this.tableData.data = records ? records : [] | ||
114 | } | ||
115 | }) | ||
120 | }, | 116 | }, |
121 | //删除证书入库数据 | 117 | //删除证书入库数据 |
122 | delZsrk (item) { | 118 | delZsrk (item) { |
... | @@ -129,7 +125,7 @@ export default { | ... | @@ -129,7 +125,7 @@ export default { |
129 | if (res.code == 200) { | 125 | if (res.code == 200) { |
130 | this.$message.success("删除成功") | 126 | this.$message.success("删除成功") |
131 | this.handleDel() | 127 | this.handleDel() |
132 | this.fetchData() | 128 | this.queryClick() |
133 | } else { | 129 | } else { |
134 | this.$message.error(res.message) | 130 | this.$message.error(res.message) |
135 | } | 131 | } |
... | @@ -151,7 +147,7 @@ export default { | ... | @@ -151,7 +147,7 @@ export default { |
151 | verifyZsrk({ "bsmBatch": item.bsmBatch }).then(res => { | 147 | verifyZsrk({ "bsmBatch": item.bsmBatch }).then(res => { |
152 | if (res.code == 200) { | 148 | if (res.code == 200) { |
153 | this.$message.success("审核成功") | 149 | this.$message.success("审核成功") |
154 | this.fetchData(); | 150 | this.queryClick(); |
155 | } else { | 151 | } else { |
156 | this.$message.error(res.message) | 152 | this.$message.error(res.message) |
157 | } | 153 | } | ... | ... |
... | @@ -6,12 +6,12 @@ | ... | @@ -6,12 +6,12 @@ |
6 | <el-row> | 6 | <el-row> |
7 | <el-col :span="5"> | 7 | <el-col :span="5"> |
8 | <el-form-item label="印刷序列号" prop="ysxlh"> | 8 | <el-form-item label="印刷序列号" prop="ysxlh"> |
9 | <el-input v-model="ruleForm.ysxlh" @clear="fetchData()" clearable placeholder="请输入印刷序列号"></el-input> | 9 | <el-input v-model="ruleForm.ysxlh" clearable placeholder="请输入印刷序列号"></el-input> |
10 | </el-form-item> | 10 | </el-form-item> |
11 | </el-col> | 11 | </el-col> |
12 | <el-col :span="5"> | 12 | <el-col :span="5"> |
13 | <el-form-item label="证书类型" prop="zslx"> | 13 | <el-form-item label="证书类型" prop="zslx"> |
14 | <el-select v-model="ruleForm.zslx" @change="fetchData()" class="width100" placeholder="请选择证书类型" clearable> | 14 | <el-select v-model="ruleForm.zslx" class="width100" placeholder="请选择证书类型" clearable> |
15 | <el-option v-for="item in zslxArr" :key="item.value" :label="item.label" :value="item.value"> | 15 | <el-option v-for="item in zslxArr" :key="item.value" :label="item.label" :value="item.value"> |
16 | </el-option> | 16 | </el-option> |
17 | </el-select> | 17 | </el-select> |
... | @@ -19,18 +19,18 @@ | ... | @@ -19,18 +19,18 @@ |
19 | </el-col> | 19 | </el-col> |
20 | <el-col :span="5"> | 20 | <el-col :span="5"> |
21 | <el-form-item label="业务号" label-width="60px" prop="ywh"> | 21 | <el-form-item label="业务号" label-width="60px" prop="ywh"> |
22 | <el-input v-model="ruleForm.ywh" @clear="fetchData()" clearable placeholder="请输入业务号"></el-input> | 22 | <el-input v-model="ruleForm.ywh" clearable placeholder="请输入业务号"></el-input> |
23 | </el-form-item> | 23 | </el-form-item> |
24 | </el-col> | 24 | </el-col> |
25 | <el-col :span="6"> | 25 | <el-col :span="6"> |
26 | <el-form-item label="不动产权证号" label-width="100px" prop="bdcqzh"> | 26 | <el-form-item label="不动产权证号" label-width="100px" prop="bdcqzh"> |
27 | <el-input v-model="ruleForm.bdcqzh" @clear="fetchData()" placeholder="请输入不动产权证号"></el-input> | 27 | <el-input v-model="ruleForm.bdcqzh" placeholder="请输入不动产权证号"></el-input> |
28 | </el-form-item> | 28 | </el-form-item> |
29 | </el-col> | 29 | </el-col> |
30 | 30 | ||
31 | <el-col :span="3" class="btnColRight"> | 31 | <el-col :span="3" class="btnColRight"> |
32 | <el-form-item> | 32 | <el-form-item> |
33 | <el-button type="primary" native-type="submit" icon="el-icon-search" @click="fetchData()">查询</el-button> | 33 | <el-button type="primary" native-type="submit" icon="el-icon-search" @click="queryClick">查询</el-button> |
34 | <el-button @click="moreQueryClick()">高级查询</el-button> | 34 | <el-button @click="moreQueryClick()">高级查询</el-button> |
35 | </el-form-item> | 35 | </el-form-item> |
36 | </el-col> | 36 | </el-col> |
... | @@ -80,8 +80,7 @@ export default { | ... | @@ -80,8 +80,7 @@ export default { |
80 | }; | 80 | }; |
81 | }, | 81 | }, |
82 | methods: { | 82 | methods: { |
83 | // 列表渲染接口 | 83 | queryClick () { |
84 | fetchData () { | ||
85 | getZssyqkList({ ...this.ruleForm, ...this.pageData }).then(res => { | 84 | getZssyqkList({ ...this.ruleForm, ...this.pageData }).then(res => { |
86 | if (res.code === 200) { | 85 | if (res.code === 200) { |
87 | let { total, records } = res.result | 86 | let { total, records } = res.result | ... | ... |
-
Please register or sign in to post a comment