1.修改三期优化点

This commit is contained in:
sunFlower
2022-09-23 11:33:29 +08:00
parent 127e04110e
commit fa3a63a4f4
2 changed files with 23 additions and 2 deletions
@@ -74,6 +74,7 @@
:columns="columns"
>
<span slot="operation" slot-scope="text,record">
<a class="text-operation" @click="copyClick(record)">{{$t('copy')}}</a>
<a class="text-operation" @click="viewClick(record)">{{$t('view')}}</a>
<a class="text-operation" @click="edit(record)">{{$t('edit')}}</a>
<a class="text-operation" @click="deleteLib(record)">{{$t('deleteLib')}}</a>
@@ -181,7 +182,7 @@
title: this.$t('operation'),
align: 'center',
fixed: 'right',
width: 180,
width: 190,
scopedSlots: { customRender: 'operation' }
}
]
@@ -192,6 +193,26 @@
this.getList()
},
methods: {
copyClick(row){
let _this = this
this.$confirm({
content: _this.$t('ConfirmReplication'),
onOk() {
let query = JSON.parse(JSON.stringify(row))
delete query.id
delete query.exportState
delete query.exportStateName
postAction('/report/lawsMonthlyReportWriteEO/add', query).then((res) => {
if (res.success) {
_this.$message.success(_this.$t('OperationSuccessful'))
_this.getList()
} else {
_this.$message.warning(res.message)
}
})
}
})
},
dateChange(item) {
this.queryParam[item.db_field_name] = this.queryParam[item.db_field_name] ? moment(this.queryParam[item.db_field_name]).format('YYYY-MM') : ''
this.queryParam = { ...this.queryParam }
+1 -1
View File
@@ -92,7 +92,7 @@ module.exports = {
}
}, */
'/jero-boot': {
target: 'http://localhost:8080', //请求本地 jero-boot后台项目
target: 'http://10.0.1.14:8080', //请求本地 jero-boot后台项目
// target: 'http://10.10.10.46:8101', //请求本地 jero-boot后台项目
// target: 'http://10.0.1.25:8080',
// target: 'http://10.0.1.5:8080',