Commit b2e681d7 authored by 邓春圆's avatar 邓春圆

添加创建人,更新人,更新时间

parent b288861f
...@@ -60,11 +60,19 @@ ...@@ -60,11 +60,19 @@
<span>{{ parseTime(scope.row.createTime) }}</span> <span>{{ parseTime(scope.row.createTime) }}</span>
</template> </template>
</el-table-column> </el-table-column>
<el-table-column :label="$t('创建人')" prop="creatorName" ></el-table-column>
<el-table-column :label="$t('更新人')" prop="updaterName" ></el-table-column>
<el-table-column :label="$t('更新时间')">
<template slot-scope="scope">
<span>{{ parseTime(scope.row.updateTime) }}</span>
</template>
</el-table-column>
<el-table-column :label="$t('状态')" align="center" prop="transportTypes"> <el-table-column :label="$t('状态')" align="center" prop="transportTypes">
<template v-slot="scope"> <template v-slot="scope">
<el-switch v-model="scope.row.status" @change="handleStatusChange(scope.row)" :active-value="0" :inactive-value="1"></el-switch> <el-switch v-model="scope.row.status" @change="handleStatusChange(scope.row)" :active-value="0" :inactive-value="1"></el-switch>
</template> </template>
</el-table-column> </el-table-column>
<el-table-column :label="$t('操作')" align="center" class-name="small-padding fixed-width"> <el-table-column :label="$t('操作')" align="center" class-name="small-padding fixed-width">
<template slot-scope="scope"> <template slot-scope="scope">
<el-button size="mini" type="text" icon="el-icon-edit" @click="handleUpdate(scope.row)" <el-button size="mini" type="text" icon="el-icon-edit" @click="handleUpdate(scope.row)"
...@@ -297,7 +305,7 @@ export default { ...@@ -297,7 +305,7 @@ export default {
} }
// 添加的提交 // 添加的提交
// console.log(this.form); // console.log(this.form);
createZhongPao(this.form).then(response => { createZhongPao(this.form).then(response => {
this.$modal.msgSuccess("新增成功"); this.$modal.msgSuccess("新增成功");
this.open = false; this.open = false;
......
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