|
|
@@ -9,54 +9,54 @@
|
|
|
</template>
|
|
|
</el-table-column>
|
|
|
<el-table-column type="selection" width="55"></el-table-column>
|
|
|
- <el-table-column label="广告标题" prop="TITLE" width="250">
|
|
|
+ <el-table-column label="Ad Title" prop="TITLE" width="250"> <!-- 广告标题 -->
|
|
|
<template slot-scope="scope">
|
|
|
<el-tag type="" size="small" class="no-border">{{scope.row.TITLE}}</el-tag>
|
|
|
</template>
|
|
|
</el-table-column>
|
|
|
- <el-table-column label="广告位" width="150">
|
|
|
+ <el-table-column label="Ad Location" width="150"> <!-- 广告位 -->
|
|
|
<template slot-scope="scope">
|
|
|
<el-tag type="warning" size="small" class="no-border">{{allData.allLocation[scope.row.LID].LOCATION_NAME}}</el-tag>
|
|
|
</template>
|
|
|
</el-table-column>
|
|
|
- <el-table-column label="类型">
|
|
|
+ <el-table-column label="Type"> <!-- 类型 -->
|
|
|
<template slot-scope="scope">
|
|
|
<template v-if="scope.row.TYPE === '1'">
|
|
|
- <el-tag type="success">外链</el-tag>
|
|
|
+ <el-tag type="success">External Links</el-tag> <!-- 外链 -->
|
|
|
</template>
|
|
|
<template v-else-if="scope.row.TYPE === '2'">
|
|
|
- <el-tag>文章</el-tag>
|
|
|
+ <el-tag>Article</el-tag> <!-- 文章 -->
|
|
|
</template>
|
|
|
</template>
|
|
|
</el-table-column>
|
|
|
- <el-table-column label="连接或文章ID" prop="CONTENT" width="120"></el-table-column>
|
|
|
- <el-table-column label="排序" width="100">
|
|
|
+ <el-table-column label="ID" prop="CONTENT" width="120"></el-table-column> <!-- 链接或文章ID -->
|
|
|
+ <el-table-column label="Sort" width="100"> <!-- 排序 -->
|
|
|
<template slot-scope="scope">
|
|
|
<el-input v-model="scope.row.SORT" min="0" max="99" @change="handleChangeSort(scope.row, scope.row.SORT)"
|
|
|
@click.native.stop=""></el-input>
|
|
|
</template>
|
|
|
</el-table-column>
|
|
|
- <el-table-column label="创建人">
|
|
|
+ <el-table-column label="Creator"> <!-- 创建人 -->
|
|
|
<template slot-scope="scope">
|
|
|
{{scope.row.CREATE_ADMIN_NAME}}
|
|
|
</template>
|
|
|
</el-table-column>
|
|
|
- <el-table-column label="创建时间" width="180">
|
|
|
+ <el-table-column label="Created Time" width="180"> <!-- 创建时间 -->
|
|
|
<template slot-scope="scope">
|
|
|
{{tool.formatDate(scope.row.CREATED_AT)}}
|
|
|
</template>
|
|
|
</el-table-column>
|
|
|
- <el-table-column label="修改人">
|
|
|
+ <el-table-column label="Modified By"> <!-- 修改人 -->
|
|
|
<template slot-scope="scope">
|
|
|
{{scope.row.UPDATE_ADMIN_NAME}}
|
|
|
</template>
|
|
|
</el-table-column>
|
|
|
- <el-table-column label="修改时间" width="180">
|
|
|
+ <el-table-column label="Modified Time" width="180"> <!-- 修改时间 -->
|
|
|
<template slot-scope="scope">
|
|
|
{{tool.formatDate(scope.row.UPDATED_AT)}}
|
|
|
</template>
|
|
|
</el-table-column>
|
|
|
- <el-table-column fixed="right" label="操作" width="180">
|
|
|
+ <el-table-column fixed="right" label="Action" width="180"> <!-- 操作 -->
|
|
|
<template slot-scope="scope">
|
|
|
<el-dropdown size="small" trigger="click" v-if="permission.hasPermission(`ad/ad-delete`) || permission.hasPermission(`ad/edit`)">
|
|
|
<el-button type="primary" size="small" @click.stop="">
|
|
|
@@ -79,7 +79,7 @@
|
|
|
<el-dropdown-item command="delete" @click.native="handleMuliDel()">Delete</el-dropdown-item>
|
|
|
</el-dropdown-menu>
|
|
|
</el-dropdown>
|
|
|
- <el-button type="primary" size="small" @click="handleAdd" icon="el-icon-plus" v-if="permission.hasPermission(`ad/add`)">添加广告</el-button>
|
|
|
+ <el-button type="primary" size="small" @click="handleAdd" icon="el-icon-plus" v-if="permission.hasPermission(`ad/add`)">Add Ad</el-button>
|
|
|
<pagination :total="totalCount" :page_size="pageSize" @size-change="handleSizeChange" @current-change="handleCurrentChange"></pagination>
|
|
|
</div>
|
|
|
</div>
|
|
|
@@ -153,7 +153,7 @@ export default {
|
|
|
},
|
|
|
delData (id = null) {
|
|
|
let obj = this
|
|
|
- obj.$confirm('确定删除选定的数据?', 'Notice', {
|
|
|
+ obj.$confirm('Are you sure to delete the selected data?', 'Notice', { // 确定删除选定的数据?
|
|
|
confirmButtonText: 'confirm', // 确定
|
|
|
cancelButtonText: 'cancel', // 取消
|
|
|
type: 'warning'
|