Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
C
confucius
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
罗超
confucius
Commits
15efa7fa
Commit
15efa7fa
authored
Feb 16, 2022
by
zhengke
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改
parent
51b7815f
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
162 additions
and
5 deletions
+162
-5
student-left.vue
src/components/school/student/student-left.vue
+3
-3
stuAbroad.vue
src/pages/system/stuAbroad.vue
+153
-0
stuManageConfig.vue
src/pages/system/stuManageConfig.vue
+6
-2
No files found.
src/components/school/student/student-left.vue
View file @
15efa7fa
...
...
@@ -100,7 +100,7 @@
</div>
</div>
</div>
<div
class=
"customer_info_component"
v-if=
"BelongType==3"
>
<
!--
<
div
class=
"customer_info_component"
v-if=
"BelongType==3"
>
<div
class=
"customer_info_Stage"
>
<div
class=
"stage_label"
>
客户电话
...
...
@@ -111,8 +111,8 @@
</q-input>
</div>
</div>
</div>
<div
class=
"customer_info_component"
v-else
>
</div>
-->
<div
class=
"customer_info_component"
>
<div
class=
"customer_info_Stage"
>
<div
class=
"stage_label"
>
客户电话
...
...
src/pages/system/stuAbroad.vue
0 → 100644
View file @
15efa7fa
<
template
>
<div>
<q-card
flat
class=
"q-pa-lg q-my-lg"
v-loading=
"loading"
>
<div
class=
"text-h6 text-weight-bold"
>
分配给以下部门/成员
</div>
<div
class=
"text-subtitle1 text-weight-bold q-my-md"
>
<span>
适用部门/成员
</span>
<span
class=
"text-negative"
>
*
</span>
</div>
<div
class=
"q-mb-md row"
>
<div
class=
"col"
>
<q-btn
outline
color=
"primary"
class=
"q-px-lg"
@
click=
"outerVisible = true"
>
选择部门/成员
</q-btn>
</div>
<div
class=
"col"
>
已选择:
{{
chosenUser
.
length
}}
人
</div>
</div>
<div
class=
"q-mb-xl"
>
<q-badge
color=
"primary"
class=
"q-mr-md"
v-for=
"(x, i) in chosenUser"
:key=
"i"
>
{{
x
.
DeptName
}}
</q-badge>
</div>
<q-select
filled
v-model=
"multiCheck"
multiple
option-value=
"Id"
option-label=
"Name"
:options=
"NeedData"
label=
"客户需求"
style=
"width: 300px"
emit-value
map-options
/>
<q-btn
class=
"q-mt-xl q-px-lg"
unelevated
color=
"primary"
:loading=
"saving"
@
click=
"saveHandler"
>
立即保存
</q-btn>
</q-card>
<choiceapproval
v-if=
"outerVisible"
@
close=
"getclose()"
@
success=
"getsuccess2"
:byval=
"chosenUser"
cptype=
"0"
>
</choiceapproval>
</div>
</
template
>
<
script
>
import
choiceapproval
from
"../../components/enterprise/choiceapproval"
;
import
{
getDictValueList
}
from
"../../api/administration/administration"
;
import
{
saveDict
}
from
"../../api/system/notiveSysSet"
;
import
{
GetNeedsList
}
from
"../../api/school/index"
;
export
default
{
components
:
{
choiceapproval
},
data
()
{
return
{
chosenUser
:
[],
outerVisible
:
false
,
saving
:
false
,
loading
:
false
,
dictObjEmp
:
{},
dictObjRule
:
{},
multiCheck
:
[],
NeedData
:
[]
//多选
};
},
created
()
{
this
.
getGetNeedsList
();
this
.
init
();
},
methods
:
{
//获取客户需求
getGetNeedsList
()
{
GetNeedsList
().
then
(
res
=>
{
if
(
res
.
Code
==
1
)
{
this
.
NeedData
=
res
.
Data
;
}
});
},
getclose
()
{
// 企业关闭
this
.
ismember
=
false
;
this
.
outerVisible
=
false
;
},
getsuccess2
(
list
,
type
)
{
this
.
chosenUser
=
list
;
this
.
outerVisible
=
false
;
},
init
()
{
this
.
loading
=
true
;
getDictValueList
({
Key
:
"PUSH_STU_STUDYABROAD"
}).
then
(
res
=>
{
this
.
loading
=
false
;
if
(
res
.
Code
==
1
)
{
if
(
res
.
Data
&&
res
.
Data
.
length
>
0
)
{
this
.
dictObjEmp
=
res
.
Data
[
0
];
if
(
res
.
Data
[
0
].
Content
!=
""
&&
res
.
Data
[
0
].
Content
!=
null
)
{
let
tempVal
=
res
.
Data
[
0
].
Content
.
split
(
","
);
let
tempLabel
=
res
.
Data
[
0
].
Mask
.
split
(
","
);
tempVal
.
forEach
((
x
,
i
)
=>
{
let
temp
=
{
DeptId
:
x
,
DeptName
:
tempLabel
[
i
]
};
this
.
chosenUser
.
push
(
temp
);
});
}
}
}
});
},
saveHandler
()
{
if
(
this
.
chosenUser
.
length
>
0
)
{
this
.
saving
=
true
;
let
contentTemp
=
""
;
let
maskTemp
=
""
;
this
.
chosenUser
.
forEach
(
x
=>
{
contentTemp
+=
","
+
x
.
DeptId
;
maskTemp
+=
","
+
x
.
DeptName
;
});
this
.
dictObjEmp
.
Content
=
contentTemp
.
substring
(
1
);
this
.
dictObjEmp
.
Mask
=
maskTemp
.
substring
(
1
);
if
(
this
.
multiCheck
&&
this
.
multiCheck
.
length
>
0
)
{
this
.
dictObjEmp
.
Code
=
this
.
multiCheck
.
toString
()
}
this
.
dictObjEmp
.
Key
=
'PUSH_STU_STUDYABROAD'
saveDict
(
this
.
dictObjEmp
).
then
(
r
=>
{
this
.
saving
=
false
;
if
(
r
.
Code
==
1
)
{
setTimeout
(()
=>
{
saveDict
(
this
.
dictObjRule
).
then
(
res
=>
{
if
(
r
.
Code
==
1
)
{
this
.
$q
.
notify
({
icon
:
"iconfont icon-chenggong"
,
color
:
"accent"
,
timeout
:
2000
,
message
:
"数据保存成功!"
,
position
:
"top"
});
}
this
.
saving
=
false
;
});
},
1000
);
}
else
{
this
.
saving
=
false
;
}
});
}
else
{
this
.
$q
.
notify
({
icon
:
""
,
color
:
"negative"
,
timeout
:
2000
,
message
:
"请选择适用的部门成员"
,
position
:
"top"
});
}
}
}
};
</
script
>
<
style
></
style
>
src/pages/system/stuManageConfig.vue
View file @
15efa7fa
...
...
@@ -12,9 +12,10 @@
<q-tab
:ripple=
"false"
:name=
"3"
label=
"学习目的"
/>
<q-tab
:ripple=
"false"
:name=
"4"
label=
"收客渠道"
/>
<q-tab
:ripple=
"false"
:name=
"5"
label=
"客户需求"
></q-tab>
<q-tab
:ripple=
"false"
:name=
"6"
label=
"客户分配规则"
></q-tab>
<q-tab
:ripple=
"false"
:name=
"6"
label=
"
语培
客户分配规则"
></q-tab>
<q-tab
:ripple=
"false"
:name=
"7"
label=
"目标管理"
></q-tab>
<q-tab
:ripple=
"false"
:name=
"8"
label=
"跟进状态"
></q-tab>
<q-tab
:ripple=
"false"
:name=
"9"
label=
"留学客户分配规则"
></q-tab>
</q-tabs>
<stage
v-if=
"tabCheck == 1"
></stage>
<cusType
v-if=
"tabCheck == 2"
></cusType>
...
...
@@ -24,6 +25,7 @@
<stu-distribution-rule
v-if=
"tabCheck == 6"
></stu-distribution-rule>
<stuTarget
v-if=
"tabCheck==7"
></stuTarget>
<stuFlow
v-if=
"tabCheck==8"
></stuFlow>
<stuAbroad
v-if=
"tabCheck==9"
></stuAbroad>
</div>
</
template
>
<
script
>
...
...
@@ -35,6 +37,7 @@ import customneed from "./customneed";
import
stuDistributionRule
from
"./stuDistributionRule"
;
import
stuTarget
from
"./stuTarget"
;
import
stuFlow
from
"./stuFlow"
;
import
stuAbroad
from
"./stuAbroad"
;
export
default
{
components
:
{
stage
,
...
...
@@ -44,7 +47,8 @@ export default {
customneed
,
stuDistributionRule
,
stuTarget
,
stuFlow
stuFlow
,
stuAbroad
},
data
()
{
return
{
...
...
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