Skip to content

Commit

Permalink
更新后端
Browse files Browse the repository at this point in the history
  • Loading branch information
zhoubichuan committed Mar 23, 2024
1 parent 161a7b3 commit 7988b7b
Show file tree
Hide file tree
Showing 11 changed files with 153 additions and 347 deletions.
8 changes: 4 additions & 4 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
#设置构建的基础镜像
FROM node
FROM node:14.18.0
RUN mkdir -p /project/
WORKDIR /project/
COPY package.json /project/
#设置npm下载依赖来源为淘宝源
RUN npm config set registry https://registry.npm.taobao.org
RUN rm -rf node_modules && npm install -g npm && cd /project
RUN npm install -g cnpm --registry https://registry.npm.taobao.org
RUN rm -rf node_modules && cd /project
#安装项目依赖
RUN npm install
RUN cnpm install
COPY . /project/
CMD npm run dev
EXPOSE 7001
9 changes: 9 additions & 0 deletions tab/1.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,15 @@
"type": "string",
"addDefault": "0000001"
},
{
"add": true,
"delete": true,
"edit": true,
"view": true,
"name": "tabId",
"type": "string",
"addDefault": ""
},
{
"add": true,
"delete": true,
Expand Down
56 changes: 56 additions & 0 deletions tab/10.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,56 @@
[
{
"add": false,
"delete": false,
"edit": false,
"view": true,
"name": "id",
"type": "string",
"addDefault": "0000001"
},
{
"add": true,
"delete": true,
"edit": true,
"view": true,
"name": "tabId",
"type": "string",
"addDefault": ""
},
{
"add": true,
"delete": true,
"edit": true,
"view": true,
"name": "name",
"type": "string",
"addDefault": ""
},
{
"add": true,
"delete": true,
"edit": true,
"view": true,
"name": "type",
"type": "string",
"addDefault": ""
},
{
"add": true,
"delete": true,
"edit": true,
"view": true,
"name": "addDefault",
"type": "string",
"addDefault": ""
},
{
"add": true,
"delete": true,
"edit": true,
"view": true,
"name": "remark",
"type": "string",
"addDefault": ""
}
]
53 changes: 4 additions & 49 deletions tab/2.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
"delete": true,
"edit": true,
"view": true,
"name": "name",
"name": "tabId",
"type": "string",
"addDefault": ""
},
Expand All @@ -22,36 +22,9 @@
"delete": true,
"edit": true,
"view": true,
"name": "add",
"type": "boolean",
"addDefault": true
},
{
"add": true,
"delete": true,
"edit": true,
"view": true,
"name": "delete",
"type": "boolean",
"addDefault": true
},
{
"add": true,
"delete": true,
"edit": true,
"view": true,
"name": "edit",
"type": "boolean",
"addDefault": true
},
{
"add": true,
"delete": true,
"edit": true,
"view": true,
"name": "view",
"type": "boolean",
"addDefault": true
"name": "name",
"type": "string",
"addDefault": ""
},
{
"add": true,
Expand Down Expand Up @@ -79,23 +52,5 @@
"name": "remark",
"type": "string",
"addDefault": ""
},
{
"add": true,
"delete": true,
"edit": true,
"view": true,
"name": "createdAt",
"type": "string",
"addDefault": ""
},
{
"add": true,
"delete": true,
"edit": true,
"view": true,
"name": "updatedAt",
"type": "string",
"addDefault": ""
}
]
53 changes: 4 additions & 49 deletions tab/3.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
"delete": true,
"edit": true,
"view": true,
"name": "name",
"name": "tabId",
"type": "string",
"addDefault": ""
},
Expand All @@ -22,36 +22,9 @@
"delete": true,
"edit": true,
"view": true,
"name": "add",
"type": "boolean",
"addDefault": true
},
{
"add": true,
"delete": true,
"edit": true,
"view": true,
"name": "delete",
"type": "boolean",
"addDefault": true
},
{
"add": true,
"delete": true,
"edit": true,
"view": true,
"name": "edit",
"type": "boolean",
"addDefault": true
},
{
"add": true,
"delete": true,
"edit": true,
"view": true,
"name": "view",
"type": "boolean",
"addDefault": true
"name": "name",
"type": "string",
"addDefault": ""
},
{
"add": true,
Expand Down Expand Up @@ -79,23 +52,5 @@
"name": "remark",
"type": "string",
"addDefault": ""
},
{
"add": true,
"delete": true,
"edit": true,
"view": true,
"name": "createdAt",
"type": "string",
"addDefault": ""
},
{
"add": true,
"delete": true,
"edit": true,
"view": true,
"name": "updatedAt",
"type": "string",
"addDefault": ""
}
]
53 changes: 4 additions & 49 deletions tab/4.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
"delete": true,
"edit": true,
"view": true,
"name": "name",
"name": "tabId",
"type": "string",
"addDefault": ""
},
Expand All @@ -22,36 +22,9 @@
"delete": true,
"edit": true,
"view": true,
"name": "add",
"type": "boolean",
"addDefault": true
},
{
"add": true,
"delete": true,
"edit": true,
"view": true,
"name": "delete",
"type": "boolean",
"addDefault": true
},
{
"add": true,
"delete": true,
"edit": true,
"view": true,
"name": "edit",
"type": "boolean",
"addDefault": true
},
{
"add": true,
"delete": true,
"edit": true,
"view": true,
"name": "view",
"type": "boolean",
"addDefault": true
"name": "name",
"type": "string",
"addDefault": ""
},
{
"add": true,
Expand Down Expand Up @@ -79,23 +52,5 @@
"name": "remark",
"type": "string",
"addDefault": ""
},
{
"add": true,
"delete": true,
"edit": true,
"view": true,
"name": "createdAt",
"type": "string",
"addDefault": ""
},
{
"add": true,
"delete": true,
"edit": true,
"view": true,
"name": "updatedAt",
"type": "string",
"addDefault": ""
}
]
53 changes: 4 additions & 49 deletions tab/5.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
"delete": true,
"edit": true,
"view": true,
"name": "name",
"name": "tabId",
"type": "string",
"addDefault": ""
},
Expand All @@ -22,36 +22,9 @@
"delete": true,
"edit": true,
"view": true,
"name": "add",
"type": "boolean",
"addDefault": true
},
{
"add": true,
"delete": true,
"edit": true,
"view": true,
"name": "delete",
"type": "boolean",
"addDefault": true
},
{
"add": true,
"delete": true,
"edit": true,
"view": true,
"name": "edit",
"type": "boolean",
"addDefault": true
},
{
"add": true,
"delete": true,
"edit": true,
"view": true,
"name": "view",
"type": "boolean",
"addDefault": true
"name": "name",
"type": "string",
"addDefault": ""
},
{
"add": true,
Expand Down Expand Up @@ -79,23 +52,5 @@
"name": "remark",
"type": "string",
"addDefault": ""
},
{
"add": true,
"delete": true,
"edit": true,
"view": true,
"name": "createdAt",
"type": "string",
"addDefault": ""
},
{
"add": true,
"delete": true,
"edit": true,
"view": true,
"name": "updatedAt",
"type": "string",
"addDefault": ""
}
]
Loading

0 comments on commit 7988b7b

Please sign in to comment.