洪水预报修改2
parent
af042278e7
commit
cc259fdce2
|
|
@ -5,9 +5,10 @@ module.exports = function (app) {
|
||||||
app.use(
|
app.use(
|
||||||
'/gunshiApp',
|
'/gunshiApp',
|
||||||
createProxyMiddleware({
|
createProxyMiddleware({
|
||||||
target: 'http://local.gunshiiot.com:18083/',//测试
|
// target: 'http://local.gunshiiot.com:18083/',//测试
|
||||||
// target: 'http://192.168.66.199:24105/',//正式
|
// target: 'http://192.168.66.199:24105/',//正式
|
||||||
// target: 'http://36.139.207.50:18083/',//移动云
|
// target: 'http://36.139.207.50:18083/',//移动云
|
||||||
|
target: 'http://192.168.66.49:24105/',//移动云
|
||||||
changeOrigin: true,
|
changeOrigin: true,
|
||||||
})
|
})
|
||||||
);
|
);
|
||||||
|
|
|
||||||
|
|
@ -14,6 +14,9 @@ const ModalForm = ({ mode, record,onEdit,onSave,close }) => {
|
||||||
const [checked, setChecked] = useState(true)
|
const [checked, setChecked] = useState(true)
|
||||||
|
|
||||||
const onFinish = async(values) => {
|
const onFinish = async(values) => {
|
||||||
|
const userId = localStorage.getItem("userId");
|
||||||
|
const userName = localStorage.getItem("userName");
|
||||||
|
|
||||||
const params = {
|
const params = {
|
||||||
...values,
|
...values,
|
||||||
forecastTm: record.tms.forecastTime,
|
forecastTm: record.tms.forecastTime,
|
||||||
|
|
@ -24,6 +27,7 @@ const ModalForm = ({ mode, record,onEdit,onSave,close }) => {
|
||||||
forecastWarm: record.tms.forecastWarm,
|
forecastWarm: record.tms.forecastWarm,
|
||||||
type: record.tms.type,
|
type: record.tms.type,
|
||||||
voList:record.data,
|
voList:record.data,
|
||||||
|
userId:userId+'_'+userName
|
||||||
}
|
}
|
||||||
|
|
||||||
if (mode === 'save') {
|
if (mode === 'save') {
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue