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
0699494a
Commit
0699494a
authored
Oct 25, 2021
by
dzx
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'dev' into 'master'
Dev See merge request
!6
parents
af4b6cd2
2920882c
Changes
11
Hide whitespace changes
Inline
Side-by-side
Showing
11 changed files
with
65 additions
and
35 deletions
+65
-35
favicon.ico
public/favicon.ico
+0
-0
logo.png
public/logo.png
+0
-0
index.vue
src/components/Lovs/index.vue
+4
-0
settings.js
src/settings.js
+1
-1
constant.js
src/views/customers/customers-overview/constant.js
+6
-3
constant.js
src/views/customers/municipal-agentList/constant.js
+5
-2
constant.js
src/views/customers/potential-customers/constant.js
+6
-2
constant.js
src/views/customers/provincial-agentList/constant.js
+1
-1
index.vue
src/views/login/city-register/index.vue
+21
-14
index.vue
src/views/login/index.vue
+5
-2
index.vue
src/views/login/prov-register/index.vue
+16
-10
No files found.
public/favicon.ico
View replaced file @
af4b6cd2
View file @
0699494a
66.1 KB
|
W:
|
H:
4.19 KB
|
W:
|
H:
2-up
Swipe
Onion skin
public/logo.png
0 → 100644
View file @
0699494a
1.38 KB
src/components/Lovs/index.vue
View file @
0699494a
...
@@ -24,6 +24,7 @@
...
@@ -24,6 +24,7 @@
v-if=
"!disabled"
v-if=
"!disabled"
slot=
"suffix"
slot=
"suffix"
class=
"el-input__icon el-icon-search"
class=
"el-input__icon el-icon-search"
style=
"color : #a22796"
@
click=
"createLovTable"
@
click=
"createLovTable"
/>
/>
</el-input>
</el-input>
...
@@ -319,4 +320,7 @@ export default {
...
@@ -319,4 +320,7 @@ export default {
padding
:
16px
20px
;
padding
:
16px
20px
;
}
}
}
}
.el-input__icon
{
color
:
#a22796
;
}
</
style
>
</
style
>
src/settings.js
View file @
0699494a
module
.
exports
=
{
module
.
exports
=
{
title
:
'
Vue Element Admin
'
,
title
:
'
客户关系管理系统
'
,
/**
/**
* @type {boolean} true | false
* @type {boolean} true | false
...
...
src/views/customers/customers-overview/constant.js
View file @
0699494a
...
@@ -35,17 +35,20 @@ const tableConfig = {
...
@@ -35,17 +35,20 @@ const tableConfig = {
showInSearch
:
true
,
showInSearch
:
true
,
},
},
ExtCorporateName_SDK
:
{
ExtCorporateName_SDK
:
{
label
:
'法定
人代表
'
,
label
:
'法定
代表人
'
,
type
:
'input'
type
:
'input'
},
},
ExtSocialUnifiedCreditCode_SDK
:
{
ExtSocialUnifiedCreditCode_SDK
:
{
label
:
'统一社会信用代码'
,
label
:
'统一社会信用代码'
,
type
:
'input'
type
:
'input'
},
},
CreationOn
:
{
CreationOn
:
{
label
:
'注册时间'
,
label
:
'注册时间'
,
type
:
'input'
type
:
'input'
,
// layout: 12,
// attrs: {
// format: "yyyy-MM-dd"
// }
},
},
// Ext_QuoteOppotunity_KUT: {
// Ext_QuoteOppotunity_KUT: {
// type: 'input',
// type: 'input',
...
...
src/views/customers/municipal-agentList/constant.js
View file @
0699494a
...
@@ -19,7 +19,7 @@ const tableConfig = {
...
@@ -19,7 +19,7 @@ const tableConfig = {
showInSearch
:
true
,
showInSearch
:
true
,
},
},
ExtCorporateName_SDK
:
{
ExtCorporateName_SDK
:
{
label
:
'法定
人代表
'
,
label
:
'法定
代表人
'
,
type
:
'input'
type
:
'input'
},
},
ExtSocialUnifiedCreditCode_SDK
:
{
ExtSocialUnifiedCreditCode_SDK
:
{
...
@@ -29,7 +29,10 @@ const tableConfig = {
...
@@ -29,7 +29,10 @@ const tableConfig = {
CreationOn
:
{
CreationOn
:
{
label
:
'注册时间'
,
label
:
'注册时间'
,
type
:
'input'
type
:
'input'
,
// attrs: {
// format: "yyyy-MM-dd"
// }
},
},
// Ext_QuoteOppotunity_KUT: {
// Ext_QuoteOppotunity_KUT: {
// type: 'input',
// type: 'input',
...
...
src/views/customers/potential-customers/constant.js
View file @
0699494a
...
@@ -53,7 +53,7 @@ const tableConfig = {
...
@@ -53,7 +53,7 @@ const tableConfig = {
type
:
'input'
type
:
'input'
},
},
ExtCorporateName_SDK
:
{
ExtCorporateName_SDK
:
{
label
:
'法定
人代表
'
,
label
:
'法定
代表人
'
,
type
:
'input'
type
:
'input'
},
},
ExtSocialUnifiedCreditCode_SDK
:
{
ExtSocialUnifiedCreditCode_SDK
:
{
...
@@ -63,7 +63,11 @@ const tableConfig = {
...
@@ -63,7 +63,11 @@ const tableConfig = {
CreationOn
:
{
CreationOn
:
{
label
:
'注册时间'
,
label
:
'注册时间'
,
type
:
'input'
type
:
'input'
,
// layout: 12,
// attrs: {
// format: "yyyy-MM-dd"
// }
},
},
// Ext_QuoteOppotunity_KUT: {
// Ext_QuoteOppotunity_KUT: {
// type: 'input',
// type: 'input',
...
...
src/views/customers/provincial-agentList/constant.js
View file @
0699494a
...
@@ -19,7 +19,7 @@ const tableConfig = {
...
@@ -19,7 +19,7 @@ const tableConfig = {
showInSearch
:
true
,
showInSearch
:
true
,
},
},
ExtCorporateName_SDK
:
{
ExtCorporateName_SDK
:
{
label
:
'法定
人代表
'
,
label
:
'法定
代表人
'
,
type
:
'input'
type
:
'input'
},
},
ExtSocialUnifiedCreditCode_SDK
:
{
ExtSocialUnifiedCreditCode_SDK
:
{
...
...
src/views/login/city-register/index.vue
View file @
0699494a
...
@@ -99,9 +99,9 @@
...
@@ -99,9 +99,9 @@
:offset=
"1"
:offset=
"1"
class=
"padding-bottom"
>
class=
"padding-bottom"
>
<el-form-item
label=
"省份:"
<el-form-item
label=
"省份:"
prop=
"
extProvince_SDK
"
prop=
"
provinceID
"
label-width=
"80px"
>
label-width=
"80px"
>
<el-select
v-model=
"formData.
extProvince_SDK
"
<el-select
v-model=
"formData.
provinceID
"
style=
"width: 91%"
style=
"width: 91%"
filterable
filterable
placeholder=
"请选择省份"
placeholder=
"请选择省份"
...
@@ -117,10 +117,10 @@
...
@@ -117,10 +117,10 @@
<el-col
:span=
"7"
<el-col
:span=
"7"
class=
"padding-bottom"
>
class=
"padding-bottom"
>
<el-form-item
label=
"市:"
<el-form-item
label=
"市:"
prop=
"
extCity_SDK
"
prop=
"
cityID
"
label-width=
"80px"
label-width=
"80px"
required
>
>
<el-select
v-model=
"formData.
extCity_SDK
"
<el-select
v-model=
"formData.
cityID
"
style=
"width: 91%"
style=
"width: 91%"
filterable
filterable
placeholder=
"请选择市"
placeholder=
"请选择市"
...
@@ -135,14 +135,13 @@
...
@@ -135,14 +135,13 @@
<el-col
:span=
"7"
<el-col
:span=
"7"
class=
"padding-bottom"
>
class=
"padding-bottom"
>
<el-form-item
label=
"区:"
<el-form-item
label=
"区:"
prop=
"
extDistrict_SDK
"
prop=
"
districID
"
label-width=
"80px"
label-width=
"80px"
required
>
>
<el-select
v-model=
"formData.
extDistrict_SDK
"
<el-select
v-model=
"formData.
districID
"
style=
"width: 91%"
style=
"width: 91%"
filterable
filterable
placeholder=
"请选择区"
placeholder=
"请选择区"
no-match-text=
"无匹配数据"
@
change=
"handleSelectDis"
>
@
change=
"handleSelectDis"
>
<el-option
v-for=
"item in disOptions"
<el-option
v-for=
"item in disOptions"
:key=
"item.Code"
:key=
"item.Code"
...
@@ -352,7 +351,11 @@ export default {
...
@@ -352,7 +351,11 @@ export default {
},
},
data
()
{
data
()
{
return
{
return
{
formData
:
{},
formData
:
{
provinceID
:
''
,
cityID
:
''
,
districID
:
''
,
},
inputEnter
:
false
,
inputEnter
:
false
,
countryArea
:
''
,
countryArea
:
''
,
title
:
'城市代理商注册'
,
title
:
'城市代理商注册'
,
...
@@ -369,9 +372,9 @@ export default {
...
@@ -369,9 +372,9 @@ export default {
extSocialUnifiedCreditCode_SDK
:
[{
required
:
true
,
message
:
'请输入统一社会信用代码'
,
trigger
:
'blur'
}],
extSocialUnifiedCreditCode_SDK
:
[{
required
:
true
,
message
:
'请输入统一社会信用代码'
,
trigger
:
'blur'
}],
// extRegisteredCapital_SDK: [{ required: true, message: '请输入注册资本(万元)',trigger:'blur' }],
// extRegisteredCapital_SDK: [{ required: true, message: '请输入注册资本(万元)',trigger:'blur' }],
extCorporateName_SDK
:
[{
required
:
true
,
message
:
'请输入法人'
,
trigger
:
'blur'
}],
extCorporateName_SDK
:
[{
required
:
true
,
message
:
'请输入法人'
,
trigger
:
'blur'
}],
extProvince_SDK
:
[{
required
:
true
,
message
:
'请选择省份'
}],
provinceID
:
[{
required
:
true
,
message
:
'请选择省份'
,
trigger
:
''
}],
extCity_SDK
:
[{
required
:
true
,
message
:
'请选择市'
}],
cityID
:
[{
required
:
true
,
message
:
'请选择市'
,
trigger
:
''
}],
extDistrict_SDK
:
[{
required
:
true
,
message
:
'请选择区
'
}],
districID
:
[{
required
:
true
,
message
:
'请选择区'
,
trigger
:
'
'
}],
extAddressDetail_SDK
:
[{
required
:
true
,
message
:
'请输入详细经营地址'
,
trigger
:
'blur'
}],
extAddressDetail_SDK
:
[{
required
:
true
,
message
:
'请输入详细经营地址'
,
trigger
:
'blur'
}],
extLeader_SDK
:
[{
required
:
true
,
message
:
'请输入公司负责人姓名'
,
trigger
:
'blur'
}],
extLeader_SDK
:
[{
required
:
true
,
message
:
'请输入公司负责人姓名'
,
trigger
:
'blur'
}],
extLeaderPhone_SDK
:
[{
required
:
true
,
message
:
'请输入公司负责人联系电话'
,
trigger
:
'blur'
},
extLeaderPhone_SDK
:
[{
required
:
true
,
message
:
'请输入公司负责人联系电话'
,
trigger
:
'blur'
},
...
@@ -396,7 +399,7 @@ export default {
...
@@ -396,7 +399,7 @@ export default {
}
}
},
},
watch
:
{
watch
:
{
},
},
computed
:
{
computed
:
{
visitedViews
()
{
visitedViews
()
{
...
@@ -429,6 +432,8 @@ export default {
...
@@ -429,6 +432,8 @@ export default {
})
})
},
},
handleSelect
(
value
)
{
handleSelect
(
value
)
{
this
.
formData
.
cityID
=
''
this
.
formData
.
districID
=
''
const
app
=
{
provinceCode
:
value
}
const
app
=
{
provinceCode
:
value
}
this
.
$request
(
Country
.
searchCity
,
app
).
then
((
resp
)
=>
{
this
.
$request
(
Country
.
searchCity
,
app
).
then
((
resp
)
=>
{
this
.
cityOptions
=
resp
.
results
this
.
cityOptions
=
resp
.
results
...
@@ -437,10 +442,12 @@ export default {
...
@@ -437,10 +442,12 @@ export default {
obj
=
this
.
countryOptions
.
find
((
item
)
=>
{
//这里的userList就是上面遍历的数据源
obj
=
this
.
countryOptions
.
find
((
item
)
=>
{
//这里的userList就是上面遍历的数据源
return
item
.
Code
===
value
;
//筛选出匹配数据
return
item
.
Code
===
value
;
//筛选出匹配数据
});
});
this
.
formData
.
extProvinceName_SDK
=
obj
.
Name
//获取的 name
this
.
formData
.
extProvinceName_SDK
=
obj
.
Name
//获取的 name
this
.
formData
.
extProvince_SDK
=
value
//获取的 id
this
.
formData
.
extProvince_SDK
=
value
//获取的 id
},
},
handleSelectCity
(
value
)
{
handleSelectCity
(
value
)
{
this
.
formData
.
districID
=
''
const
app
=
{
cityCode
:
value
}
const
app
=
{
cityCode
:
value
}
this
.
$request
(
Country
.
searchDis
,
app
).
then
((
resp
)
=>
{
this
.
$request
(
Country
.
searchDis
,
app
).
then
((
resp
)
=>
{
this
.
disOptions
=
resp
.
results
this
.
disOptions
=
resp
.
results
...
...
src/views/login/index.vue
View file @
0699494a
...
@@ -348,6 +348,8 @@ export default {
...
@@ -348,6 +348,8 @@ export default {
this
.
loading
=
false
this
.
loading
=
false
this
.
updatePassword
=
false
this
.
updatePassword
=
false
this
.
$router
.
push
({
path
:
'/'
,
query
:
this
.
otherQuery
})
this
.
$router
.
push
({
path
:
'/'
,
query
:
this
.
otherQuery
})
}).
catch
(()
=>
{
this
.
loading
=
false
})
})
}
else
{
}
else
{
this
.
loading
=
false
this
.
loading
=
false
...
@@ -510,10 +512,10 @@ $dark_gray:#889aa4;
...
@@ -510,10 +512,10 @@ $dark_gray:#889aa4;
}
}
}
}
.submit-btn
{
.submit-btn
{
padding
:
0
15px
20px
0
px
;
padding
:
0
0px
20px
45
px
;
.el-button
{
.el-button
{
height
:
40px
;
height
:
40px
;
width
:
33
0px
;
width
:
40
0px
;
}
}
}
}
.el-dialog__body
{
.el-dialog__body
{
...
@@ -524,6 +526,7 @@ $dark_gray:#889aa4;
...
@@ -524,6 +526,7 @@ $dark_gray:#889aa4;
display
:
flex
;
display
:
flex
;
flex-flow
:
wrap
;
flex-flow
:
wrap
;
justify-content
:
center
;
justify-content
:
center
;
margin-left
:
30px
!
important
;
}
}
::v-deep
.el-form-item
{
::v-deep
.el-form-item
{
margin-bottom
:
20px
;
margin-bottom
:
20px
;
...
...
src/views/login/prov-register/index.vue
View file @
0699494a
...
@@ -100,9 +100,9 @@
...
@@ -100,9 +100,9 @@
:offset=
"1"
:offset=
"1"
class=
"padding-bottom"
>
class=
"padding-bottom"
>
<el-form-item
label=
"省份:"
<el-form-item
label=
"省份:"
prop=
"
extProvince_SDK
"
prop=
"
provinceID
"
label-width=
"80px"
>
label-width=
"80px"
>
<el-select
v-model=
"formData.
extProvince_SDK
"
<el-select
v-model=
"formData.
provinceID
"
style=
"width: 91%"
style=
"width: 91%"
filterable
filterable
placeholder=
"请选择省份"
placeholder=
"请选择省份"
...
@@ -118,9 +118,9 @@
...
@@ -118,9 +118,9 @@
<el-col
:span=
"7"
<el-col
:span=
"7"
class=
"padding-bottom"
>
class=
"padding-bottom"
>
<el-form-item
label=
"市:"
<el-form-item
label=
"市:"
prop=
"
extCity_SDK
"
prop=
"
cityID
"
label-width=
"80px"
>
label-width=
"80px"
>
<el-select
v-model=
"formData.
extCity_SDK
"
<el-select
v-model=
"formData.
cityID
"
style=
"width: 91%"
style=
"width: 91%"
filterable
filterable
placeholder=
"请选择市"
placeholder=
"请选择市"
...
@@ -135,9 +135,9 @@
...
@@ -135,9 +135,9 @@
<el-col
:span=
"7"
<el-col
:span=
"7"
class=
"padding-bottom"
>
class=
"padding-bottom"
>
<el-form-item
label=
"区:"
<el-form-item
label=
"区:"
prop=
"
extDistrict_SDK
"
prop=
"
districID
"
label-width=
"80px"
>
label-width=
"80px"
>
<el-select
v-model=
"formData.
extDistrict_SDK
"
<el-select
v-model=
"formData.
districID
"
style=
"width: 91%"
style=
"width: 91%"
filterable
filterable
placeholder=
"请选择区"
placeholder=
"请选择区"
...
@@ -452,7 +452,10 @@ export default {
...
@@ -452,7 +452,10 @@ export default {
return
{
return
{
formData
:
{
formData
:
{
extProductGroup_KUT
:
[],
extProductGroup_KUT
:
[],
extTotalAgent_KUT
:
[]
extTotalAgent_KUT
:
[],
provinceID
:
''
,
cityID
:
''
,
districID
:
''
,
},
},
inputEnter
:
false
,
inputEnter
:
false
,
countryArea
:
''
,
countryArea
:
''
,
...
@@ -471,9 +474,9 @@ export default {
...
@@ -471,9 +474,9 @@ export default {
extSocialUnifiedCreditCode_SDK
:
[{
required
:
true
,
message
:
'请输入统一社会信用代码'
,
trigger
:
'blur'
}],
extSocialUnifiedCreditCode_SDK
:
[{
required
:
true
,
message
:
'请输入统一社会信用代码'
,
trigger
:
'blur'
}],
// extRegisteredCapital_SDK: [{ required: true, message: '请输入注册资本(万元)' }],
// extRegisteredCapital_SDK: [{ required: true, message: '请输入注册资本(万元)' }],
extCorporateName_SDK
:
[{
required
:
true
,
message
:
'请输入法人'
,
trigger
:
'blur'
}],
extCorporateName_SDK
:
[{
required
:
true
,
message
:
'请输入法人'
,
trigger
:
'blur'
}],
extProvince_SDK
:
[{
required
:
true
,
message
:
'请选择省份'
}],
provinceID
:
[{
required
:
true
,
message
:
'请选择省份'
}],
extCity_SDK
:
[{
required
:
true
,
message
:
'请选择市'
}],
cityID
:
[{
required
:
true
,
message
:
'请选择市'
}],
extDistrict_SDK
:
[{
required
:
true
,
message
:
'请选择区'
}],
districID
:
[{
required
:
true
,
message
:
'请选择区'
}],
extAddressDetail_SDK
:
[{
required
:
true
,
message
:
'请输入详细经营地址'
,
trigger
:
'blur'
}],
extAddressDetail_SDK
:
[{
required
:
true
,
message
:
'请输入详细经营地址'
,
trigger
:
'blur'
}],
extLeader_SDK
:
[{
required
:
true
,
message
:
'请输入公司负责人姓名'
,
trigger
:
'blur'
}],
extLeader_SDK
:
[{
required
:
true
,
message
:
'请输入公司负责人姓名'
,
trigger
:
'blur'
}],
extLeaderPhone_SDK
:
[{
required
:
true
,
message
:
'请输入公司负责人联系电话'
,
trigger
:
'blur'
},
extLeaderPhone_SDK
:
[{
required
:
true
,
message
:
'请输入公司负责人联系电话'
,
trigger
:
'blur'
},
...
@@ -563,6 +566,8 @@ export default {
...
@@ -563,6 +566,8 @@ export default {
})
})
},
},
handleSelect
(
value
)
{
handleSelect
(
value
)
{
this
.
formData
.
cityID
=
''
this
.
formData
.
districID
=
''
const
app
=
{
provinceCode
:
value
}
const
app
=
{
provinceCode
:
value
}
this
.
$request
(
Country
.
searchCity
,
app
).
then
((
resp
)
=>
{
this
.
$request
(
Country
.
searchCity
,
app
).
then
((
resp
)
=>
{
this
.
cityOptions
=
resp
.
results
this
.
cityOptions
=
resp
.
results
...
@@ -575,6 +580,7 @@ export default {
...
@@ -575,6 +580,7 @@ export default {
this
.
formData
.
extProvince_SDK
=
value
//获取的 id
this
.
formData
.
extProvince_SDK
=
value
//获取的 id
},
},
handleSelectCity
(
value
)
{
handleSelectCity
(
value
)
{
this
.
formData
.
districID
=
''
const
app
=
{
cityCode
:
value
}
const
app
=
{
cityCode
:
value
}
this
.
$request
(
Country
.
searchDis
,
app
).
then
((
resp
)
=>
{
this
.
$request
(
Country
.
searchDis
,
app
).
then
((
resp
)
=>
{
this
.
disOptions
=
resp
.
results
this
.
disOptions
=
resp
.
results
...
...
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