{{$t('BatchDelete')}}
@@ -46,12 +42,7 @@
:columns="columns"
>
-
- {{ text && text.length > 15 ? text.slice(0, 14) + '...' : text }}
-
-
-
- {{ text && text.length > 30 ? text.slice(0, 29) + '...' : text }}
+ {{ text && text.length > 100 ? text.slice(0, 99) + '...' : text }}
{{$t('edit')}}
@@ -138,17 +129,17 @@ export default {
pageNo: 1,
title: '新增',
columns: [
- {
- title: this.$t('serialNumber'),
- dataIndex: '',
- key: 'rowIndex',
- width: 50,
- ellipsis: true,
- align: 'center',
- customRender: function(t, r, index) {
- return parseInt(index) + 1
- }
- },
+ // {
+ // title: this.$t('serialNumber'),
+ // dataIndex: '',
+ // key: 'rowIndex',
+ // width: 50,
+ // ellipsis: true,
+ // align: 'center',
+ // customRender: function(t, r, index) {
+ // return parseInt(index) + 1
+ // }
+ // },
{
title: this.$t('templateName'),
align: 'center',
@@ -158,22 +149,22 @@ export default {
title: this.$t('contentDescription'),
align: 'center',
dataIndex: 'description',
- scopedSlots: { customRender: 'titleName' }
+ scopedSlots: { customRender: 'projectName' }
},
{
title: this.$t('status'),
align: 'center',
width: '5%',
- dataIndex: 'createTime'
+ dataIndex: 'state'
},
{
- title: this.$t('createTime'),
+ title: this.$t('creater'),
align: 'center',
width: '10%',
- dataIndex: 'createTime'
+ dataIndex: 'createBy'
},
{
- title: this.$t('updateTime'),
+ title: this.$t('Latestupdatetime'),
align: 'center',
width: '10%',
dataIndex: 'updateTime'
@@ -228,17 +219,6 @@ export default {
handleAdd() {
this.$refs.addModelRef.addModel()
},
- // 复制
- handlecody(){
- if (this.selectedRowKeys.length > 1) {
- this.$message.warning(this.$t('OnlyOneSelected'))
- } else if(this.selectedRowKeys.length == 0){
- this.$message.warning(this.$t('pleaseSelectData'))
- } else {
- this.areaVisible=true
- this.formInline = {}
- }
- },
hideModal(){
this.visible = false;
},
@@ -253,7 +233,7 @@ export default {
content: _this.$t('ConfirmBatchDeletion'),
onOk() {
axios({
- url: '/jero-boot/params/template/deleteBatch',
+ url: '/jero-boot/report/exportTemplate/deleteBatch',
method: 'post',
data: param,
transformRequest: [function (data) {