Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
C
car-database-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
中汽研标准应用数据库
car-database-web
Commits
d6c78e32
Commit
d6c78e32
authored
Oct 24, 2024
by
jiaxu.yan
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
feat:生成表单修改输入显示错误问题
parent
e916fa86
Changes
11
Hide whitespace changes
Inline
Side-by-side
Showing
11 changed files
with
24 additions
and
16 deletions
+24
-16
.env.development
.env.development
+1
-1
.env.production
.env.production
+2
-2
.env.staging
.env.staging
+2
-2
input.vue
src/components/CheckCoiumns/input.vue
+6
-3
checkBuilder.vue
src/components/checkBuilder.vue
+8
-2
fileSelect.vue
src/components/fileSelect.vue
+1
-1
main.js
src/main.js
+0
-1
companyFile.vue
...ing/carReview/write-check-form/components/companyFile.vue
+1
-1
dialog.vue
src/views/processing/checkFileLibrary/components/dialog.vue
+1
-1
dialog.vue
src/views/processing/fileLibrary/components/dialog.vue
+1
-1
companyFile.vue
.../systemReview/write-check-form/components/companyFile.vue
+1
-1
No files found.
.env.development
View file @
d6c78e32
...
@@ -10,6 +10,6 @@ VUE_APP_BASE_API = '/dev-api'
...
@@ -10,6 +10,6 @@ VUE_APP_BASE_API = '/dev-api'
# 路由懒加载
# 路由懒加载
VUE_CLI_BABEL_TRANSPILE_MODULES = true
VUE_CLI_BABEL_TRANSPILE_MODULES = true
# 图片服务器地址
# 图片服务器地址
VUE_APP_IMAGE_API ='http://10.12.48.78:443'
VUE_APP_IMAGE_API ='http://10.12.48.78:443
/vehicle-quality-review-oss
'
VUE_APP_CLIENT_API = 'http://10.12.48.78/vvmpapi'
VUE_APP_CLIENT_API = 'http://10.12.48.78/vvmpapi'
.env.production
View file @
d6c78e32
...
@@ -6,9 +6,9 @@ ENV = 'production'
...
@@ -6,9 +6,9 @@ ENV = 'production'
# 中汽研安全检测平台管理系统/生产环境
# 中汽研安全检测平台管理系统/生产环境
VUE_APP_BASE_API = 'http://10
6.3.99.64:22018
'
VUE_APP_BASE_API = 'http://10
.12.48.78:443/prod-api
'
# 图片服务器地址
# 图片服务器地址
VUE_APP_IMAGE_API ='http://10.12.48.78:443'
VUE_APP_IMAGE_API ='http://10.12.48.78:443
/vehicle-quality-review-oss
'
VUE_APP_CLIENT_API = 'http://10.12.48.78/vvmpapi'
VUE_APP_CLIENT_API = 'http://10.12.48.78/vvmpapi'
.env.staging
View file @
d6c78e32
...
@@ -5,8 +5,8 @@ VUE_APP_TITLE = 标准应用数据库
...
@@ -5,8 +5,8 @@ VUE_APP_TITLE = 标准应用数据库
ENV = 'staging'
ENV = 'staging'
# 中汽研安全检测平台管理系统/开发环境
# 中汽研安全检测平台管理系统/开发环境
VUE_APP_BASE_API = 'http://10
6.3.99.64:22016
'
VUE_APP_BASE_API = 'http://10
.12.48.78:443/prod-api
'
# 图片服务器地址
# 图片服务器地址
VUE_APP_IMAGE_API ='http://10
6.3.99.64:22013
'
VUE_APP_IMAGE_API ='http://10
.12.48.78:443/vehicle-quality-review-oss
'
VUE_APP_CLIENT_API = 'https://10.12.48.78/vvmpapi'
VUE_APP_CLIENT_API = 'https://10.12.48.78/vvmpapi'
src/components/CheckCoiumns/input.vue
View file @
d6c78e32
...
@@ -24,7 +24,6 @@ export default {
...
@@ -24,7 +24,6 @@ export default {
default
:
false
default
:
false
},
},
defaultValue
:
{
defaultValue
:
{
default
:
''
default
:
''
}
}
},
},
...
@@ -46,15 +45,19 @@ export default {
...
@@ -46,15 +45,19 @@ export default {
mounted
()
{
mounted
()
{
if
(
this
.
defaultValue
)
{
if
(
this
.
defaultValue
)
{
this
.
value
=
this
.
defaultValue
this
.
value
=
this
.
defaultValue
this
.
$emit
(
'changeVal'
,
{
name
:
this
.
prop
,
val
:
this
.
result
})
this
.
$emit
(
'changeVal'
,
{
name
:
this
.
prop
,
val
:
this
.
items
.
options
[
0
].
useCaseNo
})
this
.
$emit
(
'makeRecord'
,
{
name
:
this
.
prop
,
record
:
this
.
value
})
this
.
$emit
(
'makeRecord'
,
{
name
:
this
.
prop
,
record
:
this
.
value
})
}
else
{
}
else
{
this
.
reset
()
this
.
reset
()
}
}
},
},
methods
:
{
methods
:
{
input
(
val
)
{
input
(
val
)
{
this
.
$emit
(
'changeVal'
,
{
name
:
this
.
prop
,
val
:
val
})
this
.
$emit
(
'changeVal'
,
{
name
:
this
.
prop
,
val
:
this
.
items
.
options
[
0
].
useCaseNo
})
this
.
$emit
(
'makeRecord'
,
{
name
:
this
.
prop
,
record
:
val
})
this
.
$emit
(
'makeRecord'
,
{
name
:
this
.
prop
,
record
:
val
})
},
},
reset
()
{
reset
()
{
...
...
src/components/checkBuilder.vue
View file @
d6c78e32
...
@@ -139,8 +139,8 @@ export default {
...
@@ -139,8 +139,8 @@ export default {
},
},
methods
:
{
methods
:
{
handleDownload
()
{
handleDownload
()
{
location
.
href
=
location
.
href
=
'https://10.12.48.78
/vehicle-quality-review-oss/2024/10/17/SchemeTemplate.zip'
'http://10.12.48.78:443
/vehicle-quality-review-oss/2024/10/17/SchemeTemplate.zip'
},
},
handleCilck
(
key
)
{
handleCilck
(
key
)
{
this
.
$refs
.
queryForm
.
clearValidate
(
key
)
this
.
$refs
.
queryForm
.
clearValidate
(
key
)
...
@@ -148,6 +148,8 @@ export default {
...
@@ -148,6 +148,8 @@ export default {
changeVal
(
data
)
{
changeVal
(
data
)
{
const
{
name
,
val
}
=
data
const
{
name
,
val
}
=
data
this
.
form
[
name
]
=
val
this
.
form
[
name
]
=
val
console
.
log
(
this
.
form
)
this
.
$emit
(
'input'
,
this
.
form
)
this
.
$emit
(
'input'
,
this
.
form
)
this
.
$nextTick
(()
=>
{
this
.
$nextTick
(()
=>
{
this
.
$refs
.
queryForm
.
clearValidate
(
name
)
this
.
$refs
.
queryForm
.
clearValidate
(
name
)
...
@@ -169,6 +171,8 @@ export default {
...
@@ -169,6 +171,8 @@ export default {
}
}
this
.
record
[
name
].
defaultValue
=
record
this
.
record
[
name
].
defaultValue
=
record
console
.
log
(
this
.
record
)
this
.
$nextTick
(()
=>
{
this
.
$nextTick
(()
=>
{
this
.
$refs
.
queryForm
.
clearValidate
(
name
)
this
.
$refs
.
queryForm
.
clearValidate
(
name
)
})
})
...
@@ -194,6 +198,8 @@ export default {
...
@@ -194,6 +198,8 @@ export default {
i
.
record
=
this
.
record
[
i
.
key
]
i
.
record
=
this
.
record
[
i
.
key
]
codes
.
push
(
this
.
form
[
i
.
key
])
codes
.
push
(
this
.
form
[
i
.
key
])
}
}
console
.
log
(
i
)
arr
.
push
(
i
)
arr
.
push
(
i
)
})
})
codes
=
codes
.
filter
(
item
=>
item
&&
item
!==
''
)
codes
=
codes
.
filter
(
item
=>
item
&&
item
!==
''
)
...
...
src/components/fileSelect.vue
View file @
d6c78e32
...
@@ -51,7 +51,7 @@
...
@@ -51,7 +51,7 @@
>
>
</el-image>
</el-image>
<el-image
<el-image
src=
"http
s://10.12.48.78
/vehicle-quality-review-oss/2024/07/02/doc_d_20240702133702A019.png"
src=
"http
://10.12.48.78:443
/vehicle-quality-review-oss/2024/07/02/doc_d_20240702133702A019.png"
v-else
v-else
class=
"img"
class=
"img"
>
>
...
...
src/main.js
View file @
d6c78e32
...
@@ -132,7 +132,6 @@ Vue.config.productionTip = false
...
@@ -132,7 +132,6 @@ Vue.config.productionTip = false
// 全局使用
// 全局使用
Vue
.
use
(
VueApollo
)
// 全局导入Echarts
// 全局导入Echarts
import
*
as
echarts
from
'echarts'
import
*
as
echarts
from
'echarts'
...
...
src/views/processing/carReview/write-check-form/components/companyFile.vue
View file @
d6c78e32
...
@@ -96,7 +96,7 @@
...
@@ -96,7 +96,7 @@
</el-image>
</el-image>
<el-image
<el-image
v-else
v-else
src=
"http
s://10.12.48.78
/vehicle-quality-review-oss/2024/07/02/doc_d_20240702133702A019.png"
src=
"http
://10.12.48.78:443
/vehicle-quality-review-oss/2024/07/02/doc_d_20240702133702A019.png"
class=
"img"
class=
"img"
>
>
</el-image>
</el-image>
...
...
src/views/processing/checkFileLibrary/components/dialog.vue
View file @
d6c78e32
...
@@ -81,7 +81,7 @@
...
@@ -81,7 +81,7 @@
>
>
</el-image>
</el-image>
<el-image
<el-image
src=
"http
s://10.12.48.78
/vehicle-quality-review-oss/2024/07/02/doc_d_20240702133702A019.png"
src=
"http
://10.12.48.78:443
/vehicle-quality-review-oss/2024/07/02/doc_d_20240702133702A019.png"
v-else
v-else
class=
"img"
class=
"img"
>
>
...
...
src/views/processing/fileLibrary/components/dialog.vue
View file @
d6c78e32
...
@@ -81,7 +81,7 @@
...
@@ -81,7 +81,7 @@
>
>
</el-image>
</el-image>
<el-image
<el-image
src=
"http
s://10.12.48.78
/vehicle-quality-review-oss/2024/07/02/doc_d_20240702133702A019.png"
src=
"http
://10.12.48.78:443
/vehicle-quality-review-oss/2024/07/02/doc_d_20240702133702A019.png"
v-else
v-else
class=
"img"
class=
"img"
>
>
...
...
src/views/processing/systemReview/write-check-form/components/companyFile.vue
View file @
d6c78e32
...
@@ -96,7 +96,7 @@
...
@@ -96,7 +96,7 @@
</el-image>
</el-image>
<el-image
<el-image
v-else
v-else
src=
"http
s://10.12.48.78
/vehicle-quality-review-oss/2024/07/02/doc_d_20240702133702A019.png"
src=
"http
://10.12.48.78:443
/vehicle-quality-review-oss/2024/07/02/doc_d_20240702133702A019.png"
class=
"img"
class=
"img"
>
>
</el-image>
</el-image>
...
...
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