The fourth week of front-end internship

I asked for leave for something on the first day, and it will start from the second day.

Tuesday

Tuesday is my first time adding new content to the system. The main body is the element-ui form, and the biggest problem is the inline highlighting. I use tableclick and :table-class-name for inline highlighting. These come with element-ui. My approach is to use tableclick to record the number of rows after clicking, and then give the number of rows to table-class-name. This can meet the requirements, but the problem is that after clicking the row of the table, the mouse must be removed to change the color.

The problem I initially identified is element-ui's own settings. In fact, during this actual internship, I feel that element-ui is very powerful, but some functions still need to be implemented according to needs. Powerful, but not comprehensive. Everything is like this.

This is a legacy problem, because it is a new requirement and there are previous bugs, so let it go first, and it should be resolved before the next delivery.

Wednesday

A lot of things were changed yesterday, including the addition of fields, buttons and switching effects in two tables, and a requirement, two forms, the first is a selection form, and the second is an input box. What is realized is that if the second form is empty, whatever is filled in the first form will give the value to the second form.

At first I thought about monitoring attributes, vue3's watch, but it didn't work after trying. watch doesn't work at all. I have checked this question for a long time, I have no grammar problem, it may be the limitation of the project itself.

Later, selectchange was used. When the selection box is selected, a judgment is made to determine whether the other input box has a value, and if there is no value, give it the value of the selection box. I tried it at first, and the one I got on the right was actually the id. The element-ui in this place doesn't tell us how to get the value conveniently, so my approach is to use the find method to traverse the options after the selection box is selected. Then select the value corresponding to the id we got, and then give the value to another form. In this way, the id can be avoided.

Things have been a little tight lately.

Thursday

What was changed today is a legacy bug, and the code feels more complicated. But time spares.

Finally time to blog! ! I still like to record. In addition, recently I have to write my resume for autumn recruits. After a period of internship, to be honest, I still have some confidence in my autumn recruits! ! If I can rush to a medium or large factory in the future, I will definitely come to this blog to make a card and record it! ! ! I really hope that one day!

In addition, I have to arrange time to refresh the algorithm recently. This matter is very important! ! !

Added more buttons at night, similar to a table, hide the buttons, and put them in the pop-up box after more buttons are clicked. I kept sighing yesterday that the package of this component was too dead, which made me unable to start at all. Our team leader gave me some ideas, and finally made it.

To make a complaint, flies don't bite seamless eggs, and I have to find a way to add a button to this tightly packaged component. (Adding it outside the component cycle, this is experience, very important) After learning something, it is quite a sense of accomplishment.

friday

Solved yesterday's button bug. More buttons have been officially completed, and may have to be migrated later, and I will talk about it later.

One of the tasks to be done is to implement the front-end search. The front-end purely handwritten search can actually be done on the back-end. I would be wrong, and I wrote a search logic by hand. This is also the first time I have handwritten search logic on the front end.

In addition, I wrote an interface style and changed the bug.

Up to now, whether it is git or function name, the acquisition of class name has become more and more standardized.

Summarize

This week has been tiring but rewarding.

I am ready to write my resume for autumn recruitment, and I want to vote for a big company, come on! ! !

Guess you like

Origin blog.csdn.net/zxdznyy/article/details/132194125