e332135c by 任超

style:css报错处理

1 parent ac8cde68
...@@ -59,20 +59,18 @@ ...@@ -59,20 +59,18 @@
59 </div> 59 </div>
60 </div> 60 </div>
61 </el-dialog> 61 </el-dialog>
62 <zsylDialog ref="zsylDialog" v-model="zsylFlag" :value='zsylFlag'/> 62 <zsylDialog ref="zsylDialog" v-model="zsylFlag" :value='zsylFlag' />
63 </div> 63 </div>
64 </template> 64 </template>
65 <script> 65 <script>
66 import zsylDialog from "./zsyl"; 66 import zsylDialog from "./zsyl";
67 import { getBdcqzList,invalidCertificate } from "@/api/fqsq.js"; 67 import { getBdcqzList, invalidCertificate } from "@/api/fqsq.js";
68 68
69 export default { 69 export default {
70 components: { zsylDialog }, 70 components: { zsylDialog },
71 props: { 71 props: {
72
73 }, 72 },
74 73 data () {
75 data() {
76 return { 74 return {
77 tableData: [], 75 tableData: [],
78 zsylFlag: false, 76 zsylFlag: false,
...@@ -83,24 +81,24 @@ export default { ...@@ -83,24 +81,24 @@ export default {
83 bsmSz: '', 81 bsmSz: '',
84 }; 82 };
85 }, 83 },
86 async created() { 84 async created () {
87 this.list(); 85 this.list();
88 }, 86 },
89 methods: { 87 methods: {
90 //初始化列表 88 //初始化列表
91 list(){ 89 list () {
92 var bsmSldy = this.$parent._data.unitData[0].bsmSldy 90 var bsmSldy = this.$parent._data.unitData[0].bsmSldy
93 getBdcqzList({bsmSldy:bsmSldy}).then(res => { 91 getBdcqzList({ bsmSldy: bsmSldy }).then(res => {
94 if (res.code === 200) { 92 if (res.code === 200) {
95 this.tableData = res.result 93 this.tableData = res.result
96 if(res.result){ 94 if (res.result) {
97 this.bdcqz = res.result[0] 95 this.bdcqz = res.result[0]
98 } 96 }
99 } 97 }
100 }) 98 })
101 }, 99 },
102 //打开证书预览弹窗 100 //打开证书预览弹窗
103 openZsylDialog(item){ 101 openZsylDialog (item) {
104 this.zsylFlag = true; 102 this.zsylFlag = true;
105 this.bdcqz = item; 103 this.bdcqz = item;
106 this.$nextTick(() => { 104 this.$nextTick(() => {
...@@ -108,24 +106,24 @@ export default { ...@@ -108,24 +106,24 @@ export default {
108 }); 106 });
109 }, 107 },
110 //再次打印 108 //再次打印
111 openInvalidDiglog(item){ 109 openInvalidDiglog (item) {
112 this.bsmSz = item.bsmSz; 110 this.bsmSz = item.bsmSz;
113 this.invalidDiglog = true 111 this.invalidDiglog = true
114 }, 112 },
115 closeInvalidDiglog(){ 113 closeInvalidDiglog () {
116 this.invalidDiglog = false 114 this.invalidDiglog = false
117 this.bsmSz = ''; 115 this.bsmSz = '';
118 this.zfyy = ''; 116 this.zfyy = '';
119 }, 117 },
120 //作废缮证信息 118 //作废缮证信息
121 confirmInvalid(){ 119 confirmInvalid () {
122 invalidCertificate({"bsmSz":this.bsmSz,"zfyy": this.zfyy}).then(res => { 120 invalidCertificate({ "bsmSz": this.bsmSz, "zfyy": this.zfyy }).then(res => {
123 if (res.code === 200) { 121 if (res.code === 200) {
124 this.list(); 122 this.list();
125 this.$message.success('作废成功'); 123 this.$message.success('作废成功');
126 this.invalidDiglog = false; 124 this.invalidDiglog = false;
127 this.openZsylDialog(this.bdcqz); 125 this.openZsylDialog(this.bdcqz);
128 }else{ 126 } else {
129 this.$message.error(res.message); 127 this.$message.error(res.message);
130 } 128 }
131 }) 129 })
...@@ -135,18 +133,21 @@ export default { ...@@ -135,18 +133,21 @@ export default {
135 </script> 133 </script>
136 <style scoped lang='scss'> 134 <style scoped lang='scss'>
137 @import "~@/styles/public.scss"; 135 @import "~@/styles/public.scss";
136
138 .szxx { 137 .szxx {
139 box-sizing: border-box; 138 box-sizing: border-box;
140 padding-right: 15px; 139 padding-right: 15px;
141 width: 100%; 140 width: 100%;
142 height: 600px; 141 height: 600px;
143 overflow-y: scroll; 142 overflow-y: scroll;
143
144 .box-card { 144 .box-card {
145 float: left; 145 float: left;
146 width: 330px; 146 width: 330px;
147 margin-top: 20px; 147 margin-top: 20px;
148 margin-right: 20px; 148 margin-right: 20px;
149 height: 440px; 149 height: 440px;
150
150 .szxx_body { 151 .szxx_body {
151 height: 240px; 152 height: 240px;
152 } 153 }
...@@ -154,78 +155,94 @@ export default { ...@@ -154,78 +155,94 @@ export default {
154 } 155 }
155 156
156 .szxx_header { 157 .szxx_header {
157 color:white; 158 color: white;
158 font-weight:bolder; 159 font-weight: bolder;
159 font-size: 18px; 160 font-size: 18px;
160 .header_type{ 161
162 .header_type {
161 display: flex; 163 display: flex;
162 justify-content: center; 164 justify-content: center;
163 align-content: center; 165 align-content: center;
164 } 166 }
165 .header_text{ 167
168 .header_text {
166 text-align: center; 169 text-align: center;
167 margin-top:10px; 170 margin-top: 10px;
168 height: 50px; 171 height: 50px;
169 line-height: 30px; 172 line-height: 30px;
170 } 173 }
171 } 174 }
175
172 .top_line { 176 .top_line {
173 border-top: 2px solid rgb(222,222,222); 177 border-top: 2px solid rgb(222, 222, 222);
174 } 178 }
179
175 .text { 180 .text {
176 margin-bottom: 10px; 181 margin-bottom: 10px;
177 text-align: center; 182 text-align: center;
178 } 183 }
184
179 .color_iray { 185 .color_iray {
180 color: rgb(153,153,153); 186 color: rgb(153, 153, 153);
181 } 187 }
188
182 .color_red { 189 .color_red {
183 color: rgb(255,89,24); 190 color: rgb(255, 89, 24);
184 } 191 }
192
185 .middle_margin { 193 .middle_margin {
186 margin-bottom: 10px; 194 margin-bottom: 10px;
187 } 195 }
196
188 .operation_button { 197 .operation_button {
189 border: 1px solid rgb(0, 121, 254); 198 border: 1px solid rgb(0, 121, 254);
190 padding: 15px 10px; 199 padding: 15px 10px;
191 text-align: center; 200 text-align: center;
192 width: 100px; 201 width: 100px;
193 } 202 }
203
194 .card_padding { 204 .card_padding {
195 padding-top:20px 205 padding-top: 20px
196 } 206 }
207
197 .invalid-diglog { 208 .invalid-diglog {
198 padding-bottom: 20px; 209 padding-bottom: 20px;
199 font-size: 16px; 210 font-size: 16px;
200 font-weight: bold; 211 font-weight: bold;
201 color: rgb(99, 99, 99); 212 color: rgb(99, 99, 99);
213
202 .invalid-title { 214 .invalid-title {
203 display: flex; 215 display: flex;
204 align-content: center; 216 align-content: center;
205 .invalid-icon{ 217
206 color:rgb(254,148,0); 218 .invalid-icon {
219 color: rgb(254, 148, 0);
207 font-size: 34px; 220 font-size: 34px;
208 margin-right: 10px; 221 margin-right: 10px;
209 } 222 }
210 .invalid-body{ 223
224 .invalid-body {
211 line-height: 40px; 225 line-height: 40px;
212 margin-bottom: 10px; 226 margin-bottom: 10px;
213 } 227 }
214 } 228 }
229
215 .invalid-reson { 230 .invalid-reson {
216 margin-bottom: 10px; 231 margin-bottom: 10px;
217 } 232 }
218 .dialog-footer{ 233
234 .dialog-footer {
219 margin-top: 10px; 235 margin-top: 10px;
220 display: flex; 236 display: flex;
221 justify-content: end; 237 justify-content: flex-end;
222 } 238 }
223 } 239 }
224 240
225 /deep/.el-card__header{ 241 /deep/.el-card__header {
226 background-color: rgb(198,67,83); 242 background-color: rgb(198, 67, 83);
227 } 243 }
228 /deep/.el-card__body{ 244
245 /deep/.el-card__body {
229 padding: 0px 246 padding: 0px
230 } 247 }
231 </style> 248 </style>
...\ No newline at end of file ...\ No newline at end of file
......
...@@ -344,8 +344,6 @@ export default { ...@@ -344,8 +344,6 @@ export default {
344 li:hover { 344 li:hover {
345 border: 1px solid #ffffff; 345 border: 1px solid #ffffff;
346 border-radius: 5px; 346 border-radius: 5px;
347 //color: $light-blue ;
348
349 .svg-icon { 347 .svg-icon {
350 //color: $light-blue ; 348 //color: $light-blue ;
351 } 349 }
......