Commit ddf8f5e1 authored by xuhaoze's avatar xuhaoze

参数配置,获取数据列表第二次提交

parent bd65cda3
...@@ -159,8 +159,6 @@ ...@@ -159,8 +159,6 @@
</tr> </tr>
<tr> <tr>
<th style="width: 25%">总管流量上下限范围内持续时间</th> <th style="width: 25%">总管流量上下限范围内持续时间</th>
<td style="width: 60%; margin: 0; padding: 0"> <td style="width: 60%; margin: 0; padding: 0">
...@@ -185,19 +183,15 @@ ...@@ -185,19 +183,15 @@
<th rowspan="3"> <th rowspan="3">
<div> <div>
<div class="btngrounp"> <div class="btngrounp">
<el-button type="primary">保存</el-button> <el-button type="primary" @click="save">保存</el-button>
<el-button type="primary" style="margin: 0 0 0 5px">关闭</el-button> <el-button type="primary" style="margin: 0 0 0 5px">关闭</el-button>
</div> </div>
</div> </div>
</th> </th>
</tr> </tr>
</table> </table>
</el-card> </el-card>
</div> </div>
</div> </div>
...@@ -221,12 +215,20 @@ const formDatas = ref({ ...@@ -221,12 +215,20 @@ const formDatas = ref({
const listData = ()=>{ const listData = ()=>{
http.get("/api/configboiler/getData").then((result)=>{ http.get("/api/configboiler/getData").then((result)=>{
formDatas.value=result.data; formDatas.value=result.data;
console.log('***********&&&&&&&&&&&&')
console.log(formDatas.value) console.log(formDatas.value)
console.log({...formDatas.value})
}) })
} }
listData() listData()
const save = ()=>{
console.log(formDatas.value)
http.post("/api/configboiler/Save",{...formDatas.value},false).then((result)=>{
}).catch((error)=>{
console.log(error)
})
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment