fix(): 水库代码更改
parent
37845fd2e0
commit
193439207f
|
|
@ -62,7 +62,7 @@ const sj = {
|
|||
"buildYear": null,
|
||||
"adcd": null,
|
||||
"lyid": null,
|
||||
"resCode": "42120250085",
|
||||
"resCode": "42112230001",
|
||||
"rvCode": null,
|
||||
"status": 1,
|
||||
"agreement": null,
|
||||
|
|
|
|||
|
|
@ -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 = {
|
||||
|
|
|
|||
|
|
@ -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) {
|
||||
|
|
|
|||
|
|
@ -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) {
|
||||
|
|
|
|||
|
|
@ -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);
|
||||
}
|
||||
|
|
|
|||
|
|
@ -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 = {
|
||||
|
|
|
|||
Loading…
Reference in New Issue