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