|
@@ -47,7 +47,7 @@
|
|
</el-select>
|
|
</el-select>
|
|
</el-form-item>
|
|
</el-form-item>
|
|
</el-col>
|
|
</el-col>
|
|
-
|
|
|
|
|
|
+
|
|
<el-col :span="8">
|
|
<el-col :span="8">
|
|
<el-form-item label="职称" prop="professional">
|
|
<el-form-item label="职称" prop="professional">
|
|
<el-input
|
|
<el-input
|
|
@@ -64,30 +64,30 @@
|
|
<el-button icon="el-icon-refresh" size="mini" @click="resetQuery">重置</el-button>
|
|
<el-button icon="el-icon-refresh" size="mini" @click="resetQuery">重置</el-button>
|
|
</el-form-item>
|
|
</el-form-item>
|
|
</el-col>
|
|
</el-col>
|
|
-
|
|
|
|
|
|
+
|
|
<el-col :span="6">
|
|
<el-col :span="6">
|
|
-
|
|
|
|
|
|
+
|
|
</el-col>
|
|
</el-col>
|
|
<el-col :span="6">
|
|
<el-col :span="6">
|
|
-
|
|
|
|
|
|
+
|
|
</el-col>
|
|
</el-col>
|
|
<el-col :span="6">
|
|
<el-col :span="6">
|
|
-
|
|
|
|
|
|
+
|
|
</el-col>
|
|
</el-col>
|
|
<el-col :span="6">
|
|
<el-col :span="6">
|
|
-
|
|
|
|
|
|
+
|
|
</el-col>
|
|
</el-col>
|
|
<el-col :span="6">
|
|
<el-col :span="6">
|
|
-
|
|
|
|
|
|
+
|
|
</el-col>
|
|
</el-col>
|
|
<el-col :span="6">
|
|
<el-col :span="6">
|
|
-
|
|
|
|
|
|
+
|
|
</el-col>
|
|
</el-col>
|
|
-
|
|
|
|
-
|
|
|
|
|
|
+
|
|
|
|
+
|
|
</el-row>
|
|
</el-row>
|
|
-
|
|
|
|
-
|
|
|
|
|
|
+
|
|
|
|
+
|
|
</el-form>
|
|
</el-form>
|
|
|
|
|
|
<el-row :gutter="10" class="mb8" style=" border-top-left-radius: 12px; border-top-right-radius: 12px; background-color: #fff;margin: 0;margin-top: 20px;padding: 10px 5px; ">
|
|
<el-row :gutter="10" class="mb8" style=" border-top-left-radius: 12px; border-top-right-radius: 12px; background-color: #fff;margin: 0;margin-top: 20px;padding: 10px 5px; ">
|
|
@@ -136,11 +136,51 @@
|
|
</el-col>
|
|
</el-col>
|
|
<right-toolbar :showSearch.sync="showSearch" @queryTable="getList"></right-toolbar>
|
|
<right-toolbar :showSearch.sync="showSearch" @queryTable="getList"></right-toolbar>
|
|
</el-row>
|
|
</el-row>
|
|
- <div style="background-color: #fff; padding: 0 10px; padding-bottom: 40px; border-bottom-left-radius: 12px; border-bottom-right-radius: 12px;">
|
|
|
|
|
|
+ <el-row :gutter="20" style="margin: 0;margin-top: 17px; " v-if="infoList.length !=0">
|
|
|
|
+ <el-col :span="6" v-for="(item,index) in infoList" :key="index">
|
|
|
|
+ <div style="background-color: #fff;border-radius: 4px;padding: 15px;padding-bottom: 0; margin-bottom: 16px;">
|
|
|
|
+ <div class="tongty">
|
|
|
|
+ <!-- <img :src=" item.identificationPhoto== null?'../../../assets/images/pic_ryxx_tx_ns.png' : defaultSettings + ijsget+item.identificationPhoto" alt="" style="width: 48px; height: 48px;"> -->
|
|
|
|
+ <image-preview :src="item.identificationPhoto" :width="48" :height="48"/>
|
|
|
|
+ <p style="font-weight: bold;font-size: 16px;font-size: 16px;color: #161616;margin-left: 18px;">{{item.name == null?'暂无数据' : item.name == ""? '暂无数据' : item.name }}</p>
|
|
|
|
+ <span style="font-weight: 500;font-size: 14px;color: #666666;margin-left: 16px;">{{item.age == null?'暂无数据' : item.age == ""? '暂无数据' : item.age }}岁</span>
|
|
|
|
+ <span style="font-weight: 500;font-size: 14px;color: #666666;margin-left: 7px;">{{item.sex == 1?'男' : '女' }}</span>
|
|
|
|
+ </div>
|
|
|
|
+ <div class="psnge">
|
|
|
|
+ <p style="margin-top: 16px;"><span>{{"身\u2003\u2003高:"}}</span> <span> {{item.studentNumber == null?'暂无数据' : item.studentNumber == ""? '暂无数据' : item.studentNumber }}</span></p>
|
|
|
|
+ <p><span>身份证号:</span> <span>{{item.idCard == null?'暂无数据' : item.idCard == ""? '暂无数据' : item.idCard }}</span></p>
|
|
|
|
+ <p><span>入职时间:</span> <span>{{item.onBoardTime == null?'暂无数据' : item.onBoardTime == ""? '暂无数据' : item.onBoardTime }}</span></p>
|
|
|
|
+ <div class="tongty" style="justify-content: space-between;">
|
|
|
|
+ <p style="overflow: hidden;text-overflow:ellipsis;white-space:nowrap; width: 50%;"><span>政治面貌:</span>
|
|
|
|
+ <el-tooltip class="item" effect="dark" :content="item.politicalStatus" placement="top-start">
|
|
|
|
+ <span>{{item.politicalStatus == null?'无数据' : item.politicalStatus == ""? '无数据' : item.politicalStatus }}</span>
|
|
|
|
+ </el-tooltip>
|
|
|
|
+ </p>
|
|
|
|
+ <p style="display: flex;align-items: center; width: 50%;"><span>门禁照片:</span> <image-preview :src="item.entrancePermit" :width="30" :height="30"/></p>
|
|
|
|
+ </div>
|
|
|
|
+ </div>
|
|
|
|
+ <div class="bortt tongty" style="justify-content: space-between;">
|
|
|
|
+ <p style="cursor: pointer;"><span @click="handleUpdate(item)">修改</span> <span @click="handleUpdatech(item)">查看</span></p>
|
|
|
|
+ <p style="border-left: 1px solid #DADADA;color:red;cursor: pointer;">删除</p>
|
|
|
|
+ </div>
|
|
|
|
+ </div>
|
|
|
|
+ </el-col>
|
|
|
|
+ <el-col :span="24" style="padding: 5px 0 20px 0; background-color: #fff;">
|
|
|
|
+ <pagination
|
|
|
|
+ v-show="total>0"
|
|
|
|
+ :total="total"
|
|
|
|
+ :page.sync="queryParams.pageNum"
|
|
|
|
+ :limit.sync="queryParams.pageSize"
|
|
|
|
+ @pagination="getList"
|
|
|
|
+ />
|
|
|
|
+ </el-col>
|
|
|
|
+ </el-row>
|
|
|
|
+ <div v-if="infoList.length ==0" style="text-align: center;margin: 40px 0;">
|
|
|
|
+ <img src="../../../assets/images/pic_xyht_zwsj.png" alt="">
|
|
|
|
+ </div>
|
|
|
|
+ <!-- <div style="background-color: #fff; padding: 0 10px; padding-bottom: 40px; border-bottom-left-radius: 12px; border-bottom-right-radius: 12px;">
|
|
<el-table :max-height="tableMaxHeight" v-loading="loading" :data="infoList" @selection-change="handleSelectionChange">
|
|
<el-table :max-height="tableMaxHeight" v-loading="loading" :data="infoList" @selection-change="handleSelectionChange">
|
|
<el-table-column type="selection" width="55" align="center" />
|
|
<el-table-column type="selection" width="55" align="center" />
|
|
- <!-- <el-table-column label="班级名称" align="center" prop="className" width="110"/> -->
|
|
|
|
- <!-- <el-table-column label="ID" align="center" prop="id" /> -->
|
|
|
|
<el-table-column type="expand">
|
|
<el-table-column type="expand">
|
|
<template slot-scope="props">
|
|
<template slot-scope="props">
|
|
<el-form label-position="left" inline class="demo-table-expand">
|
|
<el-form label-position="left" inline class="demo-table-expand">
|
|
@@ -165,7 +205,7 @@
|
|
<el-form-item label="职称证明照">
|
|
<el-form-item label="职称证明照">
|
|
<image-preview :src="props.row.degreePhoto" :width="50" :height="50"/>
|
|
<image-preview :src="props.row.degreePhoto" :width="50" :height="50"/>
|
|
</el-form-item>
|
|
</el-form-item>
|
|
-
|
|
|
|
|
|
+
|
|
<el-form-item label="居住地址" >
|
|
<el-form-item label="居住地址" >
|
|
<span class="ngr">{{ props.row.address }}</span>
|
|
<span class="ngr">{{ props.row.address }}</span>
|
|
</el-form-item>
|
|
</el-form-item>
|
|
@@ -176,37 +216,12 @@
|
|
<el-table-column label="姓名" align="center" prop="name" width="100" />
|
|
<el-table-column label="姓名" align="center" prop="name" width="100" />
|
|
<el-table-column label="联系方式" align="center" prop="phone" width="110"/>
|
|
<el-table-column label="联系方式" align="center" prop="phone" width="110"/>
|
|
<el-table-column label="职称" align="center" prop="professional" width="110"/>
|
|
<el-table-column label="职称" align="center" prop="professional" width="110"/>
|
|
- <!-- <el-table-column label="学号" align="center" prop="studentNumber" width="120" show-overflow-tooltip/> -->
|
|
|
|
<el-table-column label="年龄" align="center" prop="age" />
|
|
<el-table-column label="年龄" align="center" prop="age" />
|
|
<el-table-column label="性别" align="center" prop="sex">
|
|
<el-table-column label="性别" align="center" prop="sex">
|
|
<template slot-scope="scope">
|
|
<template slot-scope="scope">
|
|
<dict-tag :options="dict.type.xshsex" :value="scope.row.sex"/>
|
|
<dict-tag :options="dict.type.xshsex" :value="scope.row.sex"/>
|
|
</template>
|
|
</template>
|
|
</el-table-column>
|
|
</el-table-column>
|
|
- <!-- <el-table-column label="政治面貌" align="center" prop="politicalStatus" /> -->
|
|
|
|
- <!-- <el-table-column label="居住地址" align="center" prop="address" width="110" show-overflow-tooltip/> -->
|
|
|
|
- <!-- <el-table-column label="毕业证明照" align="center" prop="graduationPhoto" width="100">
|
|
|
|
- <template slot-scope="scope">
|
|
|
|
- <image-preview :src="scope.row.graduationPhoto" :width="50" :height="50"/>
|
|
|
|
- </template>
|
|
|
|
- </el-table-column> -->
|
|
|
|
-
|
|
|
|
- <!-- <el-table-column label="学位证书照" align="center" prop="degreePhoto" width="100">
|
|
|
|
- <template slot-scope="scope">
|
|
|
|
- <image-preview :src="scope.row.degreePhoto" :width="50" :height="50"/>
|
|
|
|
- </template>
|
|
|
|
- </el-table-column>
|
|
|
|
- <el-table-column label="教资证明照" align="center" prop="teachingPhoto" width="100">
|
|
|
|
- <template slot-scope="scope">
|
|
|
|
- <image-preview :src="scope.row.teachingPhoto" :width="50" :height="50"/>
|
|
|
|
- </template>
|
|
|
|
- </el-table-column>
|
|
|
|
- <el-table-column label="职称证明照" align="center" prop="professionalPhoto" width="100">
|
|
|
|
- <template slot-scope="scope">
|
|
|
|
- <image-preview :src="scope.row.professionalPhoto" :width="50" :height="50"/>
|
|
|
|
- </template>
|
|
|
|
- </el-table-column> -->
|
|
|
|
-
|
|
|
|
<el-table-column label="证件照" align="center" prop="identificationPhoto" width="100">
|
|
<el-table-column label="证件照" align="center" prop="identificationPhoto" width="100">
|
|
<template slot-scope="scope">
|
|
<template slot-scope="scope">
|
|
<image-preview :src="scope.row.identificationPhoto" :width="50" :height="50"/>
|
|
<image-preview :src="scope.row.identificationPhoto" :width="50" :height="50"/>
|
|
@@ -217,13 +232,7 @@
|
|
<image-preview :src="scope.row.entrancePermit" :width="50" :height="50"/>
|
|
<image-preview :src="scope.row.entrancePermit" :width="50" :height="50"/>
|
|
</template>
|
|
</template>
|
|
</el-table-column>
|
|
</el-table-column>
|
|
- <!-- <el-table-column label="班级id" align="center" prop="classId" /> -->
|
|
|
|
-
|
|
|
|
- <!-- <template slot-scope="scope">
|
|
|
|
- <dict-tag :options="dict.type.sys_subject" :value="scope.row.discipline"/>
|
|
|
|
- </template> -->
|
|
|
|
- <!-- </el-table-column> -->
|
|
|
|
- <!-- <el-table-column label="备注" align="center" prop="remark" /> -->
|
|
|
|
|
|
+
|
|
<el-table-column label="操作" align="center" class-name="small-padding fixed-width" width="120">
|
|
<el-table-column label="操作" align="center" class-name="small-padding fixed-width" width="120">
|
|
<template slot-scope="scope">
|
|
<template slot-scope="scope">
|
|
<el-button
|
|
<el-button
|
|
@@ -243,16 +252,16 @@
|
|
</template>
|
|
</template>
|
|
</el-table-column>
|
|
</el-table-column>
|
|
</el-table>
|
|
</el-table>
|
|
-
|
|
|
|
|
|
+
|
|
<pagination
|
|
<pagination
|
|
v-show="total>0"
|
|
v-show="total>0"
|
|
:total="total"
|
|
:total="total"
|
|
:page.sync="queryParams.pageNum"
|
|
:page.sync="queryParams.pageNum"
|
|
:limit.sync="queryParams.pageSize"
|
|
:limit.sync="queryParams.pageSize"
|
|
@pagination="getList"
|
|
@pagination="getList"
|
|
- />
|
|
|
|
- </div>
|
|
|
|
-
|
|
|
|
|
|
+ />
|
|
|
|
+ </div> -->
|
|
|
|
+
|
|
|
|
|
|
<!-- 添加或修改注册-老师-班级(学科)对话框 -->
|
|
<!-- 添加或修改注册-老师-班级(学科)对话框 -->
|
|
<el-dialog :title="title" :visible.sync="open" width="1268px" append-to-body>
|
|
<el-dialog :title="title" :visible.sync="open" width="1268px" append-to-body>
|
|
@@ -274,9 +283,9 @@
|
|
</el-select>
|
|
</el-select>
|
|
</el-form-item> -->
|
|
</el-form-item> -->
|
|
</el-col>
|
|
</el-col>
|
|
-
|
|
|
|
|
|
+
|
|
<el-col :span="6">
|
|
<el-col :span="6">
|
|
-
|
|
|
|
|
|
+
|
|
<el-form-item label="班级名称" prop="classId">
|
|
<el-form-item label="班级名称" prop="classId">
|
|
<el-select style="width: 100%;" v-model="form.classId" placeholder="请选择班级名称">
|
|
<el-select style="width: 100%;" v-model="form.classId" placeholder="请选择班级名称">
|
|
<el-option
|
|
<el-option
|
|
@@ -301,7 +310,7 @@
|
|
></el-option>
|
|
></el-option>
|
|
</el-select>
|
|
</el-select>
|
|
<!-- <el-input v-model="form.name" placeholder="请输入姓名" /> -->
|
|
<!-- <el-input v-model="form.name" placeholder="请输入姓名" /> -->
|
|
-
|
|
|
|
|
|
+
|
|
</el-form-item>
|
|
</el-form-item>
|
|
</el-col>
|
|
</el-col>
|
|
<el-col :span="6">
|
|
<el-col :span="6">
|
|
@@ -309,7 +318,7 @@
|
|
<el-input @blur="idcde" v-model="form.idCard" placeholder="请输入身份证号" />
|
|
<el-input @blur="idcde" v-model="form.idCard" placeholder="请输入身份证号" />
|
|
</el-form-item>
|
|
</el-form-item>
|
|
</el-col>
|
|
</el-col>
|
|
-
|
|
|
|
|
|
+
|
|
<el-col :span="6">
|
|
<el-col :span="6">
|
|
<el-form-item label="年龄" prop="age">
|
|
<el-form-item label="年龄" prop="age">
|
|
<el-input type="Number" v-model="form.age" placeholder="请输入年龄" />
|
|
<el-input type="Number" v-model="form.age" placeholder="请输入年龄" />
|
|
@@ -337,19 +346,19 @@
|
|
<el-input type="Number" v-model="form.phone" placeholder="请输入联系方式" />
|
|
<el-input type="Number" v-model="form.phone" placeholder="请输入联系方式" />
|
|
</el-form-item>
|
|
</el-form-item>
|
|
</el-col>
|
|
</el-col>
|
|
-
|
|
|
|
|
|
+
|
|
<el-col :span="6">
|
|
<el-col :span="6">
|
|
<el-form-item label="身高(CM)" prop="height">
|
|
<el-form-item label="身高(CM)" prop="height">
|
|
<el-input v-model="form.height" placeholder="请输入身高" />
|
|
<el-input v-model="form.height" placeholder="请输入身高" />
|
|
</el-form-item>
|
|
</el-form-item>
|
|
</el-col>
|
|
</el-col>
|
|
-
|
|
|
|
|
|
+
|
|
<el-col :span="6">
|
|
<el-col :span="6">
|
|
<el-form-item label="体重(KG)" prop="weight">
|
|
<el-form-item label="体重(KG)" prop="weight">
|
|
<el-input v-model="form.weight" placeholder="请输入体重" />
|
|
<el-input v-model="form.weight" placeholder="请输入体重" />
|
|
</el-form-item>
|
|
</el-form-item>
|
|
</el-col>
|
|
</el-col>
|
|
-
|
|
|
|
|
|
+
|
|
<el-col :span="6">
|
|
<el-col :span="6">
|
|
<el-form-item label="职称" prop="professional">
|
|
<el-form-item label="职称" prop="professional">
|
|
<el-select v-model="form.professional" placeholder="请选择职称" clearable>
|
|
<el-select v-model="form.professional" placeholder="请选择职称" clearable>
|
|
@@ -363,7 +372,7 @@
|
|
<!-- <el-input v-model="form.professional" placeholder="请输入职称" /> -->
|
|
<!-- <el-input v-model="form.professional" placeholder="请输入职称" /> -->
|
|
</el-form-item>
|
|
</el-form-item>
|
|
</el-col>
|
|
</el-col>
|
|
-
|
|
|
|
|
|
+
|
|
<el-col :span="6">
|
|
<el-col :span="6">
|
|
<el-form-item label="政治面貌" prop="politicalStatus">
|
|
<el-form-item label="政治面貌" prop="politicalStatus">
|
|
<el-select v-model="form.politicalStatus" placeholder="请选择政治面貌">
|
|
<el-select v-model="form.politicalStatus" placeholder="请选择政治面貌">
|
|
@@ -416,7 +425,7 @@
|
|
<el-col :span="6">
|
|
<el-col :span="6">
|
|
<el-form-item label="备注" prop="remark">
|
|
<el-form-item label="备注" prop="remark">
|
|
<el-input v-model="form.remark" type="textarea" placeholder="请输入内容" />
|
|
<el-input v-model="form.remark" type="textarea" placeholder="请输入内容" />
|
|
- </el-form-item>
|
|
|
|
|
|
+ </el-form-item>
|
|
</el-col>
|
|
</el-col>
|
|
<el-col :span="24">
|
|
<el-col :span="24">
|
|
<el-form-item label="居住地址" prop="address">
|
|
<el-form-item label="居住地址" prop="address">
|
|
@@ -427,7 +436,7 @@
|
|
<bm-geolocation anchor="BMAP_ANCHOR_BOTTOM_RIGHT" :showAddressBar="true" :autoLocation="true" @locationSuccess="secc" @locationError="errw"></bm-geolocation>
|
|
<bm-geolocation anchor="BMAP_ANCHOR_BOTTOM_RIGHT" :showAddressBar="true" :autoLocation="true" @locationSuccess="secc" @locationError="errw"></bm-geolocation>
|
|
<!-- <bm-auto-complete v-model="form.address" :sugStyle="{zIndex: 99}"> -->
|
|
<!-- <bm-auto-complete v-model="form.address" :sugStyle="{zIndex: 99}"> -->
|
|
<!-- <el-input placeholder="请输入地名关键字" v-model="form.address" @blur = "boiu" @focus= "faie"></el-input> -->
|
|
<!-- <el-input placeholder="请输入地名关键字" v-model="form.address" @blur = "boiu" @focus= "faie"></el-input> -->
|
|
-
|
|
|
|
|
|
+
|
|
<!-- <search-field placeholder="请输入地名关键字"></search-field> -->
|
|
<!-- <search-field placeholder="请输入地名关键字"></search-field> -->
|
|
<!-- 这里指代一个自定义搜索框组件 -->
|
|
<!-- 这里指代一个自定义搜索框组件 -->
|
|
<!-- </bm-auto-complete> -->
|
|
<!-- </bm-auto-complete> -->
|
|
@@ -447,7 +456,7 @@
|
|
</el-form-item>
|
|
</el-form-item>
|
|
</el-col>
|
|
</el-col>
|
|
<el-col :span="24">
|
|
<el-col :span="24">
|
|
-
|
|
|
|
|
|
+
|
|
</el-col>
|
|
</el-col>
|
|
<el-col :span="24">
|
|
<el-col :span="24">
|
|
<el-col :span="8">
|
|
<el-col :span="8">
|
|
@@ -459,7 +468,7 @@
|
|
<el-form-item label="学位证书照" prop="degreePhoto">
|
|
<el-form-item label="学位证书照" prop="degreePhoto">
|
|
<image-uploads v-model="form.degreePhoto"/>
|
|
<image-uploads v-model="form.degreePhoto"/>
|
|
</el-form-item>
|
|
</el-form-item>
|
|
- </el-col>
|
|
|
|
|
|
+ </el-col>
|
|
<el-col :span="8">
|
|
<el-col :span="8">
|
|
<el-form-item label="教资证明照" prop="teachingPhoto">
|
|
<el-form-item label="教资证明照" prop="teachingPhoto">
|
|
<image-uploads v-model="form.teachingPhoto"/>
|
|
<image-uploads v-model="form.teachingPhoto"/>
|
|
@@ -467,8 +476,8 @@
|
|
</el-col>
|
|
</el-col>
|
|
</el-col>
|
|
</el-col>
|
|
<el-col :spn="24">
|
|
<el-col :spn="24">
|
|
-
|
|
|
|
-
|
|
|
|
|
|
+
|
|
|
|
+
|
|
</el-col>
|
|
</el-col>
|
|
<el-col :spn="24">
|
|
<el-col :spn="24">
|
|
<el-col :span="8">
|
|
<el-col :span="8">
|
|
@@ -487,12 +496,12 @@
|
|
</el-form-item>
|
|
</el-form-item>
|
|
</el-col>
|
|
</el-col>
|
|
</el-col>
|
|
</el-col>
|
|
-
|
|
|
|
-
|
|
|
|
-
|
|
|
|
-
|
|
|
|
-
|
|
|
|
-
|
|
|
|
|
|
+
|
|
|
|
+
|
|
|
|
+
|
|
|
|
+
|
|
|
|
+
|
|
|
|
+
|
|
</el-row>
|
|
</el-row>
|
|
<!-- <el-form-item label="班级id" prop="classId">
|
|
<!-- <el-form-item label="班级id" prop="classId">
|
|
<el-input v-model="form.classId" placeholder="请输入班级id" />
|
|
<el-input v-model="form.classId" placeholder="请输入班级id" />
|
|
@@ -541,7 +550,7 @@ export default {
|
|
// 查询参数
|
|
// 查询参数
|
|
queryParams: {
|
|
queryParams: {
|
|
pageNum: 1,
|
|
pageNum: 1,
|
|
- pageSize: 10,
|
|
|
|
|
|
+ pageSize: 8,
|
|
teacherId: null,
|
|
teacherId: null,
|
|
name: null,
|
|
name: null,
|
|
sex: null,
|
|
sex: null,
|
|
@@ -600,10 +609,12 @@ export default {
|
|
longit: '', // 经度
|
|
longit: '', // 经度
|
|
latit: '', // 纬度
|
|
latit: '', // 纬度
|
|
ak:'Bjardsym8W1tLv0PmOAVfCosOLIiFdKX',
|
|
ak:'Bjardsym8W1tLv0PmOAVfCosOLIiFdKX',
|
|
- ferg:false
|
|
|
|
|
|
+ ferg:false,
|
|
|
|
+
|
|
};
|
|
};
|
|
},
|
|
},
|
|
created() {
|
|
created() {
|
|
|
|
+
|
|
window.onresize = () => {
|
|
window.onresize = () => {
|
|
this.changeTableMaxHeight()
|
|
this.changeTableMaxHeight()
|
|
}
|
|
}
|
|
@@ -617,10 +628,10 @@ export default {
|
|
// this.$nextTick(function () {
|
|
// this.$nextTick(function () {
|
|
// //写入自己的ak
|
|
// //写入自己的ak
|
|
// MP(this.ak).then(BMap => {
|
|
// MP(this.ak).then(BMap => {
|
|
- // // cons
|
|
|
|
|
|
+ // // cons
|
|
// //在此调用api
|
|
// //在此调用api
|
|
// this.lib_getPosition()//这是我自定义的
|
|
// this.lib_getPosition()//这是我自定义的
|
|
-
|
|
|
|
|
|
+
|
|
// })
|
|
// })
|
|
// })
|
|
// })
|
|
window.onresize = () => {
|
|
window.onresize = () => {
|
|
@@ -633,7 +644,7 @@ export default {
|
|
//Toast("如长时间未获取办理区域请手动选择");
|
|
//Toast("如长时间未获取办理区域请手动选择");
|
|
myBMap.init().then(() => {
|
|
myBMap.init().then(() => {
|
|
let that = this;
|
|
let that = this;
|
|
- let geolocation = new BMap.Geolocation();
|
|
|
|
|
|
+ let geolocation = new BMap.Geolocation();
|
|
// 创建百度地理位置实例,代替 navigator.geolocation
|
|
// 创建百度地理位置实例,代替 navigator.geolocation
|
|
geolocation.getCurrentPosition(function (e) {
|
|
geolocation.getCurrentPosition(function (e) {
|
|
if (this.getStatus() == BMAP_STATUS_SUCCESS) {
|
|
if (this.getStatus() == BMAP_STATUS_SUCCESS) {
|
|
@@ -653,8 +664,8 @@ export default {
|
|
},
|
|
},
|
|
|
|
|
|
getMap () {
|
|
getMap () {
|
|
- // 先定义that = this
|
|
|
|
- var that = this
|
|
|
|
|
|
+ // 先定义that = this
|
|
|
|
+ var that = this
|
|
// 生成地图
|
|
// 生成地图
|
|
var map = new window.AMap.Map('container', {
|
|
var map = new window.AMap.Map('container', {
|
|
resizeEnable: true,
|
|
resizeEnable: true,
|
|
@@ -667,7 +678,7 @@ export default {
|
|
rotateEnable: false, // 地图是否可旋转,3D视图默认为true,2D视图默认false
|
|
rotateEnable: false, // 地图是否可旋转,3D视图默认为true,2D视图默认false
|
|
viewMode: '3D'
|
|
viewMode: '3D'
|
|
})
|
|
})
|
|
-
|
|
|
|
|
|
+
|
|
// 获取到当前位置的定位
|
|
// 获取到当前位置的定位
|
|
AMap.plugin('AMap.Geolocation', function() {
|
|
AMap.plugin('AMap.Geolocation', function() {
|
|
var geolocation = new AMap.Geolocation({
|
|
var geolocation = new AMap.Geolocation({
|
|
@@ -686,7 +697,7 @@ export default {
|
|
pName: "Geolocation",
|
|
pName: "Geolocation",
|
|
|
|
|
|
})
|
|
})
|
|
-
|
|
|
|
|
|
+
|
|
geolocation.getCurrentPosition()
|
|
geolocation.getCurrentPosition()
|
|
AMap.event.addListener(geolocation, 'complete', onComplete)
|
|
AMap.event.addListener(geolocation, 'complete', onComplete)
|
|
AMap.event.addListener(geolocation, 'error', onError)
|
|
AMap.event.addListener(geolocation, 'error', onError)
|
|
@@ -694,21 +705,21 @@ export default {
|
|
function onComplete (data) {
|
|
function onComplete (data) {
|
|
// data是具体的定位信息
|
|
// data是具体的定位信息
|
|
console.log('data是具体的定位信息', data)
|
|
console.log('data是具体的定位信息', data)
|
|
-
|
|
|
|
|
|
+
|
|
// 这里使用that而不是this,如果使用this,则无法在其他地方获取到这里的经纬度
|
|
// 这里使用that而不是this,如果使用this,则无法在其他地方获取到这里的经纬度
|
|
that.longit = data.position.lng
|
|
that.longit = data.position.lng
|
|
that.latit = data.position.lat
|
|
that.latit = data.position.lat
|
|
}
|
|
}
|
|
function onError (data) {
|
|
function onError (data) {
|
|
-
|
|
|
|
|
|
+
|
|
// 定位出错
|
|
// 定位出错
|
|
console.log('定位失败',data)
|
|
console.log('定位失败',data)
|
|
// that.$nextTick(function () {
|
|
// that.$nextTick(function () {
|
|
// //写入自己的ak
|
|
// //写入自己的ak
|
|
- // console.log('data是具体的定位信息')
|
|
|
|
|
|
+ // console.log('data是具体的定位信息')
|
|
MP(that.ak).then(BMap => {
|
|
MP(that.ak).then(BMap => {
|
|
var map = new BMap.Map('allmap');
|
|
var map = new BMap.Map('allmap');
|
|
- // const BMap = window.BMapGL;
|
|
|
|
|
|
+ // const BMap = window.BMapGL;
|
|
// const AMap = new window.AMap;
|
|
// const AMap = new window.AMap;
|
|
const BMapGeolocation = new BMap.Geolocation();
|
|
const BMapGeolocation = new BMap.Geolocation();
|
|
BMapGeolocation.getCurrentPosition( (r) => {
|
|
BMapGeolocation.getCurrentPosition( (r) => {
|
|
@@ -721,8 +732,8 @@ export default {
|
|
// 根据经纬度获取当前经纬度的位置信息
|
|
// 根据经纬度获取当前经纬度的位置信息
|
|
console.log(r,r.latitude,r.longitude)
|
|
console.log(r,r.latitude,r.longitude)
|
|
// that.getAdd();
|
|
// that.getAdd();
|
|
-
|
|
|
|
-
|
|
|
|
|
|
+
|
|
|
|
+
|
|
const geocoder = new AMap.Geocoder({
|
|
const geocoder = new AMap.Geocoder({
|
|
radius: 1000,
|
|
radius: 1000,
|
|
extensions: "all",
|
|
extensions: "all",
|
|
@@ -748,8 +759,8 @@ export default {
|
|
});
|
|
});
|
|
})
|
|
})
|
|
// })
|
|
// })
|
|
-
|
|
|
|
-
|
|
|
|
|
|
+
|
|
|
|
+
|
|
// that.lib_getPosition();
|
|
// that.lib_getPosition();
|
|
}
|
|
}
|
|
})
|
|
})
|
|
@@ -762,12 +773,12 @@ export default {
|
|
/**
|
|
/**
|
|
* 百度地图获取经纬度
|
|
* 百度地图获取经纬度
|
|
*/
|
|
*/
|
|
-
|
|
|
|
|
|
+
|
|
lib_getPosition() {
|
|
lib_getPosition() {
|
|
const that = this;
|
|
const that = this;
|
|
console.log(23)
|
|
console.log(23)
|
|
var map = new BMap.Map('allmap');
|
|
var map = new BMap.Map('allmap');
|
|
- // const BMap = window.BMapGL;
|
|
|
|
|
|
+ // const BMap = window.BMapGL;
|
|
// const AMap = new window.AMap;
|
|
// const AMap = new window.AMap;
|
|
const BMapGeolocation = new BMap.Geolocation();
|
|
const BMapGeolocation = new BMap.Geolocation();
|
|
BMapGeolocation.getCurrentPosition( (r) => {
|
|
BMapGeolocation.getCurrentPosition( (r) => {
|
|
@@ -784,7 +795,7 @@ export default {
|
|
}
|
|
}
|
|
});
|
|
});
|
|
},
|
|
},
|
|
-
|
|
|
|
|
|
+
|
|
/**
|
|
/**
|
|
* 根据经纬度获取地址
|
|
* 根据经纬度获取地址
|
|
*/
|
|
*/
|
|
@@ -824,7 +835,7 @@ export default {
|
|
},
|
|
},
|
|
|
|
|
|
|
|
|
|
-
|
|
|
|
|
|
+
|
|
/** 查询老师档案信息列表 */
|
|
/** 查询老师档案信息列表 */
|
|
getListuye(val) {
|
|
getListuye(val) {
|
|
this.loading = true;
|
|
this.loading = true;
|
|
@@ -844,7 +855,7 @@ export default {
|
|
if(rou.children != undefined){
|
|
if(rou.children != undefined){
|
|
rou.children.filter(rour =>{
|
|
rou.children.filter(rour =>{
|
|
this.kiuesegh.push(rour)
|
|
this.kiuesegh.push(rour)
|
|
- })
|
|
|
|
|
|
+ })
|
|
}
|
|
}
|
|
// this.kiuesegh = rou.children
|
|
// this.kiuesegh = rou.children
|
|
// this.kiuesegh.push(rou.children)
|
|
// this.kiuesegh.push(rou.children)
|
|
@@ -853,7 +864,7 @@ export default {
|
|
this.kiueseghs = this.kiuesegh
|
|
this.kiueseghs = this.kiuesegh
|
|
// this.deptOptions = response.data
|
|
// this.deptOptions = response.data
|
|
console.log(this.kiuesegh)
|
|
console.log(this.kiuesegh)
|
|
- });
|
|
|
|
|
|
+ });
|
|
},
|
|
},
|
|
/** 查询学生档案信息列表 */
|
|
/** 查询学生档案信息列表 */
|
|
getList() {
|
|
getList() {
|
|
@@ -932,6 +943,15 @@ export default {
|
|
this.open = true;
|
|
this.open = true;
|
|
this.title = "修改老师档案信息";
|
|
this.title = "修改老师档案信息";
|
|
});
|
|
});
|
|
|
|
+ },
|
|
|
|
+ // 查看
|
|
|
|
+ handleUpdatech(row){
|
|
|
|
+ this.$router.push({
|
|
|
|
+ path: '/danga/teacherdanme',
|
|
|
|
+ query: {
|
|
|
|
+ 'id':row.id,
|
|
|
|
+ }
|
|
|
|
+ })
|
|
},
|
|
},
|
|
// 身份证
|
|
// 身份证
|
|
idcde(event) {
|
|
idcde(event) {
|
|
@@ -968,7 +988,7 @@ export default {
|
|
this.$message.error('证件格式不正确');
|
|
this.$message.error('证件格式不正确');
|
|
}
|
|
}
|
|
}
|
|
}
|
|
-
|
|
|
|
|
|
+
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
},
|
|
@@ -980,14 +1000,14 @@ export default {
|
|
let month = myDate.getMonth() + 1;
|
|
let month = myDate.getMonth() + 1;
|
|
let day = myDate.getDate();
|
|
let day = myDate.getDate();
|
|
let age = 0;
|
|
let age = 0;
|
|
-
|
|
|
|
|
|
+
|
|
if (idCard.length === 18) {
|
|
if (idCard.length === 18) {
|
|
age = myDate.getFullYear() - idCard.substring(6, 10) - 1;
|
|
age = myDate.getFullYear() - idCard.substring(6, 10) - 1;
|
|
sex = idCard.substring(16, 17);
|
|
sex = idCard.substring(16, 17);
|
|
birth = idCard.substring(6, 10) + "-" + idCard.substring(10, 12) + "-" + idCard.substring(12, 14);
|
|
birth = idCard.substring(6, 10) + "-" + idCard.substring(10, 12) + "-" + idCard.substring(12, 14);
|
|
if (idCard.substring(10, 12) < month || idCard.substring(10, 12) === month && idCard.substring(12, 14) <= day)
|
|
if (idCard.substring(10, 12) < month || idCard.substring(10, 12) === month && idCard.substring(12, 14) <= day)
|
|
age++;
|
|
age++;
|
|
-
|
|
|
|
|
|
+
|
|
}
|
|
}
|
|
if (idCard.length === 15) {
|
|
if (idCard.length === 15) {
|
|
age = myDate.getFullYear() - idCard.substring(6, 8) - 1901;
|
|
age = myDate.getFullYear() - idCard.substring(6, 8) - 1901;
|
|
@@ -996,7 +1016,7 @@ export default {
|
|
if (idCard.substring(8, 10) < month || idCard.substring(8, 10) === month && idCard.substring(10, 12) <= day)
|
|
if (idCard.substring(8, 10) < month || idCard.substring(8, 10) === month && idCard.substring(10, 12) <= day)
|
|
age++;
|
|
age++;
|
|
}
|
|
}
|
|
-
|
|
|
|
|
|
+
|
|
if (sex % 2 === 0) sex = '2';
|
|
if (sex % 2 === 0) sex = '2';
|
|
else sex = '1';
|
|
else sex = '1';
|
|
this.form.sex = sex
|
|
this.form.sex = sex
|
|
@@ -1011,7 +1031,7 @@ export default {
|
|
// idea() {
|
|
// idea() {
|
|
// idces({ idCard: this.form.idCard }).then(response => {
|
|
// idces({ idCard: this.form.idCard }).then(response => {
|
|
// console.log(response);
|
|
// console.log(response);
|
|
-
|
|
|
|
|
|
+
|
|
// });
|
|
// });
|
|
// },
|
|
// },
|
|
/** 提交按钮 */
|
|
/** 提交按钮 */
|
|
@@ -1021,14 +1041,14 @@ export default {
|
|
} else{
|
|
} else{
|
|
if(this.form.phone !== ''){
|
|
if(this.form.phone !== ''){
|
|
if(redw.test(this.form.phone)){
|
|
if(redw.test(this.form.phone)){
|
|
-
|
|
|
|
|
|
+
|
|
}else{
|
|
}else{
|
|
this.$message.error('手机号码不正确');
|
|
this.$message.error('手机号码不正确');
|
|
return false
|
|
return false
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
-
|
|
|
|
|
|
+
|
|
this.$refs["form"].validate(valid => {
|
|
this.$refs["form"].validate(valid => {
|
|
if (valid) {
|
|
if (valid) {
|
|
if (this.form.id != null) {
|
|
if (this.form.id != null) {
|
|
@@ -1065,16 +1085,16 @@ export default {
|
|
},
|
|
},
|
|
handleChange (value) {
|
|
handleChange (value) {
|
|
console.log(3976);
|
|
console.log(3976);
|
|
-
|
|
|
|
|
|
+
|
|
//我们选择地址后,selectedOptions 会保存对应的区域码,例如北京的区域码为'110000'
|
|
//我们选择地址后,selectedOptions 会保存对应的区域码,例如北京的区域码为'110000'
|
|
//我们要取出区域码对应的汉字,就需要用CodeToText(区域码)进行输出
|
|
//我们要取出区域码对应的汉字,就需要用CodeToText(区域码)进行输出
|
|
this.addtions.selectedOptions = value
|
|
this.addtions.selectedOptions = value
|
|
console.log(this.selectedOptions);
|
|
console.log(this.selectedOptions);
|
|
-
|
|
|
|
|
|
+
|
|
var name = ''
|
|
var name = ''
|
|
-
|
|
|
|
|
|
+
|
|
this.selectedOptions.map(item => name += CodeToText[item] + '/')
|
|
this.selectedOptions.map(item => name += CodeToText[item] + '/')
|
|
- this.addtions.names = name
|
|
|
|
|
|
+ this.addtions.names = name
|
|
this.namestwo = this.addtions.names.split('/')
|
|
this.namestwo = this.addtions.names.split('/')
|
|
// for (let index = 0; index < this.namestwo.length; index++) {
|
|
// for (let index = 0; index < this.namestwo.length; index++) {
|
|
// const element = this.namestwo[index];
|
|
// const element = this.namestwo[index];
|
|
@@ -1082,7 +1102,7 @@ export default {
|
|
// this.form.cityName.value = this.namestwo[1]
|
|
// this.form.cityName.value = this.namestwo[1]
|
|
// this.form.regionName.value = this.namestwo[2]
|
|
// this.form.regionName.value = this.namestwo[2]
|
|
// console.log(this.form);
|
|
// console.log(this.form);
|
|
-
|
|
|
|
|
|
+
|
|
// }
|
|
// }
|
|
this.form.area = this.addtions.names.split('/')
|
|
this.form.area = this.addtions.names.split('/')
|
|
this.form.areaCode = this.addtions.selectedOptions
|
|
this.form.areaCode = this.addtions.selectedOptions
|
|
@@ -1093,11 +1113,11 @@ export default {
|
|
}
|
|
}
|
|
console.log(this.mapCenter);
|
|
console.log(this.mapCenter);
|
|
console.log(this.location);
|
|
console.log(this.location);
|
|
-
|
|
|
|
-
|
|
|
|
|
|
+
|
|
|
|
+
|
|
console.log(this.form.areaCode);
|
|
console.log(this.form.areaCode);
|
|
console.log(this.addtions.names.split('/'))
|
|
console.log(this.addtions.names.split('/'))
|
|
-
|
|
|
|
|
|
+
|
|
console.log(this.addtions.selectedOptions)
|
|
console.log(this.addtions.selectedOptions)
|
|
},
|
|
},
|
|
// 、、地图
|
|
// 、、地图
|
|
@@ -1125,20 +1145,20 @@ export default {
|
|
// } else {
|
|
// } else {
|
|
// addr += addrComponent.streetNumber
|
|
// addr += addrComponent.streetNumber
|
|
// }
|
|
// }
|
|
-
|
|
|
|
|
|
+
|
|
// that.choosedLocation = { province, city, district, addr, ...that.center }
|
|
// that.choosedLocation = { province, city, district, addr, ...that.center }
|
|
})
|
|
})
|
|
},
|
|
},
|
|
searchcomplete(e){
|
|
searchcomplete(e){
|
|
console.log(e);
|
|
console.log(e);
|
|
-
|
|
|
|
|
|
+
|
|
},
|
|
},
|
|
handlerBMap({ BMap, map }) {
|
|
handlerBMap({ BMap, map }) {
|
|
this.BMap = BMap
|
|
this.BMap = BMap
|
|
this.map = map
|
|
this.map = map
|
|
console.log(BMap,map);
|
|
console.log(BMap,map);
|
|
console.log(this.mapLocatio);
|
|
console.log(this.mapLocatio);
|
|
-
|
|
|
|
|
|
+
|
|
// if (this.mapLocation.coordinate && this.mapLocation.coordinate.lng) {
|
|
// if (this.mapLocation.coordinate && this.mapLocation.coordinate.lng) {
|
|
// // this.mapCenter.lng = this.mapLocation.coordinate.lng
|
|
// // this.mapCenter.lng = this.mapLocation.coordinate.lng
|
|
// // this.mapCenter.lat = this.mapLocation.coordinate.lat
|
|
// // this.mapCenter.lat = this.mapLocation.coordinate.lat
|
|
@@ -1157,11 +1177,11 @@ export default {
|
|
// var that = this
|
|
// var that = this
|
|
// var myGeo = new this.BMap.Geocoder()
|
|
// var myGeo = new this.BMap.Geocoder()
|
|
// console.log(queryString, cb);
|
|
// console.log(queryString, cb);
|
|
-
|
|
|
|
|
|
+
|
|
// myGeo.getPoint(queryString, function(point) {
|
|
// myGeo.getPoint(queryString, function(point) {
|
|
// console.log(point);
|
|
// console.log(point);
|
|
// // var point = '安庆市'
|
|
// // var point = '安庆市'
|
|
-
|
|
|
|
|
|
+
|
|
// if (point) {
|
|
// if (point) {
|
|
// that.mapLocation.coordinate = point
|
|
// that.mapLocation.coordinate = point
|
|
// that.makerCenter(point)
|
|
// that.makerCenter(point)
|
|
@@ -1170,28 +1190,28 @@ export default {
|
|
// }
|
|
// }
|
|
// }, this.locationCity)
|
|
// }, this.locationCity)
|
|
// console.log(this.locationCity);
|
|
// console.log(this.locationCity);
|
|
-
|
|
|
|
|
|
+
|
|
// var options = {
|
|
// var options = {
|
|
// onSearchComplete: function(results) {
|
|
// onSearchComplete: function(results) {
|
|
// console.log(local.getStatus());
|
|
// console.log(local.getStatus());
|
|
-
|
|
|
|
|
|
+
|
|
// if (local.getStatus() === 0) {
|
|
// if (local.getStatus() === 0) {
|
|
// // 判断状态是否正确
|
|
// // 判断状态是否正确
|
|
// var s = []
|
|
// var s = []
|
|
// console.log(results.getCurrentNumPois());
|
|
// console.log(results.getCurrentNumPois());
|
|
-
|
|
|
|
|
|
+
|
|
// for (var i = 0; i < results.getCurrentNumPois(); i++) {
|
|
// for (var i = 0; i < results.getCurrentNumPois(); i++) {
|
|
// var x = results.getPoi(i)
|
|
// var x = results.getPoi(i)
|
|
// console.log(x);
|
|
// console.log(x);
|
|
-
|
|
|
|
|
|
+
|
|
// var item = { value: x.address + x.title, point: x.point }
|
|
// var item = { value: x.address + x.title, point: x.point }
|
|
// s.push(item)
|
|
// s.push(item)
|
|
// // console.log(s);
|
|
// // console.log(s);
|
|
-
|
|
|
|
|
|
+
|
|
// cb(s)
|
|
// cb(s)
|
|
// }
|
|
// }
|
|
// // console.log(s);
|
|
// // console.log(s);
|
|
-
|
|
|
|
|
|
+
|
|
// } else {
|
|
// } else {
|
|
// cb()
|
|
// cb()
|
|
// }
|
|
// }
|
|
@@ -1208,11 +1228,11 @@ export default {
|
|
// if(queryString[i].address == undefined){
|
|
// if(queryString[i].address == undefined){
|
|
// queryString[i].address = ''
|
|
// queryString[i].address = ''
|
|
// }
|
|
// }
|
|
- // x= this.nameadd[i].address + this.nameadd[i].title
|
|
|
|
|
|
+ // x= this.nameadd[i].address + this.nameadd[i].title
|
|
// item.push(x)
|
|
// item.push(x)
|
|
- this.nameadd[i].value = this.nameadd[i].address + this.nameadd[i].title
|
|
|
|
|
|
+ this.nameadd[i].value = this.nameadd[i].address + this.nameadd[i].title
|
|
console.log(this.nameadd[i].value);
|
|
console.log(this.nameadd[i].value);
|
|
-
|
|
|
|
|
|
+
|
|
// this.nameadd.push( item)
|
|
// this.nameadd.push( item)
|
|
}
|
|
}
|
|
// this.nameadd = item
|
|
// this.nameadd = item
|
|
@@ -1221,17 +1241,17 @@ export default {
|
|
cb(this.nameadd)
|
|
cb(this.nameadd)
|
|
if(this.nameadd.length != 0){
|
|
if(this.nameadd.length != 0){
|
|
// console.log(local.getStatus());
|
|
// console.log(local.getStatus());
|
|
-
|
|
|
|
|
|
+
|
|
}else{
|
|
}else{
|
|
cb(this.kdourg)
|
|
cb(this.kdourg)
|
|
}
|
|
}
|
|
-
|
|
|
|
|
|
+
|
|
console.log(this.nameadd);
|
|
console.log(this.nameadd);
|
|
-
|
|
|
|
|
|
+
|
|
// }
|
|
// }
|
|
// console.log(options );
|
|
// console.log(options );
|
|
// var local = new this.BMap.LocalSearch('安庆市', options)
|
|
// var local = new this.BMap.LocalSearch('安庆市', options)
|
|
-
|
|
|
|
|
|
+
|
|
// console.log(queryString );
|
|
// console.log(queryString );
|
|
// local.search(queryString)
|
|
// local.search(queryString)
|
|
},
|
|
},
|
|
@@ -1242,7 +1262,7 @@ export default {
|
|
this.form.latitude = this.mapLocation.coordinate.lat
|
|
this.form.latitude = this.mapLocation.coordinate.lat
|
|
console.log(this.mapLocation.coordinate);
|
|
console.log(this.mapLocation.coordinate);
|
|
this.ferg = true
|
|
this.ferg = true
|
|
-
|
|
|
|
|
|
+
|
|
// this.makerCenter(point)
|
|
// this.makerCenter(point)
|
|
},
|
|
},
|
|
handleSelectb(item){
|
|
handleSelectb(item){
|
|
@@ -1258,14 +1278,14 @@ export default {
|
|
}
|
|
}
|
|
});
|
|
});
|
|
// }
|
|
// }
|
|
-
|
|
|
|
-
|
|
|
|
|
|
+
|
|
|
|
+
|
|
|
|
|
|
console.log(this.form.address,396);
|
|
console.log(this.form.address,396);
|
|
},
|
|
},
|
|
makerCenter(point) {
|
|
makerCenter(point) {
|
|
console.log(point);
|
|
console.log(point);
|
|
-
|
|
|
|
|
|
+
|
|
if (this.map) {
|
|
if (this.map) {
|
|
this.map.clearOverlays()
|
|
this.map.clearOverlays()
|
|
this.map.addOverlay(new this.BMap.Marker(point))
|
|
this.map.addOverlay(new this.BMap.Marker(point))
|
|
@@ -1279,8 +1299,8 @@ export default {
|
|
// console.log(results,cb);
|
|
// console.log(results,cb);
|
|
console.log(results);
|
|
console.log(results);
|
|
console.log(this.form.address);
|
|
console.log(this.form.address);
|
|
-
|
|
|
|
-
|
|
|
|
|
|
+
|
|
|
|
+
|
|
// if(this.form.address == ''){
|
|
// if(this.form.address == ''){
|
|
// this.nameadd = []
|
|
// this.nameadd = []
|
|
// }else{
|
|
// }else{
|
|
@@ -1291,18 +1311,18 @@ export default {
|
|
// var cb= cb
|
|
// var cb= cb
|
|
this.querySearch(this.nameadd,this.cb)
|
|
this.querySearch(this.nameadd,this.cb)
|
|
// results,cb
|
|
// results,cb
|
|
-
|
|
|
|
|
|
+
|
|
// this.nameadd.
|
|
// this.nameadd.
|
|
// var local = new this.BMap.LocalSearch(this.map, options)
|
|
// var local = new this.BMap.LocalSearch(this.map, options)
|
|
// local.search(queryString)
|
|
// local.search(queryString)
|
|
-
|
|
|
|
|
|
+
|
|
},
|
|
},
|
|
//选中数据
|
|
//选中数据
|
|
confirmf(e){
|
|
confirmf(e){
|
|
console.log(143);
|
|
console.log(143);
|
|
console.log(e);
|
|
console.log(e);
|
|
this.nameadd = e
|
|
this.nameadd = e
|
|
-
|
|
|
|
|
|
+
|
|
},
|
|
},
|
|
boiu(){
|
|
boiu(){
|
|
// this.okuyt = false
|
|
// this.okuyt = false
|
|
@@ -1330,7 +1350,7 @@ export default {
|
|
this.filterActive = !this.filterActive
|
|
this.filterActive = !this.filterActive
|
|
this.changeTableMaxHeight()
|
|
this.changeTableMaxHeight()
|
|
},
|
|
},
|
|
-
|
|
|
|
|
|
+
|
|
changeTableMaxHeight () {
|
|
changeTableMaxHeight () {
|
|
let height = document.body.offsetHeight // 网页可视区域高度
|
|
let height = document.body.offsetHeight // 网页可视区域高度
|
|
// if (this.filterActive) {
|
|
// if (this.filterActive) {
|
|
@@ -1345,6 +1365,48 @@ export default {
|
|
</script>
|
|
</script>
|
|
|
|
|
|
<style>
|
|
<style>
|
|
|
|
+ .ingwe{
|
|
|
|
+ margin-top: 0;
|
|
|
|
+ }
|
|
|
|
+ .el-drawer__body{
|
|
|
|
+ padding: 0 10px;
|
|
|
|
+ }
|
|
|
|
+ .el-card__body, .el-main{
|
|
|
|
+ padding:10px;
|
|
|
|
+ /* margin-bottom:10px; */
|
|
|
|
+ }
|
|
|
|
+ .el-divider--horizontal{
|
|
|
|
+ margin:7px 0;
|
|
|
|
+ }
|
|
|
|
+ .text {
|
|
|
|
+ font-size: 14px;
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+ .item {
|
|
|
|
+ /* padding: 10px 0; */
|
|
|
|
+ }
|
|
|
|
+ .item p {
|
|
|
|
+ margin:0;
|
|
|
|
+ color:#161616;
|
|
|
|
+ margin-bottom:5px;
|
|
|
|
+ }
|
|
|
|
+ .item p span{
|
|
|
|
+ color:#aaa;
|
|
|
|
+ /* padding-left:5px; */
|
|
|
|
+ margin-right:5px;
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+ .box-card {
|
|
|
|
+ width: 100%;
|
|
|
|
+ margin-bottom:10px;
|
|
|
|
+ }
|
|
|
|
+ .ngtes .el-table .el-dropdown-link, .el-table .el-dropdown-selfdefine{
|
|
|
|
+ margin-left:0;
|
|
|
|
+ }
|
|
|
|
+ .ngtes .el-button+.el-button, .el-checkbox.is-bordered+.el-checkbox.is-bordered{
|
|
|
|
+ margin-right:5px;
|
|
|
|
+ margin-left:5px;
|
|
|
|
+ }
|
|
.demo-table-expand {
|
|
.demo-table-expand {
|
|
font-size: 0;
|
|
font-size: 0;
|
|
.ngr{
|
|
.ngr{
|
|
@@ -1364,16 +1426,41 @@ export default {
|
|
</style>
|
|
</style>
|
|
|
|
|
|
<style scoped lang="scss">
|
|
<style scoped lang="scss">
|
|
- // 去除百度地图的图标 根据实际情况看是否要加样式穿透(::v-deep)
|
|
|
|
- ::v-deep .anchorBL {
|
|
|
|
- display: none !important;
|
|
|
|
- }
|
|
|
|
-
|
|
|
|
|
|
+ .psnge{
|
|
|
|
+ p{
|
|
|
|
+ margin: 0;
|
|
|
|
+ padding-left: 10px;
|
|
|
|
+ span{
|
|
|
|
+ font-weight: 500;
|
|
|
|
+ font-size: 14px;
|
|
|
|
+ color: #606266;
|
|
|
|
+ line-height: 24px;
|
|
|
|
+ }
|
|
|
|
+ }
|
|
|
|
+ }
|
|
|
|
+ .tongty{
|
|
|
|
+ display: flex;
|
|
|
|
+ align-items: center;
|
|
|
|
+ }
|
|
|
|
+ .bortt{
|
|
|
|
+ border-top: 1px solid #DADADA;
|
|
|
|
+ margin-top: 15px;
|
|
|
|
+
|
|
|
|
+ p{
|
|
|
|
+ margin: 0;
|
|
|
|
+ font-weight: bold;
|
|
|
|
+ font-size: 14px;
|
|
|
|
+ color: #5F8BF4;
|
|
|
|
+ width:50%;
|
|
|
|
+ padding: 10px;
|
|
|
|
+ text-align: center;
|
|
|
|
+ }
|
|
|
|
+ }
|
|
.bgtan{
|
|
.bgtan{
|
|
border-left: 3px solid #4775EA;
|
|
border-left: 3px solid #4775EA;
|
|
padding-left: 10px;
|
|
padding-left: 10px;
|
|
}
|
|
}
|
|
-
|
|
|
|
|
|
+
|
|
.app-container{
|
|
.app-container{
|
|
background-color: #f6f6f6;
|
|
background-color: #f6f6f6;
|
|
// height: 100vh;
|
|
// height: 100vh;
|
|
@@ -1406,4 +1493,8 @@ export default {
|
|
width: 100%;
|
|
width: 100%;
|
|
height: 300px;
|
|
height: 300px;
|
|
}
|
|
}
|
|
|
|
+ // 去除百度地图的图标 根据实际情况看是否要加样式穿透(::v-deep)
|
|
|
|
+ ::v-deep .anchorBL {
|
|
|
|
+ display: none !important;
|
|
|
|
+ }
|
|
</style>
|
|
</style>
|