b2a0cc25 by 任超

style:权利信息

1 parent 8d05034a
...@@ -19,7 +19,7 @@ ...@@ -19,7 +19,7 @@
19 <!-- 第一行表头 --> 19 <!-- 第一行表头 -->
20 <tr class="one"> 20 <tr class="one">
21 <th v-for="(item, index) in ths" :key="index" :class="[item.class, item.type == '临时' ? 'linshiIcon' : '']"> 21 <th v-for="(item, index) in ths" :key="index" :class="[item.class, item.type == '临时' ? 'linshiIcon' : '']">
22 <div class="icon" v-if="item.type == '临时'">{{ item.type }}</div> 22 <div class="icon" v-if="item.type == '临时'">正在办理</div>
23 {{ item.type }} 23 {{ item.type }}
24 </th> 24 </th>
25 </tr> 25 </tr>
...@@ -148,12 +148,12 @@ export default { ...@@ -148,12 +148,12 @@ export default {
148 this.tableData = []; 148 this.tableData = [];
149 this.ths = []; 149 this.ths = [];
150 this.columns = datas.columns(); 150 this.columns = datas.columns();
151 // let res = await getJsydsyqList({ 151 let res = await getJsydsyqList({
152 // bdcdyid: "2b33851f4edfd468ceef4d68c370bd41", 152 bdcdyid: "2b33851f4edfd468ceef4d68c370bd41",
153 // qllx: "A03", 153 qllx: "A03",
154 // qszt: ["1"] 154 qszt: ["1"]
155 // }) 155 })
156 let detail = this.list 156 let detail = _.uniqBy(_.unionWith(res.result.result, this.list), 'qszt')
157 detail.length > 0 && detail.forEach((item) => { 157 detail.length > 0 && detail.forEach((item) => {
158 this.tableData.push(item); 158 this.tableData.push(item);
159 if (item.qszt == "0") { 159 if (item.qszt == "0") {
...@@ -186,49 +186,6 @@ export default { ...@@ -186,49 +186,6 @@ export default {
186 }, 186 },
187 methods: { 187 methods: {
188 checkChange () { 188 checkChange () {
189 var checkKey = [];
190 this.ths = [];
191 this.checkList.forEach((item) => {
192 if (item == "临时") {
193 checkKey.push("0");
194 }
195 if (item == "现势") {
196 checkKey.push("1");
197 }
198 if (item == "历史") {
199 checkKey.push("2");
200 }
201 });
202 this.showTableData = this.tableData.filter((item) =>
203 checkKey.includes(item.qszt)
204 );
205 this.showTableData.forEach((item) => {
206 if (item.qszt == "0") {
207 this.ths.push({
208 type: "临时",
209 qllxmc: item.qllxmc,
210 djlxmc: item.djlxmc,
211 prop: "linshi",
212 class: "linshi",
213 });
214 } else if (item.qszt == "1") {
215 this.ths.push({
216 type: "现势",
217 qllxmc: item.qllxmc,
218 djlxmc: item.djlxmc,
219 prop: "xianshi",
220 class: "xianshi",
221 });
222 } else if (item.qszt == "2") {
223 this.ths.push({
224 type: "历史",
225 qllxmc: item.qllxmc,
226 djlxmc: item.djlxmc,
227 prop: "lishi",
228 class: "lishi",
229 });
230 }
231 });
232 }, 189 },
233 }, 190 },
234 }; 191 };
...@@ -322,19 +279,19 @@ export default { ...@@ -322,19 +279,19 @@ export default {
322 display: block; 279 display: block;
323 width: 0; 280 width: 0;
324 height: 0; 281 height: 0;
325 border-width: 0px 0px 45px 45px; 282 border-width: 0px 0px 55px 55px;
326 border-style: none solid solid; 283 border-style: none solid solid;
327 border-color: transparent transparent #fe9400; 284 border-color: transparent transparent #fe9400;
328 position: absolute; 285 position: absolute;
329 top: 0px; 286 top: 0;
330 right: 3px; 287 right: 0;
331 transform: rotate(-90deg); 288 transform: rotate(-90deg);
332 } 289 }
333 290
334 .icon { 291 .icon {
335 position: absolute; 292 position: absolute;
336 top: 8px; 293 top: 13px;
337 right: 6px; 294 right: -4px;
338 transform: rotate(45deg); 295 transform: rotate(45deg);
339 color: #fff; 296 color: #fff;
340 font-size: 12px; 297 font-size: 12px;
......