|
@@ -25,9 +25,7 @@ export default {
|
|
|
const res = await getTemplateList({
|
|
|
current: 1,
|
|
|
size: 8,
|
|
|
- departmentId: uni.getStorageSync("userInfo").deptIdList
|
|
|
- ? uni.getStorageSync("userInfo").deptIdList[uni.getStorageSync("userInfo").deptIdList.length - 1]
|
|
|
- : undefined
|
|
|
+ departmentId: uni.getStorageSync("userInfo").deptId
|
|
|
});
|
|
|
this.templateList = res.data.records || [];
|
|
|
for (const [index, item] of this.templateList.entries()) {
|