1、页面跟样式调整

liujun0703-新项目开发
liujun 2024-08-19 17:59:52 +08:00
parent a8e009ec70
commit ea8210b07a
9 changed files with 44 additions and 84 deletions

View File

@ -17,10 +17,10 @@
{{ docheck(row.AUDIT_STATUS) }} {{ docheck(row.AUDIT_STATUS) }}
</template> </template>
</el-table-column> </el-table-column>
<el-table-column label="操作" align="center" width="300"> <el-table-column label="操作" align="center" width="150">
<template slot-scope="{row}"> <template slot-scope="{row}">
<el-button plain icon="el-icon-document" @click="doDetail(row.FIRERESERVEPLAN_ID)"></el-button> <el-button type="text" plain icon="el-icon-document" @click="doDetail(row.FIRERESERVEPLAN_ID)"></el-button>
<el-button type="primary" icon="el-icon-thumb" size="mini" @click="handleCheck(row.FIRERESERVEPLAN_ID)"></el-button> <el-button type="text" icon="el-icon-thumb" size="mini" @click="handleCheck(row.FIRERESERVEPLAN_ID)"></el-button>
</template> </template>
</el-table-column> </el-table-column>
</el-table> </el-table>

View File

@ -17,11 +17,11 @@
{{ docheck(row.AUDIT_STATUS) }} {{ docheck(row.AUDIT_STATUS) }}
</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-view" size="mini" @click="handleCheck(row.FIRERESERVEPLAN_ID)"></el-button> <el-button type="text" icon="el-icon-view" size="mini" @click="handleCheck(row.FIRERESERVEPLAN_ID)"></el-button>
<el-button v-if="!(row.AUDIT_STATUS === '2')" type="primary" icon="el-icon-edit" size="mini" @click="handleEdit(row.FIRERESERVEPLAN_ID)"></el-button> <el-button v-if="!(row.AUDIT_STATUS === '2')" type="text" icon="el-icon-edit" size="mini" @click="handleEdit(row.FIRERESERVEPLAN_ID)"></el-button>
<el-button v-if="!(row.AUDIT_STATUS === '2')" type="danger" icon="el-icon-delete" size="mini" @click="handleDelete(row.FIRERESERVEPLAN_ID,row.PLANNAME)"></el-button> <el-button v-if="!(row.AUDIT_STATUS === '2')" type="text" style="color: red" icon="el-icon-delete" size="mini" @click="handleDelete(row.FIRERESERVEPLAN_ID,row.PLANNAME)"></el-button>
</template> </template>
</el-table-column> </el-table-column>
</el-table> </el-table>

View File

@ -11,10 +11,10 @@
<el-table-column prop="HIERARCHICALNAME" label="分级名称" width="180" /> <el-table-column prop="HIERARCHICALNAME" label="分级名称" width="180" />
<el-table-column prop="HIERARCHICALDES" label="分级描述" /> <el-table-column prop="HIERARCHICALDES" label="分级描述" />
<el-table-column prop="BZ" label="备注信息" /> <el-table-column prop="BZ" label="备注信息" />
<el-table-column label="操作" align="center" width="300"> <el-table-column label="操作" align="center" width="150">
<template slot-scope="{row}"> <template slot-scope="{row}">
<el-button type="danger" icon="el-icon-delete" size="mini" @click="deletezhuangjiaPeople(row)"></el-button> <el-button type="text" icon="el-icon-delete" size="mini" @click="deletezhuangjiaPeople(row)"></el-button>
<el-button type="primary" icon="el-icon-setting" size="mini" @click="updatezhuangjiaPeople(row)"></el-button> <el-button type="text" style="color: red" icon="el-icon-setting" size="mini" @click="updatezhuangjiaPeople(row)"></el-button>
</template> </template>
</el-table-column> </el-table-column>
</el-table> </el-table>

View File

@ -11,15 +11,15 @@
<el-table-column prop="FILENAME" label="文件名称" width="180" /> <el-table-column prop="FILENAME" label="文件名称" width="180" />
<el-table-column prop="BZ" label="备注" /> <el-table-column prop="BZ" label="备注" />
<el-table-column prop="createTimeStr" label="维护日期" /> <el-table-column prop="createTimeStr" label="维护日期" />
<el-table-column prop="FILEURL" width="180" align="center" label="附件" > <el-table-column prop="FILEURL" width="100" align="center" label="附件" >
<template v-if="row.FILEURL" slot-scope="{row}"> <template v-if="row.FILEURL" 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="300"> <el-table-column label="操作" align="center" width="150">
<template slot-scope="{row}"> <template slot-scope="{row}">
<el-button type="danger" icon="el-icon-delete" size="mini" @click="deletePlanningfile(row)"></el-button> <el-button type="text" style="color: red" icon="el-icon-delete" size="mini" @click="deletePlanningfile(row)"></el-button>
<el-button type="primary" icon="el-icon-setting" size="mini" @click="updatePlanningfile(row)"></el-button> <el-button type="text" icon="el-icon-setting" size="mini" @click="updatePlanningfile(row)"></el-button>
</template> </template>
</el-table-column> </el-table-column>
</el-table> </el-table>

View File

