资源监测页面

dev
zc 3 years ago
parent 1ce2f1b693
commit d748aef04b
  1. 43
      cjy-project/src/main/resources/mapper/emergencyInfo/EmergencyInfoMapper.xml
  2. 11
      cjy-project/src/main/resources/mapper/guideInfo/GuideInfoMapper.xml
  3. 2
      cjy-project/src/main/resources/mapper/publicserviceInfo/PublicserviceInfoMapper.xml
  4. 2
      cjy-project/src/main/resources/mapper/touristInfo/TouristInfoMapper.xml
  5. 11
      ruoyi-common/src/main/java/com/ruoyi/common/core/domain/entity/SysUser.java
  6. 4
      ruoyi-system/src/main/resources/mapper/system/SysUserMapper.xml
  7. 63
      ruoyi-ui/src/views/picture/resource-monitoring/dialog-module/emergency-list.vue
  8. 78
      ruoyi-ui/src/views/picture/resource-monitoring/dialog-module/guide-list.vue
  9. 64
      ruoyi-ui/src/views/picture/resource-monitoring/dialog-module/tourist-list.vue
  10. 8
      ruoyi-ui/src/views/picture/resource-monitoring/dialog-module/worker-list.vue
  11. 10
      ruoyi-ui/src/views/picture/resource-monitoring/resoure-dialog.vue

@ -76,30 +76,35 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
</sql> </sql>
<select id="selectEmergencyInfoList" parameterType="EmergencyInfo" resultMap="MapResult"> <select id="selectEmergencyInfoList" parameterType="EmergencyInfo" resultMap="MapResult">
select t1.id,t1.type,t1.resource_code as resourceCode,t1.resource_name as resourceName,t1.contacts,t1.telephone,t2.address,t3.cover_img as coverImg,t1.inside_area as insideArea select t1.id,t1.type,t1.resource_code as resourceCode,t1.resource_name as resourceName,t1.contacts,t1.telephone,t2.address,t2.lon,t2.lat,t3.cover_img as coverImg,t1.inside_area as insideArea,CONCAT(t4.region_name,t5.region_name,t6.region_name) as region
from b_emergency_info as t1 from b_emergency_info as t1
left join b_geography_info as t2 on t1.resource_code = t2.resource_code left join b_geography_info as t2 on t1.resource_code = t2.resource_code
left join b_graphic_info as t3 on t1.resource_code = t3.resource_code left join b_graphic_info as t3 on t1.resource_code = t3.resource_code
left join region t4 on t2.province = t4.region_id
left join region t5 on t2.city = t5.region_id
left join region t6 on t2.county = t6.region_id
<where> <where>
<if test="type != null and type != ''"> and t1.type = #{type}</if> <if test="type != null and type != ''"> and t1.type = #{type}</if>
<if test="searchType == 'resourceCode'"> <if test="keywords != null and keywords != ''">
and t1.resource_code like concat('%', #{keywords}, '%') <if test="searchType == 'resourceCode'">
</if> and t1.resource_code like concat('%', #{keywords}, '%')
<if test="searchType == 'resourceName'"> </if>
and t1.resource_name like concat('%', #{keywords}, '%') <if test="searchType == 'resourceName'">
</if> and t1.resource_name like concat('%', #{keywords}, '%')
<if test="searchType == 'creditCode'"> </if>
and t1.credit_code like concat('%', #{keywords}, '%') <if test="searchType == 'creditCode'">
</if> and t1.credit_code like concat('%', #{keywords}, '%')
<if test="searchType == 'contacts'"> </if>
and t1.contacts like concat('%', #{keywords}, '%') <if test="searchType == 'contacts'">
</if> and t1.contacts like concat('%', #{keywords}, '%')
<if test="searchType == 'telephone'"> </if>
and t1.telephone like concat('%', #{keywords}, '%') <if test="searchType == 'telephone'">
</if> and t1.telephone like concat('%', #{keywords}, '%')
<if test="searchType == 'outCode'"> </if>
and t1.out_code like concat('%', #{keywords}, '%') <if test="searchType == 'outCode'">
</if> and t1.out_code like concat('%', #{keywords}, '%')
</if>
</if>
<if test="resourceName != null and resourceName != ''"> <if test="resourceName != null and resourceName != ''">
and t1.resource_name like concat('%', #{resourceName}, '%') and t1.resource_name like concat('%', #{resourceName}, '%')
</if> </if>

@ -76,6 +76,17 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
from b_guide_info as t1 from b_guide_info as t1
left join b_graphic_info as t2 on t1.resource_code = t2.resource_code left join b_graphic_info as t2 on t1.resource_code = t2.resource_code
<where> <where>
<if test="keywords != null and keywords != ''">
<if test="searchType == 'guideName'">
and t1.guide_name like concat('%', #{keywords}, '%')
</if>
<if test="searchType == 'telephone'">
and t1.telephone like concat('%', #{keywords}, '%')
</if>
<if test="searchType == 'cardNumber'">
and t1.card_number like concat('%', #{keywords}, '%')
</if>
</if>
<if test="guideName != null and guideName != ''"> <if test="guideName != null and guideName != ''">
and t1.guide_name like concat('%', #{guideName}, '%') and t1.guide_name like concat('%', #{guideName}, '%')
</if> </if>

@ -100,7 +100,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
</sql> </sql>
<select id="selectPublicserviceInfoList" parameterType="PublicserviceInfo" resultMap="MapResult"> <select id="selectPublicserviceInfoList" parameterType="PublicserviceInfo" resultMap="MapResult">
select t1.id,t1.type,t1.resource_code as resourceCode,t1.resource_name as resourceName,t1.grade,t1.contacts,t1.telephone,t2.address,t3.image_url as imageUrl,t1.inside_area as insideArea,t1.label select t1.id,t1.type,t1.resource_code as resourceCode,t1.resource_name as resourceName,t1.grade,t1.contacts,t1.telephone,t2.address,t2.lon,t2.lat,t3.image_url as imageUrl,t1.inside_area as insideArea,t1.label
from b_public_service_info as t1 from b_public_service_info as t1
left join b_geography_info as t2 on t1.resource_code = t2.resource_code left join b_geography_info as t2 on t1.resource_code = t2.resource_code
left join b_graphic_info as t3 on t1.resource_code = t3.resource_code left join b_graphic_info as t3 on t1.resource_code = t3.resource_code

@ -110,7 +110,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
</sql> </sql>
<select id="selectTouristInfoList" parameterType="TouristInfo" resultMap="MapResult"> <select id="selectTouristInfoList" parameterType="TouristInfo" resultMap="MapResult">
select t1.id,t1.type,CAST(t1.resource_code AS char) as resourceCode,t1.resource_name as resourceName,t1.contacts,t1.telephone,t2.address,t1.inside_area as insideArea select t1.id,t1.type,CAST(t1.resource_code AS char) as resourceCode,t1.resource_name as resourceName,t1.contacts,t1.telephone,t2.address,t2.lon,t2.lat,t1.inside_area as insideArea
from b_tourist_info as t1 from b_tourist_info as t1
left join b_geography_info as t2 on t1.resource_code = t2.resource_code left join b_geography_info as t2 on t1.resource_code = t2.resource_code
left join b_graphic_info as t3 on t1.resource_code = t3.resource_code left join b_graphic_info as t3 on t1.resource_code = t3.resource_code

@ -132,6 +132,9 @@ public class SysUser extends BaseEntity {
* 企业标识号 * 企业标识号
*/ */
private Long organCode; private Long organCode;
/** 前端显示企业名称 */
private String organName;
/** /**
* 用户类型 * 用户类型
*/ */
@ -321,6 +324,14 @@ public class SysUser extends BaseEntity {
this.userType = userType; this.userType = userType;
} }
public String getOrganName() {
return organName;
}
public void setOrganName(String organName) {
this.organName = organName;
}
@Override @Override
public String toString() { public String toString() {
return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE) return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)

@ -24,6 +24,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
<result property="updateTime" column="update_time" /> <result property="updateTime" column="update_time" />
<result property="remark" column="remark" /> <result property="remark" column="remark" />
<result property="organCode" column="organ_code"/> <result property="organCode" column="organ_code"/>
<result property="organName" column="organName"/>
<result property="userType" column="user_type"/> <result property="userType" column="user_type"/>
<association property="dept" column="dept_id" javaType="SysDept" resultMap="deptResult" /> <association property="dept" column="dept_id" javaType="SysDept" resultMap="deptResult" />
<collection property="roles" javaType="java.util.List" resultMap="RoleResult" /> <collection property="roles" javaType="java.util.List" resultMap="RoleResult" />
@ -59,8 +60,9 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
</sql> </sql>
<select id="selectUserList" parameterType="SysUser" resultMap="SysUserResult"> <select id="selectUserList" parameterType="SysUser" resultMap="SysUserResult">
select u.user_id, u.dept_id, u.nick_name, u.user_name, u.email, u.avatar, u.phonenumber, u.sex, u.status, u.del_flag, u.login_ip, u.login_date, u.create_by, u.create_time, u.remark, d.dept_name, d.leader from sys_user u select u.user_id, u.dept_id, u.nick_name, u.user_name, u.email, u.avatar, u.phonenumber, u.sex, u.status, u.del_flag, u.login_ip, u.login_date, u.create_by, u.create_time, u.remark, d.dept_name, d.leader,e.organ_name as organName from sys_user u
left join sys_dept d on u.dept_id = d.dept_id left join sys_dept d on u.dept_id = d.dept_id
left join ti_enterprise_info e on u.organ_code = e.organ_code
where u.del_flag = '0' where u.del_flag = '0'
<if test="userId != null and userId != 0"> <if test="userId != null and userId != 0">
AND u.user_id = #{userId} AND u.user_id = #{userId}

@ -0,0 +1,63 @@
<template>
<!-- 场馆 列表 -->
<div class="p-dialog-box">
<div class="display-flex p-form">
<el-select class="p-select " v-model="filterData.searchType" placeholder="请选择类型">
<el-option label="资源名称" value="resourceName"></el-option>
<el-option label="联系人" value="contacts"></el-option>
<el-option label="联系电话" value="telephone"></el-option>
</el-select>
<div class="p-resource-seek m-l-small">
<el-input v-model="filterData.keywords" placeholder="请输入关键词"></el-input>
</div>
<div @click="getresourceListData" class="p-filter-search-btn m-l-small"><i class="iconfont icon-search"></i></div>
</div>
<el-table class="p-table m-t-small" :data="listData" align="center" show-overflow-tooltip="true" height="450">
<el-table-column :key="1" type="index" label="序号" width="50"></el-table-column>
<el-table-column :key="2" prop="region" label="区域" width="180"></el-table-column>
<el-table-column :key="3" prop="resourceName" label="资源名称" width="180"></el-table-column>
<el-table-column :key="4" prop="contacts" label="联系人"></el-table-column>
<el-table-column :key="5" prop="telephone" label="联系电话"></el-table-column>
</el-table>
<div class="p-pagination">
<el-pagination
:current-page="resourcePage"
:page-size="10"
layout="prev, pager, next, jumper"
:total="total">
</el-pagination>
</div>
</div>
</template>
<script>
import { getBasicList } from "@/api/picture/resource-monitoring/resourceMonitoring";
export default {
name: "emergency-list",
props: ['listData','total','interfacePath','dataType'],
data(){
return{
resourcePage:0,
//
filterData: {
searchType: "",
keywords: "",
type: "",
},
}
},
methods: {
//
getresourceListData() {
this.filterData.type = this.dataType;
getBasicList(this.interfacePath,this.filterData).then(response => {
this.total = response.total;
this.listData = response.rows;
});
},
}
}
</script>
<style scoped lang="scss">
</style>

@ -1,24 +1,76 @@
<template> <template>
<!-- 导游 列表--> <!-- 导游 列表-->
<div class="p-dialog-box"> <div class="p-dialog-box">
<div class="display-flex p-form">
<el-table class="p-table" :data="listData" align="center" show-overflow-tooltip="true" height="450"> <el-select class="p-select " v-model="filterData.searchType" placeholder="请选择类型">
<el-option label="导游姓名" value="guideName"></el-option>
<el-option label="联系电话" value="telephone"></el-option>
<el-option label="导游证号" value="cardNumber"></el-option>
</el-select>
<div class="p-resource-seek m-l-small">
<el-input v-model="filterData.keywords" placeholder="请输入关键词"></el-input>
</div>
<div @click="getresourceListData" class="p-filter-search-btn m-l-small"><i class="iconfont icon-search"></i></div>
</div>
<el-table class="p-table m-t-small" :data="listData" align="center" show-overflow-tooltip="true" height="450">
<el-table-column type="index" label="序号" width="50"></el-table-column> <el-table-column type="index" label="序号" width="50"></el-table-column>
<el-table-column prop="name" label="资源编码" width="180"></el-table-column> <el-table-column prop="resourceCode" label="资源编码" width="180"></el-table-column>
<el-table-column prop="name" label="导游证号"></el-table-column> <el-table-column prop="cardNumber" label="导游证号" width="180"></el-table-column>
<el-table-column prop="name" label="导游姓名"></el-table-column> <el-table-column prop="guideName" label="导游姓名" width="80"></el-table-column>
<el-table-column prop="name" label="性别"></el-table-column> <el-table-column prop="sex" label="性别" min-width="50" show-overflow-tooltip>
<el-table-column prop="name" label="导游等级"></el-table-column> <template slot-scope="scope">
<el-table-column prop="name" label="服务语种"></el-table-column> <dict-tag :options="dict.type.sys_user_sex" :value="scope.row.sex" />
<el-table-column prop="name" label="联系电话"></el-table-column> </template>
</el-table-column>
<el-table-column prop="level" label="导游等级" min-width="50" show-overflow-tooltip>
<template slot-scope="scope">
<dict-tag :options="dict.type.guide_level" :value="scope.row.level"/>
</template>
</el-table-column>
<el-table-column prop="languages" label="服务语种" min-width="50" show-overflow-tooltip>
<template slot-scope="scope">
<dict-tag :options="dict.type.guide_languages" :value="scope.row.languages.split(',')"/>
</template>
</el-table-column>
<el-table-column prop="telephone" label="联系电话"></el-table-column>
</el-table> </el-table>
<div class="p-pagination">
<el-pagination
:current-page="resourcePage"
:page-size="10"
layout="prev, pager, next, jumper"
:total="total">
</el-pagination>
</div>
</div> </div>
</template> </template>
<script>export default { <script>
name: "guide-list", import { getBasicList } from "@/api/picture/resource-monitoring/resourceMonitoring";
props: ['listData'], export default {
} name: "guide-list",
props: ['listData','total','interfacePath','dataType'],
dicts: ['sys_user_sex','guide_level','guide_languages'],
data(){
return{
resourcePage:0,
//
filterData: {
searchType: "",
keywords: "",
},
}
},
methods: {
//
getresourceListData() {
getBasicList(this.interfacePath,this.filterData).then(response => {
this.total = response.total;
this.listData = response.rows;
});
},
}
}
</script> </script>
<style scoped lang="scss"> <style scoped lang="scss">

@ -16,63 +16,57 @@
<el-table-column :key="1" type="index" label="序号" width="50"></el-table-column> <el-table-column :key="1" type="index" label="序号" width="50"></el-table-column>
<el-table-column :key="2" prop="region" label="区域" width="180"></el-table-column> <el-table-column :key="2" prop="region" label="区域" width="180"></el-table-column>
<el-table-column :key="3" prop="resourceName" label="资源名称" width="180"></el-table-column> <el-table-column :key="3" prop="resourceName" label="资源名称" width="180"></el-table-column>
<!--景区 娱乐 旅行社 等级--> <!--厕所 等级-->
<el-table-column :key="4" v-if="dataType == 'museum' || dataType == 'cultural' || dataType == 'memorialhall' || dataType == 'library'" prop="grade" label="等级" min-width="50" show-overflow-tooltip> <el-table-column :key="4" v-if="dataType == 'toilet'" prop="grade" label="等级" min-width="50" show-overflow-tooltip>
<template slot-scope="scope"> <template slot-scope="scope">
<dict-tag :options="dict.type.museum_level" :value="scope.row.grade" /> <dict-tag :options="dict.type.toilet_level" :value="scope.row.grade" />
</template> </template>
</el-table-column> </el-table-column>
<!--美术馆等级--> <!--停车场等级-->
<el-table-column :key="4" v-if="dataType == 'artgallery'" prop="grade" label="等级" min-width="50" show-overflow-tooltip> <el-table-column :key="5" v-if="dataType == 'carpark'" prop="grade" label="等级" min-width="50" show-overflow-tooltip>
<template slot-scope="scope"> <template slot-scope="scope">
<dict-tag :options="dict.type.artgallery_level" :value="scope.row.grade" /> <dict-tag :options="dict.type.carpark_level" :value="scope.row.grade" />
</template> </template>
</el-table-column> </el-table-column>
<!--科技馆等级--> <!--景区花卉保护等级-->
<el-table-column :key="4" v-if="dataType == 'technology'" prop="grade" label="等级" min-width="50" show-overflow-tooltip> <el-table-column :key="6" v-if="dataType == 'flower'" prop="protectionLevel" label="保护等级" min-width="50" show-overflow-tooltip>
<template slot-scope="scope"> <template slot-scope="scope">
<dict-tag :options="dict.type.technology_level" :value="scope.row.grade" /> <dict-tag :options="dict.type.flower_level" :value="scope.row.protectionLevel" />
</template> </template>
</el-table-column> </el-table-column>
<!--博物馆标签--> <!--展品 藏品 质地-->
<el-table-column :key="5" v-if="dataType == 'museum'" prop="label" label="标签" min-width="60" show-overflow-tooltip> <el-table-column :key="7" v-if="dataType == 'exhibit' || dataType == 'collection'" prop="texture" label="质地" min-width="50" show-overflow-tooltip>
<template slot-scope="scope"> <template slot-scope="scope">
<dict-tag :options="dict.type.museum_type" :value="scope.row.label.split(',')"/> <dict-tag :options="dict.type.exhibit_quality" :value="scope.row.texture" />
</template> </template>
</el-table-column> </el-table-column>
<!--美术馆 标签--> <!--展品 藏品 年代-->
<el-table-column :key="5" v-if="dataType == 'artgallery'" prop="label" label="标签" min-width="60" show-overflow-tooltip> <el-table-column :key="8" v-if="dataType == 'exhibit' || dataType == 'collection'" prop="dynasty" label="年代" min-width="50" show-overflow-tooltip>
<template slot-scope="scope"> <template slot-scope="scope">
<dict-tag :options="dict.type.artgallery_type" :value="scope.row.label.split(',')"/> <dict-tag :options="dict.type.exhibit_dynasty" :value="scope.row.dynasty" />
</template> </template>
</el-table-column> </el-table-column>
<!--纪念馆标签--> <!--展品 藏品 品类-->
<el-table-column :key="5" v-if="dataType == 'cultural'" prop="label" label="标签" min-width="60" show-overflow-tooltip> <el-table-column :key="9" v-if="dataType == 'exhibit' || dataType == 'collection'" prop="category" label="品类" min-width="50" show-overflow-tooltip>
<template slot-scope="scope"> <template slot-scope="scope">
<dict-tag :options="dict.type.cultural_type" :value="scope.row.label.split(',')"/> <dict-tag :options="dict.type.exhibit_category" :value="scope.row.category" />
</template> </template>
</el-table-column> </el-table-column>
<!--体育馆标签--> <!--厕所标签-->
<el-table-column :key="5" v-if="dataType == 'gymnasium'" prop="label" label="标签" min-width="60" show-overflow-tooltip> <el-table-column :key="10" v-if="dataType == 'toilet'" prop="label" label="标签" min-width="60" show-overflow-tooltip>
<template slot-scope="scope"> <template slot-scope="scope">
<dict-tag :options="dict.type.gymnasium_type" :value="scope.row.label.split(',')"/> <dict-tag :options="dict.type.toilet_type" :value="scope.row.label.split(',')"/>
</template> </template>
</el-table-column> </el-table-column>
<!--纪念馆标签--> <!--停车场 标签-->
<el-table-column :key="5" v-if="dataType == 'memorialhall'" prop="label" label="标签" min-width="60" show-overflow-tooltip> <el-table-column :key="11" v-if="dataType == 'carpark'" prop="label" label="标签" min-width="60" show-overflow-tooltip>
<template slot-scope="scope"> <template slot-scope="scope">
<dict-tag :options="dict.type.memorialhall_type" :value="scope.row.label.split(',')"/> <dict-tag :options="dict.type.carpark_type" :value="scope.row.label.split(',')"/>
</template> </template>
</el-table-column> </el-table-column>
<!--图书馆标签--> <el-table-column :key="12" prop="address" label="地址"></el-table-column>
<el-table-column :key="5" v-if="dataType == 'library'" prop="label" label="标签" min-width="60" show-overflow-tooltip> <el-table-column :key="13" prop="contacts" label="联系人"></el-table-column>
<template slot-scope="scope"> <el-table-column :key="14" prop="telephone" label="联系电话"></el-table-column>
<dict-tag :options="dict.type.library_type" :value="scope.row.label.split(',')"/>
</template>
</el-table-column>
<el-table-column :key="6" prop="address" label="地址"></el-table-column>
<el-table-column :key="7" prop="contacts" label="联系人"></el-table-column>
<el-table-column :key="8" prop="telephone" label="联系电话"></el-table-column>
</el-table> </el-table>
<div class="p-pagination"> <div class="p-pagination">
<el-pagination <el-pagination
@ -90,8 +84,8 @@
export default { export default {
name: "tour-list", name: "tour-list",
props: ['listData','total','interfacePath','dataType'], props: ['listData','total','interfacePath','dataType'],
dicts: ['museum_level','artgallery_level','technology_level','museum_type','artgallery_type','cultural_type','gymnasium_type' dicts: ['toilet_level','toilet_type','carpark_level','carpark_type','flower_level','exhibit_quality','exhibit_dynasty'
,'memorialhall_type','library_type'], ,'exhibit_category'],
data(){ data(){
return{ return{
resourcePage:0, resourcePage:0,

@ -1,7 +1,7 @@
<template> <template>
<!-- 工作人员 列表--> <!-- 工作人员 列表-->
<div class="p-dialog-box"> <div class="p-dialog-box">
<div class="display-flex p-form"> <!--<div class="display-flex p-form">
<el-select class="p-select " v-model="filterData.searchType" placeholder="请选择类型"> <el-select class="p-select " v-model="filterData.searchType" placeholder="请选择类型">
<el-option label="资源名称" value="resourceName"></el-option> <el-option label="资源名称" value="resourceName"></el-option>
<el-option label="联系人" value="contacts"></el-option> <el-option label="联系人" value="contacts"></el-option>
@ -11,13 +11,13 @@
<el-input v-model="filterData.keywords" placeholder="请输入关键词"></el-input> <el-input v-model="filterData.keywords" placeholder="请输入关键词"></el-input>
</div> </div>
<div @click="getresourceListData" class="p-filter-search-btn m-l-small"><i class="iconfont icon-search"></i></div> <div @click="getresourceListData" class="p-filter-search-btn m-l-small"><i class="iconfont icon-search"></i></div>
</div> </div>-->
<el-table class="p-table m-t-small" :data="listData" align="center" show-overflow-tooltip="true" height="450"> <el-table class="p-table m-t-small" :data="listData" align="center" show-overflow-tooltip="true" height="450">
<el-table-column :key="1" type="index" label="序号" width="50"></el-table-column> <el-table-column :key="1" type="index" label="序号" width="50"></el-table-column>
<el-table-column :key="2" prop="region" label="企业" width="180"></el-table-column> <el-table-column :key="2" prop="organName" label="企业" width="180"></el-table-column>
<el-table-column :key="3" prop="dept.deptName" label="部门" width="180"></el-table-column> <el-table-column :key="3" prop="dept.deptName" label="部门" width="180"></el-table-column>
<el-table-column :key="4" prop="nickName" label="姓名"></el-table-column> <el-table-column :key="4" prop="nickName" label="姓名"></el-table-column>
<el-table-column :key="5" prop="contacts" label="联系电话"></el-table-column> <el-table-column :key="5" prop="phonenumber" label="联系电话"></el-table-column>
</el-table> </el-table>
<div class="p-pagination"> <div class="p-pagination">
<el-pagination <el-pagination

@ -18,12 +18,15 @@
<iotList v-if="type == 'videolist' || type == 'passflowlist' || type == 'broadcastlist' || type == 'ledlist' || type == 'wifilist' || type == 'polelist' || type == 'patrollist' || type == 'reportlist' || type == 'soslist' || type == 'vibelist' || type == 'geologilist' || type == 'firelist' || type == 'intrudelist'" :listData="propsData" :total="total" :dataType="dataType" :interfacePath="interfacePath"></iotList> <iotList v-if="type == 'videolist' || type == 'passflowlist' || type == 'broadcastlist' || type == 'ledlist' || type == 'wifilist' || type == 'polelist' || type == 'patrollist' || type == 'reportlist' || type == 'soslist' || type == 'vibelist' || type == 'geologilist' || type == 'firelist' || type == 'intrudelist'" :listData="propsData" :total="total" :dataType="dataType" :interfacePath="interfacePath"></iotList>
<videoDetail v-if="type == 'videodetail'" :detailData="propsData"></videoDetail> <videoDetail v-if="type == 'videodetail'" :detailData="propsData"></videoDetail>
<!--应急场所------------------------------>
<emergencyList v-if="type == 'emergmangelist' || type == 'medicalalist' || type == 'firecolist' || type == 'takerefugelist' || type == 'armedlist'" :listData="propsData" :total="total" :dataType="dataType" :interfacePath="interfacePath"></emergencyList>
<!-- 游客服务 ----------------------------------------------------- --> <!-- 游客服务 ----------------------------------------------------- -->
<!-- 工作人员 worker --> <!-- 工作人员 worker -->
<workerList v-if="type == '01list'" :listData="propsData" :total="total" :dataType="dataType" :interfacePath="interfacePath"></workerList> <workerList v-if="type == '01list'" :listData="propsData" :total="total" :dataType="dataType" :interfacePath="interfacePath"></workerList>
<workerDetail v-if="type == '01tail'"></workerDetail> <workerDetail v-if="type == '01tail'"></workerDetail>
<!-- 导游 guide --> <!-- 导游 guide -->
<guideList v-if="type == 'guideList'" :total="total" :dataType="dataType" :interfacePath="interfacePath"></guideList> <guideList v-if="type == 'guidelist'" :listData="propsData" :total="total" :dataType="dataType" :interfacePath="interfacePath"></guideList>
<guideDetail v-if="type == 'guidedetail'"></guideDetail> <guideDetail v-if="type == 'guidedetail'"></guideDetail>
<!-- 游玩景点 spot --> <!-- 游玩景点 spot -->
<!-- <spotList v-if="type == 'spotlist'" :listData="propsData" :total="total" :dataType="dataType" :interfacePath="interfacePath"></spotList>--> <!-- <spotList v-if="type == 'spotlist'" :listData="propsData" :total="total" :dataType="dataType" :interfacePath="interfacePath"></spotList>-->
@ -52,6 +55,9 @@ import touristList from "@/views/picture/resource-monitoring/dialog-module/touri
// //
import iotList from "@/views/picture/resource-monitoring/dialog-module/iot-list"; import iotList from "@/views/picture/resource-monitoring/dialog-module/iot-list";
//--------------------------------------------------------
import emergencyList from "@/views/picture/resource-monitoring/dialog-module/emergency-list";
// ----------------------------------------------------- // -----------------------------------------------------
// worker // worker
@ -72,7 +78,7 @@ export default {
name: "resoure-dialog", name: "resoure-dialog",
components: { components: {
tourList,scenicDetail,venueList,hotelDetail, tourList,scenicDetail,venueList,hotelDetail,
iotList,touristList, iotList,touristList,emergencyList,
workerList,workerDetail,guideDetail,spotList,guideList,spotDetail}, workerList,workerDetail,guideDetail,spotList,guideList,spotDetail},
props: ['propsData','type','total','interfacePath','dataType'] props: ['propsData','type','total','interfacePath','dataType']

Loading…
Cancel
Save