1、页面跟样式调整

liujun0703-新项目开发
liujun 2024-08-19 18:18:12 +08:00
parent ea8210b07a
commit de82915edb
11 changed files with 56 additions and 63 deletions

View File

@ -25,9 +25,9 @@
<el-table-column :show-overflow-tooltip="true" prop="OPERATETIME" label="修改时间" /> <el-table-column :show-overflow-tooltip="true" prop="OPERATETIME" label="修改时间" />
<el-table-column label="操作" align="center" width="300"> <el-table-column label="操作" align="center" width="300">
<template slot-scope="{ row }"> <template slot-scope="{ row }">
<el-button type="primary" icon="el-icon-download" size="mini" @click="confirmExport(row.ID)"></el-button> <el-button type="text" icon="el-icon-download" size="mini" @click="confirmExport(row.ID)"></el-button>
<el-button type="primary" icon="el-icon-edit" size="mini" @click="handleEdit(row.ID)"></el-button> <el-button type="text" icon="el-icon-edit" size="mini" @click="handleEdit(row.ID)"></el-button>
<el-button type="danger" icon="el-icon-delete" size="mini" @click="handleDelete(row.ID, row.UNIT)">删除</el-button> <el-button type="text" icon="el-icon-delete" size="mini" @click="handleDelete(row.ID, row.UNIT)">删除</el-button>
</template> </template>
</el-table-column> </el-table-column>
</el-table> </el-table>

View File

@ -24,11 +24,11 @@
</template> </template>
</el-table-column> </el-table-column>
<el-table-column label="操作" align="center" width="300"> <el-table-column label="操作" align="center" width="200">
<template slot-scope="{row}"> <template slot-scope="{row}">
<el-button type="primary" icon="el-icon-document" size="mini" @click="handleDetail(row)"></el-button> <el-button type="text" icon="el-icon-document" size="mini" @click="handleDetail(row)"></el-button>
<el-button type="primary" icon="el-icon-edit" size="mini" @click="handleEdit(row)"></el-button> <el-button type="text" icon="el-icon-edit" size="mini" @click="handleEdit(row)"></el-button>
<el-button type="danger" icon="el-icon-delete" size="mini" @click="handleDelete(row.ID,row.NAME)"></el-button> <el-button type="text" style="color: red" icon="el-icon-delete" size="mini" @click="handleDelete(row.ID,row.NAME)"></el-button>
</template> </template>
</el-table-column> </el-table-column>
</el-table> </el-table>

View File

@ -10,18 +10,18 @@
<el-table-column type="selection" width="55" align="center" /> <el-table-column type="selection" width="55" align="center" />
<el-table-column type="index" label="序号" width="50" align="center" /> <el-table-column type="index" label="序号" width="50" align="center" />
<el-table-column prop="NAME" label="名称" width="180" /> <el-table-column prop="NAME" label="名称" width="180" />
<el-table-column prop="CONTENT" label="内容" show-overflow-tooltip="true" /> <el-table-column :show-overflow-tooltip="true" prop="CONTENT" label="内容" />
<el-table-column prop="DEPARTMENT_NAME" width="180" align="center" label="附件" > <el-table-column prop="DEPARTMENT_NAME" width="180" align="center" label="附件" >
<template v-if="row.FILE_URL" slot-scope="{row}"> <template v-if="row.FILE_URL" slot-scope="{row}">
<el-button type="primary" icon="el-icon-down" size="mini" @click="download(row)"></el-button> <el-button type="primary" icon="el-icon-down" size="mini" @click="download(row)"></el-button>
</template> </template>
</el-table-column> </el-table-column>
<el-table-column label="操作" align="center" width="300"> <el-table-column label="操作" align="center" width="200">
<template slot-scope="{row}"> <template slot-scope="{row}">
<el-button type="primary" icon="el-icon-document" size="mini" @click="handleDetail(row)"></el-button> <el-button type="text" icon="el-icon-document" size="mini" @click="handleDetail(row)"></el-button>
<el-button type="primary" icon="el-icon-edit" size="mini" @click="handleEdit(row)"></el-button> <el-button type="text" icon="el-icon-edit" size="mini" @click="handleEdit(row)"></el-button>
<el-button type="danger" icon="el-icon-delete" size="mini" @click="handleDelete(row.ID,row.NAME)"></el-button> <el-button type="text" style="color: red" icon="el-icon-delete" size="mini" @click="handleDelete(row.ID,row.NAME)"></el-button>
</template> </template>
</el-table-column> </el-table-column>
</el-table> </el-table>

View File

@ -11,18 +11,18 @@
<el-table-column type="index" label="序号" width="50" align="center" /> <el-table-column type="index" label="序号" width="50" align="center" />
<el-table-column prop="NAME" label="中文名称" width="180" /> <el-table-column prop="NAME" label="中文名称" width="180" />
<el-table-column prop="NAME_EN" label="英文名称" width="180" /> <el-table-column prop="NAME_EN" label="英文名称" width="180" />
<el-table-column prop="CONTENT" label="内容" show-overflow-tooltip="true" /> <el-table-column :show-overflow-tooltip="true" prop="CONTENT" label="内容" />
<el-table-column prop="DEPARTMENT_NAME" width="180" align="center" label="附件" > <el-table-column prop="DEPARTMENT_NAME" width="100" align="center" label="附件" >
<template v-if="row.FILE_URL" slot-scope="{row}"> <template v-if="row.FILE_URL" slot-scope="{row}">
<el-button type="primary" icon="el-icon-down" size="mini" @click="download(row)"></el-button> <el-button type="text" style="color: red;" icon="el-icon-down" size="mini" @click="download(row)"></el-button>
</template> </template>
</el-table-column> </el-table-column>
<el-table-column label="操作" align="center" width="300"> <el-table-column label="操作" align="center" width="200">
<template slot-scope="{row}"> <template slot-scope="{row}">
<el-button type="primary" icon="el-icon-document" size="mini" @click="handleDetail(row)"></el-button> <el-button type="text" icon="el-icon-document" size="mini" @click="handleDetail(row)"></el-button>
<el-button type="primary" icon="el-icon-edit" size="mini" @click="handleEdit(row)"></el-button> <el-button type="text" icon="el-icon-edit" size="mini" @click="handleEdit(row)"></el-button>
<el-button type="danger" icon="el-icon-delete" size="mini" @click="handleDelete(row.ID,row.NAME)"></el-button> <el-button type="text" style="color: red" icon="el-icon-delete" size="mini" @click="handleDelete(row.ID,row.NAME)"></el-button>
</template> </template>
</el-table-column> </el-table-column>
</el-table> </el-table>

View File

@ -11,17 +11,17 @@
<el-table-column type="index" label="序号" width="50" align="center" /> <el-table-column type="index" label="序号" width="50" align="center" />
<el-table-column prop="NAME" label="中文名称" width="180" /> <el-table-column prop="NAME" label="中文名称" width="180" />
<el-table-column prop="TYPE" label="类型" width="180" /> <el-table-column prop="TYPE" label="类型" width="180" />
<el-table-column prop="CONTENT" label="内容" show-overflow-tooltip="true" /> <el-table-column :show-overflow-tooltip="true" prop="CONTENT" label="内容" />
<el-table-column prop="DEPARTMENT_NAME" width="180" align="center" label="附件" > <el-table-column prop="DEPARTMENT_NAME" width="100" align="center" label="附件" >
<template v-if="row.FILE_URL" slot-scope="{row}"> <template v-if="row.FILE_URL" slot-scope="{row}">
<el-button type="primary" icon="el-icon-down" size="mini" @click="download(row)"></el-button> <el-button type="text" icon="el-icon-down" size="mini" @click="download(row)"></el-button>
</template> </template>
</el-table-column> </el-table-column>
<el-table-column label="操作" align="center" width="200"> <el-table-column label="操作" align="center" width="200">
<template slot-scope="{row}"> <template slot-scope="{row}">
<el-button type="primary" icon="el-icon-edit" size="mini" @click="handleEdit(row)"></el-button> <el-button type="text" icon="el-icon-edit" size="mini" @click="handleEdit(row)"></el-button>
<el-button type="danger" icon="el-icon-delete" size="mini" @click="handleDelete(row.ID,row.NAME)"></el-button> <el-button type="text" style="color: red" icon="el-icon-delete" size="mini" @click="handleDelete(row.ID,row.NAME)"></el-button>
</template> </template>
</el-table-column> </el-table-column>
</el-table> </el-table>

View File

@ -19,20 +19,19 @@
<div><el-button type="primary" icon="el-icon-plus" @click="handleAdd"></el-button></div> <div><el-button type="primary" icon="el-icon-plus" @click="handleAdd"></el-button></div>
</div> </div>
<el-table v-loading="listLoading" ref="multipleTable" :data="varList" :header-cell-style="{'font-weight': 'bold','color': '#000'}" tooltip-effect="dark" border fit highlight-current-row> <el-table v-loading="listLoading" ref="multipleTable" :data="varList" :header-cell-style="{'font-weight': 'bold','color': '#000'}" tooltip-effect="dark" border fit highlight-current-row>
<!-- <el-table-column :reserve-selection="true" type="selection" width="55" align="center" />-->
<el-table-column type="index" label="序号" width="50" align="center" /> <el-table-column type="index" label="序号" width="50" align="center" />
<el-table-column label="名称" prop="NAME"/> <el-table-column label="名称" prop="NAME"/>
<el-table-column prop="TYPE_DIC_NAME" label="类型" /> <el-table-column prop="TYPE_DIC_NAME" label="类型" />
<el-table-column prop="CONTENT" label="内容" /> <el-table-column prop="CONTENT" label="内容" />
<el-table-column label="附件" width="100" align="center" > <el-table-column label="附件" width="100" align="center" >
<template v-if="row.FILE_URL" slot-scope="{row}"> <template v-if="row.FILE_URL" slot-scope="{row}">
<el-button type="primary" icon="el-icon-down" size="mini" @click="download(row)"></el-button> <el-button type="text" icon="el-icon-down" size="mini" @click="download(row)"></el-button>
</template> </template>
</el-table-column> </el-table-column>
<el-table-column label="操作" align="center" width="200"> <el-table-column label="操作" align="center" width="200">
<template slot-scope="{row}"> <template slot-scope="{row}">
<el-button type="primary" icon="el-icon-edit" size="mini" @click="handleEdit(row)"></el-button> <el-button type="text" icon="el-icon-edit" size="mini" @click="handleEdit(row)"></el-button>
<el-button type="danger" icon="el-icon-delete" size="mini" @click="handleDelete(row.ID, row.NAME)">删除</el-button> <el-button type="text" icon="el-icon-delete" size="mini" @click="handleDelete(row.ID, row.NAME)">删除</el-button>
</template> </template>
</el-table-column> </el-table-column>
</el-table> </el-table>

View File

@ -2,12 +2,12 @@
<div class="app-container"> <div class="app-container">
<div class="filter-container"> <div class="filter-container">
<el-form inline> <el-form inline>
<el-form-item label="单位__" prop="UNIT"> <el-form-item label="单位" prop="UNIT">
<el-input v-model="UNIT" placeholder="单位" class="filter-item" style="width: 200px;" /> <el-input v-model="UNIT" placeholder="单位" class="filter-item" style="width: 200px;" />
</el-form-item> </el-form-item>
<el-form-item> <el-form-item>
<el-button class="filter-item" type="primary" icon="el-icon-search" @click="getQuery"></el-button> <el-button class="filter-item" type="primary" icon="el-icon-search" @click="getQuery"></el-button>
<el-button class="filter-item" type="default" icon="el-icon-refresh" @click="resetQuery"></el-button> <el-button class="filter-item" type="info" icon="el-icon-refresh" @click="resetQuery"></el-button>
</el-form-item> </el-form-item>
</el-form> </el-form>
</div> </div>
@ -23,11 +23,11 @@
<el-table-column :show-overflow-tooltip="true" prop="HANDLING_SITUATION" label="处理情况" /> <el-table-column :show-overflow-tooltip="true" prop="HANDLING_SITUATION" label="处理情况" />
<el-table-column :show-overflow-tooltip="true" prop="HANDOVER_ITEMS" label="交接事项" /> <el-table-column :show-overflow-tooltip="true" prop="HANDOVER_ITEMS" label="交接事项" />
<el-table-column :show-overflow-tooltip="true" prop="OPERATETIME" label="修改时间" /> <el-table-column :show-overflow-tooltip="true" prop="OPERATETIME" label="修改时间" />
<el-table-column label="操作" align="center" width="300"> <el-table-column label="操作" align="center" width="220">
<template slot-scope="{ row }"> <template slot-scope="{ row }">
<el-button type="primary" icon="el-icon-download" size="mini" @click="confirmExport(row.ID)"></el-button> <el-button type="text" icon="el-icon-download" size="mini" @click="confirmExport(row.ID)"></el-button>
<el-button type="primary" icon="el-icon-edit" size="mini" @click="handleEdit(row.ID)"></el-button> <el-button type="text" icon="el-icon-edit" size="mini" @click="handleEdit(row.ID)"></el-button>
<el-button type="danger" icon="el-icon-delete" size="mini" @click="handleDelete(row.ID, row.UNIT)">删除</el-button> <el-button type="text" style="color:red;" icon="el-icon-delete" size="mini" @click="handleDelete(row.ID, row.UNIT)">删除</el-button>
</template> </template>
</el-table-column> </el-table-column>
</el-table> </el-table>

