Compare commits
No commits in common. "ae599f4adaebc6e660102f29125f03b24affe0ce" and "7ebfcd08275e794ce1dd33ec5880335af690c0e6" have entirely different histories.
ae599f4ada
...
7ebfcd0827
|
@ -230,12 +230,3 @@ export function getCommonJudgeRatioList_Export(data) {
|
||||||
data
|
data
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
// 导出国际化列表
|
|
||||||
export function GetInternationalizationList_Export(data) {
|
|
||||||
return requestDownload({
|
|
||||||
url: `/ExcelExport/GetInternationalizationList_Export`,
|
|
||||||
responseType: 'blob',
|
|
||||||
method: 'post',
|
|
||||||
data
|
|
||||||
})
|
|
||||||
}
|
|
||||||
|
|
|
@ -87,30 +87,6 @@
|
||||||
/>
|
/>
|
||||||
</el-select>
|
</el-select>
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
<el-form-item :label="$t('system:l18n:form:createTime')">
|
|
||||||
<el-date-picker
|
|
||||||
v-model="datetimerange_createTime"
|
|
||||||
type="datetimerange"
|
|
||||||
:default-time="['00:00:00', '23:59:59']"
|
|
||||||
:start-placeholder="$t('system:l18n:search:beginTime')"
|
|
||||||
:end-placeholder="$t('system:l18n:search:endTime')"
|
|
||||||
value-format="yyyy-MM-dd HH:mm:ss"
|
|
||||||
@change="(val) => handleDatetimeChange(val, 'createTime')"
|
|
||||||
style="width: 250px"
|
|
||||||
/>
|
|
||||||
</el-form-item>
|
|
||||||
<el-form-item :label="$t('system:l18n:form:uploadTime')">
|
|
||||||
<el-date-picker
|
|
||||||
v-model="datetimerange_updateTime"
|
|
||||||
type="datetimerange"
|
|
||||||
:default-time="['00:00:00', '23:59:59']"
|
|
||||||
:start-placeholder="$t('system:l18n:search:beginTime')"
|
|
||||||
:end-placeholder="$t('system:l18n:search:endTime')"
|
|
||||||
value-format="yyyy-MM-dd HH:mm:ss"
|
|
||||||
@change="(val) => handleDatetimeChange(val, 'updateTime')"
|
|
||||||
style="width: 250px"
|
|
||||||
/>
|
|
||||||
</el-form-item>
|
|
||||||
<el-form-item>
|
<el-form-item>
|
||||||
<el-button
|
<el-button
|
||||||
type="primary"
|
type="primary"
|
||||||
|
@ -120,15 +96,6 @@
|
||||||
>
|
>
|
||||||
查询
|
查询
|
||||||
</el-button>
|
</el-button>
|
||||||
<!-- 重置 -->
|
|
||||||
<el-button
|
|
||||||
size="mini"
|
|
||||||
type="primary"
|
|
||||||
icon="el-icon-refresh-left"
|
|
||||||
@click="handleReset"
|
|
||||||
>
|
|
||||||
{{ $t('common:button:reset') }}
|
|
||||||
</el-button>
|
|
||||||
<el-button
|
<el-button
|
||||||
type="primary"
|
type="primary"
|
||||||
icon="el-icon-plus"
|
icon="el-icon-plus"
|
||||||
|
@ -154,14 +121,6 @@
|
||||||
>
|
>
|
||||||
批量更新
|
批量更新
|
||||||
</el-button>
|
</el-button>
|
||||||
<el-button
|
|
||||||
size="mini"
|
|
||||||
type="primary"
|
|
||||||
icon="el-icon-download"
|
|
||||||
@click="exportTable"
|
|
||||||
>
|
|
||||||
{{ $t('common:button:export') }}
|
|
||||||
</el-button>
|
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
</el-form>
|
</el-form>
|
||||||
<el-table
|
<el-table
|
||||||
|
@ -337,7 +296,6 @@ import {
|
||||||
getPublishVersionSelect,
|
getPublishVersionSelect,
|
||||||
batchUpdateInternationalInfo,
|
batchUpdateInternationalInfo,
|
||||||
} from '@/api/admin'
|
} from '@/api/admin'
|
||||||
import { GetInternationalizationList_Export } from '@/api/export'
|
|
||||||
import Pagination from '@/components/Pagination'
|
import Pagination from '@/components/Pagination'
|
||||||
import I18nForm from './components/I18nForm.vue'
|
import I18nForm from './components/I18nForm.vue'
|
||||||
import BatchAddForm from './components/BatchAddForm.vue'
|
import BatchAddForm from './components/BatchAddForm.vue'
|
||||||
|
@ -355,10 +313,6 @@ const searchDataDefault = () => {
|
||||||
SortField: '',
|
SortField: '',
|
||||||
PageIndex: 1,
|
PageIndex: 1,
|
||||||
PageSize: 20,
|
PageSize: 20,
|
||||||
BeginCreateTime: null,
|
|
||||||
EndCreatTime: null,
|
|
||||||
BeginUpdateTime: null,
|
|
||||||
EndUpdateTime: null,
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
export default {
|
export default {
|
||||||
|
@ -373,8 +327,6 @@ export default {
|
||||||
loading: false,
|
loading: false,
|
||||||
PublishVersionList: [],
|
PublishVersionList: [],
|
||||||
selectTableList: [],
|
selectTableList: [],
|
||||||
datetimerange_createTime: [],
|
|
||||||
datetimerange_updateTime: [],
|
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
mounted() {
|
mounted() {
|
||||||
|
@ -468,8 +420,6 @@ export default {
|
||||||
// 重置列表查询
|
// 重置列表查询
|
||||||
handleReset() {
|
handleReset() {
|
||||||
this.searchData = searchDataDefault()
|
this.searchData = searchDataDefault()
|
||||||
this.datetimerange_createTime = []
|
|
||||||
this.datetimerange_updateTime = []
|
|
||||||
this.getList()
|
this.getList()
|
||||||
},
|
},
|
||||||
// 删除
|
// 删除
|
||||||
|
@ -509,30 +459,6 @@ export default {
|
||||||
handleSelectionChange(val) {
|
handleSelectionChange(val) {
|
||||||
this.selectTableList = val
|
this.selectTableList = val
|
||||||
},
|
},
|
||||||
handleDatetimeChange(val, key) {
|
|
||||||
if (val) {
|
|
||||||
if (key === 'createTime') {
|
|
||||||
this.searchData.BeginCreateTime = val[0]
|
|
||||||
this.searchData.EndCreatTime = val[1]
|
|
||||||
}
|
|
||||||
if (key === 'updateTime') {
|
|
||||||
this.searchData.BeginUpdateTime = val[0]
|
|
||||||
this.searchData.EndUpdateTime = val[1]
|
|
||||||
}
|
|
||||||
} else {
|
|
||||||
if (key === 'createTime') {
|
|
||||||
this.searchData.BeginCreateTime = ''
|
|
||||||
this.searchData.EndCreatTime = ''
|
|
||||||
}
|
|
||||||
if (key === 'updateTime') {
|
|
||||||
this.searchData.BeginUpdateTime = ''
|
|
||||||
this.searchData.EndUpdateTime = ''
|
|
||||||
}
|
|
||||||
}
|
|
||||||
},
|
|
||||||
exportTable() {
|
|
||||||
return GetInternationalizationList_Export(this.searchData)
|
|
||||||
},
|
|
||||||
},
|
},
|
||||||
}
|
}
|
||||||
</script>
|
</script>
|
||||||
|
|
Loading…
Reference in New Issue