Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
P
portalhtml
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
rex
portalhtml
Commits
5fe23907
Commit
5fe23907
authored
Oct 14, 2021
by
qinj
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'dev' of
http://120.25.63.219:6088/rex/portalhtml
into dev
parents
c53ad255
f07288a7
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
23 additions
and
18 deletions
+23
-18
index.vue
...customers-add/components/customersAdd-accessory/index.vue
+3
-3
index.vue
src/views/customers/customers-add/index.vue
+1
-1
constant.js
src/views/public/file-info/constant.js
+7
-5
index.vue
src/views/public/file-info/index.vue
+12
-9
No files found.
src/views/customers/customers-add/components/customersAdd-accessory/index.vue
View file @
5fe23907
...
@@ -37,9 +37,9 @@ export default {
...
@@ -37,9 +37,9 @@ export default {
},
},
objectId
:
{
objectId
:
{
handler
(
newVal
)
{
handler
(
newVal
)
{
constant
.
tableConfig
.
initialParams
=
{
//
constant.tableConfig.initialParams = {
BusinessObjectID
:
newVal
//
BusinessObjectID: newVal
}
// }
},
},
immediate
:
true
,
immediate
:
true
,
deep
:
true
deep
:
true
...
...
src/views/customers/customers-add/index.vue
View file @
5fe23907
...
@@ -114,7 +114,7 @@ export default {
...
@@ -114,7 +114,7 @@ export default {
},
},
ExtCity_SDK
:
{
ExtCity_SDK
:
{
type
:
'select'
,
type
:
'select'
,
label
:
'
城
市'
,
label
:
'
地
市'
,
layout
:
12
,
layout
:
12
,
isOptions
:
true
,
isOptions
:
true
,
optionsLinkageFields
:
[
'ExtProvince_SDK'
],
optionsLinkageFields
:
[
'ExtProvince_SDK'
],
...
...
src/views/public/file-info/constant.js
View file @
5fe23907
...
@@ -2,7 +2,8 @@ import { file } from '@/api/customers'
...
@@ -2,7 +2,8 @@ import { file } from '@/api/customers'
const
tableConfig
=
{
const
tableConfig
=
{
tableTitle
:
'附件信息'
,
tableTitle
:
'附件信息'
,
url
:
file
.
searchUrl
,
// url: file.searchUrl,
url
:
''
,
isSearch
:
true
,
isSearch
:
true
,
defaultColumns
:
{
defaultColumns
:
{
minWidth
:
120
,
minWidth
:
120
,
...
@@ -65,10 +66,11 @@ const formConfig = {
...
@@ -65,10 +66,11 @@ const formConfig = {
// vif: false,
// vif: false,
// label: '编码'
// label: '编码'
// },
// },
// TypeCode: {
TypeCode
:
{
// vif: false,
vif
:
false
,
// label: '类型'
label
:
'类型'
,
// },
default
:
''
},
// Note: {
// Note: {
// label: '备注',
// label: '备注',
// type: 'textarea'
// type: 'textarea'
...
...
src/views/public/file-info/index.vue
View file @
5fe23907
...
@@ -77,10 +77,10 @@ export default {
...
@@ -77,10 +77,10 @@ export default {
type
:
String
,
type
:
String
,
default
:
''
default
:
''
},
},
path
:
{
//
path: {
type
:
String
,
//
type: String,
required
:
true
//
required: true
},
//
},
objectID
:
{
objectID
:
{
type
:
String
,
type
:
String
,
default
:
''
default
:
''
...
@@ -118,7 +118,7 @@ export default {
...
@@ -118,7 +118,7 @@ export default {
constant
.
tableConfig
.
initialParams
.
ModuleType
=
this
.
moduleType
constant
.
tableConfig
.
initialParams
.
ModuleType
=
this
.
moduleType
}
}
constant
.
formConfig
.
formDesc
.
TypeCode
.
default
=
this
.
typeCode
constant
.
formConfig
.
formDesc
.
TypeCode
.
default
=
this
.
typeCode
constant
.
formConfig
.
formDesc
.
Path
.
default
=
this
.
path
//
constant.formConfig.formDesc.Path.default = this.path
this
.
tableListeners
=
{
this
.
tableListeners
=
{
handleEdit
:
this
.
handleEdit
,
handleEdit
:
this
.
handleEdit
,
handleDownload
:
this
.
handleDownload
handleDownload
:
this
.
handleDownload
...
@@ -165,11 +165,11 @@ export default {
...
@@ -165,11 +165,11 @@ export default {
formData
.
append
(
'moduleType'
,
this
.
moduleType
)
formData
.
append
(
'moduleType'
,
this
.
moduleType
)
}
}
this
.
fileList
.
forEach
((
item
)
=>
{
this
.
fileList
.
forEach
((
item
)
=>
{
formData
.
append
(
'file
s
'
,
item
.
raw
)
formData
.
append
(
'file'
,
item
.
raw
)
})
})
if
(
this
.
fileList
.
length
>
0
)
{
//
if (this.fileList.length > 0) {
formData
.
path
=
this
.
path
//
formData.path = this.path
}
//
}
if
(
!
this
.
formData
.
ObjectID
)
{
if
(
!
this
.
formData
.
ObjectID
)
{
const
businessObjectID
=
const
businessObjectID
=
this
.
$route
.
query
.
objectID
||
this
.
tableConfig
.
initialParams
.
objectID
this
.
$route
.
query
.
objectID
||
this
.
tableConfig
.
initialParams
.
objectID
...
@@ -180,9 +180,11 @@ export default {
...
@@ -180,9 +180,11 @@ export default {
this
.
loading
=
false
this
.
loading
=
false
this
.
dialogFormVisible
=
false
this
.
dialogFormVisible
=
false
this
.
$message
.
success
(
'添加成功!'
)
this
.
$message
.
success
(
'添加成功!'
)
this
.
tableConfig
.
url
=
'/search'
this
.
$refs
.
eleTable
.
handleSearch
()
this
.
$refs
.
eleTable
.
handleSearch
()
}).
catch
(()
=>
{
}).
catch
(()
=>
{
this
.
loading
=
false
this
.
loading
=
false
this
.
tableConfig
.
url
=
'/search'
})
})
}
else
{
}
else
{
formData
.
append
(
'typeCode'
,
this
.
typeCode
)
formData
.
append
(
'typeCode'
,
this
.
typeCode
)
...
@@ -190,6 +192,7 @@ export default {
...
@@ -190,6 +192,7 @@ export default {
this
.
loading
=
false
this
.
loading
=
false
this
.
dialogFormVisible
=
false
this
.
dialogFormVisible
=
false
this
.
$message
.
success
(
'修改成功!'
)
this
.
$message
.
success
(
'修改成功!'
)
this
.
tableConfig
.
url
=
'/search'
this
.
$refs
.
eleTable
.
handleSearch
()
this
.
$refs
.
eleTable
.
handleSearch
()
}).
catch
(()
=>
{
}).
catch
(()
=>
{
this
.
loading
=
false
this
.
loading
=
false
...
...
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