Commit b4afe939 by liuyong

修改左侧菜单加载

1 parent 2b53d285
...@@ -238,7 +238,7 @@ App = function(editor, container, lightbox) ...@@ -238,7 +238,7 @@ App = function(editor, container, lightbox)
} }
$.ajax({ $.ajax({
method: "post", method: "post",
url: 'http://192.168.43.93:7003/ynMol/archi-list', url: 'http://43.143.211.42:7003/ynMol/archi-list',
data: JSON.stringify({ data: JSON.stringify({
metaModelId: urlParams['id'] metaModelId: urlParams['id']
}), }),
......
...@@ -66,9 +66,9 @@ ...@@ -66,9 +66,9 @@
<el-table-column label="操作" width="360" align="center"> <el-table-column label="操作" width="360" align="center">
<template slot-scope="scope"> <template slot-scope="scope">
<div style="display: flex;align-items: center;justify-content: center;"> <div style="display: flex;align-items: center;justify-content: center;">
<el-button icon="el-icon-edit" size="mini" @click="edit(scope.row)" :disabled="scope.row.state == 1">编辑</el-button> <el-button icon="el-icon-edit" type="primary" size="mini" @click="edit(scope.row)" :disabled="scope.row.state == 1">编辑</el-button>
<el-button icon="el-icon-upload2" type="primary" size="mini" @click="releaseItem(scope.row)" :disabled="scope.row.state == 1 ">发布</el-button>
<el-button icon="el-icon-remove-outline" size="mini" @click="stopItem(scope.row)" :disabled="scope.row.state != 1">停用</el-button> <el-button icon="el-icon-remove-outline" size="mini" @click="stopItem(scope.row)" :disabled="scope.row.state != 1">停用</el-button>
<el-button icon="el-icon-upload2" size="mini" @click="releaseItem(scope.row)" :disabled="scope.row.state == 1 ">发布</el-button>
<el-button icon="el-icon-delete" size="mini" @click="deleteItem(scope.row)" :disabled="scope.row.state == 1">删除</el-button> <el-button icon="el-icon-delete" size="mini" @click="deleteItem(scope.row)" :disabled="scope.row.state == 1">删除</el-button>
</div> </div>
</template> </template>
...@@ -719,6 +719,14 @@ export default { ...@@ -719,6 +719,14 @@ export default {
margin-top: 50px; margin-top: 50px;
margin-bottom: 20px; margin-bottom: 20px;
} }
.el-button--primary{
background: rgba(13,134,127,0.1);
color: #0D867F;
border: 0;
}
.el-button--default{
border: 0;
}
.add_btn{ .add_btn{
display: flex; display: flex;
align-items: center; align-items: center;
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!