Merge branch 'master' of http://10.0.41.100:3000/lishenfeng/tsg-web
commit
27911ed7da
|
|
@ -1 +1,2 @@
|
|||
GENERATE_SOURCEMAP=true
|
||||
PUBLIC_URL=/tsg
|
||||
|
|
@ -432,8 +432,8 @@ const apiurl = {
|
|||
zbgl: {
|
||||
zbb: {
|
||||
import: service_fxdd + "/rota/importTemplate",
|
||||
deptlist: service_fxdd + "/system/dept/list",
|
||||
userList: service_fxdd + "/system/user/list",
|
||||
deptlist: service_fxdd + "/deptemp/deptlist",
|
||||
userList: service_fxdd + "/deptemp/userlist",
|
||||
export:service_fxdd + "/rota/importData"
|
||||
},
|
||||
zbrz: {
|
||||
|
|
|
|||
|
|
@ -62,7 +62,7 @@ const sj = {
|
|||
"buildYear": null,
|
||||
"adcd": null,
|
||||
"lyid": null,
|
||||
"resCode": "42120250085",
|
||||
"resCode": "42112230001",
|
||||
"rvCode": null,
|
||||
"status": 1,
|
||||
"agreement": null,
|
||||
|
|
|
|||
|
|
@ -6,7 +6,7 @@ import moment from "moment"
|
|||
|
||||
function QSYDW({ id, data, dispatch }) {
|
||||
console.log(data);
|
||||
const url = "http://223.75.53.141:9102/test.by-lyf.tmp"
|
||||
const url = "http://223.75.53.141:9100/gs-tsg"
|
||||
const width = 500;
|
||||
|
||||
const closePop = () => {
|
||||
|
|
|
|||
|
|
@ -6,7 +6,7 @@ import {projDict} from "../../../../../utils/dictType"
|
|||
|
||||
function Gctp({record}) {
|
||||
const [data, setData] = useState([])
|
||||
const url = "http://223.75.53.141:9102/test.by-lyf.tmp"
|
||||
const url = "http://223.75.53.141:9100/gs-tsg"
|
||||
const getData = async (params) => {
|
||||
setData(await projectimg(params))
|
||||
}
|
||||
|
|
|
|||
|
|
@ -6,7 +6,7 @@ import moment from "moment"
|
|||
|
||||
function YHJMH({ id, data, dispatch }) {
|
||||
console.log(data);
|
||||
const url = "http://223.75.53.141:9102/test.by-lyf.tmp"
|
||||
const url = "http://223.75.53.141:9100/gs-tsg"
|
||||
const width = 500;
|
||||
const closePop = () => {
|
||||
dispatch.runtime.closeFeaturePop(id);
|
||||
|
|
|
|||
|
|
@ -6,7 +6,7 @@ import {projDict} from "../../../../../utils/dictType"
|
|||
|
||||
function Gctp({record}) {
|
||||
const [data, setData] = useState([])
|
||||
const url = "http://223.75.53.141:9102/test.by-lyf.tmp"
|
||||
const url = "http://223.75.53.141:9100/gs-tsg"
|
||||
const getData = async (params) => {
|
||||
setData(await projectimg(params))
|
||||
}
|
||||
|
|
|
|||
|
|
@ -45,7 +45,7 @@ function Skssjc({data}) {
|
|||
</div>
|
||||
|
||||
<div className="infoItem">
|
||||
<div className="row-key">校验洪水位:</div>
|
||||
<div className="row-key">校核洪水位:</div>
|
||||
<div className="row-value">{data?.calFloodLev ? data?.calFloodLev.toFixed(2) : '-'}</div>
|
||||
<Divider type="vertical" style={{height:25,background:"#000",width:2,margin:"0 30px"}}/>
|
||||
<div className="row-value" style={{width:"20%"}}>{(data.calFloodLev && data?.rz) ? (data?.rz - data.calFloodLev).toFixed(2):'-'}</div>
|
||||
|
|
|
|||
|
|
@ -8,7 +8,7 @@ import { DeleteOutlined } from '@ant-design/icons'
|
|||
|
||||
function SdzGctp({ data }) {
|
||||
const [tableData, setData] = useState([])
|
||||
const url = "http://223.75.53.141:9102/test.by-lyf.tmp"
|
||||
const url = "http://223.75.53.141:9100/gs-tsg"
|
||||
const getInfo = () => {
|
||||
httpget2(apiUrl.sdz.gctp, { hystCode: data.hystCode }).then(res => {
|
||||
if (res.code == 200) {
|
||||
|
|
|
|||
|
|
@ -65,7 +65,7 @@ const sj = {
|
|||
"buildYear": null,
|
||||
"adcd": null,
|
||||
"lyid": null,
|
||||
"resCode": "42120250085",
|
||||
"resCode": "42112230001",
|
||||
"rvCode": null,
|
||||
"status": 1,
|
||||
"agreement": null,
|
||||
|
|
|
|||
|
|
@ -5,7 +5,7 @@ import apiurl from '../../service/apiurl';
|
|||
const ModalForm = ({ mode, record,onEdit,onSave,onCrudSuccess }) => {
|
||||
const [form] = Form.useForm();
|
||||
const onFinish = async (values) => {
|
||||
values.resCode = "42120250085"
|
||||
values.resCode = "42112230001"
|
||||
values.id = record?.id
|
||||
if (mode === 'edit') {
|
||||
const params = {
|
||||
|
|
|
|||
|
|
@ -27,7 +27,7 @@ const importancy = [
|
|||
}
|
||||
]
|
||||
const { Dragger } = Upload;
|
||||
const url = "http://223.75.53.141:9102/test.by-lyf.tmp"
|
||||
const url = "http://223.75.53.141:9100/gs-tsg"
|
||||
const ModalForm = ({ mode, record, onEdit, onSave }) => {
|
||||
console.log(record);
|
||||
const columns1 = [
|
||||
|
|
|
|||
|
|
@ -5,7 +5,7 @@ import { formItemLayout, btnItemLayout } from '../../../../components/crud/FormL
|
|||
import apiurl from '../../../../service/apiurl';
|
||||
import { createCrudService } from '../../../../components/crud/_';
|
||||
export default function Page({ selectDiv1, detail }) {
|
||||
const url = "http://223.75.53.141:9102/test.by-lyf.tmp"
|
||||
const url = "http://223.75.53.141:9100/gs-tsg"
|
||||
const [selectDiv, setSelectDiv] = useState(selectDiv1)
|
||||
const [fileList, setFileList] = useState([]) //上传文件列表
|
||||
const [iframeSrc, setIframeSrc] = useState('')
|
||||
|
|
|
|||
|
|
@ -12,7 +12,7 @@ import { config } from '../../../../config';
|
|||
import { createCrudService } from '../../../../components/crud/_';
|
||||
import moment from 'moment';
|
||||
const { Dragger } = Upload;
|
||||
const url = "http://223.75.53.141:9102/test.by-lyf.tmp"
|
||||
const url = "http://223.75.53.141:9100/gs-tsg"
|
||||
const ModalForm = ({ mode, record, onEdit, onSave,data }) => {
|
||||
|
||||
console.log("data",data);
|
||||
|
|
|
|||
|
|
@ -8,7 +8,7 @@ import apiurl from '../../../../service/apiurl';
|
|||
import { createCrudService } from '../../../../components/crud/_';
|
||||
import moment from 'moment';
|
||||
|
||||
const url = "http://223.75.53.141:9102/test.by-lyf.tmp"
|
||||
const url = "http://223.75.53.141:9100/gs-tsg"
|
||||
const ModalForm = ({ mode, record, onEdit, onSave }) => {
|
||||
if (record.prodDate) {
|
||||
record.myTm = moment(record.prodDate)
|
||||
|
|
|
|||
|
|
@ -8,7 +8,7 @@ import apiurl from '../../../../service/apiurl';
|
|||
import { createCrudService } from '../../../../components/crud/_';
|
||||
import moment from 'moment';
|
||||
|
||||
const url = "http://223.75.53.141:9102/test.by-lyf.tmp"
|
||||
const url = "http://223.75.53.141:9100/gs-tsg"
|
||||
const ModalForm = ({ mode, record, onEdit, onSave }) => {
|
||||
if (record.prodDate) {
|
||||
record.myTm = moment(record.prodDate)
|
||||
|
|
|
|||
|
|
@ -6,7 +6,7 @@ import apiurl from '../../../service/apiurl';
|
|||
import { httpget2 } from '../../../utils/request';
|
||||
import moment from 'moment';
|
||||
import "./index.less";
|
||||
const url = "http://223.75.53.141:9102/test.by-lyf.tmp"
|
||||
const url = "http://223.75.53.141:9100/gs-tsg"
|
||||
const ModalForm = ({ mode, record,onEdit,onSave,onCrudSuccess }) => {
|
||||
const [form] = Form.useForm();
|
||||
const [fileList, setFileList] = useState([]) //上传文件列表
|
||||
|
|
@ -45,7 +45,7 @@ const ModalForm = ({ mode, record,onEdit,onSave,onCrudSuccess }) => {
|
|||
return
|
||||
}
|
||||
let oldFiles = fileList.map(item => ({ fileId: item.response?.data?.fileId }))
|
||||
values.resCode = "42120250085"
|
||||
values.resCode = "42112230001"
|
||||
values.type = 2
|
||||
values.files = oldFiles;
|
||||
values.prepTime = moment(values.prepTime).format("YYYY-MM-DD 00:00:00")
|
||||
|
|
|
|||
|
|
@ -37,7 +37,7 @@ export default function Zrtx() {
|
|||
const [data, setData] = useState([])
|
||||
const getData = async () => {
|
||||
try {
|
||||
const res = await httppost2(apiurl.fxya.page, { resCode: "42120250085",type:2 })
|
||||
const res = await httppost2(apiurl.fxya.page, { resCode: "42112230001",type:2 })
|
||||
let newData = res.data.filter(s => s.type == 2)
|
||||
setData(newData.map((item,i) => ({...item,idx:i+1})))
|
||||
} catch (error) {
|
||||
|
|
|
|||
|
|
@ -6,7 +6,7 @@ import apiurl from '../../../service/apiurl';
|
|||
import { httpget2 } from '../../../utils/request';
|
||||
import moment from 'moment';
|
||||
import "./index.less";
|
||||
const url = "http://223.75.53.141:9102/test.by-lyf.tmp"
|
||||
const url = "http://223.75.53.141:9100/gs-tsg"
|
||||
const ModalForm = ({ mode, record,onEdit,onSave,onCrudSuccess }) => {
|
||||
const [form] = Form.useForm();
|
||||
const [fileList, setFileList] = useState([]) //上传文件列表
|
||||
|
|
@ -45,7 +45,7 @@ const ModalForm = ({ mode, record,onEdit,onSave,onCrudSuccess }) => {
|
|||
return
|
||||
}
|
||||
let oldFiles = fileList.map(item => ({ fileId: item.response?.data?.fileId }))
|
||||
values.resCode = "42120250085"
|
||||
values.resCode = "42112230001"
|
||||
values.type = 1
|
||||
values.files = oldFiles;
|
||||
values.prepTime = moment(values.prepTime).format("YYYY-MM-DD 00:00:00")
|
||||
|
|
|
|||
|
|
@ -37,7 +37,7 @@ export default function Zrtx() {
|
|||
const [data, setData] = useState([])
|
||||
const getData = async () => {
|
||||
try {
|
||||
const res = await httppost2(apiurl.fxya.page, { resCode: "42120250085",type:"1" })
|
||||
const res = await httppost2(apiurl.fxya.page, { resCode: "42112230001",type:"1" })
|
||||
let newData = res.data.filter(s => s.type == 1)
|
||||
setData(newData.map((item,i) => ({...item,idx:i+1})))
|
||||
} catch (error) {
|
||||
|
|
|
|||
|
|
@ -7,7 +7,7 @@ import apiurl from '../../../../service/apiurl';
|
|||
import "../ytygc/index.less"
|
||||
import moment from 'moment';
|
||||
const { Dragger } = Upload;
|
||||
const url = "http://223.75.53.141:9102/test.by-lyf.tmp"
|
||||
const url = "http://223.75.53.141:9100/gs-tsg"
|
||||
const ModalForm = ({ mode, record,onEdit,onSave,onCrudSuccess }) => {
|
||||
if(record.tmStart && record.tmEnd) {
|
||||
record.tmStart = moment(record.tmStart)
|
||||
|
|
|
|||
|
|
@ -6,7 +6,7 @@ import {projDict} from "../../../../../../utils/dictType"
|
|||
|
||||
function Gctp({record}) {
|
||||
const [data, setData] = useState([])
|
||||
const url = "http://223.75.53.141:9102/test.by-lyf.tmp"
|
||||
const url = "http://223.75.53.141:9100/gs-tsg"
|
||||
const getData = async (params) => {
|
||||
setData(await projectimg(params))
|
||||
}
|
||||
|
|
|
|||
|
|
@ -21,7 +21,7 @@ const ModalForm = ({ mode, record, onEdit, onSave,onDeleteGet,onCrudSuccess }) =
|
|||
label: '需整改'
|
||||
}
|
||||
]
|
||||
const url = "http://223.75.53.141:9102/test.by-lyf.tmp"
|
||||
const url = "http://223.75.53.141:9100/gs-tsg"
|
||||
const [flag, setFlag] = useState(false)
|
||||
// if (record.tmStart && record.tmEnd) {
|
||||
// record.tmStart = moment(record.tmStart)
|
||||
|
|
|
|||
|
|
@ -21,7 +21,7 @@ const ModalForm = ({ mode, record, onEdit, onSave,onDeleteGet,onCrudSuccess }) =
|
|||
label: '需整改'
|
||||
}
|
||||
]
|
||||
const url = "http://223.75.53.141:9102/test.by-lyf.tmp"
|
||||
const url = "http://223.75.53.141:9100/gs-tsg"
|
||||
const [flag, setFlag] = useState(false)
|
||||
if (record.tmStart && record.tmEnd) {
|
||||
record.tmStart = moment(record.tmStart)
|
||||
|
|
|
|||
|
|
@ -6,7 +6,7 @@ import {projDict} from "../../../../../../utils/dictType"
|
|||
|
||||
function Gctp({record}) {
|
||||
const [data, setData] = useState([])
|
||||
const url = "http://223.75.53.141:9102/test.by-lyf.tmp"
|
||||
const url = "http://223.75.53.141:9100/gs-tsg"
|
||||
const getData = async (params) => {
|
||||
setData(await projectimg(params))
|
||||
}
|
||||
|
|
|
|||
|
|
@ -14,7 +14,7 @@ import moment from 'moment';
|
|||
import { createCrudService } from '../../../../components/crud/_';
|
||||
const { RangePicker } = DatePicker
|
||||
const { Dragger } = Upload;
|
||||
const url = "http://223.75.53.141:9102/test.by-lyf.tmp"
|
||||
const url = "http://223.75.53.141:9100/gs-tsg"
|
||||
const EditableCell = ({
|
||||
editing,
|
||||
dataIndex,
|
||||
|
|
|
|||
|
|
@ -13,7 +13,7 @@ import "./index.less"
|
|||
import moment from 'moment';
|
||||
import { createCrudService } from '../../../../components/crud/_';
|
||||
const {RangePicker} = DatePicker
|
||||
const url = "http://223.75.53.141:9102/test.by-lyf.tmp"
|
||||
const url = "http://223.75.53.141:9100/gs-tsg"
|
||||
const ModalForm = ({ mode, record,onEdit,onSave,onSimilarSave }) => {
|
||||
|
||||
console.log("record", record);
|
||||
|
|
|
|||
|
|
@ -6,7 +6,7 @@ import {projDict} from "../../../../../../utils/dictType"
|
|||
|
||||
function Gctp({record}) {
|
||||
const [data, setData] = useState([])
|
||||
const url = "http://223.75.53.141:9102/test.by-lyf.tmp"
|
||||
const url = "http://223.75.53.141:9100/gs-tsg"
|
||||
const getData = async (params) => {
|
||||
setData(await projectimg(params))
|
||||
}
|
||||
|
|
|
|||
|
|
@ -12,7 +12,7 @@ import { config } from '../../../../config';
|
|||
import moment from 'moment';
|
||||
import { createCrudService } from '../../../../components/crud/_';
|
||||
const { Dragger } = Upload;
|
||||
const url = "http://223.75.53.141:9102/test.by-lyf.tmp"
|
||||
const url = "http://223.75.53.141:9100/gs-tsg"
|
||||
const ModalForm = ({ mode, record,onEdit,onSave,onSimilarSave }) => {
|
||||
const goodsOptions = [
|
||||
{
|
||||
|
|
|
|||
|
|
@ -12,7 +12,7 @@ import { config } from '../../../../config';
|
|||
import moment from 'moment';
|
||||
import { createCrudService } from '../../../../components/crud/_';
|
||||
const { Dragger } = Upload;
|
||||
const url = "http://223.75.53.141:9102/test.by-lyf.tmp"
|
||||
const url = "http://223.75.53.141:9100/gs-tsg"
|
||||
const ModalForm = ({ mode, record,onEdit,onSave,onSimilarSave }) => {
|
||||
const goodsOptions = [
|
||||
{
|
||||
|
|
|
|||
|
|
@ -8,7 +8,7 @@ import moment from 'moment';
|
|||
import NormalSelect from '../../../../components/Form/NormalSelect';
|
||||
import EditText from '../../../../components/EditText';
|
||||
const { Dragger } = Upload;
|
||||
const url = "http://223.75.53.141:9102/test.by-lyf.tmp"
|
||||
const url = "http://223.75.53.141:9100/gs-tsg"
|
||||
const ModalForm = ({ mode, record,onEdit,onSave,onCrudSuccess }) => {
|
||||
if(record.meetDate){
|
||||
record.meetDate = moment(record.meetDate)
|
||||
|
|
|
|||
|
|
@ -17,7 +17,7 @@ import moment from 'moment';
|
|||
|
||||
|
||||
const Page = ({data,fileList,isMeetData=false}) => {
|
||||
const url = "http://223.75.53.141:9102/test.by-lyf.tmp"
|
||||
const url = "http://223.75.53.141:9100/gs-tsg"
|
||||
const [iframeSrc, setIframeSrc] = useState('')
|
||||
const [pdfViewOPen, setPdfViewOPen] = useState(false)
|
||||
/**
|
||||
|
|
|
|||
|
|
@ -14,7 +14,7 @@ import { httppost2 } from '../../../../utils/request';
|
|||
import moment from 'moment';
|
||||
const { RangePicker } = DatePicker;
|
||||
const { Dragger } = Upload;
|
||||
const url = "http://223.75.53.141:9102/test.by-lyf.tmp"
|
||||
const url = "http://223.75.53.141:9100/gs-tsg"
|
||||
const ModalForm = ({ mode, record,onEdit,onSave,onCrudSuccess }) => {
|
||||
if(record.startDate && record.startDate ){
|
||||
record.meetDate = [moment(record.startDate), moment(record.endDate)]
|
||||
|
|
|
|||
|
|
@ -12,7 +12,7 @@ import { config } from '../../../../config';
|
|||
import { createCrudService } from '../../../../components/crud/_';
|
||||
import moment from 'moment';
|
||||
const { Dragger } = Upload;
|
||||
const url = "http://223.75.53.141:9102/test.by-lyf.tmp"
|
||||
const url = "http://223.75.53.141:9100/gs-tsg"
|
||||
const ModalForm = ({ mode, record,onEdit,onSave }) => {
|
||||
if(record.prodDate){
|
||||
record.myTm = moment(record.prodDate)
|
||||
|
|
|
|||
|
|
@ -6,7 +6,7 @@ import { createCrudService } from '../../../components/crud/_';
|
|||
import apiurl from '../../../service/apiurl';
|
||||
import moment from 'moment';
|
||||
import "./index.less"
|
||||
const url = "http://223.75.53.141:9102/test.by-lyf.tmp"
|
||||
const url = "http://223.75.53.141:9100/gs-tsg"
|
||||
const ModalForm = ({ mode, record,onEdit,onSave }) => {
|
||||
if(record.tmStart && record.tmEnd) {
|
||||
record.tmStart = moment(record.tmStart)
|
||||
|
|
|
|||
|
|
@ -7,7 +7,7 @@ import apiurl from '../../../../service/apiurl';
|
|||
import moment from 'moment';
|
||||
import "./index.less"
|
||||
const { Dragger } = Upload;
|
||||
const url = "http://223.75.53.141:9102/test.by-lyf.tmp"
|
||||
const url = "http://223.75.53.141:9100/gs-tsg"
|
||||
const ModalForm = ({ mode, record,onEdit,onSave,onCrudSuccess }) => {
|
||||
if(record.tmStart && record.tmEnd) {
|
||||
record.tmStart = moment(record.tmStart)
|
||||
|
|
|
|||
|
|
@ -6,7 +6,7 @@ import {projDict} from "../../../../../../utils/dictType"
|
|||
|
||||
function Gctp({record}) {
|
||||
const [data, setData] = useState([])
|
||||
const url = "http://223.75.53.141:9102/test.by-lyf.tmp"
|
||||
const url = "http://223.75.53.141:9100/gs-tsg"
|
||||
const getData = async (params) => {
|
||||
setData(await projectimg(params))
|
||||
}
|
||||
|
|
|
|||
|
|
@ -11,7 +11,7 @@ import {getAdcdTreeData1, getYaxbGcTreeData} from '../../../../service/warn';
|
|||
|
||||
const Page = () => {
|
||||
const url = "http://local.gunshiiot.com:18083/gunshiApp/xfflood"
|
||||
const url1 = "http://223.75.53.141:9102/test.by-lyf.tmp"
|
||||
const url1 = "http://223.75.53.141:9100/gs-tsg"
|
||||
const allowedFileTypes = ['.pdf']; //文件上传格式
|
||||
const refModal = useRef();
|
||||
const treeRef = useRef();
|
||||
|
|
|
|||
|
|
@ -10,7 +10,7 @@ import ListSelect from "../../../../components/Form/ListSelect1";
|
|||
|
||||
const Page = () => {
|
||||
const url = "http://local.gunshiiot.com:18083/gunshiApp/xfflood"
|
||||
const url1 = "http://223.75.53.141:9102/test.by-lyf.tmp"
|
||||
const url1 = "http://223.75.53.141:9100/gs-tsg"
|
||||
// 页面初始默认查询参数
|
||||
const options = {
|
||||
search:{
|
||||
|
|
|
|||
|
|
@ -10,7 +10,7 @@ import GcTreeSelector from "./GcTreeSelector";
|
|||
|
||||
const Page = () => {
|
||||
const url = "http://local.gunshiiot.com:18083/gunshiApp/xfflood"
|
||||
const url1 = "http://223.75.53.141:9102/test.by-lyf.tmp"
|
||||
const url1 = "http://223.75.53.141:9100/gs-tsg"
|
||||
const allowedFileTypes = ['.pdf']; //文件上传格式
|
||||
const refModal = useRef();
|
||||
const isRender = useRef(true)
|
||||
|
|
|
|||
|
|
@ -6,7 +6,7 @@ import {projDict} from "../../../../../../utils/dictType"
|
|||
|
||||
function Gctp({record}) {
|
||||
const [data, setData] = useState([])
|
||||
const url = "http://223.75.53.141:9102/test.by-lyf.tmp"
|
||||
const url = "http://223.75.53.141:9100/gs-tsg"
|
||||
const getData = async (params) => {
|
||||
setData(await projectimg(params))
|
||||
}
|
||||
|
|
|
|||
|
|
@ -11,7 +11,7 @@ import "./index.less"
|
|||
import moment from 'moment';
|
||||
const { RangePicker } = DatePicker
|
||||
const { Dragger } = Upload;
|
||||
const url = "http://223.75.53.141:9102/test.by-lyf.tmp"
|
||||
const url = "http://223.75.53.141:9100/gs-tsg"
|
||||
|
||||
|
||||
const ModalForm = ({ mode, record, onEdit, onSave, onSimilarSave }) => {
|
||||
|
|
|
|||
|
|
@ -10,7 +10,7 @@ import usePageTable from '../../../../components/crud/usePageTable2';
|
|||
import { createCrudService } from '../../../../components/crud/_';
|
||||
import {CrudOpRender_text} from '../../../../components/crud/CrudOpRender';
|
||||
|
||||
const url = "http://223.75.53.141:9102/test.by-lyf.tmp"
|
||||
const url = "http://223.75.53.141:9100/gs-tsg"
|
||||
const Page = () => {
|
||||
const role = useSelector(state => state.auth.role);
|
||||
const editBtn = role?.rule?.find(item => item.menuName == "编辑")||true;
|
||||
|
|
|
|||
|
|
@ -11,7 +11,7 @@ import "./index.less"
|
|||
import moment from 'moment';
|
||||
const { RangePicker } = DatePicker
|
||||
const { Dragger } = Upload;
|
||||
const url = "http://223.75.53.141:9102/test.by-lyf.tmp"
|
||||
const url = "http://223.75.53.141:9100/gs-tsg"
|
||||
|
||||
|
||||
const ModalForm = ({ mode, record, onEdit, onSave, onSimilarSave }) => {
|
||||
|
|
|
|||
|
|
@ -10,7 +10,7 @@ import usePageTable from '../../../../components/crud/usePageTable2';
|
|||
import { createCrudService } from '../../../../components/crud/_';
|
||||
import {CrudOpRender_text} from '../../../../components/crud/CrudOpRender';
|
||||
|
||||
const url = "http://223.75.53.141:9102/test.by-lyf.tmp"
|
||||
const url = "http://223.75.53.141:9100/gs-tsg"
|
||||
const Page = () => {
|
||||
const role = useSelector(state => state.auth.role);
|
||||
const checkType = {
|
||||
|
|
|
|||
|
|
@ -11,7 +11,7 @@ import "./index.less"
|
|||
import moment from 'moment';
|
||||
const { RangePicker } = DatePicker
|
||||
const { Dragger } = Upload;
|
||||
const url = "http://223.75.53.141:9102/test.by-lyf.tmp"
|
||||
const url = "http://223.75.53.141:9100/gs-tsg"
|
||||
|
||||
|
||||
const ModalForm = ({ mode, record, onEdit, onSave, onSimilarSave }) => {
|
||||
|
|
|
|||
|
|
@ -10,7 +10,7 @@ import usePageTable from '../../../../components/crud/usePageTable2';
|
|||
import { createCrudService } from '../../../../components/crud/_';
|
||||
import {CrudOpRender_text} from '../../../../components/crud/CrudOpRender';
|
||||
|
||||
const url = "http://223.75.53.141:9102/test.by-lyf.tmp"
|
||||
const url = "http://223.75.53.141:9100/gs-tsg"
|
||||
const Page = () => {
|
||||
const role = useSelector(state => state.auth.role);
|
||||
const editBtn = role?.rule?.find(item => item.menuName == "编辑")||true;
|
||||
|
|
|
|||
|
|
@ -11,7 +11,7 @@ import "./index.less"
|
|||
import moment from 'moment';
|
||||
const { RangePicker } = DatePicker
|
||||
const { Dragger } = Upload;
|
||||
const url = "http://223.75.53.141:9102/test.by-lyf.tmp"
|
||||
const url = "http://223.75.53.141:9100/gs-tsg"
|
||||
|
||||
|
||||
const ModalForm = ({ mode, record, onEdit, onSave, onSimilarSave }) => {
|
||||
|
|
|
|||
|
|
@ -10,7 +10,7 @@ import usePageTable from '../../../../components/crud/usePageTable2';
|
|||
import { createCrudService } from '../../../../components/crud/_';
|
||||
import {CrudOpRender_text} from '../../../../components/crud/CrudOpRender';
|
||||
|
||||
const url = "http://223.75.53.141:9102/test.by-lyf.tmp"
|
||||
const url = "http://223.75.53.141:9100/gs-tsg"
|
||||
const Page = () => {
|
||||
const role = useSelector(state => state.auth.role);
|
||||
const editBtn = role?.rule?.find(item => item.menuName == "编辑")||true;
|
||||
|
|
|
|||
|
|
@ -11,7 +11,7 @@ import "./index.less"
|
|||
import moment from 'moment';
|
||||
const { RangePicker } = DatePicker
|
||||
const { Dragger } = Upload;
|
||||
const url = "http://223.75.53.141:9102/test.by-lyf.tmp"
|
||||
const url = "http://223.75.53.141:9100/gs-tsg"
|
||||
|
||||
|
||||
const ModalForm = ({ mode, record, onEdit, onSave, onSimilarSave }) => {
|
||||
|
|
|
|||
|
|
@ -10,7 +10,7 @@ import usePageTable from '../../../../components/crud/usePageTable2';
|
|||
import { createCrudService } from '../../../../components/crud/_';
|
||||
import {CrudOpRender_text} from '../../../../components/crud/CrudOpRender';
|
||||
|
||||
const url = "http://223.75.53.141:9102/test.by-lyf.tmp"
|
||||
const url = "http://223.75.53.141:9100/gs-tsg"
|
||||
const Page = () => {
|
||||
const role = useSelector(state => state.auth.role);
|
||||
const editBtn = role?.rule?.find(item => item.menuName == "编辑")||true;
|
||||
|
|
|
|||
|
|
@ -9,7 +9,7 @@ import "./index.less"
|
|||
import moment from 'moment';
|
||||
const { RangePicker } = DatePicker
|
||||
const { Dragger } = Upload;
|
||||
const url = "http://223.75.53.141:9102/test.by-lyf.tmp"
|
||||
const url = "http://223.75.53.141:9100/gs-tsg"
|
||||
|
||||
|
||||
const ModalForm = ({ mode, record, onEdit, onSave, onSimilarSave }) => {
|
||||
|
|
|
|||
|
|
@ -11,7 +11,7 @@ import usePageTable from '../../../../components/crud/usePageTable2';
|
|||
import { createCrudService } from '../../../../components/crud/_';
|
||||
import {CrudOpRender_text} from '../../../../components/crud/CrudOpRender';
|
||||
import moment from 'moment';
|
||||
const url = "http://223.75.53.141:9102/test.by-lyf.tmp"
|
||||
const url = "http://223.75.53.141:9100/gs-tsg"
|
||||
const Page = () => {
|
||||
const role = useSelector(state => state.auth.role);
|
||||
console.log(role);
|
||||
|
|
|
|||
|
|
@ -9,7 +9,7 @@ import { exportFile } from '../../../../utils/tools.js';
|
|||
import { httppost2, httppost5 } from '../../../../utils/request';
|
||||
import { ylFontColor } from '../../../../utils/dictType'
|
||||
import "./index.less"
|
||||
const url = "http://223.75.53.141:9102/test.by-lyf.tmp"
|
||||
const url = "http://223.75.53.141:9100/gs-tsg"
|
||||
const Page = () => {
|
||||
const role = useSelector(state => state.auth.role);
|
||||
const [searchVal, setSearchVal] = useState(false)
|
||||
|
|
|
|||
|
|
@ -8,7 +8,7 @@ import { createCrudService } from '../../../../components/crud/_';
|
|||
import { exportFile } from '../../../../utils/tools.js';
|
||||
import { httppost2, httppost5 } from '../../../../utils/request';
|
||||
import { ylFontColor } from '../../../../utils/dictType'
|
||||
const url = "http://223.75.53.141:9102/test.by-lyf.tmp"
|
||||
const url = "http://223.75.53.141:9100/gs-tsg"
|
||||
const Page = () => {
|
||||
const role = useSelector(state => state.auth.role);
|
||||
const [searchVal, setSearchVal] = useState(false)
|
||||
|
|
|
|||
|
|
@ -7,7 +7,7 @@ import usePageTable from '../../../../components/crud/usePageTable2';
|
|||
import { createCrudService } from '../../../../components/crud/_';
|
||||
import { exportFile } from '../../../../utils/tools.js';
|
||||
import { httppost2, httppost5 } from '../../../../utils/request';
|
||||
const url = "http://223.75.53.141:9102/test.by-lyf.tmp"
|
||||
const url = "http://223.75.53.141:9100/gs-tsg"
|
||||
const Page = () => {
|
||||
const role = useSelector(state => state.auth.role);
|
||||
const [searchVal, setSearchVal] = useState(false)
|
||||
|
|
|
|||
|
|
@ -7,7 +7,7 @@ import usePageTable from '../../../../components/crud/usePageTable2';
|
|||
import { createCrudService } from '../../../../components/crud/_';
|
||||
import { exportFile } from '../../../../utils/tools.js';
|
||||
import { httppost2, httppost5 } from '../../../../utils/request';
|
||||
const url = "http://223.75.53.141:9102/test.by-lyf.tmp"
|
||||
const url = "http://223.75.53.141:9100/gs-tsg"
|
||||
const Page = () => {
|
||||
const role = useSelector(state => state.auth.role);
|
||||
const [searchVal, setSearchVal] = useState(false)
|
||||
|
|
|
|||
|
|
@ -13,7 +13,7 @@ import moment from 'moment';
|
|||
import { httpget2 } from '../../../../utils/request';
|
||||
const { RangePicker } = DatePicker
|
||||
const { Dragger } = Upload;
|
||||
const url = "http://223.75.53.141:9102/test.by-lyf.tmp"
|
||||
const url = "http://223.75.53.141:9100/gs-tsg"
|
||||
|
||||
|
||||
const ModalForm = ({ mode, record, onEdit, onSave, onSimilarSave }) => {
|
||||
|
|
|
|||
|
|
@ -11,7 +11,7 @@ import "./index.less"
|
|||
import moment from 'moment';
|
||||
const { RangePicker } = DatePicker
|
||||
const { Dragger } = Upload;
|
||||
const url = "http://223.75.53.141:9102/test.by-lyf.tmp"
|
||||
const url = "http://223.75.53.141:9100/gs-tsg"
|
||||
|
||||
const ModalForm = ({ mode, record, onEdit, onSave, submit }) => {
|
||||
const [resultOptions, setResultOptions] = useState([])
|
||||
|
|
|
|||
|
|
@ -11,7 +11,7 @@ import { createCrudService } from '../../../../components/crud/_';
|
|||
import { httppost2 } from '../../../../utils/request';
|
||||
import {CrudOpRender_text} from '../../../../components/crud/CrudOpRender';
|
||||
import './index.less';
|
||||
const url = "http://223.75.53.141:9102/test.by-lyf.tmp"
|
||||
const url = "http://223.75.53.141:9100/gs-tsg"
|
||||
const Page = () => {
|
||||
const role = useSelector(state => state.auth.role);
|
||||
const editBtn = role?.rule?.find(item => item.menuName == "编辑") || true;
|
||||
|
|
|
|||
|
|
@ -4,7 +4,7 @@ import {PaperClipOutlined,DeleteOutlined} from '@ant-design/icons';
|
|||
import { formItemLayout, btnItemLayout } from '../../../../components/crud/FormLayoutProps';
|
||||
import apiurl from '../../../../service/apiurl';
|
||||
const ModalForm = ({ mode, record, onEdit, onSave, onCrudSuccess }) => {
|
||||
const url = "http://223.75.53.141:9102/test.by-lyf.tmp"
|
||||
const url = "http://223.75.53.141:9100/gs-tsg"
|
||||
const [form] = Form.useForm();
|
||||
const [fileList, setFileList] = useState([]) //上传文件列表
|
||||
const [loading, setLoading] = useState(false)
|
||||
|
|
|
|||
|
|
@ -9,7 +9,7 @@ import apiurl from '../../../../service/apiurl';
|
|||
import { httpget2,httppost2 } from '../../../../utils/request';
|
||||
import "./index.less"
|
||||
const { confirm } = Modal;
|
||||
const url = "http://223.75.53.141:9102/test.by-lyf.tmp"
|
||||
const url = "http://223.75.53.141:9100/gs-tsg"
|
||||
const Page = () => {
|
||||
const role = useSelector(state => state.auth.role);
|
||||
console.log("role",role);
|
||||
|
|
|
|||
|
|
@ -12,7 +12,7 @@ import moment from 'moment';
|
|||
import { createCrudService } from '../../../components/crud/_';
|
||||
const { RangePicker } = DatePicker
|
||||
const { Dragger } = Upload;
|
||||
const url = "http://223.75.53.141:9102/test.by-lyf.tmp"
|
||||
const url = "http://223.75.53.141:9100/gs-tsg"
|
||||
|
||||
|
||||
const ModalForm = ({ mode, record, onEdit, onSave, onSimilarSave }) => {
|
||||
|
|
|
|||
|
|
@ -10,7 +10,7 @@ import usePageTable from '../../../components/crud/usePageTable2';
|
|||
import { createCrudService } from '../../../components/crud/_';
|
||||
import {CrudOpRender_text} from '../../../components/crud/CrudOpRender';
|
||||
|
||||
const url = "http://223.75.53.141:9102/test.by-lyf.tmp"
|
||||
const url = "http://223.75.53.141:9100/gs-tsg"
|
||||
const Page = () => {
|
||||
const role = useSelector(state => state.auth.role);
|
||||
const editBtn = role?.rule?.find(item => item.menuName == "编辑");
|
||||
|
|
|
|||
|
|
@ -10,7 +10,7 @@ import usePageTable from '../../../../components/crud/usePageTable2';
|
|||
import { createCrudService } from '../../../../components/crud/_';
|
||||
import {CrudOpRender_text} from '../../../../components/crud/CrudOpRender';
|
||||
|
||||
const url = "http://223.75.53.141:9102/test.by-lyf.tmp"
|
||||
const url = "http://223.75.53.141:9100/gs-tsg"
|
||||
const Page = () => {
|
||||
const role = useSelector(state => state.auth.role);
|
||||
const editBtn = role?.rule?.find(item => item.menuName == "编辑") || true;
|
||||
|
|
|
|||
|
|
@ -10,7 +10,7 @@ import moment from 'moment'
|
|||
const { Dragger } = Upload;
|
||||
|
||||
export default function PfDetail({ record, Item, refresh, onCancel,tabs }) {
|
||||
const url = "http://223.75.53.141:9102/test.by-lyf.tmp"
|
||||
const url = "http://223.75.53.141:9100/gs-tsg"
|
||||
const EditableContext = React.createContext(null);
|
||||
const EditableRow = ({ index, ...props }) => {
|
||||
const [form] = Form.useForm();
|
||||
|
|
|
|||
|
|
@ -13,7 +13,7 @@ import moment from 'moment';
|
|||
import {getCurrentQuarter,convertQuarterToDate,getQuarterStartEndDates} from "../../../../utils/tools"
|
||||
const { RangePicker } = DatePicker
|
||||
const { Dragger } = Upload;
|
||||
const url = "http://223.75.53.141:9102/test.by-lyf.tmp"
|
||||
const url = "http://223.75.53.141:9100/gs-tsg"
|
||||
|
||||
const ModalForm = ({ mode, record, onEdit, onSave, onSimilarSave }) => {
|
||||
const taskFreq = [
|
||||
|
|
|
|||
|
|
@ -2,7 +2,7 @@ import React from 'react'
|
|||
import {Tabs,Descriptions,Image} from "antd"
|
||||
export default function pfViewModal({ zgItem,record }) {
|
||||
console.log("pfViewModal", zgItem,record);
|
||||
const url = "http://223.75.53.141:9102/test.by-lyf.tmp"
|
||||
const url = "http://223.75.53.141:9100/gs-tsg"
|
||||
|
||||
const newArray = []
|
||||
for (let i = 0; zgItem[`teamUserName${i}`] || record.tabs != 2; i++) {
|
||||
|
|
|
|||
|
|
@ -11,7 +11,7 @@ import "./index.less"
|
|||
import moment from 'moment';
|
||||
const { RangePicker } = DatePicker
|
||||
const { Dragger } = Upload;
|
||||
const url = "http://223.75.53.141:9102/test.by-lyf.tmp"
|
||||
const url = "http://223.75.53.141:9100/gs-tsg"
|
||||
|
||||
|
||||
const ModalForm = ({ mode, record, onUpdate, onSave, onSimilarSave }) => {
|
||||
|
|
|
|||
|
|
@ -10,7 +10,7 @@ import usePageTable from '../../../../components/crud/usePageTable2';
|
|||
import { createCrudService } from '../../../../components/crud/_';
|
||||
import {CrudOpRender_text} from '../../../../components/crud/CrudOpRender';
|
||||
|
||||
const url = "http://223.75.53.141:9102/test.by-lyf.tmp"
|
||||
const url = "http://223.75.53.141:9100/gs-tsg"
|
||||
const Page = () => {
|
||||
const role = useSelector(state => state.auth.role);
|
||||
const assessLevel = {
|
||||
|
|
|
|||
|
|
@ -11,7 +11,7 @@ import usePageTable from '../../../../components/crud/usePageTable2';
|
|||
import { createCrudService } from '../../../../components/crud/_';
|
||||
import {CrudOpRender_text} from '../../../../components/crud/CrudOpRender';
|
||||
|
||||
const url = "http://223.75.53.141:9102/test.by-lyf.tmp"
|
||||
const url = "http://223.75.53.141:9100/gs-tsg"
|
||||
const Page = () => {
|
||||
const role = useSelector(state => state.auth.role);
|
||||
const editBtn = role?.rule?.find(item => item.menuName == "编辑") || true;
|
||||
|
|
|
|||
|
|
@ -11,7 +11,7 @@ import "./index.less"
|
|||
import moment from 'moment';
|
||||
const { RangePicker } = DatePicker
|
||||
const { Dragger } = Upload;
|
||||
const url = "http://223.75.53.141:9102/test.by-lyf.tmp"
|
||||
const url = "http://223.75.53.141:9100/gs-tsg"
|
||||
|
||||
const ModalForm = ({ mode, record, onEdit, onSave, onSimilarSave }) => {
|
||||
|
||||
|
|
@ -163,7 +163,7 @@ const ModalForm = ({ mode, record, onEdit, onSave, onSimilarSave }) => {
|
|||
<Row>
|
||||
<Col span={12}>
|
||||
<Form.Item
|
||||
label="上报时间"
|
||||
label="时间"
|
||||
name="reportTime"
|
||||
getValueFromEvent={(e,dateString) => dateString}
|
||||
getValueProps={(value) => ({ value: value ? moment(value) : undefined })}
|
||||
|
|
|
|||
|
|
@ -9,8 +9,8 @@ import apiurl from '../../../service/apiurl';
|
|||
import usePageTable from '../../../components/crud/usePageTable2';
|
||||
import { createCrudService } from '../../../components/crud/_';
|
||||
import {CrudOpRender_text} from '../../../components/crud/CrudOpRender';
|
||||
|
||||
const url = "http://223.75.53.141:9102/test.by-lyf.tmp"
|
||||
import moment from 'moment';
|
||||
const url = "http://223.75.53.141:9100/gs-tsg"
|
||||
const Page = () => {
|
||||
const role = useSelector(state => state.auth.role);
|
||||
const editBtn = role?.rule?.find(item => item.menuName == "编辑")|| true;
|
||||
|
|
@ -33,7 +33,10 @@ const Page = () => {
|
|||
const [videoParams, setVideoParams] = useState({})
|
||||
const columns = [
|
||||
{ title: '序号', key: 'inx', dataIndex: 'inx', width: 60, align: "center" },
|
||||
{ title: '上报日期', key: 'reportTime', dataIndex: 'reportTime', width: 140, },
|
||||
{
|
||||
title: '时间', key: 'reportTime', dataIndex: 'reportTime', width: 140,
|
||||
render: (v) => <span>{v ? moment(v).format('YYYY-MM-DD'):''}</span>
|
||||
},
|
||||
{
|
||||
title: '管护类型', key: 'maintainType', dataIndex: 'maintainType', width: 200,
|
||||
render: (value) => <span>{value ? types[value] : ''}</span>
|
||||
|
|
|
|||
|
|
@ -43,7 +43,7 @@ const ToolBar = ({ setSearchVal, onSave, storeData, role }) => {
|
|||
<>
|
||||
<div style={{display:'flex',justifyContent:'space-between'}}>
|
||||
<Form form={form} className='toolbarBox' layout="inline" onFinish={onFinish}>
|
||||
<Form.Item label="上报时间" name="tm">
|
||||
<Form.Item label="时间" name="tm">
|
||||
<RangePicker
|
||||
allowClear
|
||||
style={{ width: "300px" }}
|
||||
|
|
|
|||
|
|
@ -12,7 +12,7 @@ import moment from 'moment';
|
|||
import { httpget2 } from '../../../../utils/request';
|
||||
const { RangePicker } = DatePicker
|
||||
const { Dragger } = Upload;
|
||||
const url = "http://223.75.53.141:9102/test.by-lyf.tmp"
|
||||
const url = "http://223.75.53.141:9100/gs-tsg"
|
||||
|
||||
|
||||
const ModalForm = ({ mode, record, onEdit, onSave, onSimilarSave,submit }) => {
|
||||
|
|
|
|||
|
|
@ -12,7 +12,7 @@ import moment from 'moment';
|
|||
import { httpget2 } from '../../../../utils/request';
|
||||
const { RangePicker } = DatePicker
|
||||
const { Dragger } = Upload;
|
||||
const url = "http://223.75.53.141:9102/test.by-lyf.tmp"
|
||||
const url = "http://223.75.53.141:9100/gs-tsg"
|
||||
|
||||
|
||||
const ModalForm = ({ mode, record, onEdit, onSave, onSimilarSave }) => {
|
||||
|
|
|
|||
|
|
@ -11,7 +11,7 @@ import usePageTable from '../../../../components/crud/usePageTable2';
|
|||
import { createCrudService } from '../../../../components/crud/_';
|
||||
import {CrudOpRender_text} from '../../../../components/crud/CrudOpRender';
|
||||
|
||||
const url = "http://223.75.53.141:9102/test.by-lyf.tmp"
|
||||
const url = "http://223.75.53.141:9100/gs-tsg"
|
||||
const Page = () => {
|
||||
const role = useSelector(state => state.auth.role);
|
||||
const editBtn = role?.rule?.find(item => item.menuName == "编辑")||true;
|
||||
|
|
|
|||
|
|
@ -11,7 +11,7 @@ import "./index.less"
|
|||
import moment from 'moment';
|
||||
const { RangePicker } = DatePicker
|
||||
const { Dragger } = Upload;
|
||||
const url = "http://223.75.53.141:9102/test.by-lyf.tmp"
|
||||
const url = "http://223.75.53.141:9100/gs-tsg"
|
||||
|
||||
|
||||
const ModalForm = ({ mode, record, onEdit, onSave, onSimilarSave,submit }) => {
|
||||
|
|
|
|||
|
|
@ -10,7 +10,7 @@ import usePageTable from '../../../../components/crud/usePageTable2';
|
|||
import { createCrudService } from '../../../../components/crud/_';
|
||||
import {CrudOpRender_text} from '../../../../components/crud/CrudOpRender';
|
||||
|
||||
const url = "http://223.75.53.141:9102/test.by-lyf.tmp"
|
||||
const url = "http://223.75.53.141:9100/gs-tsg"
|
||||
const Page = () => {
|
||||
const role = useSelector(state => state.auth.role);
|
||||
const viewBtn = role?.rule?.find(item => item.menuName == "详情") || true;
|
||||
|
|
|
|||
|
|
@ -9,7 +9,7 @@ import "./index.less"
|
|||
import moment from 'moment';
|
||||
const { RangePicker } = DatePicker
|
||||
const { Dragger } = Upload;
|
||||
const url = "http://223.75.53.141:9102/test.by-lyf.tmp"
|
||||
const url = "http://223.75.53.141:9100/gs-tsg"
|
||||
|
||||
|
||||
const ModalForm = ({ mode, record, onEdit, onSave, onSimilarSave }) => {
|
||||
|
|
|
|||
|
|
@ -11,7 +11,7 @@ import usePageTable from '../../../../components/crud/usePageTable2';
|
|||
import { createCrudService } from '../../../../components/crud/_';
|
||||
import {CrudOpRender_text} from '../../../../components/crud/CrudOpRender';
|
||||
|
||||
const url = "http://223.75.53.141:9102/test.by-lyf.tmp"
|
||||
const url = "http://223.75.53.141:9100/gs-tsg"
|
||||
const Page = () => {
|
||||
const role = useSelector(state => state.auth.role);
|
||||
console.log(role);
|
||||
|
|
|
|||
|
|
@ -14,7 +14,7 @@ import { httpget, httpget2, httppost2 } from '../../../utils/request';
|
|||
import apiurl from '../../../service/apiurl';
|
||||
import ModalContent from './ModalContent';
|
||||
|
||||
const url = "http://223.75.53.141:9102/test.by-lyf.tmp"
|
||||
const url = "http://223.75.53.141:9100/gs-tsg"
|
||||
const CanvasW = 1080
|
||||
const CanvasH = 640
|
||||
// const waterRatio = 0
|
||||
|
|
|
|||
|
|
@ -19,7 +19,7 @@ export default function Sssw({data}) {
|
|||
</div>
|
||||
|
||||
<div className="infoItem">
|
||||
<div className="row-key">校验洪水位:</div>
|
||||
<div className="row-key">校核洪水位:</div>
|
||||
<div className="row-value">{data?.calFloodLev ? data?.calFloodLev.toFixed(2) : '-'}</div>
|
||||
<Divider type="vertical" style={{height:25,background:"#000",width:2,margin:"0 30px"}}/>
|
||||
<div className="row-value" style={{width:"20%"}}>{(data.calFloodLev && data?.rz) ? (data?.rz - data.calFloodLev).toFixed(2):'-'}</div>
|
||||
|
|
|
|||
|
|
@ -47,7 +47,7 @@ export default function drpOption(data,yjData) {
|
|||
{
|
||||
type: 'category',
|
||||
data: data.map(o => o.createTime),
|
||||
inverse: false,
|
||||
inverse: true,
|
||||
splitLine: {
|
||||
show: false
|
||||
},
|
||||
|
|
|
|||
|
|
@ -482,7 +482,7 @@ export default function BuildInfo() {
|
|||
{
|
||||
skdisabled ? <Button type="primary" onClick={() => setSkDisabled(false)}>编辑</Button> :
|
||||
<div style={{ display: 'flex', columnGap: 20 }}>
|
||||
<Button onClick={() => setSkDisabled(true)}>取消</Button>
|
||||
<Button onClick={() => { setSkDisabled(true); getData(); }}>取消</Button>
|
||||
<Button type="primary" onClick={() => { onFinish() }}>保存</Button>
|
||||
</div>
|
||||
}
|
||||
|
|
|
|||
|
|
@ -61,7 +61,7 @@ export default function ShuikuBasicInfo() {
|
|||
{tabVal === "1" ? <ProjectBasciInfo /> : null}
|
||||
{tabVal === "2" ? <TzParams /> : null}
|
||||
{tabVal === "3" ? <KrLine dataInfo={data}/> : null}
|
||||
{tabVal === "4" ? <XlLine /> : null}
|
||||
{tabVal === "4" ? <XlLine dataInfo={data}/> : null}
|
||||
{/* {tabVal === "5" ? <MonthLl dataInfo={data}/> : null} */}
|
||||
{tabVal === "5" ? <BuildInfo /> : null}
|
||||
</div>
|
||||
|
|
|
|||
|
|
@ -128,7 +128,7 @@ export default function MonthLl() {
|
|||
for (let i = 0; i < res.data.length; i++) {
|
||||
obj[res.data[i].month] = res.data[i].value
|
||||
}
|
||||
setDetails([{...obj,id:"42120250085"}])
|
||||
setDetails([{...obj,id:"42112230001"}])
|
||||
} catch (error) {
|
||||
console.log(error);
|
||||
}
|
||||
|
|
|
|||
|
|
@ -111,10 +111,10 @@ export default function ProjectBasciInfo() {
|
|||
setFileList(filterFile)
|
||||
}
|
||||
|
||||
const onFinish = async () => {
|
||||
const onFinish = async (values) => {
|
||||
try {
|
||||
let oldFiles = fileList.map(item => ({ fileId: item.response?.data?.fileId }))
|
||||
const values = form.getFieldsValue();
|
||||
// const values = form.getFieldsValue();
|
||||
const params = {
|
||||
...data,
|
||||
...values,
|
||||
|
|
@ -169,7 +169,7 @@ export default function ProjectBasciInfo() {
|
|||
<Form.Item
|
||||
label="水库名称"
|
||||
name="resName"
|
||||
rules={[{ required: true }]}
|
||||
rules={[{ required: false}]}
|
||||
>
|
||||
<Input allowClear style={{ width: '300px' }} disabled={skdisabled} />
|
||||
</Form.Item>
|
||||
|
|
@ -178,7 +178,7 @@ export default function ProjectBasciInfo() {
|
|||
<Form.Item
|
||||
label="水库代码"
|
||||
name="resCode"
|
||||
rules={[{ required: true }]}
|
||||
rules={[{ required: false}]}
|
||||
>
|
||||
<Input allowClear style={{ width: '300px' }} disabled />
|
||||
</Form.Item>
|
||||
|
|
@ -227,7 +227,7 @@ export default function ProjectBasciInfo() {
|
|||
<Form.Item
|
||||
label="水库规模"
|
||||
name="engScal"
|
||||
rules={[{ required: true }]}
|
||||
rules={[{ required: false}]}
|
||||
>
|
||||
<NormalSelect
|
||||
style={{ width: '300px' }}
|
||||
|
|
@ -250,7 +250,7 @@ export default function ProjectBasciInfo() {
|
|||
<Form.Item
|
||||
label="经度"
|
||||
name="lgtd"
|
||||
rules={[{ required: true }]}
|
||||
rules={[{ required: false}]}
|
||||
|
||||
>
|
||||
<Input allowClear style={{ width: '300px' }} disabled={skdisabled} />
|
||||
|
|
@ -262,7 +262,7 @@ export default function ProjectBasciInfo() {
|
|||
<Form.Item
|
||||
label="纬度"
|
||||
name="lttd"
|
||||
rules={[{ required: true }]}
|
||||
rules={[{ required: false}]}
|
||||
>
|
||||
<Input allowClear style={{ width: '300px' }} disabled={skdisabled} />
|
||||
</Form.Item>
|
||||
|
|
@ -369,7 +369,7 @@ export default function ProjectBasciInfo() {
|
|||
<Form.Item
|
||||
label="工程特性表"
|
||||
name=""
|
||||
rules={[{ required: true }]}
|
||||
|
||||
>
|
||||
<Upload
|
||||
name='file'
|
||||
|
|
@ -456,9 +456,10 @@ export default function ProjectBasciInfo() {
|
|||
skdisabled ? <Button type="primary" onClick={() => setSkDisabled(false)}>编辑</Button> :
|
||||
<div style={{ display: 'flex', columnGap: 20 }}>
|
||||
<Button onClick={() => {
|
||||
setSkDisabled(true)
|
||||
setSkDisabled(true);
|
||||
getData();
|
||||
}}>取消</Button>
|
||||
<Button type="primary" onClick={() => { onFinish() }}>保存</Button>
|
||||
<Button type="primary" htmlType="submit">保存</Button>
|
||||
</div>
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -23,9 +23,9 @@ export default function ProjectBasciInfo() {
|
|||
|
||||
|
||||
|
||||
const onFinish = async () => {
|
||||
const onFinish = async (values) => {
|
||||
try {
|
||||
const values = form.getFieldsValue();
|
||||
// const values = form.getFieldsValue();
|
||||
const params = {
|
||||
...data,
|
||||
...values,
|
||||
|
|
@ -60,7 +60,7 @@ export default function ProjectBasciInfo() {
|
|||
<Form.Item
|
||||
label="坝址以上流域面积(km²)"
|
||||
name="watShedArea"
|
||||
rules={[{ required: true }]}
|
||||
rules={[{ required: false}]}
|
||||
>
|
||||
<Input allowClear style={{ width: '300px' }} disabled={skdisabled} />
|
||||
</Form.Item>
|
||||
|
|
@ -71,7 +71,7 @@ export default function ProjectBasciInfo() {
|
|||
name="crestElev"
|
||||
labelCol={{ span: 5 }}
|
||||
wrapperCol={{span:14}}
|
||||
rules={[{ required: true }]}
|
||||
rules={[{ required: false}]}
|
||||
>
|
||||
<Input allowClear style={{width:'280px'}} disabled={skdisabled}/>
|
||||
</Form.Item>
|
||||
|
|
@ -92,7 +92,7 @@ export default function ProjectBasciInfo() {
|
|||
<Form.Item
|
||||
label="校核洪水位(m)"
|
||||
name="calFloodLev"
|
||||
rules={[{ required: true }]}
|
||||
rules={[{ required: false}]}
|
||||
>
|
||||
<Input allowClear style={{width:'300px'}} disabled={skdisabled}/>
|
||||
</Form.Item>
|
||||
|
|
@ -103,7 +103,7 @@ export default function ProjectBasciInfo() {
|
|||
name="totCap"
|
||||
labelCol={{ span: 5 }}
|
||||
wrapperCol={{span:14}}
|
||||
rules={[{ required: true }]}
|
||||
rules={[{ required: false}]}
|
||||
>
|
||||
<Input allowClear style={{width:'280px'}} disabled={skdisabled}/>
|
||||
</Form.Item>
|
||||
|
|
@ -124,7 +124,7 @@ export default function ProjectBasciInfo() {
|
|||
<Form.Item
|
||||
label="设计洪水位(m)"
|
||||
name="desFloodLev"
|
||||
rules={[{ required: true }]}
|
||||
rules={[{ required: false}]}
|
||||
>
|
||||
<Input allowClear style={{width:'300px'}} disabled={skdisabled}/>
|
||||
</Form.Item>
|
||||
|
|
@ -135,7 +135,7 @@ export default function ProjectBasciInfo() {
|
|||
name="storFlCap"
|
||||
labelCol={{ span: 5 }}
|
||||
wrapperCol={{span:14}}
|
||||
rules={[{ required: true }]}
|
||||
rules={[{ required: false}]}
|
||||
>
|
||||
<Input allowClear style={{width:'280px'}} disabled={skdisabled}/>
|
||||
</Form.Item>
|
||||
|
|
@ -146,7 +146,7 @@ export default function ProjectBasciInfo() {
|
|||
name="maxDesFloodFlow"
|
||||
labelCol={{ span: 12 }}
|
||||
wrapperCol={{span:12}}
|
||||
rules={[{ required: true }]}
|
||||
rules={[{ required: false}]}
|
||||
|
||||
>
|
||||
<Input allowClear style={{width:'300px'}} disabled={skdisabled}/>
|
||||
|
|
@ -158,7 +158,7 @@ export default function ProjectBasciInfo() {
|
|||
<Form.Item
|
||||
label="防洪高水位(m)"
|
||||
name="uppLevFlco"
|
||||
rules={[{ required: true }]}
|
||||
rules={[{ required: false}]}
|
||||
>
|
||||
<Input allowClear style={{width:'300px'}} disabled={skdisabled}/>
|
||||
</Form.Item>
|
||||
|
|
@ -166,7 +166,7 @@ export default function ProjectBasciInfo() {
|
|||
<Col span={8}>
|
||||
<Form.Item
|
||||
label="防洪库容(万m³)"
|
||||
name="flcoCap "
|
||||
name="flcoCap"
|
||||
labelCol={{ span: 5 }}
|
||||
wrapperCol={{span:14}}
|
||||
>
|
||||
|
|
@ -189,7 +189,7 @@ export default function ProjectBasciInfo() {
|
|||
<Form.Item
|
||||
label="正常蓄水位(m)"
|
||||
name="normWatLev"
|
||||
rules={[{ required: true }]}
|
||||
rules={[{ required: false}]}
|
||||
>
|
||||
<Input allowClear style={{width:'300px'}} disabled={skdisabled}/>
|
||||
</Form.Item>
|
||||
|
|
@ -208,7 +208,7 @@ export default function ProjectBasciInfo() {
|
|||
<Form.Item
|
||||
label="汛限水位(m)"
|
||||
name="flLowLimLev"
|
||||
rules={[{ required: true }]}
|
||||
rules={[{ required: false}]}
|
||||
labelCol={{ span: 6 }}
|
||||
wrapperCol={{span:14}}
|
||||
>
|
||||
|
|
@ -221,7 +221,7 @@ export default function ProjectBasciInfo() {
|
|||
<Form.Item
|
||||
label="死水位(m)"
|
||||
name="deadLev"
|
||||
rules={[{ required: true }]}
|
||||
rules={[{ required: false}]}
|
||||
>
|
||||
<Input allowClear style={{width:'300px'}} disabled={skdisabled}/>
|
||||
</Form.Item>
|
||||
|
|
@ -232,7 +232,7 @@ export default function ProjectBasciInfo() {
|
|||
name="deadCap"
|
||||
labelCol={{ span: 5 }}
|
||||
wrapperCol={{span:14}}
|
||||
rules={[{ required: true }]}
|
||||
rules={[{ required: false}]}
|
||||
>
|
||||
<Input allowClear style={{width:'280px'}} disabled={skdisabled}/>
|
||||
</Form.Item>
|
||||
|
|
@ -241,7 +241,7 @@ export default function ProjectBasciInfo() {
|
|||
<Form.Item
|
||||
label="堰顶高程(m)"
|
||||
name="wcrstel"
|
||||
rules={[{ required: true }]}
|
||||
rules={[{ required: false}]}
|
||||
labelCol={{ span: 6 }}
|
||||
wrapperCol={{span:14}}
|
||||
>
|
||||
|
|
@ -257,8 +257,8 @@ export default function ProjectBasciInfo() {
|
|||
{
|
||||
skdisabled ? <Button type="primary" onClick={() => setSkDisabled(false)}>编辑</Button> :
|
||||
<div style={{ display: 'flex', columnGap: 20 }}>
|
||||
<Button onClick={() => setSkDisabled(true)}>取消</Button>
|
||||
<Button type="primary" onClick={() => { onFinish() }}>保存</Button>
|
||||
<Button onClick={() => { setSkDisabled(true);getData();}}>取消</Button>
|
||||
<Button type="primary" htmlType="submit">保存</Button>
|
||||
</div>
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -11,7 +11,7 @@ export default function drpOption({data}) {
|
|||
data.forEach(item=>{
|
||||
arr.push([item.z,item.q])
|
||||
})
|
||||
console.log(arr,data.map(o => o.z),'jhsdjkashdjkahjk');
|
||||
// console.log(arr,data.map(o => o.z),'jhsdjkashdjkahjk');
|
||||
// debugger;
|
||||
return {
|
||||
toolbox: {
|
||||
|
|
@ -44,7 +44,7 @@ export default function drpOption({data}) {
|
|||
],
|
||||
xAxis: [
|
||||
{
|
||||
name: "流量(m³/s)",
|
||||
name: "库水位(m)",
|
||||
nameGap: 5,
|
||||
type: 'value',
|
||||
min:Math.floor(minValX / 5) *5,
|
||||
|
|
@ -59,7 +59,7 @@ export default function drpOption({data}) {
|
|||
yAxis: [
|
||||
{
|
||||
type: 'value',
|
||||
name: "库水位(m)",
|
||||
name: "流量(m³/s)",
|
||||
minInterval:1,
|
||||
splitLine: {
|
||||
show: true,
|
||||
|
|
|
|||
|
|
@ -5,7 +5,7 @@ import apiurl from '../../../../../service/apiurl';
|
|||
const ModalForm = ({ mode, record,onEdit,onSave,onCrudSuccess }) => {
|
||||
const [form] = Form.useForm();
|
||||
const onFinish = async (values) => {
|
||||
values.resCode = "42120250085"
|
||||
values.resCode = "42112230001"
|
||||
values.id = record?.id
|
||||
if (mode === 'edit') {
|
||||
const params = {
|
||||
|
|
@ -16,6 +16,8 @@ const ModalForm = ({ mode, record,onEdit,onSave,onCrudSuccess }) => {
|
|||
onEdit(apiurl.dataResourcesCenter.projectAndWater.xl.update,params)
|
||||
}
|
||||
if (mode === 'save') {
|
||||
console.log("values",values);
|
||||
|
||||
onSave(apiurl.dataResourcesCenter.projectAndWater.xl.save,values)
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -7,7 +7,7 @@ import apiurl from '../../../../../service/apiurl';
|
|||
import { httppost2 } from '../../../../../utils/request';
|
||||
import { CrudOpRender_text } from '../../../../../components/crud/CrudOpRender';
|
||||
import BasicCrudModal from '../../../../../components/crud/BasicCrudModal2';
|
||||
export default function Zrtx() {
|
||||
export default function Zrtx({ dataInfo }) {
|
||||
const refModal = useRef();
|
||||
const columns = [
|
||||
{
|
||||
|
|
@ -37,7 +37,7 @@ export default function Zrtx() {
|
|||
|
||||
const command = (type) => (params) => {
|
||||
if (type === 'save') {
|
||||
refModal.current.showSave({});
|
||||
refModal.current.showSave(dataInfo);
|
||||
} else if (type === 'edit') {
|
||||
refModal.current.showEdit(params)
|
||||
} else if (type === 'view') {
|
||||
|
|
|
|||
|
|
@ -11,13 +11,13 @@ const Page = () => {
|
|||
<Image src={title} />保护对象
|
||||
</div>
|
||||
<div className={styles.content}>
|
||||
水库防洪标准按
|
||||
<span className={styles.color}>50</span>
|
||||
年一遇设计,<span className={styles.color}>1000</span>年一遇校核,设计洪水位<span className={styles.color}>111.51</span>米,
|
||||
校核洪水位 <span className={styles.color}>112.75</span> 米,
|
||||
水库经加固后防洪标准按
|
||||
<span className={styles.color}>100</span>
|
||||
年一遇设计,<span className={styles.color}>2000</span>年一遇校核,设计洪水位<span className={styles.color}>111.89</span>米,
|
||||
校核洪水位 <span className={styles.color}>113.06</span> 米,
|
||||
水库担负着红安县城、七里坪、杏花、城关等城镇,
|
||||
以及京九铁路汉麻连络线、省道S234、国道G230,京九铁路汉麻联络线等交通设施安全的防洪重任、防洪保护人口<span className={styles.color}>32</span>万
|
||||
人,保护耕地 <span className={styles.color}>15</span> 万亩。
|
||||
人,保护耕地 <span className={styles.color}>30</span> 万亩。
|
||||
</div>
|
||||
|
||||
</div>
|
||||
|
|
|
|||
|
|
@ -11,7 +11,7 @@ import "./index.less"
|
|||
import moment from 'moment';
|
||||
const { RangePicker } = DatePicker
|
||||
const { Dragger } = Upload;
|
||||
const url = "http://223.75.53.141:9102/test.by-lyf.tmp"
|
||||
const url = "http://223.75.53.141:9100/gs-tsg"
|
||||
|
||||
|
||||
const ModalForm = ({ mode, record, onEdit, onSave, onSimilarSave }) => {
|
||||
|
|
|
|||
|
|
@ -10,7 +10,7 @@ import usePageTable from '../../../../components/crud/usePageTable2';
|
|||
import { createCrudService } from '../../../../components/crud/_';
|
||||
import {CrudOpRender_text} from '../../../../components/crud/CrudOpRender';
|
||||
|
||||
const url = "http://223.75.53.141:9102/test.by-lyf.tmp"
|
||||
const url = "http://223.75.53.141:9100/gs-tsg"
|
||||
const Page = () => {
|
||||
const role = useSelector(state => state.auth.role);
|
||||
const editBtn = role?.rule?.find(item => item.menuName == "编辑");
|
||||
|
|
|
|||
|
|
@ -12,7 +12,7 @@ import './index.less'
|
|||
import { httppost5 } from '../../../../utils/request';
|
||||
import { exportFile } from '../../../../utils/tools';
|
||||
|
||||
const url = "http://223.75.53.141:9102/test.by-lyf.tmp"
|
||||
const url = "http://223.75.53.141:9100/gs-tsg"
|
||||
const Page = () => {
|
||||
const role = useSelector(state => state.auth.role);
|
||||
const editBtn = role?.rule?.find(item => item.menuName == "编辑");
|
||||
|
|
|
|||
|
|
@ -11,7 +11,7 @@ import NormalSelect from '../../../components/Form/NormalSelect';
|
|||
import moment from 'moment';
|
||||
const { RangePicker } = DatePicker
|
||||
const { Dragger } = Upload;
|
||||
const url = "http://223.75.53.141:9102/test.by-lyf.tmp"
|
||||
const url = "http://223.75.53.141:9100/gs-tsg"
|
||||
|
||||
const opntios = [
|
||||
{ label: '宪法', value: '宪法' },
|
||||
|
|
|
|||
|
|
@ -14,7 +14,7 @@ import { httpgetExport } from '../../../utils/request';
|
|||
import { exportFile } from '../../../utils/tools';
|
||||
import dayjs from 'dayjs';
|
||||
|
||||
const url = "http://223.75.53.141:9102/test.by-lyf.tmp"
|
||||
const url = "http://223.75.53.141:9100/gs-tsg"
|
||||
const typeOb={0:'宪法',1:'法律',2:'行政法规',3:'督察法规',4:'司法解释',5:'地方性法规'}
|
||||
const timelinessOb = {0:'尚未生效',1:'有效',2:'已修改',3:'已废止'}
|
||||
const Page = () => {
|
||||
|
|
|
|||
|
|
@ -11,7 +11,7 @@ import { httpget2, httppost2 } from '../../../utils/request';
|
|||
|
||||
const { RangePicker } = DatePicker
|
||||
const { Dragger } = Upload;
|
||||
const url = "http://223.75.53.141:9102/test.by-lyf.tmp"
|
||||
const url = "http://223.75.53.141:9100/gs-tsg"
|
||||
|
||||
const ModalForm = ({ mode, record, onEdit, onSave, onSimilarSave }) => {
|
||||
|
||||
|
|
|
|||
|
|
@ -9,7 +9,7 @@ import moment from 'moment';
|
|||
import { createCrudService } from '../../../components/crud/_';
|
||||
const { RangePicker } = DatePicker
|
||||
const { Dragger } = Upload;
|
||||
const url = "http://223.75.53.141:9102/test.by-lyf.tmp"
|
||||
const url = "http://223.75.53.141:9100/gs-tsg"
|
||||
|
||||
const ModalForm = ({ mode, record, onEdit, onSave, onSimilarSave }) => {
|
||||
|
||||
|
|
|
|||
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in New Issue