西海岸bug修复

This commit is contained in:
wuhongjian 2022-11-24 16:11:34 +08:00
parent 704cfb08dd
commit a7998206f2
5 changed files with 192 additions and 199 deletions

View File

@ -1,7 +1,7 @@
<!-- <!--
* @Author: hisense.guoyue * @Author: hisense.guoyue
* @LastEditors: hisense.guoyue * @LastEditors: hisense.wuhongjian
* @LastEditTime: 2022-09-27 14:23:29 * @LastEditTime: 2022-11-24 10:07:57
* @Description: 资金报表 * @Description: 资金报表
--> -->
<template> <template>
@ -94,13 +94,8 @@
</el-select> </el-select>
</el-form-item> </el-form-item>
</el-form> </el-form>
<el-form :inline="true"> <el-form :inline="true">
<!--资源类型--> <!--资源类型-->
<el-form-item> <el-form-item>
@ -160,8 +155,6 @@
</el-form> </el-form>
<div class="mod-activiti__process"> <div class="mod-activiti__process">
<el-table <el-table
:data="tableData" :data="tableData"
@ -247,88 +240,88 @@ export default {
offerDepartSelects: [], offerDepartSelects: [],
applyDepartSelects: [], applyDepartSelects: [],
typeOptions: [ typeOptions: [
{ name: "智能算法", value: 1 }, { name: '智能算法', value: 1 },
{ name: "图层服务", value: 2 }, { name: '图层服务', value: 2 },
{ name: "开发组件", value: 3 }, { name: '开发组件', value: 3 },
{ name: "业务组件", value: 4 }, { name: '业务组件', value: 4 },
{ name: "应用资源", value: 5 }, { name: '应用资源', value: 5 },
{ name: "会客厅", value: 6 }, { name: '会客厅', value: 6 }
], // ], //
tableData: [], tableData: [],
dateList: [], // dateList: [], //
dataForm: { dataForm: {
// date: '', // date: '',
startDate: "", startDate: '',
endDate: "", endDate: '',
provideDept: "", provideDept: '',
applyDept: "", applyDept: '',
resourceType: "", resourceType: '',
resourceName: "", resourceName: '',
applyResult:"通过", applyResult: '通过',
pageNum: 1, pageNum: 1,
pageSize:10, pageSize: 10
}, },
currentPage: 1, currentPage: 1,
pageSize: 10, pageSize: 10,
total: 0, total: 0
}; }
}, },
methods: { methods: {
init () { init () {
if (this.dateList && this.dateList.length > 0) { if (this.dateList && this.dateList.length > 0) {
this.dataForm.startDate = this.dateList[0]; this.dataForm.startDate = this.dateList[0]
this.dataForm.endDate = this.dateList[1]; this.dataForm.endDate = this.dateList[1]
} else { } else {
this.dataForm.startDate = ""; this.dataForm.startDate = ''
this.dataForm.endDate = ""; this.dataForm.endDate = ''
} }
this.dataForm.pageNum = this.currentPage this.dataForm.pageNum = this.currentPage
let params = this.dataForm; const params = this.dataForm
this.$http this.$http
.get("/processForm/tabilityapplication/getFundStatement/", { .get('/processForm/tabilityapplication/getFundStatement/', {
params, params
}) })
.then((res) => { .then((res) => {
this.tableData = res.data.data.list; this.tableData = res.data.data.list
let price=Number(res.data.data.totalPrice); let price = Number(res.data.data.totalPrice)
price=price/ 10000; price = price / 10000
this.saveMoney = price.toFixed(1) this.saveMoney = price.toFixed(1)
this.total=Number(res.data.data.total); this.total = Number(res.data.data.total)
this.exportExcelCondition = qs.stringify(this.dataForm) this.exportExcelCondition = qs.stringify(this.dataForm)
}) })
}, },
handleCurrentChange (val) { handleCurrentChange (val) {
this.currentPage = val; this.currentPage = val
this.init(); this.init()
}, },
resetDataList () { resetDataList () {
this.dateList = []; this.dateList = []
this.dataForm.startDate = ""; this.dataForm.startDate = ''
this.dataForm.endDate = ""; this.dataForm.endDate = ''
this.dataForm.resourceType = ""; this.dataForm.resourceType = ''
this.dataForm.resourceName = ""; this.dataForm.resourceName = ''
this.dataForm.applyDept = ""; this.dataForm.applyDept = ''
this.dataForm.provideDept = ""; this.dataForm.provideDept = ''
this.dataForm.applyResult=""; this.dataForm.applyResult = ''
this.currentPage = 1; this.currentPage = 1
this.init(); this.init()
}, }
}, },
mounted () { mounted () {
this.init(); this.init()
}, },
created () { created () {
this.$http.get("/sys/dept/all").then((res) => { this.$http.get('/sys/dept/all').then((res) => {
this.applyDepartSelects = []; this.applyDepartSelects = []
this.offerDepartSelects = []; this.offerDepartSelects = []
res.data.data.map((val) => { res.data.data.map((val) => {
this.applyDepartSelects.push({ label: val.name, value: val.name }); this.applyDepartSelects.push({ label: val.name, value: val.name })
this.offerDepartSelects.push({ label: val.name, value: val.id }); this.offerDepartSelects.push({ label: val.name, value: val.id })
}); })
}); })
}, }
}; }
</script> </script>
<style scoped> <style scoped>
.demand-text { .demand-text {
@ -365,4 +358,3 @@ export default {
color: #fff; color: #fff;
} }
</style> </style>

View File

@ -2,7 +2,7 @@
* @Author: hisense.wuhongjian * @Author: hisense.wuhongjian
* @Date: 2020-07-07 16:03:23 * @Date: 2020-07-07 16:03:23
* @LastEditors: hisense.wuhongjian * @LastEditors: hisense.wuhongjian
* @LastEditTime: 2022-11-22 14:37:59 * @LastEditTime: 2022-11-24 15:54:56
* @Description: 系统静态参数配置 * @Description: 系统静态参数配置
*/ */
var _global = {} var _global = {}
@ -68,8 +68,8 @@ var CONFIGITEM = {
cameraUrl: '192.168.124.236:9537', // vpn cameraUrl: '192.168.124.236:9537', // vpn
}, },
backUrl: 'http://10.134.135.9:9797', backUrl: 'http://10.134.135.9:9797',
// apiURL: 'http://10.134.135.92:8888/renren-admin', apiURL: 'http://10.134.135.92:8888/renren-admin',
apiURL: 'http://192.168.124.233:8888/ucs-admin', // apiURL: 'http://192.168.124.233:8888/ucs-admin',
previewUrl: 'http://10.134.135.9:9796/', previewUrl: 'http://10.134.135.9:9796/',
// websocketURL: '10.134.135.9:8888/ucs-admin', // // websocketURL: '10.134.135.9:8888/ucs-admin', //
// websocketURL: '10.134.135.92:8888/ucs-admin', // // websocketURL: '10.134.135.92:8888/ucs-admin', //

View File

@ -2,7 +2,7 @@
* @Author: hisense.wuhongjian * @Author: hisense.wuhongjian
* @Date: 2020-07-07 16:03:23 * @Date: 2020-07-07 16:03:23
* @LastEditors: hisense.wuhongjian * @LastEditors: hisense.wuhongjian
* @LastEditTime: 2022-11-21 20:41:44 * @LastEditTime: 2022-11-24 16:01:04
* @Description: 地图静态参数配置 * @Description: 地图静态参数配置
*/ */
var _mapConfig = {} var _mapConfig = {}
@ -19,10 +19,10 @@ var _mapConfig = {}
base: 'xihaian', base: 'xihaian',
CURRENT_MAP_OPTIONS: { CURRENT_MAP_OPTIONS: {
// crs: CRS_4490, // crs: CRS_4490,
center: [36.17, 120.13], center: [36.017043, 119.922772],
maxZoom: 17, maxZoom: 17,
minZoom: 0, minZoom: 0,
zoom: 5, zoom: 10,
}, },
}, },
qingdao: { qingdao: {

View File

@ -1,8 +1,8 @@
/* /*
* @Author: hisense.wuhongjian * @Author: hisense.wuhongjian
* @Date: 2022-04-20 17:16:35 * @Date: 2022-04-20 17:16:35
* @LastEditors: Light * @LastEditors: hisense.wuhongjian
* @LastEditTime: 2022-11-21 10:51:25 * @LastEditTime: 2022-11-24 14:32:50
* @Description: 告诉大家这是什么 * @Description: 告诉大家这是什么
*/ */
import request from '@/utils/request' import request from '@/utils/request'
@ -129,7 +129,8 @@ export function getCameraLiveStream(params) {
`http://${_cameraUrl}/data_service/getCamera/getCameraLiveStream?cameraIndexCode=` + `http://${_cameraUrl}/data_service/getCamera/getCameraLiveStream?cameraIndexCode=` +
params.channelId + params.channelId +
'&protocol=' + '&protocol=' +
'wss' + '&transmode=1&streamType=1', 'wss' +
'&transmode=1&streamType=1',
config2 config2
) )
} }

View File

@ -32,8 +32,8 @@
</el-autocomplete> --> </el-autocomplete> -->
<!-- 第二版 --> <!-- 第二版 -->
<el-select class="input-with-select" v-model="addressType" style="width: 115px" @change="address=''"> <el-select class="input-with-select" v-model="addressType" style="width: 115px" @change="address=''">
<el-option label="兴趣点" value="1" /> <el-option label="地点名称" value="1" />
<el-option label="点位" value="2" /> <el-option label="监控名称" value="2" />
</el-select> </el-select>
<el-autocomplete <el-autocomplete
v-if="addressType==1" v-if="addressType==1"
@ -260,7 +260,7 @@ import { ElMessage } from 'element-plus'
}else{ }else{
ElMessage({ ElMessage({
showClose: true, showClose: true,
message: '未查询到兴趣点!', message: '未查询到相关地点!',
type: 'warning', type: 'warning',
}) })
} }