mirror of
https://gitee.com/lab1024/smart-admin.git
synced 2025-09-17 19:06:39 +08:00
v1.1.0
This commit is contained in:
parent
d53f271fc1
commit
e486c1ff33
34
README.md
34
README.md
@ -25,32 +25,32 @@ gitee: [https://gitee.com/lab1024/smart-admin](https://gitee.com/lab1024/smart-
|
|||||||
#### 演示图
|
#### 演示图
|
||||||
<table>
|
<table>
|
||||||
<tr>
|
<tr>
|
||||||
<td><img src="http://q8expnedf.bkt.clouddn.com/cut/1.1.0/11.png"/></td>
|
<td><img src="http://img.zhuoluodada.cn/cut/1.1.0/11.png"/></td>
|
||||||
<td><img src="http://q8expnedf.bkt.clouddn.com/cut/1.1.0/12.png"/></td>
|
<td><img src="http://img.zhuoluodada.cn/cut/1.1.0/12.png"/></td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<td><img src="http://q8expnedf.bkt.clouddn.com/cut/1.1.0/11.png"/></td>
|
<td><img src="http://img.zhuoluodada.cn/cut/1.1.0/11.png"/></td>
|
||||||
<td><img src="http://q8expnedf.bkt.clouddn.com/cut/1.1.0/21.png"/></td>
|
<td><img src="http://img.zhuoluodada.cn/cut/1.1.0/21.png"/></td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<td><img src="http://q8expnedf.bkt.clouddn.com/cut/1.1.0/31.png"/></td>
|
<td><img src="http://img.zhuoluodada.cn/cut/1.1.0/31.png"/></td>
|
||||||
<td><img src="http://q8expnedf.bkt.clouddn.com/cut/1.1.0/32.png"/></td>
|
<td><img src="http://img.zhuoluodada.cn/cut/1.1.0/32.png"/></td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<td><img src="http://q8expnedf.bkt.clouddn.com/cut/1.1.0/41.png"/></td>
|
<td><img src="http://img.zhuoluodada.cn/cut/1.1.0/41.png"/></td>
|
||||||
<td><img src="http://q8expnedf.bkt.clouddn.com/cut/1.1.0/42.png"/></td>
|
<td><img src="http://img.zhuoluodada.cn/cut/1.1.0/42.png"/></td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<td><img src="http://q8expnedf.bkt.clouddn.com/cut/1.1.0/51.png"/></td>
|
<td><img src="http://img.zhuoluodada.cn/cut/1.1.0/51.png"/></td>
|
||||||
<td><img src="http://q8expnedf.bkt.clouddn.com/cut/1.1.0/52.png"/></td>
|
<td><img src="http://img.zhuoluodada.cn/cut/1.1.0/52.png"/></td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<td><img src="http://q8expnedf.bkt.clouddn.com/cut/1.1.0/61.png"/></td>
|
<td><img src="http://img.zhuoluodada.cn/cut/1.1.0/61.png"/></td>
|
||||||
<td><img src="http://q8expnedf.bkt.clouddn.com/cut/1.1.0/62.png"/></td>
|
<td><img src="http://img.zhuoluodada.cn/cut/1.1.0/62.png"/></td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<td><img src="http://q8expnedf.bkt.clouddn.com/cut/1.1.0/71.png"/></td>
|
<td><img src="http://img.zhuoluodada.cn/cut/1.1.0/71.png"/></td>
|
||||||
<td><img src="http://q8expnedf.bkt.clouddn.com/cut/1.1.0/72.png"/></td>
|
<td><img src="http://img.zhuoluodada.cn/cut/1.1.0/72.png"/></td>
|
||||||
</tr>
|
</tr>
|
||||||
</table>
|
</table>
|
||||||
|
|
||||||
@ -111,8 +111,8 @@ SmartAdmin微信群(**加我微信拉你入群!**)
|
|||||||
|
|
||||||
<table>
|
<table>
|
||||||
<tr>
|
<tr>
|
||||||
<td><img src="http://q8expnedf.bkt.clouddn.com/wechat/zhuoda-wechat.jpg"/></td>
|
<td><img src="http://img.zhuoluodada.cn/wechat/zhuoda-wechat.jpg"/></td>
|
||||||
<td><img src="http://q8expnedf.bkt.clouddn.com/qq/smart-admin-qq-group.png"/></td>
|
<td><img src="http://img.zhuoluodada.cn/qq/smart-admin-qq-group.png"/></td>
|
||||||
</tr>
|
</tr>
|
||||||
</table>
|
</table>
|
||||||
|
|
||||||
@ -122,7 +122,7 @@ SmartAdmin微信群(**加我微信拉你入群!**)
|
|||||||
>*佛祖保佑捐赠这些人写程序永无bug,工资翻倍,迎娶白富美,走上人生巅峰!*
|
>*佛祖保佑捐赠这些人写程序永无bug,工资翻倍,迎娶白富美,走上人生巅峰!*
|
||||||
<table>
|
<table>
|
||||||
<tr>
|
<tr>
|
||||||
<td><img src="http://q8expnedf.bkt.clouddn.com/wechat/zhuoda-wechat-money-v1.jpg"/></td>
|
<td><img src="http://img.zhuoluodada.cn/wechat/zhuoda-wechat-money-v1.jpg"/></td>
|
||||||
</tr>
|
</tr>
|
||||||
</table>
|
</table>
|
||||||
|
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
import { postAxios, getAxios } from '@/lib/http';
|
import { postAxios, getAxios, getDownloadAxios} from '@/lib/http';
|
||||||
import config from '@/config';
|
import config from '@/config';
|
||||||
const baseUrl = config.baseUrl.apiUrl;
|
const baseUrl = config.baseUrl.apiUrl;
|
||||||
export const fileApi = {
|
export const fileApi = {
|
||||||
@ -8,7 +8,7 @@ export const fileApi = {
|
|||||||
},
|
},
|
||||||
// 系统文件下载通过接口
|
// 系统文件下载通过接口
|
||||||
downLoadFile: id => {
|
downLoadFile: id => {
|
||||||
return getAxios('/api/file/downLoad?id=' + id);
|
return getDownloadAxios('/api/file/downLoad?id=' + id);
|
||||||
},
|
},
|
||||||
// 文件上传
|
// 文件上传
|
||||||
fileUpload: (type, data) => {
|
fileUpload: (type, data) => {
|
||||||
|
@ -112,6 +112,10 @@ export const postFileUploadAxios = (url, data) => {
|
|||||||
return axios.post(url, data, { headers: { 'Content-Type': 'multipart/form-data' } });
|
return axios.post(url, data, { headers: { 'Content-Type': 'multipart/form-data' } });
|
||||||
};
|
};
|
||||||
|
|
||||||
|
export const getDownloadAxios = (url) => {
|
||||||
|
return axios.get(url, { responseType: 'blob' });
|
||||||
|
};
|
||||||
|
|
||||||
export const postDownloadAxios = (url, data) => {
|
export const postDownloadAxios = (url, data) => {
|
||||||
return axios.post(url, data, { responseType: 'blob' });
|
return axios.post(url, data, { responseType: 'blob' });
|
||||||
};
|
};
|
||||||
|
@ -5,11 +5,11 @@
|
|||||||
<Input
|
<Input
|
||||||
@on-change="filterEmployee"
|
@on-change="filterEmployee"
|
||||||
placeholder="请输入员工名称"
|
placeholder="请输入员工名称"
|
||||||
style="max-width: 300px"
|
style="max-width: 300px;position:fixed;z-index:9999"
|
||||||
v-if="!isDepartment"
|
v-if="!isDepartment"
|
||||||
v-model="searchKeywords"
|
v-model="searchKeywords"
|
||||||
/>
|
/>
|
||||||
<Tree :data="treeData"></Tree>
|
<Tree style="margin-top:40px" :data="treeData"></Tree>
|
||||||
</Col>
|
</Col>
|
||||||
</Row>
|
</Row>
|
||||||
</div>
|
</div>
|
||||||
|
@ -86,7 +86,7 @@
|
|||||||
style="overflow-y:scroll;height: 290px;text-align: center"
|
style="overflow-y:scroll;height: 290px;text-align: center"
|
||||||
>
|
>
|
||||||
<Row :key="index" v-for="(item,index) in prepAddEmployees">
|
<Row :key="index" v-for="(item,index) in prepAddEmployees">
|
||||||
<Col span="24" style="font-size: 15px;text-align: center;">
|
<Col span="24" style="font-size: 15px;text-align: left;">
|
||||||
<icon type="ios-people"></icon>
|
<icon type="ios-people"></icon>
|
||||||
{{item.manageName}}
|
{{item.manageName}}
|
||||||
<Button @click.native="deletePrepEmployee(index)" icon="md-close" type="text"></Button>
|
<Button @click.native="deletePrepEmployee(index)" icon="md-close" type="text"></Button>
|
||||||
|
Loading…
Reference in New Issue
Block a user