stype(fg,hb):修改样式
Showing
4 changed files
with
30 additions
and
26 deletions
... | @@ -128,7 +128,8 @@ | ... | @@ -128,7 +128,8 @@ |
128 | xmmc: "", | 128 | xmmc: "", |
129 | zddm: "", | 129 | zddm: "", |
130 | zl: "" | 130 | zl: "" |
131 | } | 131 | }; |
132 | this.getData(this.queryData) | ||
132 | }, | 133 | }, |
133 | getData: function (data) { | 134 | getData: function (data) { |
134 | getSearchList(data).then(res => { | 135 | getSearchList(data).then(res => { |
... | @@ -179,6 +180,10 @@ | ... | @@ -179,6 +180,10 @@ |
179 | cursor: pointer; | 180 | cursor: pointer; |
180 | } | 181 | } |
181 | 182 | ||
183 | .inputtitle { | ||
184 | line-height: 40px; | ||
185 | } | ||
186 | |||
182 | .shop { | 187 | .shop { |
183 | margin-top: 20px; | 188 | margin-top: 20px; |
184 | } | 189 | } | ... | ... |
... | @@ -31,7 +31,7 @@ | ... | @@ -31,7 +31,7 @@ |
31 | </tr> | 31 | </tr> |
32 | </table> | 32 | </table> |
33 | </div> | 33 | </div> |
34 | <query-data @getData="getData" :centerDialogVisible.sync="centerDialogVisible" @close="closepop"></query-data> | 34 | <query-data @getData="getData" :centerDialogVisible.sync="centerDialogVisible" @close="close"></query-data> |
35 | </div> | 35 | </div> |
36 | </template> | 36 | </template> |
37 | 37 | ||
... | @@ -53,7 +53,7 @@ | ... | @@ -53,7 +53,7 @@ |
53 | mounted() { | 53 | mounted() { |
54 | }, | 54 | }, |
55 | methods: { | 55 | methods: { |
56 | closepop: function () { | 56 | close: function () { |
57 | this.centerDialogVisible = false; | 57 | this.centerDialogVisible = false; |
58 | }, | 58 | }, |
59 | newAdd: function () { | 59 | newAdd: function () { |
... | @@ -106,9 +106,6 @@ | ... | @@ -106,9 +106,6 @@ |
106 | cursor: pointer; | 106 | cursor: pointer; |
107 | } | 107 | } |
108 | 108 | ||
109 | .inputtitle { | ||
110 | line-height: 40px; | ||
111 | } | ||
112 | .noData { | 109 | .noData { |
113 | color: #b2b2b2; | 110 | color: #b2b2b2; |
114 | } | 111 | } | ... | ... |
... | @@ -53,18 +53,19 @@ | ... | @@ -53,18 +53,19 @@ |
53 | import SearchHead from "../../../../components/searchHead/searchHead"; | 53 | import SearchHead from "../../../../components/searchHead/searchHead"; |
54 | import {getSearchList} from "../../../../api/search"; | 54 | import {getSearchList} from "../../../../api/search"; |
55 | import {copyZdjbxx} from "../../../../api/common"; | 55 | import {copyZdjbxx} from "../../../../api/common"; |
56 | |||
56 | export default { | 57 | export default { |
57 | name: "", | 58 | name: "", |
58 | components: {SearchHead}, | 59 | components: {SearchHead}, |
59 | props: {}, | 60 | props: {}, |
60 | data() { | 61 | data() { |
61 | return { | 62 | return { |
62 | qszt:2, | 63 | qszt: 2, |
63 | total: 0, | 64 | total: 0, |
64 | pageNo: 1, | 65 | pageNo: 1, |
65 | pageSize: 10, | 66 | pageSize: 10, |
66 | tableData: [], | 67 | tableData: [], |
67 | tableHeight: "", | 68 | tableHeight: "100px", |
68 | queryData: {} | 69 | queryData: {} |
69 | }; | 70 | }; |
70 | }, | 71 | }, |
... | @@ -112,45 +113,47 @@ | ... | @@ -112,45 +113,47 @@ |
112 | console.log('fwsxbg'); | 113 | console.log('fwsxbg'); |
113 | console.log(row); | 114 | console.log(row); |
114 | var bsm = row.glbsm; | 115 | var bsm = row.glbsm; |
115 | var type ; | 116 | var type; |
116 | let path = ""; | 117 | let path = ""; |
117 | switch (row.dylx) { | 118 | switch (row.dylx) { |
118 | case "zrz": | 119 | case "zrz": |
119 | type="1"; | 120 | type = "1"; |
121 | this.$store.state.zrzbsm = row.glbsm | ||
120 | path = "/zrz"; | 122 | path = "/zrz"; |
121 | break; | 123 | break; |
122 | case "zd": | 124 | case "zd": |
123 | type ="0"; | 125 | type = "0"; |
124 | this.$store.state.zdbsm = row.glbsm; | 126 | this.$store.state.zdbsm = row.glbsm; |
125 | path = "/zd"; | 127 | path = "/zd"; |
126 | break; | 128 | break; |
127 | case "h": | 129 | case "h": |
128 | type="2" | 130 | type = "2" |
131 | this.$store.state.hbsm = row.glbsm | ||
129 | break; | 132 | break; |
130 | default: | 133 | default: |
131 | break; | 134 | break; |
132 | } | 135 | } |
133 | var params = {"id":bsm,"type":type}; | 136 | var params = {"id": bsm, "type": type}; |
134 | copyZdjbxx(params) | 137 | copyZdjbxx(params) |
135 | .then((res =>{ | 138 | .then((res => { |
136 | if(res.code==200){ | 139 | if (res.code == 200) { |
137 | this.$message({ | 140 | this.$message({ |
138 | message: res.message, | 141 | message: res.message, |
139 | type: "success", | 142 | type: "success", |
140 | }); | 143 | }); |
141 | } else { | 144 | } else { |
142 | this.$message({ | 145 | this.$message({ |
143 | message: res.message, | 146 | message: res.message, |
144 | type: "warning", | 147 | type: "warning", |
145 | }); | 148 | }); |
146 | } | 149 | } |
147 | })); | 150 | })); |
148 | //this.$router.push({ | 151 | //this.$router.push({ |
149 | // path: path, | 152 | // path: path, |
150 | // query: { | 153 | // query: { |
151 | // bsm: row.glbsm, | 154 | // bsm: row.glbsm, |
152 | // source: 2 | 155 | // source: 2 |
153 | // } | 156 | // } |
154 | //}); | 157 | //}); |
155 | }, | 158 | }, |
156 | }, | 159 | }, | ... | ... |
... | @@ -34,12 +34,11 @@ | ... | @@ -34,12 +34,11 @@ |
34 | <td><input type="text" class="formInput" v-model="item.zl" readonly="readonly"/></td> | 34 | <td><input type="text" class="formInput" v-model="item.zl" readonly="readonly"/></td> |
35 | </tr> | 35 | </tr> |
36 | </table> | 36 | </table> |
37 | <query-data @getData="getData" :centerDialogVisible.sync="centerDialogVisible" @close="closepop"></query-data> | 37 | <query-data @getData="getData" :centerDialogVisible.sync="centerDialogVisible" @close="close"></query-data> |
38 | </div> | 38 | </div> |
39 | </template> | 39 | </template> |
40 | 40 | ||
41 | <script> | 41 | <script> |
42 | import {getSearchList} from './../../../../api/search' | ||
43 | import QueryData from './../../../../components/queryData/queryData' | 42 | import QueryData from './../../../../components/queryData/queryData' |
44 | 43 | ||
45 | export default { | 44 | export default { |
... | @@ -57,6 +56,9 @@ | ... | @@ -57,6 +56,9 @@ |
57 | mounted() { | 56 | mounted() { |
58 | }, | 57 | }, |
59 | methods: { | 58 | methods: { |
59 | close: function () { | ||
60 | this.centerDialogVisible = false; | ||
61 | }, | ||
60 | newAdd: function () { | 62 | newAdd: function () { |
61 | this.centerDialogVisible = true; | 63 | this.centerDialogVisible = true; |
62 | }, | 64 | }, |
... | @@ -119,9 +121,6 @@ | ... | @@ -119,9 +121,6 @@ |
119 | cursor: pointer; | 121 | cursor: pointer; |
120 | } | 122 | } |
121 | 123 | ||
122 | .inputtitle { | ||
123 | line-height: 40px; | ||
124 | } | ||
125 | .noData { | 124 | .noData { |
126 | color: #b2b2b2; | 125 | color: #b2b2b2; |
127 | } | 126 | } | ... | ... |
-
Please register or sign in to post a comment