南昌市物联网技防平台-小程序
1.巡逻路线调整,去除开始巡逻及拍照按钮
2.账户信息,版本信息,意见反馈,关于我们调整
13 files modified
393 ■■■■ changed files
pages.json 2 ●●● patch | view | raw | blame | history
pages/myself/childen/aboutUs.vue 142 ●●●● patch | view | raw | blame | history
pages/myself/childen/genxin.vue 13 ●●●●● patch | view | raw | blame | history
pages/myself/childen/xinxi.vue 191 ●●●● patch | view | raw | blame | history
pages/myself/childen/yijian.vue 8 ●●●● patch | view | raw | blame | history
pages/myself/myself.vue 10 ●●●●● patch | view | raw | blame | history
store/actions.js 3 ●●●● patch | view | raw | blame | history
store/mutations.js 3 ●●●●● patch | view | raw | blame | history
store/state.js 3 ●●●● patch | view | raw | blame | history
xcxjingqingmap_patrol/css/body.css 4 ●●●● patch | view | raw | blame | history
xcxjingqingmap_patrol/js/move.js 2 ●●● patch | view | raw | blame | history
xcxjingqingmap_patrol/js/vueMain.js 8 ●●●● patch | view | raw | blame | history
xcxjingqingmap_patrol/xcxmap.html 4 ●●●● patch | view | raw | blame | history
pages.json
@@ -47,7 +47,7 @@
            "path": "pages/myself/childen/genxin",
            "name": "genxin",
            "style": {
                "navigationBarTitleText": "版本更新",
                "navigationBarTitleText": "版本信息",
                "navigationBarBackgroundColor": "#F56968"
            }
        },
pages/myself/childen/aboutUs.vue
@@ -1,20 +1,44 @@
<template>
    <view class="aboutUs">
        <view class="up">
            <image src="../../../static/users.png" mode=""></image>
            <view class="a">
                6.4.1
            </view>
            <view class="b">
                2020.02.29
            </view>
            <view class="jianjie">
                公司成立于1993年,注册资金1260万,公司在北京、深圳设有研发实体、在九江、赣州、上饶、修水等地设有分公司,主要从事通信系统建设、计算机网络系统集成、弱电及楼宇智能化建设、安防系统工程建设等方面的项目设计、工程实施与维护、技术咨询与服务的高新技术企业。涉及安防领域项目建设,包括金融系统联网报警、公安指挥三台合一、视频监控、门禁、监听、对讲、周界防范、电子巡更、室内屏蔽等系统。公司客户范围涉及政法(公安、监狱、看守所、拘留所)、电力、交通、金融、文教、电信、移动、联通、广电等系统单位。公司具有良好的发展平台及广阔的发展空间,热诚欢迎行业精英加入。
            <view class="about-form">
                <view class="row about-info">
                    <view class="lable">名称</view>
                    <view class="name">江西北邮信息通信技术有限公司</view>
            </view>
                <view class="row about-info">
                    <view class="lable">成立时间</view>
                    <view class="name">1993年</view>
        </view>
                <view class="row about-info">
                    <view class="lable">总部地点</view>
                    <view class="name">江西</view>
                </view>
                <view class="row about-info">
                    <view class="lable">经营范围</view>
                    <view class="name">信息通信技术</view>
                </view>
            </view>
            <view class="row form-in"></view>
            <view class="about-form-intro">
                <view class="row about-info">
                    <view class="lable-intro">公司简介</view>
                </view>
                <view class="row about-info-intro">
                    <view class="name-intro">
                        江西北邮信息通信技术有限公司,成立于1993年,系提供信息通信领域安全技术防范领域各类工程的系统设计、产品研发、工程施工、系统维护以及技术咨询与服务一体化解决方案的专业化公司。
                    </view>
                </view>
            </view>
        </view>
        <view class="down">
            安防管理系统 Copyright © 江西北邮信息通信技术有限公司
            <view class="title">安防管理系统 Copyright © 江西北邮信息通信技术有限公司</view>
        </view>
    </view>
