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
a94629be
Commit
a94629be
authored
Jan 29, 2021
by
tao
Browse files
Options
Browse Files
Download
Plain Diff
解决冲突
parents
7570ca95
2cfb4e4a
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
30 additions
and
17 deletions
+30
-17
dist.rar
dist.rar
+0
-0
Role.vue
src/components/role/Role.vue
+4
-4
materiel.vue
src/views/education/materiel.vue
+12
-0
wordProcedure.vue
src/views/education/wordProcedure.vue
+1
-1
vue.config.js
vue.config.js
+13
-12
No files found.
dist.rar
deleted
100644 → 0
View file @
7570ca95
File deleted
src/components/role/Role.vue
View file @
a94629be
...
@@ -42,14 +42,14 @@
...
@@ -42,14 +42,14 @@
<span>
岗位名称
</span>
<span>
岗位名称
</span>
<input
type=
"text"
v-model=
"rolename"
/>
<input
type=
"text"
v-model=
"rolename"
/>
</div>
</div>
<div
class=
"rolediscrle"
>
<span>
岗位描述
</span>
<input
type=
"text"
v-model=
"rolesomething"
/>
</div>
<div
class=
"rolediscrle"
>
<div
class=
"rolediscrle"
>
<span>
岗位编号
</span>
<span>
岗位编号
</span>
<input
type=
"text"
v-model=
"SCMSRoleNO"
/>
<input
type=
"text"
v-model=
"SCMSRoleNO"
/>
</div>
</div>
<div
class=
"rolediscrle"
>
<span>
岗位描述
</span>
<input
type=
"text"
v-model=
"rolesomething"
/>
</div>
</div>
</div>
<div
class=
"setdataright"
>
<div
class=
"setdataright"
>
<div
class=
"endtree"
>
<div
class=
"endtree"
>
...
...
src/views/education/materiel.vue
View file @
a94629be
...
@@ -233,6 +233,18 @@ export default {
...
@@ -233,6 +233,18 @@ export default {
this
.
deletetext
=
'物料编号需为字母加数字组合'
this
.
deletetext
=
'物料编号需为字母加数字组合'
return
return
}
}
if
(
data
.
Name
.
trim
()
===
''
)
{
this
.
typeV
=
'5'
this
.
deleteShow
=
true
this
.
deletetext
=
'物料名称不能为空'
return
}
if
(
data
.
Company
.
trim
()
===
''
)
{
this
.
typeV
=
'5'
this
.
deleteShow
=
true
this
.
deletetext
=
'物料单位不能为空'
return
}
this
.
$axios
({
this
.
$axios
({
method
:
"post"
,
method
:
"post"
,
url
:
`/api/Materiel/Materiel_WindowEditSave`
,
url
:
`/api/Materiel/Materiel_WindowEditSave`
,
...
...
src/views/education/wordProcedure.vue
View file @
a94629be
...
@@ -213,7 +213,7 @@ export default {
...
@@ -213,7 +213,7 @@ export default {
if
(
!
reg
.
test
(
value
.
CellNuber
))
{
if
(
!
reg
.
test
(
value
.
CellNuber
))
{
this
.
typeV
=
'5'
this
.
typeV
=
'5'
this
.
deleteShow
=
true
this
.
deleteShow
=
true
this
.
deletetext
=
'
物料
编号需为字母加数字组合'
this
.
deletetext
=
'
工序
编号需为字母加数字组合'
return
return
}
}
this
.
$axios
({
this
.
$axios
({
...
...
vue.config.js
View file @
a94629be
...
@@ -21,26 +21,27 @@ module.exports = {
...
@@ -21,26 +21,27 @@ module.exports = {
devServer
:
{
devServer
:
{
open
:
true
,
//项目运行自动打开浏览器
open
:
true
,
//项目运行自动打开浏览器
proxy
:
{
proxy
:
{
'/api'
:
{
//这里最好有一个 /
target
:
'http://192.168.1.180:8802'
,
// 后台接口域名
ws
:
true
,
//如果要代理 websockets,配置这个参数
secure
:
false
,
// 如果是https接口,需要配置这个参数
changeOrigin
:
true
,
//是否跨域
pathRewrite
:
{
'^/api'
:
'/api'
,
}
}
// '/api': {
// '/api': {
// //这里最好有一个 /
// //这里最好有一个 /
// target: 'http://192.168.1.
237
:8802', // 后台接口域名
// target: 'http://192.168.1.
180
:8802', // 后台接口域名
// ws: true, //如果要代理 websockets,配置这个参数
// ws: true, //如果要代理 websockets,配置这个参数
// secure: false, // 如果是https接口,需要配置这个参数
// secure: false, // 如果是https接口,需要配置这个参数
// changeOrigin: true, //是否跨域
// changeOrigin: true, //是否跨域
// pathRewrite: {
// pathRewrite: {
// '^/api': '/api'
// '^/api': '/api'
,
// }
// }
// }
// }
'/api'
:
{
//这里最好有一个 /
// 192.168.1.237 192.168.1.125
target
:
'http://192.168.1.125:8802'
,
// 后台接口域名
ws
:
true
,
//如果要代理 websockets,配置这个参数
secure
:
false
,
// 如果是https接口,需要配置这个参数
changeOrigin
:
true
,
//是否跨域
pathRewrite
:
{
'^/api'
:
'/api'
}
}
}
}
},
},
css
:
{
css
:
{
...
...
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