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
05a36d7b
Commit
05a36d7b
authored
Oct 18, 2021
by
jiangqihao
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'dev' of
http://120.25.63.219:6088/rex/portalhtml
into dev
parents
2e50db52
e802016f
Changes
5
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
36 additions
and
34 deletions
+36
-34
index.vue
src/views/login/city-progress/index.vue
+2
-2
index.vue
src/views/login/city-register/index.vue
+15
-18
index.vue
src/views/login/components/personal-info/index.vue
+11
-2
index.vue
src/views/login/prov-progress/index.vue
+3
-2
index.vue
src/views/login/prov-register/index.vue
+5
-10
No files found.
src/views/login/city-progress/index.vue
View file @
05a36d7b
...
@@ -11,7 +11,7 @@
...
@@ -11,7 +11,7 @@
<!--
<div
class=
"parallelogram3"
></div>
<!--
<div
class=
"parallelogram3"
></div>
<div
style=
"margin-right:15px"
>
未审批
</div>
-->
<div
style=
"margin-right:15px"
>
未审批
</div>
-->
</div>
</div>
<div
style=
"height:150px;display: flex;margin: 20px 2
90px
;"
>
<div
style=
"height:150px;display: flex;margin: 20px 2
0%
;"
>
<div
class=
"div_list"
>
<div
class=
"div_list"
>
<div
id=
"parallelogram"
<div
id=
"parallelogram"
:class=
"
{'bgcolor':formData.ExtProcessNode_SDK==1}">
:class=
"
{'bgcolor':formData.ExtProcessNode_SDK==1}">
...
@@ -94,7 +94,7 @@
...
@@ -94,7 +94,7 @@
</
template
>
</
template
>
</ele-form-section>
</ele-form-section>
<div
class=
"table-contain"
>
<div
class=
"table-contain"
>
<PersonalInFo
:addBtnStart=
'
false'
:dedeleBtnStart=
"false
"
:type-code=
"typeCode"
/>
<PersonalInFo
:addBtnStart=
'
!formData.ExtProcessNode_SDK==1'
:isShowEditBtn=
'formData.ExtProcessNode_SDK==1'
:dedeleBtnStart=
"!formData.ExtProcessNode_SDK==1
"
:type-code=
"typeCode"
/>
</div>
</div>
<div
class=
"table-contain"
>
<div
class=
"table-contain"
>
<div
class=
"form-container"
>
审批意见
</div>
<div
class=
"form-container"
>
审批意见
</div>
...
...
src/views/login/city-register/index.vue
View file @
05a36d7b
...
@@ -8,6 +8,7 @@
...
@@ -8,6 +8,7 @@
:model=
"formData"
:model=
"formData"
status-icon
status-icon
ref=
"formData"
ref=
"formData"
v-loading=
"btnloading"
:rules=
"supplierBaseRules"
:rules=
"supplierBaseRules"
label-position=
"right"
>
label-position=
"right"
>
<el-row
class=
"border-bottom"
>
<el-row
class=
"border-bottom"
>
...
@@ -264,6 +265,7 @@
...
@@ -264,6 +265,7 @@
class=
"padding-bottom"
>
class=
"padding-bottom"
>
<el-form-item
label=
"营业执照:"
<el-form-item
label=
"营业执照:"
prop=
"file"
prop=
"file"
:show-message=
'false'
label-width=
"100px"
label-width=
"100px"
class=
"filter-icon-none"
>
class=
"filter-icon-none"
>
<el-upload
:on-change=
"handleChange"
<el-upload
:on-change=
"handleChange"
...
@@ -357,9 +359,9 @@ export default {
...
@@ -357,9 +359,9 @@ export default {
cityOptions
:
[],
cityOptions
:
[],
disOptions
:
[],
disOptions
:
[],
supplierBaseRules
:
{
supplierBaseRules
:
{
extSocialUnifiedCreditCode_SDK
:
[{
required
:
true
,
message
:
'请输入统一社会信用代码'
,
trigger
:
'blur'
}],
extSocialUnifiedCreditCode_SDK
:
[{
required
:
true
,
message
:
'请输入统一社会信用代码'
}],
extRegisteredCapital_SDK
:
[{
required
:
true
,
message
:
'请输入注册资本(万元)'
,
trigger
:
'blur'
}],
extRegisteredCapital_SDK
:
[{
required
:
true
,
message
:
'请输入注册资本(万元)'
}],
extCorporateName_SDK
:
[{
required
:
true
,
message
:
'请输入法人'
,
trigger
:
'blur'
}],
extCorporateName_SDK
:
[{
required
:
true
,
message
:
'请输入法人'
}],
extProvince_SDK
:
[{
required
:
true
,
message
:
'请选择省份'
}],
extProvince_SDK
:
[{
required
:
true
,
message
:
'请选择省份'
}],
extCity_SDK
:
[{
required
:
true
,
message
:
'请选择市'
}],
extCity_SDK
:
[{
required
:
true
,
message
:
'请选择市'
}],
extDistrict_SDK
:
[{
required
:
true
,
message
:
'请选择区'
}],
extDistrict_SDK
:
[{
required
:
true
,
message
:
'请选择区'
}],
...
@@ -399,14 +401,14 @@ export default {
...
@@ -399,14 +401,14 @@ export default {
getList
()
{
getList
()
{
this
.
page
.
searchKey
=
this
.
formInline
.
Name
this
.
page
.
searchKey
=
this
.
formInline
.
Name
this
.
$request
(
Qcc
.
searchUrl
,
this
.
page
).
then
((
resp
)
=>
{
this
.
$request
(
Qcc
.
searchUrl
,
this
.
page
).
then
((
resp
)
=>
{
if
(
resp
.
results
.
Result
)
{
if
(
resp
.
results
.
Result
)
{
this
.
tableData
=
resp
.
results
.
Result
this
.
tableData
=
resp
.
results
.
Result
this
.
page
=
resp
.
results
.
Paging
this
.
page
=
resp
.
results
.
Paging
this
.
TotalRecords
=
resp
.
results
.
Paging
.
TotalRecords
this
.
TotalRecords
=
resp
.
results
.
Paging
.
TotalRecords
}
else
{
}
else
{
this
.
$message
.
warning
(
'无相关公司!'
)
this
.
$message
.
warning
(
'无相关公司!'
)
}
}
})
})
},
},
selectCountry
()
{
selectCountry
()
{
...
@@ -460,17 +462,12 @@ export default {
...
@@ -460,17 +462,12 @@ export default {
})
})
},
},
handleApprove
()
{
handleApprove
()
{
this
.
$refs
.
formData
.
validate
((
valid
)
=>
{
this
.
$refs
.
formData
.
validate
((
valid
)
=>
{
if
(
valid
)
{
if
(
valid
)
{
// this.aOptions.forEach(el=>{
if
(
this
.
formData
.
file
==
null
||
this
.
formData
.
file
==
''
||
this
.
formData
.
file
==
[])
{
// this.formData.ExtProvinceName_SDK=el[this.formData.extProvince_SDK]
return
this
.
$message
.
warning
(
'请上传附件'
)
// })
}
// this.bOptions.forEach(el=>{
// this.formData.extCityName_SDK=el[this.formData.extCity_SDK]
// })
// this.cOptions.forEach(el=>{
// this.formData.extDistrictName_SDK=el[this.formData.extDistrict_SDK]
// })
this
.
formData
.
extCustomerType_SDK
=
111
this
.
formData
.
extCustomerType_SDK
=
111
this
.
btnloading
=
true
this
.
btnloading
=
true
this
.
$request
(
Customer
.
searchUrl
,
this
.
paramsToFormData
(
this
.
formData
)).
then
((
resp
)
=>
{
this
.
$request
(
Customer
.
searchUrl
,
this
.
paramsToFormData
(
this
.
formData
)).
then
((
resp
)
=>
{
...
@@ -486,7 +483,7 @@ export default {
...
@@ -486,7 +483,7 @@ export default {
})
})
}
else
{
}
else
{
this
.
btnloading
=
false
this
.
btnloading
=
false
this
.
$message
.
warning
(
'请输入必填信息!'
)
this
.
$message
.
warning
(
'请
上传附件,
输入必填信息!'
)
}
}
});
});
...
@@ -525,7 +522,7 @@ export default {
...
@@ -525,7 +522,7 @@ export default {
},
},
handleChange
(
file
,
fileList
)
{
handleChange
(
file
,
fileList
)
{
this
.
formData
.
file
=
file
.
raw
this
.
formData
.
file
=
file
.
raw
this
.
supplierBaseRules
.
file
=
[]
this
.
supplierBaseRules
.
file
=
[]
},
},
handleRemoveFile
(
res
,
file
)
{
handleRemoveFile
(
res
,
file
)
{
this
.
supplierBaseRules
.
file
=
[{
required
:
true
,
message
:
'请上传附件'
,
trigger
:
[
'blur'
,
'change'
]
}]
this
.
supplierBaseRules
.
file
=
[{
required
:
true
,
message
:
'请上传附件'
,
trigger
:
[
'blur'
,
'change'
]
}]
...
...
src/views/login/components/personal-info/index.vue
View file @
05a36d7b
...
@@ -168,8 +168,12 @@ export default {
...
@@ -168,8 +168,12 @@ export default {
},
},
handleAdd
()
{
handleAdd
()
{
this
.
dialogTitle
=
'创建附件'
this
.
dialogTitle
=
'创建附件'
this
.
formData
=
{}
//
this.formData = {}
this
.
fileList
=
[]
this
.
fileList
=
[]
console
.
log
(
'dddd'
,
this
.
$refs
.
eleTable
)
if
(
this
.
$refs
.
eleTable
.
tableData
.
length
>=
1
){
return
this
.
$message
.
warning
(
'只能上传一个附件,请删除后再上传!'
)
}
this
.
dialogFormVisible
=
true
this
.
dialogFormVisible
=
true
},
},
handleEdit
(
row
,
index
)
{
handleEdit
(
row
,
index
)
{
...
@@ -209,12 +213,13 @@ export default {
...
@@ -209,12 +213,13 @@ export default {
this
.
$route
.
query
.
objectID
||
this
.
tableConfig
.
initialParams
.
objectID
this
.
$route
.
query
.
objectID
||
this
.
tableConfig
.
initialParams
.
objectID
console
.
log
(
businessObjectID
)
console
.
log
(
businessObjectID
)
formData
.
append
(
'businessObjectID'
,
businessObjectID
)
formData
.
append
(
'businessObjectID'
,
businessObjectID
)
// formData.append('typeCode',this.typeCode)
formData
.
delete
(
'objectID'
)
formData
.
delete
(
'objectID'
)
this
.
loading
=
true
this
.
loading
=
true
this
.
$request
(
file
.
createUrl
,
formData
).
then
(()
=>
{
this
.
$request
(
file
.
createUrl
,
formData
).
then
(()
=>
{
this
.
loading
=
false
this
.
loading
=
false
this
.
dialogFormVisible
=
false
this
.
dialogFormVisible
=
false
this
.
fileList
=
[]
this
.
fileList
=
[]
this
.
$message
.
success
(
'添加成功!'
)
this
.
$message
.
success
(
'添加成功!'
)
this
.
$refs
.
eleTable
.
url
=
file
.
searchUrl
this
.
$refs
.
eleTable
.
url
=
file
.
searchUrl
this
.
$refs
.
eleTable
.
handleSearch
()
this
.
$refs
.
eleTable
.
handleSearch
()
...
@@ -236,6 +241,10 @@ export default {
...
@@ -236,6 +241,10 @@ export default {
}
}
},
},
handleSelectionChange
(
selection
)
{
handleSelectionChange
(
selection
)
{
if
(
selection
.
length
>
1
)
{
const
del_row
=
selection
.
shift
()
this
.
$refs
.
eleTable
.
toggleRowSelection
(
del_row
,
false
)
}
this
.
current
=
selection
.
length
>
0
?
selection
[
0
]
:
null
this
.
current
=
selection
.
length
>
0
?
selection
[
0
]
:
null
},
},
handleDelete
()
{
handleDelete
()
{
...
...
src/views/login/prov-progress/index.vue
View file @
05a36d7b
...
@@ -10,7 +10,7 @@
...
@@ -10,7 +10,7 @@
<!--
<div
class=
"parallelogram3"
></div>
<!--
<div
class=
"parallelogram3"
></div>
<div
style=
"margin-right:15px"
>
未审批
</div>
-->
<div
style=
"margin-right:15px"
>
未审批
</div>
-->
</div>
</div>
<div
style=
"height:150px;display: flex;margin: 20px
290px
;"
>
<div
style=
"height:150px;display: flex;margin: 20px
15%
;"
>
<div
class=
"div_list"
>
<div
class=
"div_list"
>
<div
id=
"parallelogram"
<div
id=
"parallelogram"
:class=
"
{'bgcolor':formData.ExtProcessNode_SDK==1}">
:class=
"
{'bgcolor':formData.ExtProcessNode_SDK==1}">
...
@@ -171,7 +171,7 @@
...
@@ -171,7 +171,7 @@
</
template
>
</
template
>
</ele-form-section>
</ele-form-section>
<div
class=
"table-contain"
>
<div
class=
"table-contain"
>
<PersonalInFo
:addBtnStart=
'
false'
:dedeleBtnStart=
"false
"
:type-code=
"typeCode"
/>
<PersonalInFo
:addBtnStart=
'
!formData.ExtProcessNode_SDK==1'
:isShowEditBtn=
'formData.ExtProcessNode_SDK==1'
:dedeleBtnStart=
"!formData.ExtProcessNode_SDK==1
"
:type-code=
"typeCode"
/>
</div>
</div>
<div
class=
"table-contain"
>
<div
class=
"table-contain"
>
<div
class=
"form-container"
>
审批意见
</div>
<div
class=
"form-container"
>
审批意见
</div>
...
@@ -417,6 +417,7 @@ export default {
...
@@ -417,6 +417,7 @@ export default {
],
],
tableData
:
[],
tableData
:
[],
tableData2
:
[],
tableData2
:
[],
isShowEditBtn
:
false
,
btnloading
:
false
,
btnloading
:
false
,
aOptions
:
[],
aOptions
:
[],
bOptions
:
[],
bOptions
:
[],
...
...
src/views/login/prov-register/index.vue
View file @
05a36d7b
...
@@ -364,6 +364,7 @@
...
@@ -364,6 +364,7 @@
class=
"padding-bottom"
>
class=
"padding-bottom"
>
<el-form-item
label=
"营业执照:"
<el-form-item
label=
"营业执照:"
prop=
"file"
prop=
"file"
:show-message=
'false'
label-width=
"100px"
label-width=
"100px"
class=
"filter-icon-none"
>
class=
"filter-icon-none"
>
<el-upload
ref=
"uploadExcel"
<el-upload
ref=
"uploadExcel"
...
@@ -616,15 +617,9 @@ export default {
...
@@ -616,15 +617,9 @@ export default {
handleApprove
()
{
handleApprove
()
{
this
.
$refs
.
formData
.
validate
((
valid
)
=>
{
this
.
$refs
.
formData
.
validate
((
valid
)
=>
{
if
(
valid
)
{
if
(
valid
)
{
// this.aOptions.forEach(el=>{
if
(
this
.
formData
.
file
==
null
||
this
.
formData
.
file
==
''
||
this
.
formData
.
file
==
[])
{
// this.formData.ExtProvinceName_SDK=el[this.formData.extProvince_SDK]
return
this
.
$message
.
warning
(
'请上传附件'
)
// })
}
// this.bOptions.forEach(el=>{
// this.formData.extCityName_SDK=el[this.formData.extCity_SDK]
// })
// this.cOptions.forEach(el=>{
// this.formData.extDistrictName_SDK=el[this.formData.extDistrict_SDK]
// })
this
.
formData
.
extCustomerType_SDK
=
101
this
.
formData
.
extCustomerType_SDK
=
101
const
ExtProductGroup_KUT
=
this
.
formData
.
extProductGroup_KUT
.
toString
()
const
ExtProductGroup_KUT
=
this
.
formData
.
extProductGroup_KUT
.
toString
()
const
ExtProductGroup_SDK
=
this
.
formData
.
extProductGroup_SDK
.
toString
()
const
ExtProductGroup_SDK
=
this
.
formData
.
extProductGroup_SDK
.
toString
()
...
@@ -649,7 +644,7 @@ export default {
...
@@ -649,7 +644,7 @@ export default {
})
})
}
else
{
}
else
{
this
.
btnloading
=
false
this
.
btnloading
=
false
this
.
$message
.
warning
(
'请输入必填信息!'
)
this
.
$message
.
warning
(
'请
上传附件,
输入必填信息!'
)
}
}
});
});
...
...
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