|
@@ -2,6 +2,7 @@
|
|
|
<div class="app-container">
|
|
|
<el-row :gutter="20">
|
|
|
<el-col :span="4" :xs="24">
|
|
|
+ <QueryThisLevel :initLevel="isBj" :active="1" :inactive="0" @changeLevel="changSwitch"></QueryThisLevel>
|
|
|
<span class="sxzd">行政区划</span>
|
|
|
<dept-tree ref="tree" :userId="user.userData.dept.parentId" @handleNodeClick="handleNodeClick">
|
|
|
|
|
@@ -10,37 +11,37 @@
|
|
|
<el-col :span="20" :xs="24">
|
|
|
<el-tabs v-model="activeName" @tab-click="handleClick" stretch>
|
|
|
<el-tab-pane label="消防检查" name="first" v-hasPermi="['search:xfaqzcxx:list']">
|
|
|
- <xfaqjcxx ref="first" :isComponent="false" :xzqhId="xzqhId" :isXzqh="false" @changXzqh="changXzqh"></xfaqjcxx>
|
|
|
+ <xfaqjcxx ref="first" :isComponent="false" :isBj="isBj" :xzqhId="xzqhId" :isXzqh="false" @changXzqh="changXzqh"></xfaqjcxx>
|
|
|
</el-tab-pane>
|
|
|
<el-tab-pane label="机构消防自查" name="second" v-hasPermi="['search:xfaqzcxx:list']">
|
|
|
- <xfaqjcxx ref="second" :isComponent="false" :isZc="true" :xzqhId="xzqhId" :isXzqh="false" @changXzqh="changXzqh"></xfaqjcxx>
|
|
|
+ <xfaqjcxx ref="second" :isComponent="false" :isZc="true" :isBj="isBj" :xzqhId="xzqhId" :isXzqh="false" @changXzqh="changXzqh"></xfaqjcxx>
|
|
|
</el-tab-pane>
|
|
|
<el-tab-pane label="其他安全检查" name="third" v-hasPermi="['search:qtaqzc:list']">
|
|
|
- <qtaqjc ref="third" :isComponent="false" :xzqhId="xzqhId" :isXzqh="false" @changXzqh="changXzqh"></qtaqjc>
|
|
|
+ <qtaqjc ref="third" :isComponent="false" :isBj="isBj" :xzqhId="xzqhId" :isXzqh="false" @changXzqh="changXzqh"></qtaqjc>
|
|
|
</el-tab-pane>
|
|
|
<el-tab-pane label="其他安全自查" name="fourth" v-hasPermi="['search:qtaqzc:list']">
|
|
|
- <qtaqjc ref="fourth" :isComponent="false" :isZc="true" :xzqhId="xzqhId" :isXzqh="false" @changXzqh="changXzqh"></qtaqjc>
|
|
|
+ <qtaqjc ref="fourth" :isComponent="false" :isZc="true" :isBj="isBj" :xzqhId="xzqhId" :isXzqh="false" @changXzqh="changXzqh"></qtaqjc>
|
|
|
</el-tab-pane>
|
|
|
<el-tab-pane label="投诉意见" name="fifth" v-hasPermi="['search:zhjgtsjb:list']">
|
|
|
- <zhjgtsjb ref="fifth" :isComponent="false" :xzqhId="xzqhId" :isXzqh="false" @changXzqh="changXzqh"></zhjgtsjb>
|
|
|
+ <zhjgtsjb ref="fifth" :isComponent="false" :isBj="isBj" :xzqhId="xzqhId" :isXzqh="false" @changXzqh="changXzqh"></zhjgtsjb>
|
|
|
</el-tab-pane>
|
|
|
<el-tab-pane label="标准实施情况" name="sixth" v-hasPermi="['search:bzssqk:list']">
|
|
|
- <bzssqk ref="sixth" :isComponent="false" :xzqhId="xzqhId" :isXzqh="false" @changXzqh="changXzqh"></bzssqk>
|
|
|
+ <bzssqk ref="sixth" :isComponent="false" :isBj="isBj" :xzqhId="xzqhId" :isXzqh="false" @changXzqh="changXzqh"></bzssqk>
|
|
|
</el-tab-pane>
|
|
|
<el-tab-pane label="行政处罚" name="seventh" v-hasPermi="['search:zhjgxzcf:list']">
|
|
|
- <zhjgxzcf ref="seventh" :isComponent="false" :xzqhId="xzqhId" :isXzqh="false" @changXzqh="changXzqh"></zhjgxzcf>
|
|
|
+ <zhjgxzcf ref="seventh" :isComponent="false" :isBj="isBj" :xzqhId="xzqhId" :isXzqh="false" @changXzqh="changXzqh"></zhjgxzcf>
|
|
|
</el-tab-pane>
|
|
|
<el-tab-pane label="捐赠记录" name="eighth" v-hasPermi="['search:jzxx:list']">
|
|
|
- <jzxx ref="eighth" :isComponent="false" :xzqhId="xzqhId" :isXzqh="false" @changXzqh="changXzqh"></jzxx>
|
|
|
+ <jzxx ref="eighth" :isComponent="false" :isBj="isBj" :xzqhId="xzqhId" :isXzqh="false" @changXzqh="changXzqh"></jzxx>
|
|
|
</el-tab-pane>
|
|
|
<el-tab-pane label="应急预案" name="ninth" v-hasPermi="['search:yjya:list']">
|
|
|
- <yjya ref="ninth" :isComponent="false" :xzqhId="xzqhId" :isXzqh="false" @changXzqh="changXzqh"></yjya>
|
|
|
+ <yjya ref="ninth" :isComponent="false" :isBj="isBj" :xzqhId="xzqhId" :isXzqh="false" @changXzqh="changXzqh"></yjya>
|
|
|
</el-tab-pane>
|
|
|
<el-tab-pane label="责任保险" name="tenth" v-hasPermi="['search:zrbxxx:list']">
|
|
|
- <zrbxxx ref="tenth" :isComponent="false" :xzqhId="xzqhId" :isXzqh="false" @changXzqh="changXzqh"></zrbxxx>
|
|
|
+ <zrbxxx ref="tenth" :isComponent="false" :isBj="isBj" :xzqhId="xzqhId" :isXzqh="false" @changXzqh="changXzqh"></zrbxxx>
|
|
|
</el-tab-pane>
|
|
|
<el-tab-pane label="重大事件" name="eleventh" v-hasPermi="['search:zdsj:list']">
|
|
|
- <zdsj ref="eleventh" :isComponent="false" :xzqhId="xzqhId" :isXzqh="false" @changXzqh="changXzqh"></zdsj>
|
|
|
+ <zdsj ref="eleventh" :isComponent="false" :isBj="isBj" :xzqhId="xzqhId" :isXzqh="false" @changXzqh="changXzqh"></zdsj>
|
|
|
</el-tab-pane>
|
|
|
</el-tabs>
|
|
|
</el-col>
|
|
@@ -76,7 +77,8 @@ export default {
|
|
|
data() {
|
|
|
return {
|
|
|
activeName:'first',
|
|
|
- xzqhId:null
|
|
|
+ xzqhId:null,
|
|
|
+ isBj:'0',
|
|
|
};
|
|
|
},
|
|
|
created() {
|
|
@@ -85,6 +87,9 @@ export default {
|
|
|
...mapState(['user']),
|
|
|
},
|
|
|
methods: {
|
|
|
+ changSwitch(value){
|
|
|
+ this.isBj = value
|
|
|
+ },
|
|
|
handleNodeClick(data) {
|
|
|
this.xzqhId = data.code
|
|
|
},
|