style: 补充跟踪栏目页面多语言
This commit is contained in:
@@ -224,7 +224,7 @@ function fnRecordDelete(id: string) {
|
||||
function fnGetList(pageNum?: number) {
|
||||
if (tableState.loading) return;
|
||||
tableState.loading = true;
|
||||
if(pageNum){
|
||||
if (pageNum) {
|
||||
queryParams.pageNum = pageNum;
|
||||
}
|
||||
listTraceTask(toRaw(queryParams)).then(res => {
|
||||
@@ -432,7 +432,7 @@ function fnModalVisibleByVive(id: string) {
|
||||
*/
|
||||
function fnModalVisibleByEdit(id?: string) {
|
||||
if (!id) {
|
||||
fnModalCancel()
|
||||
fnModalCancel();
|
||||
modalState.title = t('views.traceManage.task.addTask');
|
||||
modalState.visibleByEdit = true;
|
||||
} else {
|
||||
@@ -492,7 +492,7 @@ function fnModalOk() {
|
||||
content: t('common.msgSuccess', { msg: modalState.title }),
|
||||
duration: 3,
|
||||
});
|
||||
fnModalCancel()
|
||||
fnModalCancel();
|
||||
} else {
|
||||
message.error({
|
||||
content: `${res.msg}`,
|
||||
@@ -569,25 +569,31 @@ onMounted(() => {
|
||||
</a-form-item>
|
||||
</a-col>
|
||||
<a-col :lg="6" :md="12" :xs="24">
|
||||
<a-form-item label="开始时间" name="beginTime">
|
||||
<a-form-item
|
||||
:label="t('views.traceManage.task.startTime')"
|
||||
name="beginTime"
|
||||
>
|
||||
<a-date-picker
|
||||
show-time
|
||||
v-model:value="queryParams.beginTime"
|
||||
value-format="YYYY-MM-DD HH:mm:ss"
|
||||
format="YYYY-MM-DD HH:mm:ss"
|
||||
placeholder="查询结束时间"
|
||||
:placeholder="t('views.traceManage.task.startTime')"
|
||||
style="width: 100%"
|
||||
/>
|
||||
</a-form-item>
|
||||
</a-col>
|
||||
<a-col :lg="6" :md="12" :xs="24">
|
||||
<a-form-item label="结束时间" name="endTime">
|
||||
<a-form-item
|
||||
:label="t('views.traceManage.task.endTime')"
|
||||
name="endTime"
|
||||
>
|
||||
<a-date-picker
|
||||
show-time
|
||||
v-model:value="queryParams.endTime"
|
||||
value-format="YYYY-MM-DD HH:mm:ss"
|
||||
format="YYYY-MM-DD HH:mm:ss"
|
||||
placeholder="查询结束时间"
|
||||
:placeholder="t('views.traceManage.task.endTime')"
|
||||
style="width: 100%"
|
||||
/>
|
||||
</a-form-item>
|
||||
@@ -648,15 +654,15 @@ onMounted(() => {
|
||||
:selected-keys="[tableState.size as string]"
|
||||
@click="fnTableSize"
|
||||
>
|
||||
<a-menu-item key="default">{{
|
||||
t('common.size.default')
|
||||
}}</a-menu-item>
|
||||
<a-menu-item key="middle">{{
|
||||
t('common.size.middle')
|
||||
}}</a-menu-item>
|
||||
<a-menu-item key="small">{{
|
||||
t('common.size.small')
|
||||
}}</a-menu-item>
|
||||
<a-menu-item key="default">
|
||||
{{ t('common.size.default') }}
|
||||
</a-menu-item>
|
||||
<a-menu-item key="middle">
|
||||
{{ t('common.size.middle') }}
|
||||
</a-menu-item>
|
||||
<a-menu-item key="small">
|
||||
{{ t('common.size.small') }}
|
||||
</a-menu-item>
|
||||
</a-menu>
|
||||
</template>
|
||||
</a-dropdown>
|
||||
|
||||
Reference in New Issue
Block a user