Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
T
tianjin
Project
Project
Details
Activity
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
徐来柯
tianjin
Commits
1687d502
Commit
1687d502
authored
Jan 05, 2021
by
徐来柯
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
update step1
parent
36d1e96d
Hide whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
52 additions
and
20 deletions
+52
-20
Role.vue
src/components/role/Role.vue
+13
-12
User.vue
src/components/user/User.vue
+3
-2
linePop.vue
src/views/education/component/linePop.vue
+6
-0
materiel.vue
src/views/education/materiel.vue
+11
-5
technology.vue
src/views/education/technology.vue
+12
-0
wordProcedure.vue
src/views/education/wordProcedure.vue
+6
-0
vue.config.js
vue.config.js
+1
-1
No files found.
src/components/role/Role.vue
View file @
1687d502
<!--
<!--
* @Description:
角色
管理
* @Description:
岗位
管理
* @Date: 2019-11-26 11:10:25
* @Date: 2019-11-26 11:10:25
* @Author: 随风
* @Author: 随风
* @LastEditors: Tao
* @LastEditors: Tao
...
@@ -33,17 +33,17 @@
...
@@ -33,17 +33,17 @@
<img
:src=
"no"
alt
class=
"no"
@
click=
"cancel"
v-else
/>
<img
:src=
"no"
alt
class=
"no"
@
click=
"cancel"
v-else
/>
</div>
</div>
<div
class=
"setdatatwo"
>
<div
class=
"setdatatwo"
>
<div
class=
"rolesetion"
>
角色
信息
</div>
<div
class=
"rolesetion"
>
岗位
信息
</div>
<div
class=
"rolevip"
>
角色
权限
</div>
<div
class=
"rolevip"
>
岗位
权限
</div>
</div>
</div>
<div
class=
"setdatathree"
>
<div
class=
"setdatathree"
>
<div
class=
"setdataleft"
>
<div
class=
"setdataleft"
>
<div
class=
"rolename"
>
<div
class=
"rolename"
>
<span>
角色
名称
</span>
<span>
岗位
名称
</span>
<input
type=
"text"
v-model=
"rolename"
/>
<input
type=
"text"
v-model=
"rolename"
/>
</div>
</div>
<div
class=
"rolediscrle"
>
<div
class=
"rolediscrle"
>
<span>
角色
描述
</span>
<span>
岗位
描述
</span>
<input
type=
"text"
v-model=
"rolesomething"
/>
<input
type=
"text"
v-model=
"rolesomething"
/>
</div>
</div>
</div>
</div>
...
@@ -118,7 +118,7 @@ export default {
...
@@ -118,7 +118,7 @@ export default {
{
{
model
:
'argKeyword'
,
model
:
'argKeyword'
,
type
:
'key'
,
type
:
'key'
,
placeholder
:
'请输入
角色
名称等关键字查询'
placeholder
:
'请输入
岗位
名称等关键字查询'
}
}
],
],
searchData
:
{
searchData
:
{
...
@@ -126,8 +126,9 @@ export default {
...
@@ -126,8 +126,9 @@ export default {
},
},
tableHead
:
{
tableHead
:
{
NO
:
'序号'
,
NO
:
'序号'
,
RoleName
:
'角色名称'
,
RoleName
:
'岗位名称'
,
RoleDesc
:
'角色描述'
,
RoleNo
:
'岗位编号'
,
RoleDesc
:
'岗位描述'
,
UpdateUserName
:
'修改人'
,
UpdateUserName
:
'修改人'
,
UpdateTime
:
'修改时间'
UpdateTime
:
'修改时间'
},
},
...
@@ -192,7 +193,7 @@ export default {
...
@@ -192,7 +193,7 @@ export default {
});
});
},
},
change5
(
data
)
{
change5
(
data
)
{
this
.
text
=
'修改
角色
'
;
this
.
text
=
'修改
岗位
'
;
this
.
data1
=
data
;
this
.
data1
=
data
;
this
.
select
=
2
;
this
.
select
=
2
;
console
.
log
(
data
);
console
.
log
(
data
);
...
@@ -258,7 +259,7 @@ export default {
...
@@ -258,7 +259,7 @@ export default {
event
.
currentTarget
.
style
.
cursor
=
'move'
;
event
.
currentTarget
.
style
.
cursor
=
'move'
;
},
},
add
()
{
add
()
{
this
.
text
=
'添加
角色
'
;
this
.
text
=
'添加
岗位
'
;
this
.
select
=
1
;
this
.
select
=
1
;
this
.
changemenu
=
true
;
this
.
changemenu
=
true
;
this
.
pdyd1
=
true
;
this
.
pdyd1
=
true
;
...
@@ -313,7 +314,7 @@ export default {
...
@@ -313,7 +314,7 @@ export default {
if
(
!
this
.
rolename
&&
!
this
.
rolesomething
)
{
if
(
!
this
.
rolename
&&
!
this
.
rolesomething
)
{
this
.
tipchange
=
true
;
this
.
tipchange
=
true
;
this
.
pdyd2
=
true
;
this
.
pdyd2
=
true
;
this
.
tipword
=
'
角色
名或描述不能为空!'
;
this
.
tipword
=
'
岗位
名或描述不能为空!'
;
}
else
{
}
else
{
this
.
$axios
({
this
.
$axios
({
method
:
'post'
,
method
:
'post'
,
...
@@ -358,7 +359,7 @@ export default {
...
@@ -358,7 +359,7 @@ export default {
if
(
!
this
.
rolename
&&
!
this
.
rolesomething
)
{
if
(
!
this
.
rolename
&&
!
this
.
rolesomething
)
{
this
.
tipchange
=
true
;
this
.
tipchange
=
true
;
this
.
pdyd2
=
true
;
this
.
pdyd2
=
true
;
this
.
tipword
=
'
角色
名或描述不能为空!'
;
this
.
tipword
=
'
岗位
名或描述不能为空!'
;
}
else
{
}
else
{
this
.
$axios
({
this
.
$axios
({
method
:
'post'
,
method
:
'post'
,
...
...
src/components/user/User.vue
View file @
1687d502
...
@@ -68,7 +68,7 @@
...
@@ -68,7 +68,7 @@
</div>
</div>
<div
class=
"setdataright"
>
<div
class=
"setdataright"
>
<div
class=
"treeinput"
>
<div
class=
"treeinput"
>
<span>
角色
</span>
<span>
岗位
</span>
<select
name
id
v-model=
"SCMSRoleName"
@
change=
"nowchange"
>
<select
name
id
v-model=
"SCMSRoleName"
@
change=
"nowchange"
>
<option
<option
:value=
"item.SCMSRoleName"
:value=
"item.SCMSRoleName"
...
@@ -163,8 +163,9 @@ export default {
...
@@ -163,8 +163,9 @@ export default {
tableHead
:
{
tableHead
:
{
NO
:
'序号'
,
NO
:
'序号'
,
UserAccount
:
'用户账号'
,
UserAccount
:
'用户账号'
,
UserNo
:
'用户编号'
,
UserName
:
'用户名称'
,
UserName
:
'用户名称'
,
RoleName
:
'
角色
名称'
,
RoleName
:
'
岗位
名称'
,
Phone
:
'手机'
,
Phone
:
'手机'
,
Email
:
'邮箱'
Email
:
'邮箱'
},
},
...
...
src/views/education/component/linePop.vue
View file @
1687d502
...
@@ -75,6 +75,12 @@
...
@@ -75,6 +75,12 @@
<span>
{{
name
}}
描述:
</span>
<span>
{{
name
}}
描述:
</span>
<textarea
v-model=
"describeV"
style=
"resize:none"
class=
"nametextar"
></textarea>
<textarea
v-model=
"describeV"
style=
"resize:none"
class=
"nametextar"
></textarea>
</div>
</div>
<div
v-if=
"type == 4"
style=
"margin-top:10px"
class=
"name"
>
<span>
单位
</span>
<input
v-model=
"unit"
class=
"nameipt"
/>
</div>
<div
v-if=
"type == 6"
style=
"margin-top:10px"
class=
"name"
>
<div
v-if=
"type == 6"
style=
"margin-top:10px"
class=
"name"
>
<span>
{{
name
}}
编号:
</span>
<span>
{{
name
}}
编号:
</span>
<input
v-model=
"numberV2"
class=
"nameipt"
/>
<input
v-model=
"numberV2"
class=
"nameipt"
/>
...
...
src/views/education/materiel.vue
View file @
1687d502
...
@@ -30,23 +30,29 @@
...
@@ -30,23 +30,29 @@
prop=
"NO"
>
prop=
"NO"
>
</el-table-column>
</el-table-column>
<el-table-column
<el-table-column
label=
"物料名称"
prop=
"MID"
label=
"物料编号"
:show-overflow-tooltip=
"true"
:show-overflow-tooltip=
"true"
prop=
"Name"
width=
"200"
>
width=
"200"
>
</el-table-column>
</el-table-column>
<el-table-column
<el-table-column
prop=
"MID"
label=
"物料名称"
label=
"物料编号"
:show-overflow-tooltip=
"true"
:show-overflow-tooltip=
"true"
prop=
"Name"
width=
"200"
>
width=
"200"
>
</el-table-column>
</el-table-column>
<el-table-column
<el-table-column
label=
"物料描述"
label=
"物料描述"
:show-overflow-tooltip=
"true"
:show-overflow-tooltip=
"true"
prop=
"Desc"
prop=
"Desc"
width=
"200"
>
width=
"200"
>
</el-table-column>
</el-table-column>
<el-table-column
label=
"单位"
:show-overflow-tooltip=
"true"
prop=
"Unit"
width=
"200"
>
</el-table-column>
<el-table-column
<el-table-column
label=
"最近修改时间"
label=
"最近修改时间"
:show-overflow-tooltip=
"true"
:show-overflow-tooltip=
"true"
...
...
src/views/education/technology.vue
View file @
1687d502
...
@@ -29,12 +29,24 @@
...
@@ -29,12 +29,24 @@
width=
"185"
width=
"185"
prop=
"NO"
>
prop=
"NO"
>
</el-table-column>
</el-table-column>
<el-table-column
label=
"工艺编号"
:show-overflow-tooltip=
"true"
width=
"185"
prop=
"Num"
>
</el-table-column>
<el-table-column
<el-table-column
label=
"工艺名称"
label=
"工艺名称"
:show-overflow-tooltip=
"true"
:show-overflow-tooltip=
"true"
prop=
"Name"
prop=
"Name"
width=
"300"
>
width=
"300"
>
</el-table-column>
</el-table-column>
<el-table-column
label=
"工艺描述"
:show-overflow-tooltip=
"true"
prop=
"describe"
width=
"300"
>
</el-table-column>
<el-table-column
<el-table-column
prop=
"CellList"
prop=
"CellList"
label=
"包含工序"
label=
"包含工序"
...
...
src/views/education/wordProcedure.vue
View file @
1687d502
...
@@ -29,6 +29,12 @@
...
@@ -29,6 +29,12 @@
width=
"185"
width=
"185"
prop=
"NO"
>
prop=
"NO"
>
</el-table-column>
</el-table-column>
<el-table-column
label=
"工序编号"
:show-overflow-tooltip=
"true"
prop=
"No"
width=
"300"
>
</el-table-column>
<el-table-column
<el-table-column
label=
"工序名称"
label=
"工序名称"
:show-overflow-tooltip=
"true"
:show-overflow-tooltip=
"true"
...
...
vue.config.js
View file @
1687d502
...
@@ -23,7 +23,7 @@ module.exports = {
...
@@ -23,7 +23,7 @@ module.exports = {
proxy
:
{
proxy
:
{
'/api'
:
{
'/api'
:
{
//这里最好有一个 /
//这里最好有一个 /
target
:
'http://192.168.1.1
82
:8802'
,
// 后台接口域名
target
:
'http://192.168.1.1
64
:8802'
,
// 后台接口域名
ws
:
true
,
//如果要代理 websockets,配置这个参数
ws
:
true
,
//如果要代理 websockets,配置这个参数
secure
:
false
,
// 如果是https接口,需要配置这个参数
secure
:
false
,
// 如果是https接口,需要配置这个参数
changeOrigin
:
true
,
//是否跨域
changeOrigin
:
true
,
//是否跨域
...
...
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