@@ -27,39 +51,95 @@
    .aboutUs {
        width: 100%;
        height: 100%;
        display: flex;
        align-items: center;
        justify-content: center;
        flex-direction: column;
        // background-color: rgba(128,128,128,0.1);
        background-color: #F5F0F6;
        .up {
            display: flex;
            align-items: center;
            justify-content: center;
            flex-direction: column;
            width: 100%;
            height: 49%;
            // background-color: #0078A8;
            image {
                width: 4rem;
                height: 4rem;
            .about-form{
                background-color: #FFFFFF;
                .about-info{
                    width: 94%;
                    height: 80rpx;
                    background-color: #FFFFFF;
                    margin: 0 auto;
                    letter-spacing: 1px;
                    border-bottom: 1rpx solid rgba(128,128,128,0.1);
                    .lable{
                        line-height: 80rpx;
                        float: left;
                        font-size: 28rpx;
            }
            .jianjie {
                padding: 1rem 1rem 0 1rem;
                text-indent:2em;
                line-height: 1.54rem;
                // letter-spacing: 0.08rem;
                    .name{
                        line-height: 80rpx;
                        position: absolute;
                        right: 30rpx;
                        font-size: 24rpx;
                        color: #808080;
            }
            .a {
                padding-top: 1rem;
            }
        }
            .form-in{
                width: 100%;
                height: 20rpx;
            }
            .about-form-intro{
                width: 100%;
                height: 300rpx;
                background-color: #FFFFFF;
                .about-info{
                    width: 94%;
                    height: 80rpx;
                    background-color: #FFFFFF;
                    margin: 0 auto;
                    letter-spacing: 1px;
                    border-bottom: 1rpx solid rgba(128,128,128,0.1);
                    .lable-intro{
                        line-height: 80rpx;
                        font-size: 28rpx;
                    }
                }
                .name-intro{
                    width: 94%;
                    margin: 0 auto;
                    line-height: 60rpx;
                    font-size: 24rpx;
                    color: #808080;
                    background-color: #FFFFFF;
                }
            }
        }
        .down {
            position: fixed;
            bottom: 1rem;
            // background-color: #0078A8;
            width: 100%;
            height: 51%;
            font-size: 0.1rem;
            .title{
                position: relative;
                top: 92%;
                text-align: center;
                font-size: 22rpx;
        }
    }
    }
</style>
pages/myself/childen/genxin.vue
@@ -4,12 +4,12 @@
        <view class="a">
            6.4.1
        </view>
        <view class="b">
        <!-- <view class="b">
            2020.02.29
        </view>
        <view class="genxinBut">
        </view> -->
        <!-- <view class="genxinBut">
            <button class="custom-btn btn-3" @click="upMain"><span>点击更新</span></button>
        </view>
        </view> -->
    </view>
</template>
@@ -40,15 +40,18 @@
        height: 100%;
        display: flex;
        align-items: center;
        justify-content: center;
        flex-direction: column;
        image {
            width: 4rem;
            height: 4rem;
            position: relative;
            top: 450rpx;
        }
        .a {
            position: relative;
            top: 450rpx;
            padding-top: 1rem;
        }
pages/myself/childen/xinxi.vue
@@ -1,27 +1,48 @@
<template>
    <view class="xinxi">
        <view class="once">
            <view class="title">
                姓名:
    <view class="user-info">
        <view class="base-info-title">基本信息</view>
        <view class="base-info">
            <view class="row row-base-info">
                <view class="title">账号</view>
                <view class="msg">{{datalist.account}}</view>
            </view>
            <view class="msg">
                {{name}}
            <view class="row row-base-info">
                <view class="title">姓名</view>
                <view class="msg">{{name}}</view>
            </view>
            <view class="row row-base-info">
                <view class="title">编号</view>
                <view class="msg">{{id}}</view>
            </view>
            <view class="row row-base-info">
                <view class="title">昵称</view>
                <view class="msg">{{datalist.nick_name}}</view>
            </view>
            <view class="row row-base-info">
                <view class="title">电话</view>
                <view class="msg">{{phon}}</view>
            </view>
            <view class="row row-base-info">
                <view class="title">邮箱</view>
                <view class="msg"></view>
            </view>
            <view class="row row-base-info-birthday">
                <view class="title">生日</view>
                <view class="msg"></view>
            </view>
        </view>
        <view class="once">
            <view class="title">
                电话:
        <view class="dept-info-title">所属部门</view>
        <view class="dept-info">
            <view class="row row-dept-info">
                <view class="title">所在部门</view>
                <view class="msg"></view>
            </view>
            <view class="msg">
                {{phon}}
            </view>
        </view>
        <view class="once">
            <view class="title">
                编号:
            </view>
            <view class="msg">
                {{id}}
            <view class="row row-dept-info-post">
                <view class="title">职位</view>
                <view class="msg">{{datalist.role_name}}</view>
                <!-- {{datalist}} -->
            </view>
        </view>
    </view>
@@ -31,7 +52,7 @@
export default{
    data(){
        return{
            datalist:this.$store.state.UserData
        }
    },
    computed:{
@@ -49,24 +70,124 @@
</script>
<style lang="scss" scoped>
.xinxi{
.user-info{
    width: 100%;
    height: 90%;
    box-sizing: border-box;
    .once{
        &:first-child{
            margin-top: 1rem;
            box-sizing: border-box;
    height: 100%;
    background-color: #F5F0F6;
    letter-spacing: 1rpx;
    .base-info-title{
        height: 60rpx;
        line-height: 60rpx;
        position: relative;
        left: 20rpx;
        font-size: 24rpx;
        color: #808080;
        }
        box-sizing: border-box;
    .base-info{
        width: 100%;
        height: 565rpx;
        background-color: #FFFFFF;
        .row-base-info{
            width: 94%;
        margin: 0 auto;
        width: 95%;
        height: 2rem;
        display: flex;
        align-items: center;
        justify-content: space-between;
        border-bottom: 1px solid rgba($color: #000000, $alpha: 0.1);
        margin-bottom: 0.5rem;
            height: 80rpx;
            border-bottom: 1px solid rgba(128,128,128,0.1);
            .title{
                line-height: 80rpx;
                float: left;
                font-size: 28rpx;
    }
            .msg{
                line-height: 80rpx;
                position: absolute;
                right: 30rpx;
                color: #808080;
                font-size: 24rpx;
            }
        }
        .row-base-info-birthday{
            width: 94%;
            margin: 0 auto;
            height: 80rpx;
            .title{
                line-height: 80rpx;
                float: left;
                font-size: 28rpx;
            }
            .msg{
                line-height: 80rpx;
                position: absolute;
                right: 30rpx;
                color: #808080;
                font-size: 24rpx;
            }
        }
    }
    .dept-info-title{
        height: 60rpx;
        line-height: 60rpx;
        position: relative;
        left: -60rpx;
        font-size: 24rpx;
        color: #808080;
    }
    .dept-info{
        width: 100%;
        height: 160rpx;
        background-color: #FFFFFF;
        .row-dept-info{
            width: 94%;
            margin: 0 auto;
            height: 80rpx;
            border-bottom: 1px solid rgba(128,128,128,0.1);
            .title{
                line-height: 80rpx;
                float: left;
                font-size: 28rpx;
            }
            .msg{
                line-height: 80rpx;
                position: absolute;
                right: 30rpx;
                color: #808080;
                font-size: 24rpx;
            }
        }
        .row-dept-info-post{
            width: 94%;
            margin: 0 auto;
            height: 80rpx;
            .title{
                line-height: 80rpx;
                float: left;
                font-size: 28rpx;
            }
            .msg{
                line-height: 80rpx;
                position: absolute;
                right: 30rpx;
                color: #808080;
                font-size: 24rpx;
            }
        }
    }
}
</style>
pages/myself/childen/yijian.vue
@@ -38,7 +38,7 @@
        height: 80%;
        display: flex;
        align-items: center;
        justify-content: center;
        // justify-content: center;
        flex-direction: column;
        .title {
@@ -46,13 +46,19 @@
            padding-bottom: 1rem;
            // padding-top: 15rem;
            box-sizing: border-box;
            position: relative;
            top: 300rpx;
        }
        .longInput {
            position: relative;
            top: 300rpx;
            border: 1px solid rgba($color: #000000, $alpha: 1.0);
        }
        .butUps {
            position: relative;
            top: 300rpx;
            margin: 2rem auto;
            width: 6rem;
            height: 6rem;
pages/myself/myself.vue
@@ -11,9 +11,9 @@
                    <view></view>
                </view>
            </view>
            <view class="m-t-right">
            <!-- <view class="m-t-right">
                二维码
            </view>
            </view> -->
        </view>
        <view class="bomBut">
            <view class="onceBut" v-for="(item, index) in inSide" :key="index" @click="openThere(item.open)">
@@ -64,7 +64,7 @@
                        open: 'xinxi'
                    },
                    {
                        title: '版本更新',
                        title: '版本信息',
                        imgSrc: '../../static/myself/gengxin.png',
                        open: 'genxin'
                    },
@@ -195,7 +195,7 @@
            color: #fff;
            .m-t-left {
                width: 70%;
                width: 100%;
                display: flex;
                align-items: center;
                justify-content: space-around;
@@ -214,6 +214,8 @@
                .usermsg {
                    width: 60%;
                    position: relative;
                    left: -6%;
                    // border: 1px solid #007AFF;
                }
            }
store/actions.js
@@ -44,13 +44,14 @@
            //     // dataType: 'JSON',
            success: (res) => {
                if (res.statusCode == 200) {
                    store.commit('getUserData',res.data)
                    data.isit = true;
                    data.userName = res.data.real_name; //警袁姓名
                    data.userID = res.data.user_id; //警袁id
                    // data.userPhon = res.user_id;
                    store.commit('login', data);
                }
                // console.log(res)
                console.log(res)
            },
            fail: (res) => {
                console.log('失去连接 请稍等');
store/mutations.js
@@ -21,6 +21,9 @@
    getUse(state,data){
        state.puserName = data.userName;
        // console.log(state.puserName)
    },
    getUserData(state,data){
        state.UserData = data;
    }
}
store/state.js
@@ -7,7 +7,8 @@
    piAPI: 'https://web.byisf.com/api/',
    puserName: '陈慧英',
    puserID: '1370564873280430082',
    puserIphone:'15649685246'
    puserIphone:'15649685246',
    UserData: {},
}
export default state
xcxjingqingmap_patrol/css/body.css
@@ -13,13 +13,13 @@
#map {
    width: 100%;
    height: 60%;
    height: 80%;
}
#seedata {
    position: relative;
    width: 100%;
    height: 40%;
    height: 20%;
    z-index: 401;
    /* background-color: #007AFF; */
    opacity: 0.9;
xcxjingqingmap_patrol/js/move.js
@@ -100,7 +100,7 @@
                }
                if (this.tab == 2) {
                    $('#map').css("height", (index, value) => { //改变地图高度
                        return '60%';
                        return '80%';
                    })
                }
xcxjingqingmap_patrol/js/vueMain.js
@@ -9,8 +9,8 @@
        nowIndex: 1,
        //基础路径
        // pathUrl: "http://localhost:89",
        pathUrl: "https://web.byisf.com/api/blade-jfpts",
        pathUrl: "http://localhost:89",
        // pathUrl: "https://web.byisf.com/api/blade-jfpts",
        layer: null,
@@ -50,8 +50,8 @@
                document.getElementById("area").style.display = "none";
                document.getElementById("routeBtn").style.backgroundColor = "cornflowerblue";
                document.getElementById("areaBtn").style.backgroundColor = "darkgrey";
                document.getElementById("seedata").style.height = "40%";
                document.getElementById("map").style.height = "60%";
                document.getElementById("seedata").style.height = "20%";
                document.getElementById("map").style.height = "80%";
                //展示巡逻路线
                this.showPolyLine(this.map);
xcxjingqingmap_patrol/xcxmap.html
@@ -68,11 +68,11 @@
                            <div class="f-m-o-title">路线备注: </div>
                            <textarea class="f-m-o-center">{{lxbz}}</textarea>
                        </div>
                        <div class="f-m-once" style="top: 45px;">
                        <!-- <div class="f-m-once" style="top: 45px;">
                            <div class="f-m-o-title">照片上传: </div>
                            <image src="./img/photo.png"></image>
                        </div>
                        <button class="btn">开始巡逻</button>
                        <button class="btn">开始巡逻</button> -->
                    </div>
                    <!-- </el-tab-pane> -->
                    <!-- <el-tab-pane label="巡逻区域" name="two"> -->