diff --git a/.env.development b/.env.development
index 353690269..be04f184b 100644
--- a/.env.development
+++ b/.env.development
@@ -8,7 +8,8 @@ VUE_APP_API_SERVER = http://192.168.1.140/api
# VUE_APP_API_SERVER = https://epmet-dev.elinkservice.cn:41080/api
# VUE_APP_API_SERVER = https://epmet-dev.elinkservice.cn/api
-VUE_APP_NODE_ENV=dev_sdtdt
+# VUE_APP_NODE_ENV=dev_sdtdt
+VUE_APP_NODE_ENV=dev
#项目根路径
VUE_APP_PUBLIC_PATH=epmet-oper
VUE_APP_CUSTOMER=yantai
\ No newline at end of file
diff --git a/src/assets/scss/pages/staffRegister.scss b/src/assets/scss/pages/staffRegister.scss
new file mode 100644
index 000000000..21f41a4d0
--- /dev/null
+++ b/src/assets/scss/pages/staffRegister.scss
@@ -0,0 +1,168 @@
+.bg-caiji {
+
+ // background-color: rgba(189, 214, 255, 0.89);
+ height: 100%;
+ width: 100vw;
+ padding: 20px;
+
+ .title {
+ text-align: center;
+ font-size: 20px;
+ }
+
+ .main {
+ padding-top: 20px;
+ // font-size: 40px;
+
+ .div_tab{
+ display: flex;
+ justify-content: center;
+
+ .div_option{
+ text-align: center;
+ color:#3e8ef7;
+ height:35px;
+ width:150px;
+ line-height: 35px;
+ padding:0 0;
+ border:1px solid #3e8ef7 ;
+ }
+
+ .option_left{
+ border-radius: 5px 0 0 5px;
+ }
+ .option_right{
+ border-radius: 0 5px 5px 0;
+ }
+
+ .option_select{
+ color:#ffffff;
+ background-color:#3e8ef7 ;
+ }
+ }
+
+ .content {
+ margin-top:10px;
+ border-radius: 5px;
+ background-color: rgba(255, 255, 255, 0.787);
+
+ .member_title {
+ padding: 10px;
+ font-size: 14px;
+ }
+ }
+ .content1 {
+ margin-top: 20px;
+ }
+
+ .line {
+ border: 1px solid #e4e4e48e;
+ }
+ }
+
+ .div-btn {
+ margin-top: 30px;
+ padding-bottom: 20px;
+ display: flex;
+ justify-content: center;
+
+ .btn {
+ width: 150px;
+ font-size: 16px;
+ }
+ }
+}
+
+.picker_content {
+ color: rgb(59, 59, 59);
+}
+
+.bg-caiji-success {
+ background: url("../../assets/img/caiji-bc.png") no-repeat;
+ background-size: 100% 100%;
+ height: 100vh;
+ width: 100vw;
+ text-align: center;
+
+ .title {
+ // background-color: rgba(189, 214, 255, 0.89);
+ padding-top:30px;
+ font-size: 18px;
+ font-family: PingFang SC;
+ font-weight: 800;
+ color: #333333;
+ display: flex;
+ height:25px;
+ align-items: center;
+ justify-content: center;
+
+ >img{
+ width:27px;
+ height:25px;
+ }
+ .title_name{
+ margin-left:5px;
+ margin-top:5px;
+ }
+ }
+
+ .div_tip{
+ text-align: center;
+ margin-top:35px;
+ font-size: 18px;
+ font-family: PingFang SC;
+ font-weight: 800;
+ color: #2E78E2;
+ line-height: 26px;
+ }
+
+ .div_content{
+
+ margin:20px 10px 30px 10px;
+ padding:20px 16px;
+ background: #FFFFFF;
+ border-radius: 10px;
+ font-size: 16px;
+ font-family: Source Han Serif SC;
+ font-weight: 400;
+ color: #333333;
+ text-align: left;
+
+
+ .content_long{
+ display: flex;
+ justify-content: left;
+ align-items: flex-start;
+
+ .content_title{
+ // min-width: 85px;
+ flex:0 0 125px;
+ flex-shrink: 0;
+ text-align: right;
+ }
+ }
+
+ .marginT10{
+ margin-top:10px;
+ }
+ }
+
+ .main {
+ margin-top: 100px;
+ display: flex;
+ flex-direction: column;
+ align-items: center;
+ justify-content: center;
+
+ .icon-success {
+ font-size: 40px;
+ // width: 20px;
+ // height: 20px;
+ }
+
+ .success-content {
+ margin-top: 10px;
+ font-size: 25px;
+ }
+ }
+}
diff --git a/src/router/index.js b/src/router/index.js
index ec3552213..233c371cf 100644
--- a/src/router/index.js
+++ b/src/router/index.js
@@ -91,6 +91,24 @@ export const pageRoutes = [
title: "居民信息填报",
},
},
+ {
+ path: "/staffRegister",
+ props: true,
+ name: "staffRegister",
+ component: () => import("@/views/pages/staffRegister"),
+ meta: {
+ title: "员工登记",
+ },
+ },
+ {
+ path: "/staffRegisterSuccess",
+ props: true,
+ name: "staffRegisterSuccess",
+ component: () => import("@/views/pages/staffRegisterSuccess"),
+ meta: {
+ title: "员工登记",
+ },
+ },
];
// 模块路由(基于主入口布局页面)
diff --git a/src/utils/dai-map.js b/src/utils/dai-map.js
index 785c521f8..0edd0fa9c 100644
--- a/src/utils/dai-map.js
+++ b/src/utils/dai-map.js
@@ -40,7 +40,8 @@ export function searchNearby(map, keyword) {
let { data } = result;
if (Array.isArray(data) && data.length > 0) {
const {
- location: { lat, lng, address },
+ location: { lat, lng },
+ address,
} = data[0];
reslove({
msg: "success",
@@ -48,7 +49,11 @@ export function searchNearby(map, keyword) {
lng,
lat,
address,
- resultList: data,
+ resultList: data.map((item) => {
+ item.lonlat = lng + " " + lat;
+ item.name = item.name || "";
+ return item;
+ }),
},
});
} else {
@@ -124,7 +129,11 @@ export function searchNearby(map, keyword) {
lng,
lat,
address: address + name,
- resultList: result.features,
+ resultList: result.features.map((item) => {
+ item.lonlat = lng + " " + lat;
+ item.name = item.name || "";
+ return item;
+ }),
},
});
} else {
diff --git a/src/views/modules/base/epidemic/unitEpid/crowdEpidList.vue b/src/views/modules/base/epidemic/unitEpid/crowdEpidList.vue
new file mode 100644
index 000000000..a813c70d1
--- /dev/null
+++ b/src/views/modules/base/epidemic/unitEpid/crowdEpidList.vue
@@ -0,0 +1,342 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 查询
+ 重置
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 删除
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/src/views/modules/base/epidemic/unitEpid/staffEpidDetail.vue b/src/views/modules/base/epidemic/unitEpid/staffEpidDetail.vue
new file mode 100644
index 000000000..c2ee17cf9
--- /dev/null
+++ b/src/views/modules/base/epidemic/unitEpid/staffEpidDetail.vue
@@ -0,0 +1,254 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/src/views/modules/base/epidemic/unitEpid/staffEpidList.vue b/src/views/modules/base/epidemic/unitEpid/staffEpidList.vue
new file mode 100644
index 000000000..f7fcb29eb
--- /dev/null
+++ b/src/views/modules/base/epidemic/unitEpid/staffEpidList.vue
@@ -0,0 +1,476 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 查询
+ 重置
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 查看
+
+ 删除
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/src/views/modules/base/visitor.vue b/src/views/modules/base/visitor.vue
index 669f812c0..9b0c92598 100644
--- a/src/views/modules/base/visitor.vue
+++ b/src/views/modules/base/visitor.vue
@@ -95,6 +95,13 @@
+
{{ fmData[item.keyName] || "--" }}
+ {{item.attach}}
@@ -203,7 +204,6 @@
-
-
-
+
+
-
-
+
+
经度
-
+ v-model="fmData[item.keyName]"
+ class="item-input"
+ size="small"
+ clearable
+ show-word-limit
+ :maxlength="item.maxlength || ''"
+ :placeholder="item.placeholder || '请输入'"
+ >
-
+
{{ fmData[item.keyName] || "--" }}
-
-
@@ -387,9 +388,6 @@ export default {
data () {
return {
iniLoaded: false,
- searchOptions: [],
- searchValue: '',
- resultList: [],
loading: false,
btnDisable: false,
@@ -401,7 +399,9 @@ export default {
uploadUrl: window.SITE_CONFIG["apiURL"] + "/oss/file/uploadqrcodeV2",
customerId: localStorage.getItem("customerId"),
- addressItem: {}
+ // 做搜索地址用
+ searchAddressOptions: [],
+ searchAddressKeyword: "",
};
},
computed: {},
@@ -487,7 +487,6 @@ export default {
this.$nextTick(async () => {
await nextTick(300);
- this.addressItem = item
this.initMap(item);
});
}
@@ -639,9 +638,7 @@ export default {
map.setMarker(latitude, longitude);
},
-
-
- async handleSearchMap (item) {
+ async handleSearchMap(item) {
const { msg, data } = await map.searchNearby(this.fmData[item.keyName]);
if (msg == "success") {
const { lat, lng } = data;
@@ -654,72 +651,63 @@ export default {
}
},
- async handleMoveCenter (item, e) {
+ async handleMoveCenter(item, e) {
console.log("handleMoveCenter", e);
//修改地图中心点
const { lat, lng } = map.getCenter();
- this.fmData[item.supKeys[0]] = lng;
- this.fmData[item.supKeys[1]] = lat;
+ this.fmData[item.supKeys[0]] = parseFloat(lng);
+ this.fmData[item.supKeys[1]] = parseFloat(lat);
map.setMarker(lat, lng);
let { msg, data } = await map.getAddress(lat, lng);
if (msg == "success") {
this.fmData[item.keyName] = data.address;
- this.searchValue = data.address
- this.searchOptions = []
+ this.searchAddressOptions = [];
}
},
- async remoteMethod (query) {
-
- if (query !== '') {
+ async remoteMethod(query) {
+ if (query !== "") {
this.loading = true;
const { msg, data } = await map.searchNearby(query);
this.loading = false;
- this.resultList = []
+ console.log("搜索结果", data);
if (msg == "success" && data.resultList && data.resultList.length > 0) {
-
- if (data.resultList && data.resultList.length > 0) {
- this.resultList = data.resultList
- this.searchOptions = this.resultList.map(item => {
- return { value: `${item.hotPointID}`, label: `${item.address + item.name}` };
-
- });
- }
+ this.searchAddressOptions = data.resultList.map((item, index) => {
+ return {
+ ...item,
+ value: `${item.lonlat + item.address}`,
+ label: `${item.address + item.name}`,
+ };
+ });
} else {
- this.searchOptions = [
+ this.searchAddressOptions = [
{
- value: '0',
- label: '未检索到结果'
- }
- ]
+ value: "0",
+ label: "未检索到结果",
+ },
+ ];
}
} else {
- this.searchOptions = [];
+ this.searchAddressOptions = [];
}
},
- handleClickKey (index) {
- let selPosition = this.resultList[index]
- let lonlat = selPosition.lonlat.split(" ")
+ handleClickKey(item, fmItem) {
+ console.log("搜索结果", item);
+ let lonlat = item.lonlat.split(" ");
map.setCenter(lonlat[1], lonlat[0]);
map.setMarker(lonlat[1], lonlat[0]);
-
-
- this.fmData[this.addressItem.supKeys[0]] = lonlat[1];
- this.fmData[this.addressItem.supKeys[1]] = lonlat[0];
- // this.formData.latitude = lonlat[1];
- // this.formData.longitude = lonlat[0];
- // this.formData.address = selPosition.address + selPosition.name
- this.fmData[this.addressItem.keyName] = selPosition.address + selPosition.name
+ this.fmData[fmItem.supKeys[0]] = parseFloat(lonlat[1]);
+ this.fmData[fmItem.supKeys[1]] = parseFloat(lonlat[0]);
+ this.fmData[fmItem.keyName] = item.label;
},
-
- async getInfo () {
+ async getInfo() {
let url = this.infoUrl;
if (!url) return;
const { idName, formId } = this;
@@ -739,6 +727,12 @@ export default {
if (editConfig && typeof editConfig.cookInfoFn == "function") {
data = editConfig.cookInfoFn(data);
}
+
+ if (data.latitude && data.longitude) {
+ data.latitude = parseFloat(data.latitude);
+ data.longitude = parseFloat(data.longitude);
+ }
+
this.fmData = {
...this.fmData,
...data,
diff --git a/src/views/modules/cpts/base/index.vue b/src/views/modules/cpts/base/index.vue
index 71face8d1..685e21816 100644
--- a/src/views/modules/cpts/base/index.vue
+++ b/src/views/modules/cpts/base/index.vue
@@ -1,315 +1,256 @@
-
-
+
+
-
+
-
+
-
-
+
+
- handleChangeCascader(e, item)"
- >
+ handleChangeCascader(e, item)">
-
+
至
-
+
- 查询
- 重置
+ 查询
+ 重置
-
+
- 新增
-
- 下载模板
-
-
- 导入
+ 新增
+
+ 下载模板
+
+
+ 导入
- 导出
- 批量删除
-
+ 导出
+ 导出员工登记码
+ 批量删除
+
-
-
-
-
-
-
-
+
+
+
+
+
+
+
-
+
{{ scope.row[item.keyName].join(item.arrayDiv || ",") }}
-
+
-
- 查看
- {{ editBtnName(scope.row) }}
-
- 删除
+
+ 查看
+ {{ editBtnName(scope.row) }}
+
+ 删除
-
+
-
+
-
-
+
+
-
+
-
+
@@ -370,6 +311,10 @@ export default {
type: String,
default: "",
},
+ qrCodeExportUrl: {
+ type: String,
+ default: "",
+ },
importUrl: {
type: String,
default: "",
@@ -438,7 +383,7 @@ export default {
},
},
- data() {
+ data () {
return {
tableData: [],
@@ -458,7 +403,7 @@ export default {
},
computed: {
- maxTableHeight() {
+ maxTableHeight () {
const { ref_search_height } = this;
return this.$store.state.inIframe
? this.clientHeight - ref_search_height - 265 + this.iframeHeight
@@ -469,7 +414,7 @@ export default {
watch: {},
- async mounted() {
+ async mounted () {
console.log(this.$store.state);
this.user = this.$store.state.user;
@@ -483,24 +428,24 @@ export default {
this.computeSearchHeight();
},
- activated() {
+ activated () {
console.log("-------------activated");
this.$refs["ref_table"].doLayout();
},
methods: {
- handleSelectionChange(val) {
+ handleSelectionChange (val) {
console.log(val);
this.multipleSelection = val;
},
- computeSearchHeight() {
+ computeSearchHeight () {
this.ref_search_height = this.$refs["ref_search"].clientHeight;
console.log(this.$refs["ref_search"]);
console.log(this.ref_search_height);
},
- iniSearchData() {
+ iniSearchData () {
const { searchParams } = this;
searchParams.forEach((item, index) => {
if (item.type == "select" || item.type == "cascader") {
@@ -516,7 +461,7 @@ export default {
});
},
- async getFmOptions(index, url, params, cookFn) {
+ async getFmOptions (index, url, params, cookFn) {
const { data, code, msg } = await requestPost(url, {
...params,
});
@@ -529,19 +474,19 @@ export default {
}
},
- handleChangeCascader(vals, item) {
+ handleChangeCascader (vals, item) {
if (typeof item.handleChangeFn == "function") {
item.handleChangeFn(vals, item);
}
},
- handleSearch(val) {
+ handleSearch (val) {
this.pageNo = 1;
this.getTableData();
},
- beforeExcelUpload(file) {
+ beforeExcelUpload (file) {
console.log("file", file);
const isType = file.type === "application/vnd.ms-excel";
const isTypeComputer =
@@ -559,7 +504,7 @@ export default {
return fileType && isLt1M;
},
- async uploadHttpRequest(file) {
+ async uploadHttpRequest (file) {
let { importUrl: url } = this;
if (!url) return;
@@ -588,7 +533,7 @@ export default {
});
},
- async handleExportModule() {
+ async handleExportModule () {
let { mubanUrl: url } = this;
if (!url) return;
@@ -625,7 +570,7 @@ export default {
});
},
- async handleExport() {
+ async handleExport () {
const { exportUrl: url } = this;
if (!url) return;
@@ -662,14 +607,51 @@ export default {
return this.$message.error("网络错误");
});
},
+ async handleExportQrcode () {
+ const { qrCodeExportUrl: url } = this;
+ if (!url) return;
+
+ const { pageSize, pageNo } = this;
+
+ axios({
+ url: window.SITE_CONFIG["apiURL"] + url,
+ method: "post",
+ data: {
+ pageSize,
+ pageNo,
+ ...this.computeFmData(),
+ },
+ responseType: "blob",
+ })
+ .then((res) => {
+ let fileName = window.decodeURI(
+ res.headers["content-disposition"].split(";")[1].split("=")[1]
+ );
+ console.log("filename", fileName);
+ let blob = new Blob([res.data], { type: "application/vnd.ms-excel" });
+ var url = window.URL.createObjectURL(blob);
+ var aLink = document.createElement("a");
+ aLink.style.display = "none";
+ aLink.href = url;
+ aLink.setAttribute("download", fileName);
+ document.body.appendChild(aLink);
+ aLink.click();
+ document.body.removeChild(aLink); //下载完成移除元素
+ window.URL.revokeObjectURL(url); //释放掉blob对象
+ })
+ .catch((err) => {
+ console.log("获取导出情失败", err);
+ return this.$message.error("网络错误");
+ });
+ },
- handleAdd() {
+ handleAdd () {
this.formType = "add";
this.formTitle = "新增";
this.formShow = true;
},
- handleWatch(row) {
+ handleWatch (row) {
const { idName } = this;
this.formType = "watch";
this.formId = row[idName];
@@ -677,7 +659,7 @@ export default {
this.formShow = true;
},
- handleEdit(row) {
+ handleEdit (row) {
const { idName } = this;
this.formType = "edit";
this.formId = row[idName];
@@ -685,17 +667,17 @@ export default {
this.formShow = true;
},
- handleClose() {
+ handleClose () {
this.formShow = false;
this.getTableData();
},
- handleEditSuccess() {
+ handleEditSuccess () {
this.handleClose();
// this.getTableData();
},
- async handleDeleteMultiple() {
+ async handleDeleteMultiple () {
let { delMultipleUrl: url } = this;
if (!url) return;
@@ -713,7 +695,7 @@ export default {
}
},
- async handleDelete(rowData, rowIndex) {
+ async handleDelete (rowData, rowIndex) {
console.log(rowData, rowIndex);
let { delUrl: url } = this;
if (!url) return;
@@ -741,7 +723,7 @@ export default {
}
},
- computeFmData() {
+ computeFmData () {
let fmData = {};
this.searchParams.forEach((item) => {
fmData[item.keyName] = item.value;
@@ -754,11 +736,11 @@ export default {
return fmData;
},
- refresh() {
+ refresh () {
this.getTableData();
},
- async getTableData() {
+ async getTableData () {
const { tableUrl: url } = this;
if (!url) return;
@@ -777,17 +759,17 @@ export default {
}
},
- handleSizeChange(val) {
+ handleSizeChange (val) {
this.pageSize = val;
window.localStorage.setItem("pageSize", val);
this.getTableData();
},
- handleCurrentChange(val) {
+ handleCurrentChange (val) {
this.pageNo = val;
this.getTableData();
},
- resetSearch() {
+ resetSearch () {
console.log("----------------resetSearch", this.searchParams);
this.searchParams.forEach((item) => {
if (typeof item.value == "string") {
diff --git a/src/views/modules/plugins/change/changedeath.vue b/src/views/modules/plugins/change/changedeath.vue
index d82ec3e3c..bfe0f7014 100644
--- a/src/views/modules/plugins/change/changedeath.vue
+++ b/src/views/modules/plugins/change/changedeath.vue
@@ -249,7 +249,9 @@ export default {
diff --git a/src/views/modules/visual/command/cpts/map.vue b/src/views/modules/visual/command/cpts/map.vue
index ba7472e8a..216a75316 100644
--- a/src/views/modules/visual/command/cpts/map.vue
+++ b/src/views/modules/visual/command/cpts/map.vue
@@ -64,26 +64,6 @@ let searchMarker;
let searchBgLayer;
let tdtSearchMap;
-function reversePix(pixelsTemp) {
- //蓝色
- for (var i = 0; i < pixelsTemp.length; i += 4) {
- var r = pixelsTemp[i];
- var g = pixelsTemp[i + 1];
- var b = pixelsTemp[i + 2];
- //运用图像学公式,设置灰度值
- var grey = r * 0.3 + g * 0.59 + b * 0.11;
- //将rgb的值替换为灰度值
- pixelsTemp[i] = grey;
- pixelsTemp[i + 1] = grey;
- pixelsTemp[i + 2] = grey;
-
- //基于灰色,设置为蓝色,这几个数值是我自己试出来的,可以根据需求调整
- pixelsTemp[i] = 55 - pixelsTemp[i];
- pixelsTemp[i + 1] = 255 - pixelsTemp[i + 1];
- pixelsTemp[i + 2] = 305 - pixelsTemp[i + 2];
- }
-}
-
export default {
name: "l7",
inject: ["refresh"],
diff --git a/src/views/modules/visual/command/index.vue b/src/views/modules/visual/command/index.vue
index 4971f977d..fd33754a7 100644
--- a/src/views/modules/visual/command/index.vue
+++ b/src/views/modules/visual/command/index.vue
@@ -234,6 +234,7 @@ import { requestPost } from "@/js/dai/request";
import People from "@/views/modules/visual/basicinfo/people";
import cptCard from "@/views/modules/visual/cpts/card";
import gridMap from "@/views/modules/visual/command/cpts/map";
+import gridMapOl from "@/views/modules/visual/command/cpts/map-ol";
import sidemenu1 from "@/views/modules/visual/command/cpts/yantai-sidemenu1";
import sidemenu2 from "@/views/modules/visual/command/cpts/yantai-sidemenu2";
import sidemenuLeft from "@/views/modules/visual/command/cpts/sidemenu-left";
@@ -243,6 +244,7 @@ import eventInfo from "@/views/modules/visual/command/cpts/eventInfo";
import serviceInfo from "@/views/modules/visual/command/cpts/serviceInfo";
import demandInfo from "@/views/modules/visual/command/cpts/demandInfo";
import qsydw from "@/views/modules/visual/command/cpts/qsydw";
+import { mapType } from "@/utils/dai-map";
let loading; //加载动画
@@ -286,7 +288,7 @@ export default {
People,
cptCard,
ScreenLoading,
- gridMap,
+ gridMap: mapType == "tdzw" ? gridMapOl : gridMap,
sidemenu1,
sidemenu2,
sidemenuLeft,
diff --git a/src/views/modules/visual/shundeju/screen-table.vue b/src/views/modules/visual/shundeju/screen-table.vue
index 041d687b3..5340f14a0 100644
--- a/src/views/modules/visual/shundeju/screen-table.vue
+++ b/src/views/modules/visual/shundeju/screen-table.vue
@@ -36,6 +36,7 @@
alt=""
srcset=""
style="width: 40px;height: 40px;"
+ @click="clickItem(value[item.coulmn])"
/>
@@ -66,6 +67,10 @@
+
+

+
![预览失败]()
+
@@ -181,6 +186,8 @@ export default {
false,
false,
],
+ showImg: false,
+ imgUrl:''
};
},
watch: {
@@ -215,7 +222,15 @@ export default {
},
handleClickRow(val) {
this.$emit('row', val)
- }
+ },
+ clickItem (url) {
+ this.imgUrl = url
+ this.showImg = true
+ },
+ closePreview () {
+ this.imgUrl = ''
+ this.showImg = false
+ },
},
};
@@ -343,4 +358,28 @@ export default {
}
}
}
+.preview {
+ position: fixed;
+ z-index: 999;
+ top: 0%;
+ left: 0%;
+ width: 100%;
+ height: 100%;
+ background-color: rgba(0,0,0,0.7);
+ display: flex;
+ align-items: center;
+ justify-content: center;
+ .close-img {
+ cursor: pointer;
+ position: absolute;
+ z-index: 1000;
+ top: 10%;
+ right: 10%;
+ }
+ .show-img {
+ width: 70%;
+ height: 70%;
+ object-fit: contain;
+ }
+ }
diff --git a/src/views/modules/workSys/mapConfig.vue b/src/views/modules/workSys/mapConfig.vue
index 662ad1776..96f209a03 100644
--- a/src/views/modules/workSys/mapConfig.vue
+++ b/src/views/modules/workSys/mapConfig.vue
@@ -736,37 +736,6 @@ const vueGis = {
const resolutions = getResolutions();
- //切片名
- // const matrixIds = [
- // "7", // EPSG:4490:
- // "8",
- // "9",
- // "10",
- // "11",
- // "12",
- // "13",
- // "14",
- // "15",
- // "16",
- // "17",
- // "18",
- // ];
-
- // const resolutions = [
- // (0.025399998 * 4622334) / (96 * 111000),
- // (0.025399998 * 2311166.84) / (96 * 111000),
- // (0.025399998 * 1155583.42) / (96 * 111000),
- // (0.025399998 * 577791.71) / (96 * 111000),
- // (0.025399998 * 288895.85) / (96 * 111000),
- // (0.025399998 * 144447.93) / (96 * 111000),
- // (0.025399998 * 72223.96) / (96 * 111000),
- // (0.025399998 * 36111.98) / (96 * 111000),
- // (0.025399998 * 18055.99) / (96 * 111000),
- // (0.025399998 * 9028) / (96 * 111000),
- // (0.025399998 * 4514) / (96 * 111000),
- // (0.025399998 * 2257) / (96 * 111000),
- // ];
-
console.log("========= getProjection", getProjection("EPSG:4490"));
let url = "http://59.206.203.34/tileservice/SDPubMap";
@@ -791,6 +760,26 @@ const vueGis = {
style: "default",
tilematrixset: "c",
// wrapX: true,
+ tileLoadFunction(imageTile, src) {
+ // 使用滤镜 将白色修改为深色
+ let img = new Image();
+ // img.crossOrigin = ''
+ // 设置图片不从缓存取,从缓存取可能会出现跨域,导致加载失败
+ img.setAttribute("crossOrigin", "anonymous");
+ img.onload = function () {
+ let canvas = document.createElement("canvas");
+ let w = img.width;
+ let h = img.height;
+ canvas.width = w;
+ canvas.height = h;
+ let context = canvas.getContext("2d");
+ context.filter =
+ "grayscale(92%) invert(100%) sepia(20%) hue-rotate(140deg) saturate(2000%) brightness(70%) contrast(80%)";
+ context.drawImage(img, 0, 0, w, h, 0, 0, w, h);
+ imageTile.getImage().src = canvas.toDataURL("image/png");
+ };
+ img.src = src;
+ },
}),
});
diff --git a/src/views/pages/staffRegister.vue b/src/views/pages/staffRegister.vue
new file mode 100644
index 000000000..97db79617
--- /dev/null
+++ b/src/views/pages/staffRegister.vue
@@ -0,0 +1,501 @@
+
+
+
+ 员工登记
+
+
+
+
+
+
+
+
+
+ {{placeOrgName}}
+
+
+
+
+
+
+
+
+
+
+
+
+ {{formData.ymjzCountName}}
+ 请选择
+
+
+
+
+
+ {{formData.latestNatTime}}
+ 请选择
+
+
+
+
+
+
+
+
+
+ {{placeOrgName}}
+
+
+
+
+ {{formData2.natTime}}
+ 请选择
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 提交
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/src/views/pages/staffRegisterSuccess.vue b/src/views/pages/staffRegisterSuccess.vue
new file mode 100644
index 000000000..917c5b94f
--- /dev/null
+++ b/src/views/pages/staffRegisterSuccess.vue
@@ -0,0 +1,147 @@
+
+
+
+

+
员工信息登记
+
+
+
+
提交成功
+
请截图保存,方便核验人员查看
+
+
+
+
企业名称:
+
{{placeOrgName}}
+
+
+
姓名:
+
{{formData.name}}
+
+
+
+
手机号:
+
{{formData.mobile}}
+
+
+
证件号:
+
{{formData.idCard}}
+
+
+
疫苗接种次数:
+
{{formData.ymjzCountName}}
+
+
+
核酸检测时间:
+
{{formData.latestNatTime}}
+
+
+
+
+
+
+
企业名称:
+
{{placeOrgName}}
+
+
+
核酸检测时间:
+
{{formData.natTime}}
+
+
+
+
受众人数:
+
{{formData.szTotal}}人
+
+
+
核酸检测人数:
+
{{formData.hsjcTotal}}人
+
+
+
+
+
+
+
+
+
+