Commit d7ad7e4a by caoyanzhi

update: 添加创建人和创建时间

parent fa32f66e
...@@ -22,22 +22,29 @@ ...@@ -22,22 +22,29 @@
</div> </div>
<div class="m-t-20"> <div class="m-t-20">
<el-table class="select-table" ref="tempTable" v-loading="loading" :data="templateList" tooltip-effect="dark" :style="{ width: '100%' }"> <el-table class="select-table" ref="tempTable" v-loading="loading" :data="templateList" tooltip-effect="dark" :style="{ width: '100%' }">
<el-table-column label="模板名称" show-overflow-tooltip> <el-table-column label="模板名称" show-overflow-tooltip min-width="150">
<template slot-scope="scope">{{ scope.row.templateName }}</template> <template slot-scope="scope">{{ scope.row.templateName }}</template>
</el-table-column> </el-table-column>
<el-table-column label="模板id" show-overflow-tooltip> <el-table-column label="模板id" show-overflow-tooltip min-width="150">
<template slot-scope="scope">{{ scope.row.templateId }}</template> <template slot-scope="scope">{{ scope.row.templateId }}</template>
</el-table-column> </el-table-column>
<el-table-column label="编辑人" show-overflow-tooltip> <el-table-column label="创建人" prop="creatorName" show-overflow-tooltip min-width="90"></el-table-column>
<el-table-column label="创建时间" prop="createTime" min-width="80">
<template slot-scope="scope">
<div class="line-18">{{ scope.row.createTime | timeStampToYmd }}</div>
<div class="line-18">{{ scope.row.createTime | timeStampToHms }}</div>
</template>
</el-table-column>
<el-table-column label="编辑人" show-overflow-tooltip min-width="90">
<template slot-scope="scope">{{ scope.row.editPerson }}</template> <template slot-scope="scope">{{ scope.row.editPerson }}</template>
</el-table-column> </el-table-column>
<el-table-column prop="" label="最近编辑时间" show-overflow-tooltip> <el-table-column prop="" label="最近编辑时间" show-overflow-tooltip min-width="80">
<template slot-scope="scope"> <template slot-scope="scope">
<div class="line-18">{{ scope.row.editTime | timeStampToYmd }}</div> <div class="line-18">{{ scope.row.editTime | timeStampToYmd }}</div>
<div class="line-18">{{ scope.row.editTime | timeStampToHms }}</div> <div class="line-18">{{ scope.row.editTime | timeStampToHms }}</div>
</template> </template>
</el-table-column> </el-table-column>
<el-table-column label="操作" v-if="$getButtonLimit($buttonCode.editGroupTemp) || $getButtonLimit($buttonCode.setStoreArea) || $getButtonLimit($buttonCode.delGroupTemp)"> <el-table-column label="操作" v-if="$getButtonLimit($buttonCode.editGroupTemp) || $getButtonLimit($buttonCode.setStoreArea) || $getButtonLimit($buttonCode.delGroupTemp)" min-width="150">
<template slot-scope="scope"> <template slot-scope="scope">
<el-button v-if="$getButtonLimit($buttonCode.editGroupTemp)" :limit-code="$buttonCode.editGroupTemp" @click="toEdit(scope.$index, scope.row)" type="text" :disabled="$store.state.wxEnterpriseType">编辑</el-button> <el-button v-if="$getButtonLimit($buttonCode.editGroupTemp)" :limit-code="$buttonCode.editGroupTemp" @click="toEdit(scope.$index, scope.row)" type="text" :disabled="$store.state.wxEnterpriseType">编辑</el-button>
<el-button v-if="$getButtonLimit($buttonCode.setStoreArea)" :limit-code="$buttonCode.setStoreArea" @click="toStore(scope.$index, scope.row)" type="text" :disabled="$store.state.wxEnterpriseType">门店范围设置</el-button> <el-button v-if="$getButtonLimit($buttonCode.setStoreArea)" :limit-code="$buttonCode.setStoreArea" @click="toStore(scope.$index, scope.row)" type="text" :disabled="$store.state.wxEnterpriseType">门店范围设置</el-button>
......
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