@ -4,16 +4,13 @@
<el-row :gutter="20"> <el-row :gutter="20">
<el-col :span="13" class="bianxian"> <el-col :span="13" class="bianxian">
<el-form ref="form" :model="yvanzhilingfrom" :rules="rules" label-width="110px" > <el-form ref="form" :model="yvanzhilingfrom" :rules="rules" label-width="110px" >
<el-row :gutter="15"> <el-row :gutter="15">
<el-form-item label="响应级别" prop="HIERARCHICALRESPONSE_ID"> <el-form-item label="响应级别" prop="HIERARCHICALRESPONSE_ID">
<el-checkbox-group v-model="checkList"> <el-checkbox-group v-model="checkList">
<el-checkbox v-for="jibei in xiangyingjibeiList" :label="jibei.HIERARCHICALRESPONSE_ID" :key="jibei.HIERARCHICALRESPONSE_ID">{{ jibei.HIERARCHICALNAME }}</el-checkbox> <el-checkbox v-for="jibei in xiangyingjibeiList" :label="jibei.HIERARCHICALRESPONSE_ID" :key="jibei.HIERARCHICALRESPONSE_ID">{{ jibei.HIERARCHICALNAME }}</el-checkbox>
</el-checkbox-group> </el-checkbox-group>
</el-form-item> </el-form-item>
</el-row> </el-row>
<el-form-item label="指令内容" prop="DIRECTIVECONTENT"> <el-form-item label="指令内容" prop="DIRECTIVECONTENT">
<el-input <el-input
v-model="yvanzhilingfrom.DIRECTIVECONTENT" v-model="yvanzhilingfrom.DIRECTIVECONTENT"
@ -21,7 +18,6 @@
type="textarea" type="textarea"
placeholder="指令内容"/> placeholder="指令内容"/>
</el-form-item> </el-form-item>
<el-row :gutter="20"> <el-row :gutter="20">
<el-col :span="8"> <el-col :span="8">
<el-form-item label="执行机构" prop="EXECUTIVEBODY"> <el-form-item label="执行机构" prop="EXECUTIVEBODY">
@ -34,12 +30,10 @@
/> />
</el-form-item> </el-form-item>
</el-col> </el-col>
<el-col :span="14"/> <el-col :span="14"/>
</el-row> </el-row>
<el-row :gutter="20"> <el-row :gutter="20">
<el-col :span="19"> <el-form-item label="相关资源" /></el-col> <el-col :span="19"> <el-form-item label="相关资源" /></el-col>
<el-col :span="2"> <el-col :span="2">
<div class="filter-container"> <div class="filter-container">
<el-button class="filter-item" type="primary" icon="el-icon-plus" @click="yjzhilingadd"> <el-button class="filter-item" type="primary" icon="el-icon-plus" @click="yjzhilingadd">
@ -48,11 +42,9 @@
</div> </div>
</el-col> </el-col>
</el-row> </el-row>
</el-form> </el-form>
<el-table ref="multipleTable" :data="yjzhilinglinshiList" :header-cell-style="{'font-weight': 'bold','color': '#000'}" tooltip-effect="dark" border fit highlight-current-row> <el-table ref="multipleTable" :data="yjzhilinglinshiList" :header-cell-style="{'font-weight': 'bold','color': '#000'}" tooltip-effect="dark" border fit highlight-current-row>
<el-table-column prop="RESOURCETYPE" label="类型" width="180" /> <el-table-column prop="RESOURCETYPE" label="类型" width="180" />
<el-table-column prop="RESOURCENAME" label="资源名称" /> <el-table-column prop="RESOURCENAME" label="资源名称" />
<el-table-column prop="LINKMPHONE" label="联系电话" /> <el-table-column prop="LINKMPHONE" label="联系电话" />
@ -81,15 +73,14 @@
</el-button> </el-button>
</div> </div>
<el-table ref="multipleTable" :data="yjzjvarList" :header-cell-style="{'font-weight': 'bold','color': '#000'}" tooltip-effect="dark" border fit highlight-current-row> <el-table ref="multipleTable" :data="yjzjvarList" :header-cell-style="{'font-weight': 'bold','color': '#000'}" tooltip-effect="dark" border fit highlight-current-row>
<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="HIERARCHICALRESPONSE_NAME" label="响应级别" /> <el-table-column prop="HIERARCHICALRESPONSE_NAME" label="响应级别" />
<el-table-column prop="DIRECTIVECONTENT" label="指令内容" /> <el-table-column prop="DIRECTIVECONTENT" label="指令内容" />
<el-table-column label="操作" align="center" width="300"> <el-table-column label="操作" align="center" width="150">
<template slot-scope="{row}"> <template slot-scope="{row}">
<el-button type="danger" icon="el-icon-delete" size="mini" @click="deletezhiling(row)"></el-button> <el-button type="text" style="color: red" icon="el-icon-delete" size="mini" @click="deletezhiling(row)"></el-button>
<el-button type="primary" icon="el-icon-setting" size="mini" @click="updatezhiling(row)"></el-button> <el-button type="text" icon="el-icon-setting" size="mini" @click="updatezhiling(row)"></el-button>
</template> </template>
</el-table-column> </el-table-column>
</el-table> </el-table>
@ -97,28 +88,23 @@
<div/> <div/>
<pagination :total="yjzhuangjiatotal" :page.sync="listQueryzj.page" :limit.sync="listQueryzj.limit" @pagination="getDataList" /> <pagination :total="yjzhuangjiatotal" :page.sync="listQueryzj.page" :limit.sync="listQueryzj.limit" @pagination="getDataList" />
</div> </div>
</el-col> </el-col>
</el-row> </el-row>
<el-dialog :visible.sync="dialogyjzlzyShow" title="相关资源" width="600px" > <el-dialog :visible.sync="dialogyjzlzyShow" title="相关资源" width="600px" >
<el-form ref="form2" :rules="rules2" :model="zlxianghuanziyuanform" label-width="110px" style="width: 500px;"> <el-form ref="form2" :rules="rules2" :model="zlxianghuanziyuanform" label-width="110px" style="width: 500px;">
<el-form-item label="资源名称" prop="RESOURCENAME"> <el-form-item label="资源名称" prop="RESOURCENAME">
<el-input v-model="zlxianghuanziyuanform.RESOURCENAME" placeholder="资源名称..." /> <el-input v-model="zlxianghuanziyuanform.RESOURCENAME" placeholder="资源名称..." />
</el-form-item> </el-form-item>
<el-form-item label="类型" prop="RESOURCETYPE"> <el-form-item label="类型" prop="RESOURCETYPE">
<el-input v-model="zlxianghuanziyuanform.RESOURCETYPE" placeholder="类型..." /> <el-input v-model="zlxianghuanziyuanform.RESOURCETYPE" placeholder="类型..." />
</el-form-item> </el-form-item>
<el-form-item label="联系电话" prop="LINKMPHONE"> <el-form-item label="联系电话" prop="LINKMPHONE">
<el-input v-model="zlxianghuanziyuanform.LINKMPHONE" placeholder="联系电话..." /> <el-input v-model="zlxianghuanziyuanform.LINKMPHONE" placeholder="联系电话..." />
</el-form-item> </el-form-item>
<el-form-item label="紧急联系电话" prop="URGENTLINKPHONE"> <el-form-item label="紧急联系电话" prop="URGENTLINKPHONE">
<el-input v-model="zlxianghuanziyuanform.URGENTLINKPHONE" placeholder="紧急联系电话..." /> <el-input v-model="zlxianghuanziyuanform.URGENTLINKPHONE" placeholder="紧急联系电话..." />
</el-form-item> </el-form-item>
</el-form> </el-form>
<div slot="footer" class="dialog-footer"> <div slot="footer" class="dialog-footer">
<el-button @click="dialogyjzlzyShow = false"> </el-button> <el-button @click="dialogyjzlzyShow = false"> </el-button>

