-
-
-
+
+
+
-
+
-
-
+
+
-
-
-
+
+
+ diff --git a/src/api/index.js b/src/api/index.js index 2ccc90d6..1bfecc7f 100644 --- a/src/api/index.js +++ b/src/api/index.js @@ -2,7 +2,7 @@ * @Author: lixg lixg@dongwu-inc.com * @Date: 2022-11-07 17:06:45 * @LastEditors: lixg lixg@dongwu-inc.com - * @LastEditTime: 2022-11-09 09:32:35 + * @LastEditTime: 2022-11-15 16:43:26 * @FilePath: /fe-manage/src/api/index.js * @Description: 这是默认设置,请设置`customMade`, 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE */ @@ -64,8 +64,8 @@ export const handleProject = (obj) => http.post('/admin/project/handle', obj) export const taskStudentList = (obj) => http.post('/admin/project/taskStudentList', obj) - - - //获取讨论信息 export const getDiscussDetail=(obj)=>http.post('/discuss/getDiscussDetail',obj) + +//获取模版列表 +export const getTemplate=(obj)=>http.post('/admin/project/template/list',obj) diff --git a/src/api/method.js b/src/api/method.js index 21d43e0c..4fb3d4ff 100644 --- a/src/api/method.js +++ b/src/api/method.js @@ -165,9 +165,212 @@ function autoComma(number) { const commonData={ timeout:50 } + + +//组织树 +const organizationalTree= [ + { + title: "京东方", + value: "京东方", + children: [ + { + title: "产研部", + value: "产研部", + children: [ + { + title: "产品部", + value: "产品部", + }, + { + title: "研究部", + value: "研究部", + }, + { + title: "研究部2", + value: "研究部2", + }, + { + title: "研究3", + value: "研究3", + }, + { + title: "研究4", + value: "研究4", + }, + { + title: "研究部5", + value: "研究部5", + }, + { + title: "研究部6", + value: "研究部6", + }, + { + title: "研究部7", + value: "研究部7", + }, + { + title: "研究部8", + value: "研究部8", + }, + { + title: "研究部9", + value: "研究部9", + }, + ], + }, + { + title: "二级标题", + value: "二级标题", + children: [ + { + title: "三级标题", + value: "三级标题", + children: [ + { + title: "四级标题", + value: "四级标题", + children: [ + { + title: "五级标题", + value: "五级标题", + children: [ + { + title: "六级标题", + value: "六级标题", + children: [ + { + title: "七级标题", + value: "七级标题", + children: [ + { + title: "八级标题", + value: "八级标题", + children: [ + { + title: "九级标题", + value: "九级标题", + children: [ + { + title: "十级标题", + value: "十级标题", + children: [ + { + title: "十一级标题", + value: "十一级标题", + children: [ + { + title: "十二级标题", + value: "十二级标题", + children: [ + { + title: + "十三级标题十三级标题十三级标题十三级标题", + value: "十三级标题", + children: [ + { + title: + "十四级标题", + value: + "十四级标题", + children: [ + { + title: + "十五级标题", + value: + "十五级标题", + children: [ + { + title: + "十六级标题", + value: + "十六级标题", + children: + [ + { + title: + "十七级标题", + value: + "十七级标题", + children: + [ + { + title: + "十八级标题", + value: + "十八级标题", + children: + [ + { + title: + "十九级标题", + value: + "十九级标题", + children: + [ + { + title: + "二十级标题二十级标题", + value: + "二十级标题二十级标题", + }, + ], + }, + ], + }, + ], + }, + ], + }, + ], + }, + ], + }, + ], + }, + ], + }, + ], + }, + ], + }, + ], + }, + ], + }, + ], + }, + ], + }, + ], + }, + ], + }, + ], + }, + ], + }, + { + title: "人力资源部", + value: "人力资源部", + children: [ + { + title: "人事部", + value: "人事部", + }, + { + title: "行政部", + value: "行政部", + }, + ], + }, + ], + }, +] export { toDate, getWeek, autoComma, commonData, + organizationalTree, } \ No newline at end of file diff --git a/src/components/TwoDimensionalCode.vue b/src/components/TwoDimensionalCode.vue index 4808d440..170693cf 100644 --- a/src/components/TwoDimensionalCode.vue +++ b/src/components/TwoDimensionalCode.vue @@ -7,25 +7,45 @@ :closable="closableQR" wrapClassName="codeModal" style="margin-top: 400px" - :zIndex="9999" + :zIndex="999" @cancel="qr_exit" >