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

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

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