数据展示请求接口调整

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 * @author inspur
*/ */
@RestController @RestController
@RequestMapping("ipc/dataShow") @RequestMapping("/ipc/dataShow")
public class IpcDataShowController extends BaseController { public class IpcDataShowController extends BaseController {
@Autowired @Autowired
private IIpcDataShowService iIpcDataShowService; private IIpcDataShowService iIpcDataShowService;
/** /**
* 获取展示数据 * 获取展示数据
*/ */
// @PreAuthorize("@ss.hasPermi('ipc:dataShow:query')") @PreAuthorize("@ss.hasPermi('ipc:dataShow:query')")
@GetMapping(value = "/byPart/{parts}") @GetMapping(value = "/byPart/{parts}")
public AjaxResult getShowData(@PathVariable("parts") String[] parts) public AjaxResult getShowData(@PathVariable("parts") String[] parts)
{ {

View File

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

View File

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