Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Sign in
Toggle navigation
A
admin-base
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
new-sing
admin-base
Commits
cca2d31e
Commit
cca2d31e
authored
Aug 28, 2019
by
赵茹林
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'dev' into pre
parents
b1c11652
83b530ea
Changes
5
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
227 additions
and
135 deletions
+227
-135
index.vue
src/components/brokerage/index.vue
+3
-1
index.vue
src/components/callBack/index.vue
+124
-52
tag.vue
src/components/system/tag.vue
+3
-1
index.vue
src/components/user/index.vue
+93
-81
api.js
src/service/api.js
+4
-0
No files found.
src/components/brokerage/index.vue
View file @
cca2d31e
...
...
@@ -37,7 +37,9 @@
<
template
slot-scope=
"scope"
>
<el-input
type=
"number"
v-model
.
number=
"scope.row.scale"
></el-input>
v-model
.
number=
"scope.row.scale"
>
<template
slot=
"append"
>
%
</
template
>
</el-input>
</template>
</el-table-column>
...
...
src/components/callBack/index.vue
View file @
cca2d31e
This diff is collapsed.
Click to expand it.
src/components/system/tag.vue
View file @
cca2d31e
...
...
@@ -19,15 +19,17 @@
<div
class=
"tag-tree"
>
<el-tree
:indent=
"40"
:data=
"treeData"
node-key=
"id"
ref=
"tagTree"
:props=
"
{children: 'children', label: 'name'}"
:indent="40"
@node-expand="tagExpand"
@node-collapse="tagCollapse"
:filter-node-method="filterNode"
:default-expanded-keys="tagExpanded"
:expand-on-click-node="true">
<!--:check-on-click-node="true"
:check-strictly="true"-->
<div
class=
"custom-tree-node"
slot-scope=
"
{ node, data }">
<el-tag
class=
"tag-tree-item"
effect=
"plain"
size=
"medium"
>
{{
node
.
label
}}
</el-tag>
<div
style=
"display: flex"
>
...
...
src/components/user/index.vue
View file @
cca2d31e
This diff is collapsed.
Click to expand it.
src/service/api.js
View file @
cca2d31e
...
...
@@ -71,6 +71,10 @@ export const getCallBackApi = function (json) {
// console.log(json, 9001)
return
Vue
.
prototype
.
$fetch
(
`
${
_baseUrl
}
api/admin/user/visit/
${
json
.
user_id
}
`
,
json
)
};
// 获取上次回访信息
export
const
getCallBackPrevApi
=
function
(
json
)
{
return
Vue
.
prototype
.
$fetch
(
`
${
_baseUrl
}
user/last/visit/
${
json
.
user_id
}
`
,
json
)
};
// 添加回访信息
export
const
postCallBackApi
=
function
(
json
)
{
return
Vue
.
prototype
.
$post
(
`
${
_baseUrl
}
api/admin/user/visit/
${
json
.
user_id
}
/
${
json
.
teacher_id
}
`
,
json
)
...
...
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