mirror of
https://gitee.com/dromara/RuoYi-Vue-Plus.git
synced 2026-09-20 02:08:15 +08:00
按钮添加(未实现)
This commit is contained in:
parent
ec36b7a5c4
commit
e04a4526ce
@ -25,10 +25,7 @@ import com.ruoyi.isc.service.IIscServiceService;
|
||||
import org.springframework.stereotype.Service;
|
||||
|
||||
import javax.annotation.Resource;
|
||||
import java.util.Collection;
|
||||
import java.util.List;
|
||||
import java.util.Map;
|
||||
import java.util.Set;
|
||||
import java.util.*;
|
||||
import java.util.stream.Collectors;
|
||||
|
||||
/**
|
||||
@ -46,7 +43,9 @@ public class IscServiceServiceImpl extends ServicePlusImpl<IscServiceMapper, Isc
|
||||
@Override
|
||||
public IscServiceVo queryById(Long serviceId)
|
||||
{
|
||||
return getVoById(serviceId);
|
||||
final IscServiceVo vo = getVoById(serviceId);
|
||||
genVoInfo(Arrays.asList(vo));
|
||||
return vo;
|
||||
}
|
||||
|
||||
@Override
|
||||
|
||||
@ -123,6 +123,13 @@
|
||||
</el-table-column>
|
||||
<el-table-column label="操作" align="center" class-name="small-padding fixed-width">
|
||||
<template slot-scope="scope">
|
||||
<el-button
|
||||
size="mini"
|
||||
type="text"
|
||||
icon="el-icon-info"
|
||||
@click="handleRenewal(scope.row)"
|
||||
v-hasPermi="['isc:appservice:query']"
|
||||
>查看</el-button>
|
||||
<el-button
|
||||
size="mini"
|
||||
type="text"
|
||||
|
||||
@ -71,6 +71,17 @@
|
||||
v-hasPermi="['isc:service:edit']"
|
||||
>修改</el-button>
|
||||
</el-col>
|
||||
<el-col :span="1.5">
|
||||
<el-button
|
||||
type="primary"
|
||||
plain
|
||||
icon="el-icon-view"
|
||||
size="mini"
|
||||
:disabled="multiple"
|
||||
@click="handleUpdate"
|
||||
v-hasPermi="['isc:service:audit']"
|
||||
>批量审核</el-button>
|
||||
</el-col>
|
||||
<el-col :span="1.5">
|
||||
<el-button
|
||||
type="danger"
|
||||
@ -124,6 +135,20 @@
|
||||
</el-table-column>
|
||||
<el-table-column label="操作" align="center" class-name="small-padding fixed-width">
|
||||
<template slot-scope="scope">
|
||||
<el-button
|
||||
size="mini"
|
||||
type="text"
|
||||
icon="el-icon-info"
|
||||
@click="handleUpdate(scope.row)"
|
||||
v-hasPermi="['isc:service:query']"
|
||||
>查看</el-button>
|
||||
<el-button
|
||||
size="mini"
|
||||
type="text"
|
||||
icon="el-icon-view"
|
||||
@click="handleUpdate(scope.row)"
|
||||
v-hasPermi="['isc:service:audit']"
|
||||
>审核</el-button>
|
||||
<el-button
|
||||
size="mini"
|
||||
type="text"
|
||||
@ -317,22 +342,6 @@ export default {
|
||||
this.loading = false;
|
||||
});
|
||||
},
|
||||
// 跨域标志字典翻译
|
||||
corsFlagFormat(row, column) {
|
||||
return this.selectDictLabel(this.corsFlagOptions, row.corsFlag);
|
||||
},
|
||||
// 是否在线字典翻译
|
||||
onlineStatusFormat(row, column) {
|
||||
return this.selectDictLabel(this.onlineStatusOptions, row.onlineStatus);
|
||||
},
|
||||
// 审核状态字典翻译
|
||||
statusFormat(row, column) {
|
||||
return this.selectDictLabel(this.statusOptions, row.status);
|
||||
},
|
||||
// 服务状态字典翻译
|
||||
enabledFormat(row, column) {
|
||||
return this.selectDictLabel(this.enabledOptions, row.enabled);
|
||||
},
|
||||
// 取消按钮
|
||||
cancel() {
|
||||
this.open = false;
|
||||
|
||||
Loading…
Reference in New Issue
Block a user