西海岸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"
@ -237,98 +230,98 @@ import Cookies from 'js-cookie'
import qs from 'qs' import qs from 'qs'
export default { export default {
data() { data () {
return { return {
exportExcelCondition:'', exportExcelCondition: '',
token: Cookies.get('ucsToken'), token: Cookies.get('ucsToken'),
// //
exportExcel: CONFIGITEM.configData[CONFIGITEM.version].apiURL + '/processForm/tabilityapplication/exportFundStatementTable', exportExcel: CONFIGITEM.configData[CONFIGITEM.version].apiURL + '/processForm/tabilityapplication/exportFundStatementTable',
saveMoney: 0.0, saveMoney: 0.0,
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) {
this.currentPage = val;
this.init();
}, },
resetDataList() { handleCurrentChange (val) {
this.dateList = []; this.currentPage = val
this.dataForm.startDate = ""; this.init()
this.dataForm.endDate = "";
this.dataForm.resourceType = "";
this.dataForm.resourceName = "";
this.dataForm.applyDept = "";
this.dataForm.provideDept = "";
this.dataForm.applyResult="";
this.currentPage = 1;
this.init();
}, },
resetDataList () {
this.dateList = []
this.dataForm.startDate = ''
this.dataForm.endDate = ''
this.dataForm.resourceType = ''
this.dataForm.resourceName = ''
this.dataForm.applyDept = ''
this.dataForm.provideDept = ''
this.dataForm.applyResult = ''
this.currentPage = 1
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'
@ -10,161 +10,162 @@ import axios from 'axios'
import store from '@/store' import store from '@/store'
const config = { const config = {
headers: { headers: {
token: store.getters['user/accessToken'], token: store.getters['user/accessToken'],
'Content-Type': 'multipart/form-data', 'Content-Type': 'multipart/form-data',
}, },
} }
const config2 = { const config2 = {
headers: { headers: {
'Content-Type': 'application/json; charset-utf-8', 'Content-Type': 'application/json; charset-utf-8',
}, },
} }
export function getDevelopmentFile(params) { export function getDevelopmentFile(params) {
return request({ return request({
url: '/developmentGuide/getDevelopmentFile', url: '/developmentGuide/getDevelopmentFile',
method: 'get', method: 'get',
params, params,
}) })
} }
export function updateDevelopmentFile(params) { export function updateDevelopmentFile(params) {
return axios.post( return axios.post(
window.SITE_CONFIG.apiURL + '/developmentGuide/uploadDevelopmentFile', window.SITE_CONFIG.apiURL + '/developmentGuide/uploadDevelopmentFile',
params, params,
config config
) )
} }
export function test() { export function test() {
return axios.post( return axios.post(
'http://15.72.158.81/zyjk/ZywMessage.asmx/ZywMessagePort', 'http://15.72.158.81/zyjk/ZywMessage.asmx/ZywMessagePort',
config2 config2
) )
} }
export function correct(params) { export function correct(params) {
return axios.post('http://15.72.183.90:7008/correct', params, config2) return axios.post('http://15.72.183.90:7008/correct', params, config2)
} }
export function paddleocr(params) { export function paddleocr(params) {
return axios.post('http://15.72.183.90:7008/paddleocr', params, config2) return axios.post('http://15.72.183.90:7008/paddleocr', params, config2)
} }
// //
export function algo(params) { export function algo(params) {
return axios.post('http://15.72.184.10:8888/api/algo', params, config2) return axios.post('http://15.72.184.10:8888/api/algo', params, config2)
} }
// - // -
export function count() { export function count() {
return axios.post( return axios.post(
'http://10.134.135.24:30058/share-portal/platform/index/abilityMarket/count', 'http://10.134.135.24:30058/share-portal/platform/index/abilityMarket/count',
config2 config2
) )
} }
export function getVideoList(params) { export function getVideoList(params) {
return axios.get( return axios.get(
'http://10.134.135.9:8001/hx-weather-warning/camera/getCameraListByName?name=' + 'http://10.134.135.9:8001/hx-weather-warning/camera/getCameraListByName?name=' +
params.name + params.name +
'&pageNo=' + '&pageNo=' +
params.pageNo + params.pageNo +
'&pageSize=' + '&pageSize=' +
params.pageSize, params.pageSize,
config2 config2
) )
} }
// -- // --
export function getRecord(params) { export function getRecord(params) {
return axios.get( return axios.get(
'http://10.134.135.24:30090/api/share-portal/platform/catalogue/query?serviceName=' + 'http://10.134.135.24:30090/api/share-portal/platform/catalogue/query?serviceName=' +
params.serviceName + params.serviceName +
'&orderField=' + '&orderField=' +
params.orderField + params.orderField +
'&orderType=' + '&orderType=' +
params.orderType + params.orderType +
'&pageNum=' + '&pageNum=' +
params.pageNum + params.pageNum +
'&pageSize=' + '&pageSize=' +
params.pageSize + params.pageSize +
'&serviceType=' + '&serviceType=' +
params.serviceType, params.serviceType,
config2 config2
) )
} }
export function getHls(params) { export function getHls(params) {
return axios.get( return axios.get(
'http://10.134.135.9:8001/hx-weather-warning/camera/getCameraLiveStreamByCode?cameraCode=' + 'http://10.134.135.9:8001/hx-weather-warning/camera/getCameraLiveStreamByCode?cameraCode=' +
params.cameraId + params.cameraId +
'&protocol=' + '&protocol=' +
params.protocol, params.protocol,
config2 config2
) )
} }
// 西 POI // 西 POI
export function getListForPOI(params) { export function getListForPOI(params) {
return axios.get( return axios.get(
'http://10.134.135.3:21009/service/lbs/coder/geocoding2?appKey=675d95594136456bb7b1434dda31953f&city=青岛&keywords=' + 'http://10.134.135.3:21009/service/lbs/coder/geocoding2?appKey=675d95594136456bb7b1434dda31953f&city=青岛&keywords=' +
params.keywords, params.keywords,
config2 config2
) )
} }
//西 //西
export function getPlaceType() { export function getPlaceType() {
return axios.get( return axios.get(
`http://${_cameraUrl}/data_service/placeTypes/getPlaceType`, `http://${_cameraUrl}/data_service/placeTypes/getPlaceType`,
config2 config2
) )
} }
//西 //西
export function CameraConditionPlaceType(params) { export function CameraConditionPlaceType(params) {
return axios.post( return axios.post(
`http://${_cameraUrl}/data_service/getCamera/CameraConditionPlaceType'`, `http://${_cameraUrl}/data_service/getCamera/CameraConditionPlaceType'`,
params, params,
config2 config2
) )
} }
// 西wss // 西wss
export function getCameraLiveStream(params) { export function getCameraLiveStream(params) {
return axios.get( return axios.get(
`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' +
config2 '&transmode=1&streamType=1',
) config2
)
} }
// 西-- (10.134.135.92:9537) // 西-- (10.134.135.92:9537)
let _cameraUrl = let _cameraUrl =
(_global && (_global &&
_global.config && _global.config &&
_global.config.camreaInfo && _global.config.camreaInfo &&
_global.config.camreaInfo.cameraUrl) || _global.config.camreaInfo.cameraUrl) ||
'10.134.135.92:9537' '10.134.135.92:9537'
//- //-
export function getCameraInfoByAreaId(params) { export function getCameraInfoByAreaId(params) {
return axios.get( return axios.get(
`http://${_cameraUrl}/data_service/getCamera/getCameraInfoByAreaId?areaId=${params.areaId}`, `http://${_cameraUrl}/data_service/getCamera/getCameraInfoByAreaId?areaId=${params.areaId}`,
config2 config2
) )
} }
//- //-
export function getCameraByCondition(params) { export function getCameraByCondition(params) {
return axios.post( return axios.post(
`http://${_cameraUrl}/data_service/getCamera/getCameraByCondition`, `http://${_cameraUrl}/data_service/getCamera/getCameraByCondition`,
params, params,
config2 config2
) )
} }
export function initiateMeet(data) { export function initiateMeet(data) {
// return request({ // return request({
// url: '/enke/initiateMeet', // url: '/enke/initiateMeet',
// method: 'post', // method: 'post',
// data: data, // data: data,
// }) // })
return axios.post( return axios.post(
'http://10.134.135.92:8888/renren-admin/enke/initiateMeet', 'http://10.134.135.92:8888/renren-admin/enke/initiateMeet',
data, data,
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',
}) })
} }