View File

@ -29,7 +29,7 @@
</el-form-item> </el-form-item>
<el-form-item> <el-form-item>
<el-button class="filter-item" type="primary" icon="el-icon-search" @click="getQuery"></el-button> <el-button class="filter-item" type="primary" icon="el-icon-search" @click="getQuery"></el-button>
<el-button class="filter-item" type="default" icon="el-icon-refresh" @click="resetQuery"></el-button> <el-button class="filter-item" type="info" icon="el-icon-refresh" @click="resetQuery"></el-button>
</el-form-item> </el-form-item>
</el-form> </el-form>
</div> </div>
@ -201,10 +201,10 @@
prop="REMARKS" prop="REMARKS"
label="备注" label="备注"
/> />
<el-table-column label="操作" align="center" width="200"> <el-table-column label="操作" align="center" width="100">
<template slot-scope="{row}"> <template slot-scope="{row}">
<el-button v-if="false" type="danger" icon="el-icon-delete" size="mini" @click="clearyjDityMain(row.ID)"></el-button> <el-button v-if="false" type="danger" icon="el-icon-delete" size="mini" @click="clearyjDityMain(row.ID)"></el-button>
<el-button type="primary" icon="el-icon-edit" size="mini" @click="updateMainDity(row.ID)"></el-button> <el-button type="text" icon="el-icon-edit" size="mini" @click="updateMainDity(row.ID)"></el-button>
</template> </template>
</el-table-column> </el-table-column>
</el-table> </el-table>

View File

@ -43,23 +43,17 @@
<el-table-column :show-overflow-tooltip="true" prop="OCCURRENCE_TIME" label="发生时间"/> <el-table-column :show-overflow-tooltip="true" prop="OCCURRENCE_TIME" label="发生时间"/>
<el-table-column :show-overflow-tooltip="true" prop="RESCUE_SITUATION_NAME" label="救援情况"/> <el-table-column :show-overflow-tooltip="true" prop="RESCUE_SITUATION_NAME" label="救援情况"/>
<el-table-column :show-overflow-tooltip="true" prop="EVENT_SITUATION_NAME" label="预案是否启动"/> <el-table-column :show-overflow-tooltip="true" prop="EVENT_SITUATION_NAME" label="预案是否启动"/>
<el-table-column label="操作" align="center" width="500"> <el-table-column label="操作" align="center" width="300">
<template slot-scope="{row}"> <template slot-scope="{row}">
<el-button v-if="row.RESCUE_SITUATION === '2'" type="primary" size="mini" @click="handleRescue(row.ID)"> <el-button v-if="row.RESCUE_SITUATION === '2'" type="text" size="mini" @click="handleRescue(row.ID)">
是否救援 是否救援
</el-button> </el-button>
<el-button type="primary" icon="el-icon-document" size="mini" @click="goList('detail', row.ID, '1')">查看 <el-button type="text" icon="el-icon-document" size="mini" @click="goList('detail', row.ID, '1')">查看
</el-button> </el-button>
<el-button type="primary" icon="el-icon-edit" size="mini" @click="handleEdit(row.ID, true)">生成专报 <el-button type="text" icon="el-icon-edit" size="mini" @click="handleEdit(row.ID, true)">生成专报
</el-button>
<el-button v-if="false" type="primary" icon="el-icon-edit" size="mini" @click="handleEdit(row.ID)"></el-button>
<el-button
v-if="false"
type="danger"
icon="el-icon-delete"
size="mini"
@click="handleDelete(row.ID,row.EVENT_NAME)">删除
</el-button> </el-button>
<el-button v-if="false" type="text" icon="el-icon-edit" size="mini" @click="handleEdit(row.ID)"></el-button>
<el-button v-if="false" style="color: red" type="text" icon="el-icon-delete" size="mini" @click="handleDelete(row.ID,row.EVENT_NAME)"></el-button>
</template> </template>
</el-table-column> </el-table-column>
</el-table> </el-table>

