Commit cca2d31e authored by 赵茹林's avatar 赵茹林

Merge branch 'dev' into pre

parents b1c11652 83b530ea
...@@ -37,7 +37,9 @@ ...@@ -37,7 +37,9 @@
<template slot-scope="scope"> <template slot-scope="scope">
<el-input <el-input
type="number" type="number"
v-model.number="scope.row.scale"></el-input> v-model.number="scope.row.scale">
<template slot="append">%</template>
</el-input>
</template> </template>
</el-table-column> </el-table-column>
......
This diff is collapsed.
...@@ -19,15 +19,17 @@ ...@@ -19,15 +19,17 @@
<div class="tag-tree"> <div class="tag-tree">
<el-tree <el-tree
:indent="40"
:data="treeData" :data="treeData"
node-key="id" ref="tagTree" node-key="id" ref="tagTree"
:props="{children: 'children', label: 'name'}" :props="{children: 'children', label: 'name'}"
:indent="40"
@node-expand="tagExpand" @node-expand="tagExpand"
@node-collapse="tagCollapse" @node-collapse="tagCollapse"
:filter-node-method="filterNode" :filter-node-method="filterNode"
:default-expanded-keys="tagExpanded" :default-expanded-keys="tagExpanded"
:expand-on-click-node="true"> :expand-on-click-node="true">
<!--:check-on-click-node="true"
:check-strictly="true"-->
<div class="custom-tree-node" slot-scope="{ node, data }"> <div class="custom-tree-node" slot-scope="{ node, data }">
<el-tag class="tag-tree-item" effect="plain" size="medium">{{node.label}}</el-tag> <el-tag class="tag-tree-item" effect="plain" size="medium">{{node.label}}</el-tag>
<div style="display: flex"> <div style="display: flex">
......
This diff is collapsed.
...@@ -71,6 +71,10 @@ export const getCallBackApi = function (json) { ...@@ -71,6 +71,10 @@ export const getCallBackApi = function (json) {
// console.log(json, 9001) // console.log(json, 9001)
return Vue.prototype.$fetch(`${_baseUrl}api/admin/user/visit/${json.user_id}`, json) 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) { export const postCallBackApi = function (json) {
return Vue.prototype.$post(`${_baseUrl}api/admin/user/visit/${json.user_id}/${json.teacher_id}`, json) return Vue.prototype.$post(`${_baseUrl}api/admin/user/visit/${json.user_id}/${json.teacher_id}`, json)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment