Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
M
mes-ui
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
周远喜
mes-ui
Commits
4eaf4684
Commit
4eaf4684
authored
Sep 30, 2020
by
周远喜
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
部门修改
parent
8055e5a7
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
14 additions
and
8 deletions
+14
-8
Addrow.vue
pages/basicData/department/Addrow.vue
+4
-2
add.vue
pages/basicData/department/add.vue
+5
-2
edit.vue
pages/basicData/department/edit.vue
+3
-2
config.js
static/config.js
+2
-2
No files found.
pages/basicData/department/Addrow.vue
View file @
4eaf4684
...
@@ -7,7 +7,7 @@
...
@@ -7,7 +7,7 @@
</FormItem>
</FormItem>
</Col>
</Col>
<Col
:span=
"12"
>
<Col
:span=
"12"
>
<FormItem
:label=
"l('departcode')"
>
<FormItem
:label=
"l('departcode')"
prop=
"departcode"
>
<Input
v-model=
"entity.departcode"
placeholder=
"请输入..."
></Input>
<Input
v-model=
"entity.departcode"
placeholder=
"请输入..."
></Input>
</FormItem>
</FormItem>
</Col>
</Col>
...
@@ -23,7 +23,6 @@
...
@@ -23,7 +23,6 @@
<b>
{{
entity
.
name
}}
</b>
<b>
{{
entity
.
name
}}
</b>
</FormItem>
</FormItem>
</Col>
</Col>
<Col
:span=
"24"
>
<Col
:span=
"24"
>
<FormItem
:label=
"l('cityName')"
>
<FormItem
:label=
"l('cityName')"
>
<Cascader
:data=
"citys"
v-model=
"location"
></Cascader>
<Cascader
:data=
"citys"
v-model=
"location"
></Cascader>
...
@@ -80,6 +79,9 @@ export default {
...
@@ -80,6 +79,9 @@ export default {
rules
:
{
rules
:
{
title02
:
[
title02
:
[
{
required
:
true
,
message
:
"库位名不能为空"
,
trigger
:
"blur"
}
{
required
:
true
,
message
:
"库位名不能为空"
,
trigger
:
"blur"
}
],
departcode
:
[
{
required
:
true
,
message
:
"编码不能为空"
,
trigger
:
"blur"
},
],
],
organizationType
:
[
organizationType
:
[
{
{
...
...
pages/basicData/department/add.vue
View file @
4eaf4684
...
@@ -7,7 +7,7 @@
...
@@ -7,7 +7,7 @@
</FormItem>
</FormItem>
</Col>
</Col>
<Col
:span=
"12"
>
<Col
:span=
"12"
>
<FormItem
:label=
"l('departcode')"
>
<FormItem
:label=
"l('departcode')"
prop=
"departcode"
>
<Input
v-model=
"entity.departcode"
placeholder=
"请输入..."
></Input>
<Input
v-model=
"entity.departcode"
placeholder=
"请输入..."
></Input>
</FormItem>
</FormItem>
</Col>
</Col>
...
@@ -73,7 +73,10 @@ export default {
...
@@ -73,7 +73,10 @@ export default {
location
:
[],
location
:
[],
rules
:
{
rules
:
{
title02
:
[
title02
:
[
{
required
:
true
,
message
:
"库位名不能为空"
,
trigger
:
"blur"
}
{
required
:
true
,
message
:
"名称不能为空"
,
trigger
:
"blur"
},
],
departcode
:
[
{
required
:
true
,
message
:
"编码不能为空"
,
trigger
:
"blur"
},
],
],
organizationType
:
[
organizationType
:
[
{
{
...
...
pages/basicData/department/edit.vue
View file @
4eaf4684
...
@@ -7,7 +7,7 @@
...
@@ -7,7 +7,7 @@
</FormItem>
</FormItem>
</Col>
</Col>
<Col
:span=
"12"
>
<Col
:span=
"12"
>
<FormItem
:label=
"l('departcode')"
>
<FormItem
:label=
"l('departcode')"
prop=
"departcode"
>
<Input
v-model=
"entity.code"
placeholder=
"请输入..."
></Input>
<Input
v-model=
"entity.code"
placeholder=
"请输入..."
></Input>
</FormItem>
</FormItem>
</Col>
</Col>
...
@@ -72,7 +72,8 @@ export default {
...
@@ -72,7 +72,8 @@ export default {
id
:
-
1
id
:
-
1
},
},
rules
:
{
rules
:
{
name
:
[{
required
:
true
,
message
:
"库位名不能为空"
,
trigger
:
"blur"
}],
name
:
[{
required
:
true
,
message
:
"不能为空"
,
trigger
:
"blur"
}],
departcode
:
[{
required
:
true
,
message
:
"不能为空"
,
trigger
:
"blur"
}],
property
:
[
property
:
[
{
{
required
:
true
,
required
:
true
,
...
...
static/config.js
View file @
4eaf4684
...
@@ -9,8 +9,8 @@ let address=systemApi.dev;
...
@@ -9,8 +9,8 @@ let address=systemApi.dev;
//let address=systemApi.product;
//let address=systemApi.product;
//let address=systemApi.local;
//let address=systemApi.local;
//
window.systemUrl = `http://${address}:10000/system`; //System-api 系统管理(基础数据)
window
.
systemUrl
=
`http://
${
address
}
:10000/system`
;
//System-api 系统管理(基础数据)
window
.
systemUrl
=
`http://localhost:10020/api/services/app`
;
//System-api 系统管理(基础数据)
//
window.systemUrl = `http://localhost:10020/api/services/app`; //System-api 系统管理(基础数据)
window
.
authUrl
=
`http://
${
address
}
:10010`
;
//Authentication-api //统一登陆认证
window
.
authUrl
=
`http://
${
address
}
:10010`
;
//Authentication-api //统一登陆认证
window
.
UserUrl
=
`http://
${
address
}
:10130`
;
//Authentication-api //用户信息 密码修改。重置等
window
.
UserUrl
=
`http://
${
address
}
:10130`
;
//Authentication-api //用户信息 密码修改。重置等
window
.
designUrl
=
`http://
${
address
}
:10000/process`
;
// 工艺规程
window
.
designUrl
=
`http://
${
address
}
:10000/process`
;
// 工艺规程
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment