Showing
2 changed files
with
16 additions
and
1 deletions
| ... | @@ -28,3 +28,14 @@ export function getDmFlowInformation(data) { | ... | @@ -28,3 +28,14 @@ export function getDmFlowInformation(data) { |
| 28 | method: 'post', | 28 | method: 'post', |
| 29 | }) | 29 | }) |
| 30 | } | 30 | } |
| 31 | + | ||
| 32 | +//运单日志查询 | ||
| 33 | +/** | ||
| 34 | + * @param accsId accsid * | ||
| 35 | + */ | ||
| 36 | +export function findCargoDataChangeLog(data) { | ||
| 37 | + return request({ | ||
| 38 | + url: '/cargo/findCargoDataChangeLog?accsId=' + data, | ||
| 39 | + method: 'post', | ||
| 40 | + }) | ||
| 41 | +} | ||
| ... | \ No newline at end of file | ... | \ No newline at end of file | ... | ... |
| ... | @@ -22,7 +22,7 @@ | ... | @@ -22,7 +22,7 @@ |
| 22 | <el-col :span="24"> | 22 | <el-col :span="24"> |
| 23 | <el-form-item label="角色权限:" prop="menuIdList"> | 23 | <el-form-item label="角色权限:" prop="menuIdList"> |
| 24 | <el-tree ref="tree" :data="treeData" node-key="id" :props="defaultProps" :show-checkbox="true" | 24 | <el-tree ref="tree" :data="treeData" node-key="id" :props="defaultProps" :show-checkbox="true" |
| 25 | - :default-checked-keys="roleData.menuIds" accordion> | 25 | + :default-checked-keys="roleData.menuIds" accordion v-loading="treeLoading"> |
| 26 | </el-tree> | 26 | </el-tree> |
| 27 | </el-form-item> | 27 | </el-form-item> |
| 28 | </el-col> | 28 | </el-col> |
| ... | @@ -65,6 +65,7 @@ export default { | ... | @@ -65,6 +65,7 @@ export default { |
| 65 | }, | 65 | }, |
| 66 | treeData: [], | 66 | treeData: [], |
| 67 | loading: false, | 67 | loading: false, |
| 68 | + treeLoading: false, | ||
| 68 | defaultProps: { | 69 | defaultProps: { |
| 69 | children: "children", | 70 | children: "children", |
| 70 | label: "title", | 71 | label: "title", |
| ... | @@ -96,8 +97,10 @@ export default { | ... | @@ -96,8 +97,10 @@ export default { |
| 96 | methods: { | 97 | methods: { |
| 97 | //权限列表 | 98 | //权限列表 |
| 98 | allAuth() { | 99 | allAuth() { |
| 100 | + this.treeLoading = true | ||
| 99 | getAllAuth() | 101 | getAllAuth() |
| 100 | .then((res) => { | 102 | .then((res) => { |
| 103 | + this.treeLoading = false | ||
| 101 | if (res.code === 200) { | 104 | if (res.code === 200) { |
| 102 | this.treeData = this.treeDataInfo(res.data); | 105 | this.treeData = this.treeDataInfo(res.data); |
| 103 | } else { | 106 | } else { |
| ... | @@ -105,6 +108,7 @@ export default { | ... | @@ -105,6 +108,7 @@ export default { |
| 105 | } | 108 | } |
| 106 | }) | 109 | }) |
| 107 | .catch((err) => { | 110 | .catch((err) => { |
| 111 | + this.treeLoading = false | ||
| 108 | console.log(err); | 112 | console.log(err); |
| 109 | }); | 113 | }); |
| 110 | }, | 114 | }, | ... | ... |
-
Please register or login to post a comment