服务审核通过后不可修改

This commit is contained in:
Wenchao Gong 2021-10-17 23:20:23 +08:00
parent 4464e3d141
commit bfdfb8739e
2 changed files with 13 additions and 1 deletions

View File

@ -77,7 +77,7 @@
<el-table-column label="应用ID" align="center" prop="applicationId" v-if="true" width="80"/>
<el-table-column label="应用名称" align="left" prop="applicationName" >
<template slot-scope="scope">
<router-link :to="'/isc/app-service/index/' + scope.row.applicationId" class="link-type">
<router-link :to="'/isc/app-service/index/' + scope.row.applicationId" v-hasPermi="['isc:appservice:list']" class="link-type">
<span>{{ scope.row.applicationName }}</span>
</router-link>
</template>
@ -95,6 +95,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-tickets"
@click="handleAppServiceList(scope.row)"
v-hasPermi="['isc:appservice:list']"
>服务清单</el-button>
<el-button
size="mini"
type="text"
@ -260,6 +267,10 @@ export default {
this.title = "修改应用信息";
});
},
handleAppServiceList(row) {
const applicationId = row.applicationId;
this.$router.push("/isc/app-service/index/" + applicationId);
},
/** 提交按钮 */
submitForm() {
this.$refs["form"].validate(valid => {

View File

@ -129,6 +129,7 @@
type="text"
icon="el-icon-edit"
@click="handleUpdate(scope.row)"
v-if="scope.row.status != 1"
v-hasPermi="['isc:service:edit']"
>修改</el-button>
<el-button