Compare commits
3 Commits
589dbbe3ef
...
d3c9cd4a3d
| Author | SHA1 | Date |
|---|---|---|
|
|
d3c9cd4a3d | |
|
|
6bb7efc048 | |
|
|
9e69e787a5 |
|
|
@ -10,7 +10,7 @@ module.exports = {
|
||||||
javaGitBranch: "<branch-name>",
|
javaGitBranch: "<branch-name>",
|
||||||
// 接口服务地址
|
// 接口服务地址
|
||||||
// API_HOST: "http://192.168.20.100:30140",
|
// API_HOST: "http://192.168.20.100:30140",
|
||||||
API_HOST: "https://gbs-gateway.qhdsafety.com",
|
API_HOST: "",
|
||||||
},
|
},
|
||||||
production: {
|
production: {
|
||||||
// 应用后端分支名称,部署上线需要
|
// 应用后端分支名称,部署上线需要
|
||||||
|
|
|
||||||
|
|
@ -32,7 +32,7 @@
|
||||||
"react": "^18.2.0",
|
"react": "^18.2.0",
|
||||||
"react-dom": "^18.2.0",
|
"react-dom": "^18.2.0",
|
||||||
"react-to-print": "^3.2.0",
|
"react-to-print": "^3.2.0",
|
||||||
"zy-react-library": "^1.1.42"
|
"zy-react-library": "^1.2.3"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@antfu/eslint-config": "^5.4.1",
|
"@antfu/eslint-config": "^5.4.1",
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,5 @@
|
||||||
import { setJJBCommonAntdMessage } from "@cqsjjb/jjb-common-lib";
|
import { setJJBCommonAntdMessage } from "@cqsjjb/jjb-common-lib";
|
||||||
|
import { getFileUrlFromServer } from "zy-react-library/utils";
|
||||||
import { setup } from "@cqsjjb/jjb-dva-runtime";
|
import { setup } from "@cqsjjb/jjb-dva-runtime";
|
||||||
import { message } from "antd";
|
import { message } from "antd";
|
||||||
import dayjs from "dayjs";
|
import dayjs from "dayjs";
|
||||||
|
|
@ -7,13 +8,14 @@ import "../blessed_by_buddha";
|
||||||
|
|
||||||
require("antd/dist/reset.css");
|
require("antd/dist/reset.css");
|
||||||
require("zy-react-library/css/common.less");
|
require("zy-react-library/css/common.less");
|
||||||
|
getFileUrlFromServer();
|
||||||
dayjs.locale("zh-cn");
|
dayjs.locale("zh-cn");
|
||||||
setJJBCommonAntdMessage(message);
|
setJJBCommonAntdMessage(message);
|
||||||
|
|
||||||
const app = setup();
|
const app = setup();
|
||||||
window.mapLongitude = "119.69457721306945";
|
window.mapLongitude = "119.69457721306945";
|
||||||
window.mapLatitude = "39.940504336846665";
|
window.mapLatitude = "39.940504336846665";
|
||||||
|
window.mapBaiDuKey = "OElqFYoKiAH8KFtph8ftLKF5NlNrbCUr";
|
||||||
window.mapObliquePhotography = [
|
window.mapObliquePhotography = [
|
||||||
"http://192.168.192.215:8021/ware/upload/%E6%9B%B9%E5%A6%83%E7%94%B8%E6%B8%AF%E4%B8%9C/%E6%9B%B9%E5%A6%83%E7%94%B8%E6%B8%AF%E4%B8%9C/merge_tile.json",
|
"http://192.168.192.215:8021/ware/upload/%E6%9B%B9%E5%A6%83%E7%94%B8%E6%B8%AF%E4%B8%9C/%E6%9B%B9%E5%A6%83%E7%94%B8%E6%B8%AF%E4%B8%9C/merge_tile.json",
|
||||||
"http://192.168.192.215:8021/ware/upload/%E6%9B%B9%E5%A6%83%E7%94%B8%E6%B8%AF%E8%A5%BF/%E6%9B%B9%E5%A6%83%E7%94%B8%E6%B8%AF%E8%A5%BF/merge_tile.json",
|
"http://192.168.192.215:8021/ware/upload/%E6%9B%B9%E5%A6%83%E7%94%B8%E6%B8%AF%E8%A5%BF/%E6%9B%B9%E5%A6%83%E7%94%B8%E6%B8%AF%E8%A5%BF/merge_tile.json",
|
||||||
|
|
|
||||||
|
|
@ -22,7 +22,7 @@ function PersonnelExecutionDetails(props) {
|
||||||
});
|
});
|
||||||
|
|
||||||
return (
|
return (
|
||||||
<Page headerTitle="计划执行总次数" contentPadding="0 20px 20px 20px">
|
<Page headerTitle="人员执行情况" contentPadding="0 20px 20px 20px">
|
||||||
<Divider orientation="left">计划信息</Divider>
|
<Divider orientation="left">计划信息</Divider>
|
||||||
<ViewInfo id={query.planId} supervision={props.supervision} />
|
<ViewInfo id={query.planId} supervision={props.supervision} />
|
||||||
<Divider orientation="left">人员执行详情</Divider>
|
<Divider orientation="left">人员执行详情</Divider>
|
||||||
|
|
@ -52,7 +52,7 @@ function PersonnelExecutionDetails(props) {
|
||||||
<Button
|
<Button
|
||||||
type="link"
|
type="link"
|
||||||
onClick={() => {
|
onClick={() => {
|
||||||
props.history.push(props.supervision === "1" ? `../inspectionView?id=${record.id}&inspectionId=${record.inspectionId}` : `../../inspectionView?id=${record.id}&inspectionId=${record.inspectionId}`);
|
props.history.push(props.supervision === "1" ? `../../inspectionView?id=${record.id}&inspectionId=${record.inspectionId}` : `../../inspectionView?id=${record.id}&inspectionId=${record.inspectionId}`);
|
||||||
}}
|
}}
|
||||||
>
|
>
|
||||||
查看
|
查看
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue