This commit is contained in:
刘旋 2023-04-23 17:35:28 +08:00
parent 71db5daf80
commit cf31fe552c
4 changed files with 24 additions and 24 deletions

View File

@ -8,12 +8,12 @@
<el-form>
<el-row>
<el-col :span="4">
<el-form-item label="UserName"><el-input size="default" style="max-width: 180px"
<el-form-item label="User name"><el-input size="default" style="max-width: 180px"
v-model="state.query.userName" clearable placeholder="Please enter the UserName">
</el-input>
</el-form-item>
</el-col>
<el-col :span="4">
<!-- <el-col :span="4">
<el-form-item label="checked" style="margin-left: 10px;">
<el-select size="default" v-model="state.query.status" clearable style="max-width: 180px"
placeholder="Replied">
@ -22,13 +22,13 @@
<el-option label="Observed" :value="2"></el-option>
</el-select>
</el-form-item>
</el-col>
</el-col> -->
<el-button size="default" type="primary" class="ml15" style="margin-top: 4px ;"
@click="initTableData">
<el-icon>
<ele-Search />
</el-icon>
search
Search
</el-button>
</el-row>
@ -39,14 +39,14 @@
</div>
<el-table :data="state.tableData.data" style="width: 100%" v-loading="state.tableData.loading"
@selection-change="handleSelectionChange">
<el-table-column prop="userName" label="userName"> </el-table-column>
<el-table-column prop="email" label="email"> </el-table-column>
<el-table-column prop="organization" label="organization"> </el-table-column>
<el-table-column prop="message" label="message"> </el-table-column>
<el-table-column prop="userName" label="User name"> </el-table-column>
<el-table-column prop="email" label="Email"> </el-table-column>
<el-table-column prop="organization" label="Organization"> </el-table-column>
<el-table-column prop="message" label="Message"> </el-table-column>
<el-table-column label="Operate" width="180">
<template #default="scope">
<el-button :disabled="scope.row.userName === 'admin'" size="small" v-if="scope.row.status != 2 " text type="primary"
@click="onObserved(scope.row)">Observed</el-button>
<!-- <el-button :disabled="scope.row.userName === 'admin'" size="small" v-if="scope.row.status != 2 " text type="primary"
@click="onObserved(scope.row)">Observed</el-button> -->
<el-button :disabled="scope.row.userName === 'admin'" size="small" v-if="scope.row.status != 1 " text type="primary"
@click="onOpenEdit(scope.row)">Reply e-mail</el-button>
<el-button :disabled="scope.row.userName === 'admin'" size="small" v-if="scope.row.status == 1 " text type="primary"

View File

@ -8,8 +8,8 @@
highlight-current-row @row-click="tableClick">
<el-table-column type="index" label="ID" width="50" />
<el-table-column prop="disasterType" label="Disaster type" show-overflow-tooltip></el-table-column>
<el-table-column prop="disasterCountry" label="disaster country" show-overflow-tooltip></el-table-column>
<el-table-column prop="disasterTime" label="disaster time" show-overflow-tooltip></el-table-column>
<el-table-column prop="disasterCountry" label="Disaster country" show-overflow-tooltip></el-table-column>
<el-table-column prop="disasterTime" label="Disaster time" show-overflow-tooltip></el-table-column>
</el-table>
<el-pagination @size-change="onHandleDisasterSizeChange" @current-change="onHandleDisasterCurrentChange"
class="mt15" :pager-count="3" :page-sizes="[10, 20, 30]"
@ -26,14 +26,14 @@
<el-icon>
<ele-EditPen />
</el-icon>
batch audit
Batch operation
</el-button>
</div>
<el-table :data="state.tableData.data" v-loading="state.tableData.loading"
@selection-change="handleSelectionChange" style="width: 100%">
<el-table-column type="selection" width="55" />
<el-table-column type="index" label="ID" width="50" />
<el-table-column prop="uploaderName" label="uploader Name" show-overflow-tooltip></el-table-column>
<el-table-column prop="uploaderName" label="Uploader name" show-overflow-tooltip></el-table-column>
<el-table-column prop="sourceOrganization" label="Organization" show-overflow-tooltip></el-table-column>
<el-table-column prop="title" label="Professional title" show-overflow-tooltip
width="150"></el-table-column>

View File

@ -14,11 +14,11 @@
</el-form-item>
</el-col>
<el-col :span="4">
<el-form-item label="checked" style="margin-left: 10px;">
<el-form-item label="review status" style="margin-left: 10px;">
<el-select size="default" v-model="state.query.checked" clearable
placeholder="Please select">
<el-option label="checked" value="0"></el-option>
<el-option label="unchecked" value="1"></el-option>
<el-option label="Reviewed" value="0"></el-option>
<el-option label="Not reviewed" value="1"></el-option>
</el-select>
</el-form-item>
</el-col>
@ -27,7 +27,7 @@
<el-icon>
<ele-Search />
</el-icon>
search
Search
</el-button>
</el-row>
@ -48,9 +48,9 @@
<a :href="scope.row.link" target="_blank">{{ scope.row.toolName }}</a>
</template>
</el-table-column>
<el-table-column prop="label" label="label" width="140"> </el-table-column>
<el-table-column prop="introduction" label="introduction"> </el-table-column>
<el-table-column prop="showName" label="Show Name"></el-table-column>
<el-table-column prop="label" label="Label" width="140"> </el-table-column>
<el-table-column prop="introduction" label="Introduction"> </el-table-column>
<el-table-column prop="showName" label="Uploader name"></el-table-column>
<el-table-column prop="reviewTime" label="Review Time"></el-table-column>
<el-table-column label="Operate" width="140">
<template #default="scope">

View File

@ -3,7 +3,7 @@
<el-config-provider :locale="en">
<div class="system-role-padding layout-padding-auto layout-padding-view">
<el-tabs v-model="activeName" class="demo-tabs" @tab-click="handleClick" style="margin-left: 20px">
<el-tab-pane label="unchecked" name="first">
<el-tab-pane label="Not reviewed" name="first">
<el-table :data="state.tableData.data" v-loading="state.tableData.loading" style="width: 100%">
<el-table-column type="index" label="ID" width="50" />
<el-table-column prop="username" label="User name" show-overflow-tooltip></el-table-column>
@ -28,7 +28,7 @@
<el-table-column prop="respondStatus" label="Response status" show-overflow-tooltip>
<template #default="scope">
<el-tag type="info" v-if="scope.row.respondStatus === 0">Not reviewed</el-tag>
<el-tag type="info" v-if="scope.row.respondStatus === 1">Failed</el-tag>
<el-tag type="info" v-if="scope.row.respondStatus === 1">Reviewed failed</el-tag>
</template>
</el-table-column>
<el-table-column prop="Operate" label="Operate" show-overflow-tooltip>
@ -62,7 +62,7 @@
:total="state.tableData.total">
</el-pagination>
</el-tab-pane>
<el-tab-pane label="checked" name="second">
<el-tab-pane label="Reviewed" name="second">
<el-table :data="state.tableData.data" v-loading="state.tableData.loading" style="width: 100%">
<el-table-column type="index" label="ID" width="50" />
<el-table-column prop="username" label="User name" show-overflow-tooltip></el-table-column>