Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Z
zhongtong-avi-web
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
中通客车项目
zhongtong-avi-web
Commits
1a212658
Commit
1a212658
authored
Mar 26, 2020
by
李志鸣
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
feat(报工点补扫): 当操作人为RFID时,不能进行编辑操作
parent
2561b851
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
3 deletions
+5
-3
index.js
config/index.js
+2
-2
list.vue
src/views/DutyStation/list.vue
+3
-1
No files found.
config/index.js
View file @
1a212658
...
@@ -14,10 +14,10 @@ module.exports = {
...
@@ -14,10 +14,10 @@ module.exports = {
proxyTable
:
{
proxyTable
:
{
'/host'
:
{
'/host'
:
{
// target: 'http://10.100.172.150:9108', // 设置你调用的接口域名和端口号 别忘了加http
// target: 'http://10.100.172.150:9108', // 设置你调用的接口域名和端口号 别忘了加http
//
target: 'http://10.100.172.223:8082', // 东伟服务器地址
target
:
'http://10.100.172.223:8082'
,
// 东伟服务器地址
// target: 'http://192.168.43.153:8080', // 训浩服务器
// target: 'http://192.168.43.153:8080', // 训浩服务器
// target: 'http://10.100.172.23:8082', // 本地服务器
// target: 'http://10.100.172.23:8082', // 本地服务器
target
:
'http://192.168.3.37:8082'
,
// 本地服务器
//
target: 'http://192.168.3.37:8082', // 本地服务器
changeOrigin
:
true
,
changeOrigin
:
true
,
pathRewrite
:
{
pathRewrite
:
{
'^/host'
:
''
//这里理解成用‘/host’代替target里面的地址,后面组件中我们掉接口时直接用api代替 比如我要调用'http://40.00.100.100:3002/user/add',直接写‘/api/user/add’即可
'^/host'
:
''
//这里理解成用‘/host’代替target里面的地址,后面组件中我们掉接口时直接用api代替 比如我要调用'http://40.00.100.100:3002/user/add',直接写‘/api/user/add’即可
...
...
src/views/DutyStation/list.vue
View file @
1a212658
...
@@ -59,7 +59,9 @@
...
@@ -59,7 +59,9 @@
<template
slot-scope=
"scope"
>
<template
slot-scope=
"scope"
>
<el-button
<el-button
type=
"text"
type=
"text"
@
click=
"doEditClick(scope.row)"
>
@
click=
"doEditClick(scope.row)"
v-if=
"scope.row.createBy !== 'RFID'"
>
编辑
编辑
</el-button>
</el-button>
</
template
>
</
template
>
...
...
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