View File

@ -14,10 +14,10 @@
<el-table-column prop="RESOURCESNUMBER" label="资源数量" /> <el-table-column prop="RESOURCESNUMBER" label="资源数量" />
<el-table-column prop="LINKMAN" label="联系人" /> <el-table-column prop="LINKMAN" label="联系人" />
<el-table-column prop="LINKPHONE" label="电话" /> <el-table-column prop="LINKPHONE" label="电话" />
<el-table-column label="操作" align="center" width="300"> <el-table-column label="操作" align="center" width="150">
<template slot-scope="{row}"> <template slot-scope="{row}">
<el-button type="danger" icon="el-icon-delete" size="mini" @click="deletezhuangjiaPeople(row)"></el-button> <el-button type="text" style="color: red" icon="el-icon-delete" size="mini" @click="deletezhuangjiaPeople(row)"></el-button>
<el-button type="primary" icon="el-icon-setting" size="mini" @click="updatezhuangjiaPeople(row)"></el-button> <el-button type="text" icon="el-icon-setting" size="mini" @click="updatezhuangjiaPeople(row)"></el-button>
</template> </template>
</el-table-column> </el-table-column>
</el-table> </el-table>
@ -97,16 +97,12 @@
<bm-view style="width: 100%; height:100%; flex: 1" /> <bm-view style="width: 100%; height:100%; flex: 1" />
<bm-control ref="control" :offset="{width: 10, height: 10}" anchor="BMAP_ANCHOR_TOP_LEFT"> <bm-control ref="control" :offset="{width: 10, height: 10}" anchor="BMAP_ANCHOR_TOP_LEFT">
<div class="map-flex"> <div class="map-flex">
<div class="map-lable">关键词</div> <div class="map-lable">关键词</div>
<div style="flex:1;"> <div style="flex:1;">
<el-autocomplete v-model="TYPEKeyword" :fetch-suggestions="querySearch" :trigger-on-focus="false" placeholder="请输入详细设备类型" style="width:100%" @select="handleSelect" /> <el-autocomplete v-model="TYPEKeyword" :fetch-suggestions="querySearch" :trigger-on-focus="false" placeholder="请输入详细设备类型" style="width:100%" @select="handleSelect" />
</div> </div>
<!-- <el-input v-model="TYPEKeyword" style="width: 200px" placeholder="请输入内容" />-->
<!-- <el-button slot="append" icon="el-icon-search" @click="mapNameChange"/>-->
</div> </div>
</bm-control> </bm-control>
<!-- <bm-local-search :keyword="TYPEKeyword" :auto-viewport="true"/>-->
</baidu-map> </baidu-map>
<div slot="footer" class="dialog-footer"> <div slot="footer" class="dialog-footer">
<span>经度</span> <span>经度</span>

View File

@ -49,10 +49,10 @@
<el-table-column prop="LINKPHONE" label="联系电话"/> <el-table-column prop="LINKPHONE" label="联系电话"/>
<el-table-column prop="URGENTLINKPHONE" label="紧急联系电话"/> <el-table-column prop="URGENTLINKPHONE" label="紧急联系电话"/>
<el-table-column prop="PLANNINGDEPARTMENT_NAME" label="组织机构"/> <el-table-column prop="PLANNINGDEPARTMENT_NAME" label="组织机构"/>
<el-table-column label="操作" align="center" width="300"> <el-table-column label="操作" align="center" width="150px">
<template slot-scope="{row}"> <template slot-scope="{row}">
<el-button type="danger" icon="el-icon-delete" size="mini" @click="deleterenyuanPeople(row.PLANNINGPERSONNEL_ID)"></el-button> <el-button type="text" icon="el-icon-delete" size="mini" @click="deleterenyuanPeople(row.PLANNINGPERSONNEL_ID)"></el-button>
<el-button type="primary" icon="el-icon-setting" size="mini" @click="updaterenyuanPeople(row)"></el-button> <el-button type="text" style="color: red" icon="el-icon-setting" size="mini" @click="updaterenyuanPeople(row)"></el-button>
</template> </template>
</el-table-column> </el-table-column>
</el-table> </el-table>

View File

@ -57,15 +57,11 @@
<el-table-column prop="DRILL_NAME" label="应急演练方案名称" /> <el-table-column prop="DRILL_NAME" label="应急演练方案名称" />
<el-table-column prop="DRILL_UNIT" label="演练单位" /> <el-table-column prop="DRILL_UNIT" label="演练单位" />
<el-table-column prop="DRILL_DATE" label="演练时间" /> <el-table-column prop="DRILL_DATE" label="演练时间" />
<!-- <el-table-column prop="DRILL_PURPOSE" label="演练目的" />--> <el-table-column label="操作" align="center" width="200">
<!-- <el-table-column prop="DRILL_PROPERTY" label="演练特点" />-->
<!-- <el-table-column prop="DRILL_PLACE" label="应急演练地点" />-->
<!-- <el-table-column prop="DRILL_ATTENDERS" label="参加人员" />-->
<el-table-column label="操作" align="center" width="300">
<template slot-scope="{row}"> <template slot-scope="{row}">
<el-button icon="el-icon-view" size="mini" @click="goDetail(row)"></el-button> <el-button type="text" icon="el-icon-view" size="mini" @click="goDetail(row)"></el-button>
<el-button v-show="edit" type="primary" icon="el-icon-edit" size="mini" @click="handleEdit(row.EMERGENCYDRILLBASIC_ID)"></el-button> <el-button type="text" icon="el-icon-edit" size="mini" @click="handleEdit(row.EMERGENCYDRILLBASIC_ID)"></el-button>
<el-button v-show="del" type="danger" icon="el-icon-delete" size="mini" @click="handleDelete(row.EMERGENCYDRILLBASIC_ID)"></el-button> <el-button type="text" style="color: red" icon="el-icon-delete" size="mini" @click="handleDelete(row.EMERGENCYDRILLBASIC_ID)"></el-button>
</template> </template>
</el-table-column> </el-table-column>
</el-table> </el-table>

View File

@ -35,40 +35,28 @@
<el-table-column :reserve-selection="true" type="selection" width="55" align="center" /> <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 prop="PLAN_NAME" label="应急预案名称" width="300" /> <el-table-column prop="PLAN_NAME" label="应急预案名称" width="300" />
<!-- <el-table-column prop="PLAN_NO" label="预案编号" />-->
<!-- <el-table-column prop="PLAN_USE_SCOPE_NAME" label="适用领域" />-->
<el-table-column prop="PLAN_CATEGORY_NAME" label="预案类别" width="150" /> <el-table-column prop="PLAN_CATEGORY_NAME" label="预案类别" width="150" />
<el-table-column prop="PLAN_LEVEL_NAME" label="预案级别" width="150" /> <el-table-column prop="PLAN_LEVEL_NAME" label="预案级别" width="150" />
<!-- <el-table-column prop="ESTAB_UNIT" label="编制单位" />-->
<!-- <el-table-column prop="ESTAB_USER" label="编制人" />-->
<!-- <el-table-column prop="PUBLISH_DATE" label="发布日期" />-->
<!-- <el-table-column prop="PUBLISH_DOC_NO" label="发布文号" />-->
<!-- <el-table-column prop="PUBLISH_UNIT" label="发布单位" />-->
<!-- <el-table-column prop="ISSUER" label="签发人" />-->
<el-table-column prop="PLAN_RECORD_STATUS_NAME" label="备案状态" width="150" /> <el-table-column prop="PLAN_RECORD_STATUS_NAME" label="备案状态" width="150" />
<!-- <el-table-column prop="PLAN_RECORD_DATE" label="预案备案时间" />-->
<!-- <el-table-column prop="PLAN_RECORD_UNIT" label="备案接收单位" />-->
<!-- <el-table-column prop="PLAN_SUMMARY" label="预案摘要" />-->
<!-- <el-table-column prop="PLAN_REMARK" label="备注" />-->
<el-table-column label="相关附件"> <el-table-column label="相关附件">
<template v-if="row.PLAN_ATTACH_IDS !=''" slot-scope="{row}"> <template v-if="row.PLAN_ATTACH_IDS !==''" slot-scope="{row}">
{{ row.PLAN_ATTACH_NAME }} {{ row.PLAN_ATTACH_NAME }}
<a v-show="row.PLAN_ATTACH_NAME.slice(row.PLAN_ATTACH_NAME.lastIndexOf('.')) == '.txt'" @click="goViewTxt(row.PLAN_ATTACH_IDS)"> <a v-show="row.PLAN_ATTACH_NAME.slice(row.PLAN_ATTACH_NAME.lastIndexOf('.')) === '.txt'" @click="goViewTxt(row.PLAN_ATTACH_IDS)">
<el-tag>预览</el-tag> <el-tag>预览</el-tag>
</a> </a>
<a v-show="row.PLAN_ATTACH_NAME.slice(row.PLAN_ATTACH_NAME.lastIndexOf('.')) == '.pdf'" @click="goViewPdf(row.PLAN_ATTACH_IDS)"> <a v-show="row.PLAN_ATTACH_NAME.slice(row.PLAN_ATTACH_NAME.lastIndexOf('.')) === '.pdf'" @click="goViewPdf(row.PLAN_ATTACH_IDS)">
<el-tag>预览</el-tag> <el-tag>预览</el-tag>
</a> </a>
<a v-show="row.PLAN_ATTACH_NAME.slice(row.PLAN_ATTACH_NAME.lastIndexOf('.')) == '.mp4'" @click="goViewVideo(row.PLAN_ATTACH_IDS)"> <a v-show="row.PLAN_ATTACH_NAME.slice(row.PLAN_ATTACH_NAME.lastIndexOf('.')) === '.mp4'" @click="goViewVideo(row.PLAN_ATTACH_IDS)">
<el-tag>预览</el-tag> <el-tag>预览</el-tag>
</a> </a>
<a <a
v-show="row.PLAN_ATTACH_NAME.slice(row.PLAN_ATTACH_NAME.lastIndexOf('.')) == '.doc' v-show="row.PLAN_ATTACH_NAME.slice(row.PLAN_ATTACH_NAME.lastIndexOf('.')) === '.doc'
|| row.PLAN_ATTACH_NAME.slice(row.PLAN_ATTACH_NAME.lastIndexOf('.')) == '.xls' || row.PLAN_ATTACH_NAME.slice(row.PLAN_ATTACH_NAME.lastIndexOf('.')) === '.xls'
|| row.PLAN_ATTACH_NAME.slice(row.PLAN_ATTACH_NAME.lastIndexOf('.')) == '.ppt' || row.PLAN_ATTACH_NAME.slice(row.PLAN_ATTACH_NAME.lastIndexOf('.')) === '.ppt'
|| row.PLAN_ATTACH_NAME.slice(row.PLAN_ATTACH_NAME.lastIndexOf('.')) == '.docx' || row.PLAN_ATTACH_NAME.slice(row.PLAN_ATTACH_NAME.lastIndexOf('.')) === '.docx'
|| row.PLAN_ATTACH_NAME.slice(row.PLAN_ATTACH_NAME.lastIndexOf('.')) == '.xlsx' || row.PLAN_ATTACH_NAME.slice(row.PLAN_ATTACH_NAME.lastIndexOf('.')) === '.xlsx'
|| row.PLAN_ATTACH_NAME.slice(row.PLAN_ATTACH_NAME.lastIndexOf('.')) == '.pptx'" || row.PLAN_ATTACH_NAME.slice(row.PLAN_ATTACH_NAME.lastIndexOf('.')) === '.pptx'"
:href="'http://view.officeapps.live.com/op/view.aspx?src='+serverurl+row.PLAN_ATTACH_IDS" :href="'http://view.officeapps.live.com/op/view.aspx?src='+serverurl+row.PLAN_ATTACH_IDS"
title="查看" title="查看"
target="_blank" target="_blank"
@ -78,24 +66,18 @@
</template> </template>
</el-table-column> </el-table-column>
<!-- <el-table-column prop="ISDELETE" label="是否删除0.正常 1.删除)" />--> <el-table-column label="操作" align="center" width="200">
<!-- <el-table-column prop="OPERATOR" label="修改人" />-->
<!-- <el-table-column prop="OPERATTIME" label="修改时间" />-->
<!-- <el-table-column prop="CREATTIME" label="添加时间" />-->
<!-- <el-table-column prop="CREATOR" label="添加人" />-->
<el-table-column label="操作" align="center" width="300">
<template slot-scope="{row}"> <template slot-scope="{row}">
<el-button icon="el-icon-view" size="mini" @click="goDetail(row)"></el-button> <el-button type="text" icon="el-icon-view" size="mini" @click="goDetail(row)"></el-button>
<el-button v-show="edit" type="primary" icon="el-icon-edit" size="mini" @click="handleEdit(row.EMERGENCYPLAN_ID)"></el-button> <el-button type="text" icon="el-icon-edit" size="mini" @click="handleEdit(row.EMERGENCYPLAN_ID)"></el-button>
<el-button v-show="del" type="danger" icon="el-icon-delete" size="mini" @click="handleDelete(row.EMERGENCYPLAN_ID)"></el-button> <el-button type="text" style="color: red" icon="el-icon-delete" size="mini" @click="handleDelete(row.EMERGENCYPLAN_ID)"></el-button>
<!-- <el-button v-show="row.PLAN_ATTACH_IDS !=''" type="primary" icon="el-icon-download" size="mini" @click="downloadFile(row.EMERGENCYPLAN_ID)"></el-button>-->
</template> </template>
</el-table-column> </el-table-column>
</el-table> </el-table>
<div class="page-btn-group"> <div class="page-btn-group">
<div> <div>
<el-button v-show="add" type="primary" icon="el-icon-plus" @click="handleAdd"></el-button> <el-button type="primary" icon="el-icon-plus" @click="handleAdd"></el-button>
<el-button v-show="del" type="danger" icon="el-icon-delete" plain @click="batchDel"></el-button> <el-button type="danger" icon="el-icon-delete" plain @click="batchDel"></el-button>
</div> </div>
<pagination :total="total" :page.sync="listQuery.page" :limit.sync="listQuery.limit" @pagination="getList" /> <pagination :total="total" :page.sync="listQuery.page" :limit.sync="listQuery.limit" @pagination="getList" />
</div> </div>