Commit 4ac12062 authored by xiexingan's avatar xiexingan

tj

parent 2d95fe57
......@@ -139,7 +139,7 @@ export default {
name: 'app',
provide() {
return {
reload: this.reload,
reload: this.reload
}
},
data() {
......@@ -153,7 +153,7 @@ export default {
tipList: [],
showList: [],
src: window.CONFIG.bimPath,
takeoverInfo: '',
takeoverInfo: ''
}
},
watch: {
......@@ -165,12 +165,12 @@ export default {
} else {
this.dialogVisible = false
}
},
}
},
computed: {
takeover() {
return this.$store.state.d2admin.takeover.takeover
},
}
},
mounted() {
//let token = util.cookies.get('token')
......@@ -484,7 +484,7 @@ export default {
this.$http({
url: this.$http.adornUrl('/sysStationTakeover/agree'),
method: 'post',
data: item,
data: item
}).then((data) => {
if (data && data.code === 0) {
// this.$message.success('操作成功')
......@@ -502,7 +502,7 @@ export default {
this.$http({
url: this.$http.adornUrl('/sysStationTakeover/agree'),
method: 'post',
data: item,
data: item
}).then((data) => {
if (data && data.code === 0) {
// this.$message.success('操作成功')
......@@ -538,8 +538,8 @@ export default {
method: 'post',
params: this.$http.adornParams({
status: 1,
stationId: localStorage.getItem('stationId'),
}),
stationId: localStorage.getItem('stationId')
})
}).then((data) => {
if (data && data.code === 0) {
this.tipList = data.list
......@@ -597,26 +597,26 @@ export default {
var ruleForm = {
id: id,
status: status,
beSend: true,
beSend: true
}
this.$http({
url: this.$http.adornUrlAlarm(`/alarmsInfo/update`),
method: 'post',
data: ruleForm,
data: ruleForm
}).then((data) => {
if (data && data.code === 0) {
this.$message({
message: '操作成功',
type: 'success',
duration: 1500,
duration: 1500
})
this.$store.dispatch('d2admin/toast/set', this.tipList.length)
} else {
this.$message.error(data.msg)
}
})
},
},
}
}
}
</script>
<style lang="scss">
......@@ -683,7 +683,6 @@ export default {
.resource-container {
.ol-overviewmap {
left: 89%;
button {
display: none;
}
......
......@@ -426,6 +426,8 @@ export default {
color: #0179C1;
}
.scope{
font-size: 13px;
color: #5E5D5D;
}
}
......
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