mirror of
https://github.com/cool-team-official/cool-admin-vue.git
synced 2024-11-01 14:10:27 +08:00
默认依赖安装
This commit is contained in:
parent
bcae18c30b
commit
5644f5c2f7
@ -96,7 +96,7 @@ export default {
|
|||||||
label: "新增",
|
label: "新增",
|
||||||
"suffix-icon": "el-icon-plus",
|
"suffix-icon": "el-icon-plus",
|
||||||
hidden: n && n.level >= this.level,
|
hidden: n && n.level >= this.level,
|
||||||
callback: (item, done) => {
|
callback: (_, done) => {
|
||||||
this.rowEdit({
|
this.rowEdit({
|
||||||
name: "",
|
name: "",
|
||||||
parentName: d.name,
|
parentName: d.name,
|
||||||
@ -108,7 +108,7 @@ export default {
|
|||||||
{
|
{
|
||||||
label: "编辑",
|
label: "编辑",
|
||||||
"suffix-icon": "el-icon-edit",
|
"suffix-icon": "el-icon-edit",
|
||||||
callback: (item, done) => {
|
callback: (_, done) => {
|
||||||
this.rowEdit(d);
|
this.rowEdit(d);
|
||||||
done();
|
done();
|
||||||
}
|
}
|
||||||
@ -123,7 +123,7 @@ export default {
|
|||||||
list.push({
|
list.push({
|
||||||
label: "删除",
|
label: "删除",
|
||||||
"suffix-icon": "el-icon-delete",
|
"suffix-icon": "el-icon-delete",
|
||||||
callback: (item, done) => {
|
callback: (_, done) => {
|
||||||
this.rowDel(d);
|
this.rowDel(d);
|
||||||
done();
|
done();
|
||||||
}
|
}
|
||||||
@ -133,7 +133,7 @@ export default {
|
|||||||
list.push({
|
list.push({
|
||||||
label: "新增成员",
|
label: "新增成员",
|
||||||
"suffix-icon": "el-icon-user",
|
"suffix-icon": "el-icon-user",
|
||||||
callback: (item, done) => {
|
callback: (_, done) => {
|
||||||
this.$emit("user-add", d);
|
this.$emit("user-add", d);
|
||||||
done();
|
done();
|
||||||
}
|
}
|
||||||
|
@ -86,7 +86,7 @@ export default {
|
|||||||
return {
|
return {
|
||||||
label: "新增",
|
label: "新增",
|
||||||
hidden: row.type == 2,
|
hidden: row.type == 2,
|
||||||
callback: (item, done) => {
|
callback: (_, done) => {
|
||||||
this.upsertAppend(row);
|
this.upsertAppend(row);
|
||||||
done();
|
done();
|
||||||
}
|
}
|
||||||
@ -98,7 +98,7 @@ export default {
|
|||||||
return {
|
return {
|
||||||
label: "权限",
|
label: "权限",
|
||||||
hidden: row.type != 1,
|
hidden: row.type != 1,
|
||||||
callback: (item, done) => {
|
callback: (_, done) => {
|
||||||
this.setPermission(row);
|
this.setPermission(row);
|
||||||
done();
|
done();
|
||||||
}
|
}
|
||||||
|
@ -65,7 +65,7 @@ export default {
|
|||||||
return {
|
return {
|
||||||
label: "配置",
|
label: "配置",
|
||||||
hidden: !perms.edit,
|
hidden: !perms.edit,
|
||||||
callback: (item, done) => {
|
callback: (_, done) => {
|
||||||
this.openConf(scope);
|
this.openConf(scope);
|
||||||
done();
|
done();
|
||||||
}
|
}
|
||||||
|
@ -314,7 +314,7 @@ export default {
|
|||||||
{
|
{
|
||||||
label: "删除",
|
label: "删除",
|
||||||
icon: "el-icon-delete",
|
icon: "el-icon-delete",
|
||||||
callback: (item, done) => {
|
callback: (_, done) => {
|
||||||
this.$service.im.session.delete({
|
this.$service.im.session.delete({
|
||||||
ids: id
|
ids: id
|
||||||
});
|
});
|
||||||
|
@ -22,14 +22,15 @@ export default {
|
|||||||
{
|
{
|
||||||
label: "新增",
|
label: "新增",
|
||||||
"suffix-icon": "el-icon-plus",
|
"suffix-icon": "el-icon-plus",
|
||||||
callback: () => {
|
callback: (_, done) => {
|
||||||
this.$message.info("点击了新增");
|
this.$message.info("点击了新增");
|
||||||
|
done();
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
label: "编辑",
|
label: "编辑",
|
||||||
"suffix-icon": "el-icon-edit",
|
"suffix-icon": "el-icon-edit",
|
||||||
callback: (item, done) => {
|
callback: (_, done) => {
|
||||||
this.$message.info("点击了编辑");
|
this.$message.info("点击了编辑");
|
||||||
done();
|
done();
|
||||||
}
|
}
|
||||||
@ -52,7 +53,7 @@ export default {
|
|||||||
},
|
},
|
||||||
{
|
{
|
||||||
label: "更多",
|
label: "更多",
|
||||||
callback: (item, done) => {
|
callback: (_, done) => {
|
||||||
this.$message.warning("开发中");
|
this.$message.warning("开发中");
|
||||||
done();
|
done();
|
||||||
}
|
}
|
||||||
|
@ -467,7 +467,7 @@ export default {
|
|||||||
{
|
{
|
||||||
label: "编辑",
|
label: "编辑",
|
||||||
"suffix-icon": "el-icon-edit",
|
"suffix-icon": "el-icon-edit",
|
||||||
callback: (item, done) => {
|
callback: (_, done) => {
|
||||||
done();
|
done();
|
||||||
this.editCategory({ id, name });
|
this.editCategory({ id, name });
|
||||||
}
|
}
|
||||||
@ -475,7 +475,7 @@ export default {
|
|||||||
{
|
{
|
||||||
label: "删除",
|
label: "删除",
|
||||||
"suffix-icon": "el-icon-delete",
|
"suffix-icon": "el-icon-delete",
|
||||||
callback: (item, done) => {
|
callback: (_, done) => {
|
||||||
done();
|
done();
|
||||||
|
|
||||||
this.$confirm(`此操作将删除【${name}】下的文件, 是否继续?`, "提示", {
|
this.$confirm(`此操作将删除【${name}】下的文件, 是否继续?`, "提示", {
|
||||||
@ -515,7 +515,7 @@ export default {
|
|||||||
{
|
{
|
||||||
label: data.selected ? "取消选中" : "选中",
|
label: data.selected ? "取消选中" : "选中",
|
||||||
"suffix-icon": data.selected ? "el-icon-close" : "el-icon-check",
|
"suffix-icon": data.selected ? "el-icon-close" : "el-icon-check",
|
||||||
callback: (item, done) => {
|
callback: (_, done) => {
|
||||||
this.selectFile(data);
|
this.selectFile(data);
|
||||||
done();
|
done();
|
||||||
}
|
}
|
||||||
@ -523,7 +523,7 @@ export default {
|
|||||||
{
|
{
|
||||||
label: "删除",
|
label: "删除",
|
||||||
"suffix-icon": "el-icon-delete",
|
"suffix-icon": "el-icon-delete",
|
||||||
callback: (item, done) => {
|
callback: (_, done) => {
|
||||||
this.deleteFile(data);
|
this.deleteFile(data);
|
||||||
done();
|
done();
|
||||||
}
|
}
|
||||||
|
10
package.json
10
package.json
@ -13,16 +13,24 @@
|
|||||||
"cl-admin": "^1.2.0",
|
"cl-admin": "^1.2.0",
|
||||||
"cl-admin-crud": "^1.3.4",
|
"cl-admin-crud": "^1.3.4",
|
||||||
"cl-admin-export": "^1.0.5",
|
"cl-admin-export": "^1.0.5",
|
||||||
|
"clipboard": "^2.0.7",
|
||||||
|
"codemirror": "^5.59.4",
|
||||||
"core-js": "^3.9.0",
|
"core-js": "^3.9.0",
|
||||||
"dayjs": "^1.10.3",
|
"dayjs": "^1.10.4",
|
||||||
"echarts": "^4.5.0",
|
"echarts": "^4.5.0",
|
||||||
"element-ui": "^2.15.1",
|
"element-ui": "^2.15.1",
|
||||||
|
"js-beautify": "^1.13.5",
|
||||||
"nprogress": "^0.2.0",
|
"nprogress": "^0.2.0",
|
||||||
"qs": "^6.9.1",
|
"qs": "^6.9.1",
|
||||||
|
"quill": "^1.3.7",
|
||||||
|
"socket.io-client": "^3.1.2",
|
||||||
"store": "^2.0.12",
|
"store": "^2.0.12",
|
||||||
|
"uuid": "^8.3.2",
|
||||||
"vue": "^2.6.10",
|
"vue": "^2.6.10",
|
||||||
|
"vue-codemirror": "^4.0.6",
|
||||||
"vue-echarts": "^5.0.0-beta.0",
|
"vue-echarts": "^5.0.0-beta.0",
|
||||||
"vue-router": "^3.5.1",
|
"vue-router": "^3.5.1",
|
||||||
|
"vuedraggable": "^2.24.3",
|
||||||
"vuex": "^3.6.2"
|
"vuex": "^3.6.2"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
|
@ -40,6 +40,22 @@ module.exports = {
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|
||||||
|
"/ap": {
|
||||||
|
target: "https://admin.cn.utools.club",
|
||||||
|
changeOrigin: true,
|
||||||
|
pathRewrite: {
|
||||||
|
"^/ap": ""
|
||||||
|
}
|
||||||
|
},
|
||||||
|
|
||||||
|
"/fz": {
|
||||||
|
target: "http://xfz520231.utools.club",
|
||||||
|
changeOrigin: true,
|
||||||
|
pathRewrite: {
|
||||||
|
"^/fz": ""
|
||||||
|
}
|
||||||
|
},
|
||||||
|
|
||||||
"/oss-upload": {
|
"/oss-upload": {
|
||||||
target: "https://cool-admin-pro.oss-cn-shanghai.aliyuncs.com",
|
target: "https://cool-admin-pro.oss-cn-shanghai.aliyuncs.com",
|
||||||
changeOrigin: true,
|
changeOrigin: true,
|
||||||
|
Loading…
Reference in New Issue
Block a user