洪水预报修改2

qzc-dev-demo
秦子超 2024-11-14 15:17:42 +08:00
parent af042278e7
commit cc259fdce2
2 changed files with 6 additions and 1 deletions

View File

@ -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,
}) })
); );

View File

@ -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') {