Merge branch 'hyx_2024-10-30_new' into pet

hyx_2024-11-12_newInspect
huangyuxuan 2024-10-31 15:23:37 +08:00
commit 9e8fbe60a2
8 changed files with 16 additions and 15 deletions

View File

@ -59,9 +59,7 @@
<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 v-show="add" 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>
-->
</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>
@ -370,7 +368,7 @@ export default {
type: 'warning' type: 'warning'
}).then(() => { }).then(() => {
this.listLoading = false this.listLoading = false
window.location.href = config.httpurl + 'riskunit/excelModel' window.location.href = config.httpurl + '/riskunit/excelModel'
}).catch(() => { }).catch(() => {
this.listLoading = false this.listLoading = false
}) })

View File

@ -76,14 +76,14 @@
</el-table-column> </el-table-column>
<el-table-column label="操作" align="left" width="200"> <el-table-column label="操作" align="left" width="200">
<template slot-scope="{row}"> <template slot-scope="{row}">
<el-button type="primary" icon="el-icon-edit" size="mini" @click="handleEdit(row.QUALIFICATIONS_ID)"></el-button> <el-button v-if="edit" type="primary" icon="el-icon-edit" size="mini" @click="handleEdit(row.QUALIFICATIONS_ID)"></el-button>
<el-button type="danger" icon="el-icon-delete" size="mini" @click="handleDelete(row.QUALIFICATIONS_ID)"></el-button> <el-button v-if="del" type="danger" icon="el-icon-delete" size="mini" @click="handleDelete(row.QUALIFICATIONS_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 type="primary" icon="el-icon-plus" @click="handleAdd"></el-button> <el-button v-if="add" 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 v-show="del" 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" />

View File

@ -163,7 +163,7 @@ export default {
type: 'warning' type: 'warning'
}).then(() => { }).then(() => {
this.listLoading = false this.listLoading = false
window.location.href = config.httpurl + 'riskpoint/excelModel' window.location.href = config.httpurl + '/riskpoint/excelModel'
}).catch(() => { }).catch(() => {
this.listLoading = false this.listLoading = false
}) })

View File

@ -173,6 +173,9 @@ export default {
KEYWORDS: '', KEYWORDS: '',
FIRE_POINT_NAME: '', FIRE_POINT_NAME: '',
FIRE_POINT_CODE: '', FIRE_POINT_CODE: '',
selectForm: {
DEPARTMENT_ID: ''
},
// //
filterText: '', filterText: '',
varList: [], varList: [],

View File

@ -644,7 +644,7 @@ export default {
data += '&ENDTIME=' + _this.condform.creatTime[1] data += '&ENDTIME=' + _this.condform.creatTime[1]
data += '&sessionID=' + ssionID data += '&sessionID=' + ssionID
data += '&tm=' + new Date().getTime() data += '&tm=' + new Date().getTime()
window.location.href = config.httpurl + 'hiddenExcel/excel2' + data window.location.href = config.httpurl + '/hiddenExcel/excel2' + data
var timingTask = setInterval(function() { var timingTask = setInterval(function() {
requestFN( requestFN(

View File

@ -468,7 +468,7 @@ export default {
type: 'warning' type: 'warning'
}).then(() => { }).then(() => {
this.listLoading = false this.listLoading = false
window.location.href = config.httpurl + 'identificationparts/excel' window.location.href = config.httpurl + '/identificationparts/excel'
}).catch(() => { }).catch(() => {
this.listLoading = false this.listLoading = false
}) })
@ -505,7 +505,7 @@ export default {
type: 'warning' type: 'warning'
}).then(() => { }).then(() => {
this.listLoading = false this.listLoading = false
window.location.href = config.httpurl + 'identificationparts/excelModel' window.location.href = config.httpurl + '/identificationparts/excelModel'
}).catch(() => { }).catch(() => {
this.listLoading = false this.listLoading = false
}) })

View File

@ -493,7 +493,7 @@ export default {
type: 'warning' type: 'warning'
}).then(() => { }).then(() => {
this.listLoading = false this.listLoading = false
window.location.href = config.httpurl + 'riskpoint/excel' window.location.href = config.httpurl + '/riskpoint/excel'
}).catch(() => { }).catch(() => {
this.listLoading = false this.listLoading = false
}) })
@ -517,7 +517,7 @@ export default {
type: 'warning' type: 'warning'
}).then(() => { }).then(() => {
this.listLoading = false this.listLoading = false
window.open(this.config.httpurl + 'riskpoint/excelAll?ids=' + ids) window.open(this.config.httpurl + '/riskpoint/excelAll?ids=' + ids)
}).catch(() => { }).catch(() => {
this.listLoading = false this.listLoading = false
}) })
@ -530,7 +530,7 @@ export default {
type: 'warning' type: 'warning'
}).then(() => { }).then(() => {
this.listLoading = false this.listLoading = false
window.location.href = config.httpurl + 'riskpoint/excelModel' window.location.href = config.httpurl + '/riskpoint/excelModel'
}).catch(() => { }).catch(() => {
this.listLoading = false this.listLoading = false
}) })

View File

@ -379,7 +379,7 @@ export default {
type: 'warning' type: 'warning'
}).then(() => { }).then(() => {
this.listLoading = false this.listLoading = false
window.location.href = config.httpurl + 'riskunit/excelModel' window.location.href = config.httpurl + '/riskunit/excelModel'
}).catch(() => { }).catch(() => {
this.listLoading = false this.listLoading = false
}) })