Commit a39dbdc6 authored by 李苏's avatar 李苏 💬

涉及gsid 删掉

parent e120b942
......@@ -711,6 +711,7 @@
initFxgk() {
let params = {}
params[this.menusItems[this.active]['type']] = this.menusItems[this.active]['id']
Object.keys(params).includes('gsId')&&(delete params.gsId)
this.$post('aqgl/homepage/fxgk', params).then(res => {
this.fxgkList = res.data.records || []
})
......@@ -720,6 +721,7 @@
initAqts() {
let params = {}
params[this.menusItems[this.active]['type']] = this.menusItems[this.active]['id']
Object.keys(params).includes('gsId')&&(delete params.gsId)
this.$post('aqgl/homepage/aqts', params).then(res => {
this.aqts = res.data.records || 0
})
......@@ -731,6 +733,7 @@
initEyjgl() {
let params = {}
params[this.menusItems[this.active]['type']] = this.menusItems[this.active]['id']
Object.keys(params).includes('gsId')&&(delete params.gsId)
this.$post('aqgl/homepage/yjgl', params).then(res => {
let records = res.data.records
let KeyList = Object.keys(records)
......@@ -744,6 +747,7 @@
initEaqpx() {
let params = {}
params[this.menusItems[this.active]['type']] = this.menusItems[this.active]['id']
Object.keys(params).includes('gsId')&&(delete params.gsId)
this.$post('aqgl/homepage/aqpx', params).then(res => {
let records = res.data.records || []
if (('公司级' in records) == false) {
......@@ -783,6 +787,7 @@
initlzgl() {
let params = {}
params[this.menusItems[this.active]['type']] = this.menusItems[this.active]['id']
Object.keys(params).includes('gsId')&&(delete params.gsId)
this.$post('aqgl/homepage/lzgl', params).then(res => {
let records = _.cloneDeep(res.data.records || [])
let keyList = Object.keys(records)
......@@ -979,6 +984,7 @@
inityhpc() {
let params = {}
params[this.menusItems[this.active]['type']] = this.menusItems[this.active]['id']
Object.keys(params).includes('gsId')&&(delete params.gsId)
this.$post('aqgl/homepage/yhpc', params).then(res => {
let records = res.data.records
let xData = ['人员违章', '设备设施', '环境影响', '管理缺陷']
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment