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
ed0df3ea
Commit
ed0df3ea
authored
Oct 13, 2021
by
jiangqihao
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
附件上传修改
parent
6bf28fe2
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
30 additions
and
51 deletions
+30
-51
index.vue
...customers-add/components/customersAdd-accessory/index.vue
+0
-21
constant.js
src/views/public/file-info/constant.js
+30
-30
No files found.
src/views/customers/customers-add/components/customersAdd-accessory/index.vue
View file @
ed0df3ea
...
...
@@ -47,26 +47,6 @@ export default {
}
},
created
()
{
// var config = JSON.parse(JSON.stringify(constant))
// config.tableConfig.columns.handle = {
// label: '操作',
// hideInFilter: true,
// fixed: 'right',
// renderItem: (h, scope, listeners) => {
// return h(
// 'el-button',
// {
// on: {
// click: (e) => listeners.handleEdit(scope.row, scope.$index)
// },
// props: {
// type: 'text'
// }
// },
// '编辑')
// }
// }
// config.tableConfig.tableTitle = '上传附件'
// 设置表单的初始搜索条件,该条件一般不会发生改变
if
(
this
.
$attrs
[
'form-data'
]
&&
this
.
$attrs
[
'form-data'
].
BusinessObjectID
)
{
config
.
tableConfig
.
initialParams
=
{
...
...
@@ -75,7 +55,6 @@ export default {
}
else
{
config
.
tableConfig
.
url
=
''
}
// this.constant = config
}
}
</
script
>
...
...
src/views/public/file-info/constant.js
View file @
ed0df3ea
...
...
@@ -23,15 +23,15 @@ const tableConfig = {
fixed
:
'right'
,
renderItem
:
(
h
,
scope
,
listeners
)
=>
{
return
h
(
'div'
,
[
h
(
'el-button'
,
{
on
:
{
click
:
(
e
)
=>
listeners
.
handleEdit
(
scope
.
row
,
'edit'
)
},
props
:
{
icon
:
'el-icon-edit-outline'
,
type
:
'text'
}
},
'编辑'
),
//
h('el-button', {
//
on: {
//
click: (e) => listeners.handleEdit(scope.row, 'edit')
//
},
//
props: {
//
icon: 'el-icon-edit-outline',
//
type: 'text'
//
}
//
}, '编辑'),
h
(
'el-button'
,
{
on
:
{
click
:
(
e
)
=>
listeners
.
handleDownload
(
scope
.
row
,
'takeEffect'
)
...
...
@@ -52,27 +52,27 @@ const formConfig = {
isShowBackBtn
:
false
,
isShowSubmitBtn
:
false
,
formDesc
:
{
Title
:
{
type
:
'input'
,
label
:
'标题'
,
layout
:
24
},
TypeCode
:
{
vif
:
false
,
label
:
'类型'
},
Path
:
{
vif
:
false
,
label
:
'编码'
},
TypeCode
:
{
vif
:
false
,
label
:
'类型'
},
Note
:
{
label
:
'备注'
,
type
:
'textarea'
},
//
Title: {
//
type: 'input',
//
label: '标题',
//
layout: 24
//
},
//
TypeCode: {
//
vif: false,
//
label: '类型'
//
},
//
Path: {
//
vif: false,
//
label: '编码'
//
},
//
TypeCode: {
//
vif: false,
//
label: '类型'
//
},
//
Note: {
//
label: '备注',
//
type: 'textarea'
//
},
FileDetails
:
{
label
:
'附件'
}
...
...
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