数据展示请求接口调整

This commit is contained in:
zhanghan11 2024-04-03 09:13:14 +08:00
parent cc8c54515e
commit b021493e7d
3 changed files with 6 additions and 2 deletions

View File

@ -16,14 +16,14 @@ import org.springframework.web.bind.annotation.RestController;
* @author inspur
*/
@RestController
@RequestMapping("ipc/dataShow")
@RequestMapping("/ipc/dataShow")
public class IpcDataShowController extends BaseController {
@Autowired
private IIpcDataShowService iIpcDataShowService;
/**
* 获取展示数据
*/
// @PreAuthorize("@ss.hasPermi('ipc:dataShow:query')")
@PreAuthorize("@ss.hasPermi('ipc:dataShow:query')")
@GetMapping(value = "/byPart/{parts}")
public AjaxResult getShowData(@PathVariable("parts") String[] parts)
{

View File

@ -719,6 +719,9 @@ export default {
this.form = response.data;
this.open = true;
this.title = "修改故障树配置";
if (this.form.isLeaf == "1") {
this.isShowRuleConfig = true;
}
});
},
/** 提交按钮 */

View File

@ -5,6 +5,7 @@
:visible.sync="openRuleDia"
width="800px"
append-to-body
:close-on-click-modal="false"
>
<el-table
v-loading="loading"