fix:扭转mlogb显示开始结束时间和操作人

This commit is contained in:
shijing 2025-04-09 14:32:00 +08:00
parent f80e3f730c
commit 6662406d6e
1 changed files with 9 additions and 5 deletions

View File

@ -234,11 +234,13 @@
</el-tag> </el-tag>
</template> </template>
</el-table-column> </el-table-column>
<el-table-column <el-table-column label="操作人" prop="handle_user" v-if="route_code=='niuzhuan'">
label="创建时间" </el-table-column>
prop="create_time" <el-table-column label="开始时间" prop="work_start_time" show-overflow-tooltip v-if="route_code=='niuzhuan'">
show-overflow-tooltip </el-table-column>
> <el-table-column label="结束时间" prop="work_end_time" show-overflow-tooltip v-if="route_code=='niuzhuan'">
</el-table-column>
<el-table-column label="创建时间" prop="create_time" show-overflow-tooltip>
</el-table-column> </el-table-column>
<el-table-column <el-table-column
label="操作" label="操作"
@ -521,6 +523,7 @@ export default {
tracking:10, tracking:10,
mlogb:"", mlogb:"",
mgroup: "", mgroup: "",
route_code:"",
mlogItem: {}, mlogItem: {},
saveInForm: { saveInForm: {
count_use: 0, count_use: 0,
@ -575,6 +578,7 @@ export default {
this.paramsIn.mlog = this.mlogId; this.paramsIn.mlog = this.mlogId;
this.paramsOut.mlog = this.mlogId; this.paramsOut.mlog = this.mlogId;
this.apiObj = this.$API.wpm.mlogb.list; this.apiObj = this.$API.wpm.mlogb.list;
this.route_code = this.$route.path.split("/")[2];
that.$API.wpm.mlogb.list.req(that.paramsIn).then((res) => { that.$API.wpm.mlogb.list.req(that.paramsIn).then((res) => {
that.tableData = res; that.tableData = res;
}) })