This commit is contained in:
Lemon
2023-06-06 13:51:27 +08:00
parent 74471ff4f6
commit 3a13880b8d
2 changed files with 6 additions and 6 deletions

View File

@@ -204,8 +204,8 @@ public class PileStationInfoController extends BaseController {
*/ */
@PreAuthorize("@ss.hasPermi('pile:station:query')") @PreAuthorize("@ss.hasPermi('pile:station:query')")
@PostMapping("/getSettingInfo") @PostMapping("/getSettingInfo")
public AjaxResult getSettingInfo(@RequestBody StationSettingRelation info) { public AjaxResult getSettingInfo(@RequestBody ThirdPartySettingInfo info) {
return AjaxResult.success(stationSettingRelationService.selectRelationInfo(info)); return AjaxResult.success(thirdPartySettingInfoService.selectSettingInfo(info));
} }
/** /**

View File

@@ -64,9 +64,9 @@
style="margin-top:10px"> style="margin-top:10px">
<el-row> <el-row>
<el-col :span="12"> <el-col :span="12">
<el-form-item label="对接平台名称:" prop="thirdPartyType"> <el-form-item label="对接平台名称:" prop="type">
<el-select <el-select
v-model="stationSettingInfo.thirdPartyType" v-model="stationSettingInfo.type"
placeholder="请选择对接平台名称" placeholder="请选择对接平台名称"
clearable clearable
filterable filterable
@@ -268,7 +268,7 @@ export default {
getSettingParams() { getSettingParams() {
const param = { const param = {
// stationId: this.stationId, // stationId: this.stationId,
thirdPartyType: this.stationSettingInfo.thirdPartyType, thirdPartyType: this.stationSettingInfo.type,
} }
console.log("param", param); console.log("param", param);
getSettingInfo(param).then((res) => { getSettingInfo(param).then((res) => {