shuishen
2023-05-02 f1d963ebebd01d3d4db3222303a760f85ef7086a
医院弹窗和重点人员位置处理
4 files modified
82 ■■■■ changed files
src/components/map/components/architecturePopup.vue 42 ●●●●● patch | view | raw | blame | history
src/views/home/components/dialog/keyPersonBox.vue 10 ●●●● patch | view | raw | blame | history
src/views/home/homeleft/hospital.js 8 ●●●●● patch | view | raw | blame | history
src/views/home/index.vue 22 ●●●● patch | view | raw | blame | history
src/components/map/components/architecturePopup.vue
@@ -104,6 +104,48 @@
                                        <div>{{ architectureDataPopup.JDFJS }}</div>
                                    </div>
                                </div>
                                <div
                                    v-show="architectureDataPopup.curDataTitle == '医院'"
                                    class="label-content"
                                >
                                    <div class="item">
                                        <div>医院名称:</div>
                                        <div>{{ architectureDataPopup.YYMC }}</div>
                                    </div>
                                    <div class="item">
                                        <div>社区:</div>
                                        <div>{{ architectureDataPopup.JZSQ }}</div>
                                    </div>
                                    <div class="item">
                                        <div>法人姓名:</div>
                                        <div>{{ architectureDataPopup.JZFR }}</div>
                                    </div>
                                    <div class="item">
                                        <div>身份证号码:</div>
                                        <div>{{ architectureDataPopup.FRSFZ }}</div>
                                    </div>
                                    <div class="item">
                                        <div>电话号码:</div>
                                        <div>{{ architectureDataPopup.JZDH }}</div>
                                    </div>
                                    <div class="item">
                                        <div>警务对接人员:</div>
                                        <div>{{ architectureDataPopup.JWDJ }}</div>
                                    </div>
                                    <div class="item">
                                        <div>警务对接人员身份证:</div>
                                        <div>{{ architectureDataPopup.JWDJSFZ }}</div>
                                    </div>
                                    <div class="item">
                                        <div>电话号码:</div>
                                        <div>{{ architectureDataPopup.JWDJLXFS }}</div>
                                    </div>
                                    <div class="item">
                                        <div>医院地址:</div>
                                        <div>{{ architectureDataPopup.JZDZ }}</div>
                                    </div>
                                </div>
                            </div>
                        </div>
                        <div class="b-t-l"></div>
src/views/home/components/dialog/keyPersonBox.vue
@@ -182,7 +182,7 @@
        },
        rowClick (row) {
            if (row.X == '' || row.Y == '') {
            if (row.x == '' || row.y == '') {
                this.$message({
                    message: '暂无位置信息',
                    type: 'warning'
@@ -201,8 +201,8 @@
                position: [
                    global.DC.Transform.transformWGS84ToCartesian(
                        new global.DC.Position(
                            Number(row.X),
                            Number(row.Y),
                            Number(row.x),
                            Number(row.y),
                            0
                        )
                    )
@@ -211,8 +211,8 @@
            this.$EventBus.$emit('toPosition', {
                layerName: 'carLayers',
                siteJd: row.X,
                siteWd: row.Y,
                siteJd: row.x,
                siteWd: row.y,
                siteGd: 200
            })
src/views/home/homeleft/hospital.js
@@ -2,7 +2,7 @@
 * @Author: shuishen 1109946754@qq.com
 * @Date: 2023-05-02 12:54:16
 * @LastEditors: shuishen 1109946754@qq.com
 * @LastEditTime: 2023-05-02 13:58:29
 * @LastEditTime: 2023-05-02 18:44:00
 * @FilePath: \srs-police-affairs\src\views\home\homeleft\hospital.js
 * @Description: 
 * 
@@ -16,7 +16,8 @@
        FRSFZ: "362301195805201010",
        JZDH: "13870353199",
        JWDJ: "项显进",
        "警务对接人员身份证": "362301197102132011",
        JWDJSFZ: "362301197102132011",
        JWDJLXFS: "13870353199",
        JZDZ: "上饶市信州区叶挺大道55号",
        x: "117.952616514",
        y: "28.4341205504"
@@ -28,7 +29,8 @@
        FRSFZ: "360621197009069038",
        JZDH: "13767327896",
        JWDJ: "周清福",
        "警务对接人员身份证": "362301196807220519",
        JWDJSFZ: "362301196807220519",
        JWDJLXFS: "13767327896",
        JZDZ: "上饶市信州区建南路一号",
        x: "117.958863339",
        y: "28.4331726687"
src/views/home/index.vue
@@ -2,7 +2,7 @@
 * @Author: shuishen 1109946754@qq.com
 * @Date: 2022-08-18 16:18:17
 * @LastEditors: shuishen 1109946754@qq.com
 * @LastEditTime: 2023-05-02 18:23:46
 * @LastEditTime: 2023-05-02 18:45:14
 * @FilePath: \srs-police-affairs\src\views\home\index.vue
 * @Description: 小区-栋-层-房屋
 *
@@ -540,6 +540,18 @@
                    label="法人"
                ></el-table-column>
                <el-table-column
                    v-if="currentItemShow('JZFR')"
                    :show-overflow-tooltip="true"
                    prop="JZFR"
                    label="法人"
                ></el-table-column>
                <el-table-column
                    v-if="currentItemShow('FRSFZ')"
                    :show-overflow-tooltip="true"
                    prop="FRSFZ"
                    label="身份证号码"
                ></el-table-column>
                <el-table-column
                    v-if="currentItemShow('JZDH')"
                    :show-overflow-tooltip="true"
                    prop="JZDH"
@@ -956,14 +968,14 @@
            if (this.userInfo.dept_id == '1596020515064381442') {
                keypeopleJSON.forEach(item => {
                    if (item.X && item.X != '' && item.Y && item.Y != '') {
                    if (item.x && item.x != '' && item.y && item.y != '') {
                        this.$EventBus.$emit('layerPointAdd', {
                            layerName: 'keypeopleslayer',
                            type: "billboard",
                            layerType: 'ClusterLayer',
                            params: {
                                lng: Number(item.X),
                                lat: Number(item.Y),
                                lng: Number(item.x),
                                lat: Number(item.y),
                                url: '/img/icon/keypeople.png',
                                ClusterLayerType: "clustering"
                            }
@@ -1059,7 +1071,7 @@
                siteGd: 200
            })
            if (this.architectureTitle == '学校' || this.architectureTitle == '宾馆酒店') {
            if (this.architectureTitle == '学校' || this.architectureTitle == '宾馆酒店' || this.architectureTitle == '医院') {
                this.$store.commit('SET_ARCHITECTUREPOPUP', true)
                this.$store.commit('SET_ARCHITECTUREDATAPOPUP', { ...row, curDataTitle: this.architectureTitle })