View File

@ -7,7 +7,7 @@
</el-form-item> </el-form-item>
<el-form-item> <el-form-item>
<el-button class="filter-item" type="primary" icon="el-icon-search" @click="getQuery"></el-button> <el-button class="filter-item" type="primary" icon="el-icon-search" @click="getQuery"></el-button>
<el-button class="filter-item" type="default" icon="el-icon-refresh" @click="resetQuery"></el-button> <el-button class="filter-item" type="info" icon="el-icon-refresh" @click="resetQuery"></el-button>
</el-form-item> </el-form-item>
</el-form> </el-form>
</div> </div>
@ -15,14 +15,14 @@
<el-table-column type="selection" width="55" align="center" /> <el-table-column type="selection" width="55" align="center" />
<el-table-column type="index" label="序号" width="50" align="center" /> <el-table-column type="index" label="序号" width="50" align="center" />
<el-table-column prop="NAME" label="姓名" width="180" /> <el-table-column prop="NAME" label="姓名" width="180" />
<el-table-column prop="PHONE" label="电话" show-overflow-tooltip="true" /> <el-table-column :show-overflow-tooltip="true" prop="PHONE" label="电话" />
<el-table-column prop="PLAN_NAME" label="预案名称" show-overflow-tooltip="true" /> <el-table-column :show-overflow-tooltip="true" prop="PLAN_NAME" label="预案名称" />
<el-table-column prop="RESPONSE_NAME" label="响应级别名称" show-overflow-tooltip="true" /> <el-table-column :show-overflow-tooltip="true" prop="RESPONSE_NAME" label="响应级别名称" />
<el-table-column prop="ORDER_CONTENT" label="指令内容" show-overflow-tooltip="true" /> <el-table-column :show-overflow-tooltip="true" prop="ORDER_CONTENT" label="指令内容" />
<el-table-column prop="CREATETIME" label="通知时间" show-overflow-tooltip="true" /> <el-table-column :show-overflow-tooltip="true" prop="CREATETIME" label="通知时间" />
<el-table-column label="操作" align="center" width="300"> <el-table-column label="操作" align="center" width="100">
<template slot-scope="{ row }"> <template slot-scope="{ row }">
<el-button type="danger" icon="el-icon-delete" size="mini" @click="handleDelete(row.ID, row.NAME)">删除</el-button> <el-button type="text" style="color: red" icon="el-icon-delete" size="mini" @click="handleDelete(row.ID, row.NAME)">删除</el-button>
</template> </template>
</el-table-column> </el-table-column>
</el-table> </el-table>

View File

@ -20,11 +20,11 @@
<el-table-column :show-overflow-tooltip="true" prop="ACCESS_MODE" label="接入方式" /> <el-table-column :show-overflow-tooltip="true" prop="ACCESS_MODE" label="接入方式" />
<el-table-column :show-overflow-tooltip="true" prop="EVENT_TYPE" label="事件类型" /> <el-table-column :show-overflow-tooltip="true" prop="EVENT_TYPE" label="事件类型" />
<el-table-column v-if="false" :show-overflow-tooltip="true" prop="CALLER_ADDRESS" label="主叫地址" /> <el-table-column v-if="false" :show-overflow-tooltip="true" prop="CALLER_ADDRESS" label="主叫地址" />
<el-table-column label="操作" align="center" width="300"> <el-table-column label="操作" align="center" width="200">
<template slot-scope="{ row }"> <template slot-scope="{ row }">
<el-button type="primary" icon="el-icon-document" size="mini" @click="goList('detail', row.ID, '1')">查看</el-button> <el-button type="text" icon="el-icon-document" size="mini" @click="goList('detail', row.ID, '1')">查看</el-button>
<el-button v-if="row.RESCUE_SITUATION === '1'" type="primary" icon="el-icon-document" size="mini" @click="command(row)"></el-button> <el-button v-if="row.RESCUE_SITUATION === '1'" type="text" icon="el-icon-document" size="mini" @click="command(row)"></el-button>
<el-button type="danger" icon="el-icon-delete" size="mini" @click="handleDelete(row.ID, row.NAME)">删除</el-button> <el-button type="text" style="color: red" icon="el-icon-delete" size="mini" @click="handleDelete(row.ID, row.NAME)">删除</el-button>
</template> </template>
</el-table-column> </el-table-column>
</el-table> </el-table>