| | |
| | | <div class="app-container"> |
| | | <el-card class="box-card" > |
| | | <el-row type="flex" align="middle" justify="space-between"> |
| | | <el-col :xl="8" :lg="8" :md="10" :sm="8" :xs="6"> |
| | | <div class="icon-container" style="background-color: #5599F7"> |
| | | <el-col :span="4"> |
| | | <div class="icon-container" style="background-color: #1890FF"> |
| | | <i class="el-icon-user"></i> |
| | | </div> |
| | | </el-col> |
| | | <el-col :xl="14" :lg="14" :md="12" :sm="14" :xs="16"> |
| | | <el-col :span="20"> |
| | | <div class="dashboard"> |
| | | <div class="dashboard-item"> |
| | | <h3 style="color: #5C9BF8">{{ count.totalPosts }}</h3> |
| | |
| | | <div class="dashboard-item"> |
| | | <h3 style="color: #fe640d">{{ count.postsPercentage }}</h3> |
| | | <p>异常数</p > |
| | | </div> |
| | | <div class="dashboard-item"> |
| | | <h3>{{ count.totalViews }}</h3> |
| | | <p>生成异常工单数</p > |
| | | </div> |
| | | <div class="dashboard-item"> |
| | | <h3>{{ count.totalFace }}</h3> |
| | | <p>抓拍数据总量</p > |
| | | </div> |
| | | <div class="dashboard-item"> |
| | | <h3>{{ count.viewsPercentage }}%</h3> |
| | |
| | | /> |
| | | </el-select> |
| | | </el-form-item> |
| | | <el-form-item label="是否生成异常工单" prop="defaultOrder" label-width="130px"> |
| | | <el-select |
| | | v-model="queryParams.defaultOrder" |
| | | placeholder="是否生成异常工单" |
| | | clearable |
| | | style="width: 170px" |
| | | > |
| | | <el-option |
| | | v-for="dict in dict.type.platform_yes_no" |
| | | :key="dict.value" |
| | | :label="dict.label" |
| | | :value="dict.value" |
| | | /> |
| | | </el-select> |
| | | </el-form-item> |
| | | <el-form-item> |
| | | <el-button type="primary" icon="el-icon-search" size="mini" @click="handleQuery">搜索</el-button> |
| | | <el-button icon="el-icon-refresh" size="mini" @click="resetQuery">重置</el-button> |
| | | <el-button type="primary" icon="el-icon-search" size="small" @click="handleQuery">搜索</el-button> |
| | | <el-button icon="el-icon-refresh" size="small" @click="resetQuery">重置</el-button> |
| | | </el-form-item> |
| | | </el-form> |
| | | |
| | |
| | | </el-form-item> |
| | | </el-form> |
| | | <div slot="footer" class="dialog-footer"> |
| | | <el-button type="primary" @click="submitForm">确 定</el-button> |
| | | <el-button @click="cancel">取 消</el-button> |
| | | <el-button type="primary" @click="submitForm">确 定</el-button> |
| | | </div> |
| | | </el-dialog> |
| | | |
| | |
| | | <style lang="scss" scoped> |
| | | |
| | | .box-card { |
| | | background-color: #F5F9FE; |
| | | background-color: #ffffff; |
| | | width: 100%; |
| | | margin-bottom: 20px; |
| | | height: 120px |
| | |
| | | display: flex; |
| | | justify-content: center; |
| | | align-items: center; |
| | | border-radius: 20px; |
| | | width: 20%; |
| | | border-radius: 10px; |
| | | width: 130px; |
| | | height: 80px; |
| | | margin-left: 5%; |
| | | } |
| | |
| | | |
| | | .dashboard { |
| | | display: flex; |
| | | gap: 10%; |
| | | gap: 5%; |
| | | align-items: center; |
| | | margin-left: -50%; |
| | | justify-content: space-between; |
| | | margin-right: 20px; |
| | | } |
| | | |
| | | .dashboard-item { |