Commit 9f3000ba authored by 姬鋆屾's avatar 姬鋆屾

fixed:修改测试后所提问题及样式修改

parent 629c6a1c
......@@ -9,6 +9,7 @@
v-bind:class="{ search_new_line: item.newLine }"
>
<el-input
class="input_el"
v-model="form[item.name]"
v-if="item.type === 'text'"
:placeholder="
......@@ -276,7 +277,7 @@ export default {
this.$route.name == "staff/perform/summary/list" ||
this.$route.name == "attendance/record/list" ||
this.$route.name == "attendance/record/error/list" ||
this.$route.name == "attendance/leave/record/list"||
this.$route.name == "attendance/leave/record/list" ||
this.$route.name == "attendance/vacation/balance/list"
) {
this.getArr();
......@@ -474,6 +475,15 @@ export default {
delete this.$route.query.orderColList;
this.form = Object.assign({}, this.form, newData);
if (
this.$route.name == "check/window/workman/perform/detail/list" ||
this.$route.name == "window/perform/summary/list"
) {
this.form.yearmonth = timestampToTime(new Date(), 2);
this.form.year = timestampToTime(new Date(), 2).slice(0, 4);
this.form.month = timestampToTime(new Date(), 2).slice(5);
}
this.form.idList = [];
this.onSubmit();
},
onSubmit() {
......@@ -599,11 +609,7 @@ export default {
query.errorTimeEnd = undefined;
}
}
if (this.$route.name == "check/window/workman/perform/detail/list") {
query.yearmonth = timestampToTime(new Date(), 2);
query.year = timestampToTime(new Date(), 2).slice(0, 4);
query.month = timestampToTime(new Date(), 2).slice(5);
}
console.log({
...query,
...data,
......
......@@ -110,7 +110,12 @@ export default {
},
mixins: [table],
created() {},
created() {
this.query.yearmonth = timestampToTime(new Date(), 2);
this.query.year = timestampToTime(new Date(), 2).substr(0, 4);
this.query.month = timestampToTime(new Date(), 2).substr(5);
console.log(this.query);
},
methods: {
countDown() {
......@@ -258,7 +263,6 @@ export default {
await this.$post("/window/perform/summary/save", obj).then((res) => {
const { code, msg } = res;
code == 1 ? this.$message.success(msg) : this.$message.error(msg);
this.getData();
});
},
},
......@@ -364,6 +368,9 @@ export default {
label: "合计得分",
prop: "sumScore",
sortable: true,
formatter: (row) => {
return row.ckjsdf + row.zdrwdf + row.addTotalScore;
},
},
{
label: "评选建议",
......@@ -438,6 +445,9 @@ export default {
overflow: hidden;
top: -50px;
}
/deep/.search-form-wapper .input_el {
width: 220px !important;
}
.freshTime {
color: #999;
font-size: 14px;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment