6ffaf546 by xiaomiao

样式调整

2 parents 84a5761d 20c66331
...@@ -12,7 +12,7 @@ ...@@ -12,7 +12,7 @@
12 12
13 //input 13 //input
14 .el-input__inner { 14 .el-input__inner {
15 color: #FFFFFF!important; 15 color: #FFFFFF !important;
16 padding: 0 7px !important; 16 padding: 0 7px !important;
17 } 17 }
18 18
...@@ -257,43 +257,51 @@ table td { ...@@ -257,43 +257,51 @@ table td {
257 } 257 }
258 258
259 .el-popper[x-placement^="bottom"] .popper__arrow::after { 259 .el-popper[x-placement^="bottom"] .popper__arrow::after {
260 display: none; 260 display: none;
261 } 261 }
262 262
263 .el-popper[x-placement^="bottom"] .popper__arrow { 263 .el-popper[x-placement^="bottom"] .popper__arrow {
264 display: none; 264 display: none;
265 } 265 }
266 .el-date-picker{ 266 // 时间选择框样式
267 .el-date-picker {
267 background-color: #031a46; 268 background-color: #031a46;
269 .el-date-picker__header-label{
270 color:#A6CFD6;
271 }
268 .el-picker-panel__content{ 272 .el-picker-panel__content{
273 background-color:#074487;
269 .disabled{ 274 .disabled{
270 background-color:#074487; 275 background-color:#074487;
276 .el-date-table td.disabled div{
277 background-color:#074487;
278 }
271 } 279 }
272 } 280 }
273 .el-date-picker__header-label{ 281
274 color: #A6CFD6; 282
275 } 283 .el-picker-panel__icon-btn {
276 .el-picker-panel__icon-btn{
277 color: #A6CFD6; 284 color: #A6CFD6;
278 } 285 }
279 .el-date-table th{ 286
287 .el-date-table th {
280 color: #02D9FD; 288 color: #02D9FD;
281 } 289 }
282 .el-date-table td span{ 290
291 .el-date-table td span {
283 color: #A6CFD6; 292 color: #A6CFD6;
284 } 293 }
285 .el-date-table td.current:not(.disabled) span{ 294
286 background-color: #074487; 295 .el-date-table td.current:not(.disabled) span {
287 // border:1px solid saddlebrown; 296 background-color: #074487;
288 box-shadow: inset 0 0 7px #02D9FD; 297 // border:1px solid saddlebrown;
289 border: 1px solid #02D9FD; 298 box-shadow: inset 0 0 7px #02D9FD;
299 border: 1px solid #02D9FD;
290 } 300 }
291 301
292 } 302 }
293 .el-picker-panel__content{
294 background-color:#074487;
295 303
296 } 304
297 305
298 306
299 .el-menu--horizontal .el-menu .el-menu-item, 307 .el-menu--horizontal .el-menu .el-menu-item,
...@@ -307,6 +315,7 @@ display: none; ...@@ -307,6 +315,7 @@ display: none;
307 315
308 .el-menu--horizontal .el-menu--popup .el-menu-item:not(.is-disabled):hover, 316 .el-menu--horizontal .el-menu--popup .el-menu-item:not(.is-disabled):hover,
309 .el-select-dropdown__item:hover, 317 .el-select-dropdown__item:hover,
318 .el-select-dropdown__item.selected,
310 .el-menu--horizontal .el-menu--popup .el-menu-item:not(.is-disabled):focus { 319 .el-menu--horizontal .el-menu--popup .el-menu-item:not(.is-disabled):focus {
311 background: #074487; 320 background: #074487;
312 border: 1px solid #02D9FD; 321 border: 1px solid #02D9FD;
......
...@@ -32,7 +32,7 @@ ...@@ -32,7 +32,7 @@
32 </el-col> 32 </el-col>
33 </el-row> 33 </el-row>
34 <el-row class="mt-10"> 34 <el-row class="mt-10">
35 <el-col :span="6"> 35 <el-col :span="6">
36 <el-form-item label="业务号" prop="ywh"> 36 <el-form-item label="业务号" prop="ywh">
37 <el-input v-model="form.ywh" class="width100" placeholder="业务号"></el-input> 37 <el-input v-model="form.ywh" class="width100" placeholder="业务号"></el-input>
38 </el-form-item> 38 </el-form-item>
...@@ -87,6 +87,8 @@ ...@@ -87,6 +87,8 @@
87 :data="tableData.data"> 87 :data="tableData.data">
88 </lb-table> 88 </lb-table>
89 </div> 89 </div>
90 <!-- 编辑 -->
91 <dataDetails ref="editLog" />
90 </div> 92 </div>
91 </template> 93 </template>
92 94
...@@ -97,10 +99,16 @@ import data from "./data"; ...@@ -97,10 +99,16 @@ import data from "./data";
97 // 引入table混入方法 99 // 引入table混入方法
98 import tableMixin from "@/mixins/tableMixin.js"; 100 import tableMixin from "@/mixins/tableMixin.js";
99 import { getReceiveDataReportPage } from "@/api/sbbwcx.js"; 101 import { getReceiveDataReportPage } from "@/api/sbbwcx.js";
102 // 引入详情弹框
103 import dataDetails from "@/components/dataDetails/edit-dialog";
100 export default { 104 export default {
101 name: "jsbwcx", 105 name: "jsbwcx",
102 mixins: [tableMixin], 106 mixins: [tableMixin],
103 data() { 107 // 注册组件
108 components: {
109 dataDetails,
110 },
111 data () {
104 return { 112 return {
105 // 开始结束日期限制 113 // 开始结束日期限制
106 pickerOptionsStart: { 114 pickerOptionsStart: {
...@@ -194,7 +202,7 @@ export default { ...@@ -194,7 +202,7 @@ export default {
194 }, 202 },
195 methods: { 203 methods: {
196 // 初始化数据 204 // 初始化数据
197 queryClick() { 205 queryClick () {
198 getReceiveDataReportPage({ ...this.form, ...this.pageData }).then((res) => { 206 getReceiveDataReportPage({ ...this.form, ...this.pageData }).then((res) => {
199 if (res.code === 200) { 207 if (res.code === 200) {
200 let { total, records } = res.result; 208 let { total, records } = res.result;
...@@ -204,23 +212,17 @@ export default { ...@@ -204,23 +212,17 @@ export default {
204 }); 212 });
205 }, 213 },
206 // 重置 214 // 重置
207 resetForm() { 215 resetForm () {
208 this.$refs.ruleForm.resetFields(); 216 this.$refs.ruleForm.resetFields();
209 }, 217 },
210 featchData() { 218 featchData () {
211 this.queryClick(); 219 this.queryClick();
212 }, 220 },
213 // 详情 221 // 详情
214 handleEdit() { 222 handleEdit (row) {
215 this.$popupDialog( 223 this.$refs.editLog.isShow(row);
216 "业务报文", 224 }
217 "components/JsonEditor/index", 225 }
218 {},
219 "50%",
220 "320px"
221 );
222 },
223 },
224 }; 226 };
225 </script> 227 </script>
226 <style scoped lang="scss"> 228 <style scoped lang="scss">
......