diff --git a/src/api/config.js b/src/api/config.js index e51593fd..414e5c3b 100644 --- a/src/api/config.js +++ b/src/api/config.js @@ -2,7 +2,7 @@ * @Author: lixg lixg@dongwu-inc.com * @Date: 2022-11-21 14:32:52 * @LastEditors: lixg lixg@dongwu-inc.com - * @LastEditTime: 2022-11-22 20:17:22 + * @LastEditTime: 2022-11-23 09:59:26 * @FilePath: /fe-manage/src/api/config.js * @Description: 这是默认设置,请设置`customMade`, 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE */ @@ -26,7 +26,7 @@ http.interceptors.request.use( const token = localStorage.getItem("token"); if (token) { // config.headers.token = token; - config.headers.token = 123456; //测试1111 + config.headers.token = token; //测试1111 } else { console.log("当前请求页面无token,请执行操作!!!"); diff --git a/src/views/projectcenter/ProjectManage.vue b/src/views/projectcenter/ProjectManage.vue index 19b9b82e..e07e7dba 100644 --- a/src/views/projectcenter/ProjectManage.vue +++ b/src/views/projectcenter/ProjectManage.vue @@ -1055,6 +1055,68 @@ + + +
+
+
+
+
+ 提示 +
+
+
+ 您确定要提交审核吗 +
+
+
+
+
取消
+
+
+
确定
+
+
+
+
+
+ + +
+
+
+
+
+ 提示 +
+
+
+ 您确定要撤回审核吗 +
+
+
+
+
取消
+
+
+
确定
+
+
+
+
+
@@ -1102,6 +1164,9 @@ export default { backModal: false, //撤回弹窗 closeBack: false, //撤回弹窗关闭图标 reminderModal: false, //温馨提示弹窗 + reviewModal: false, //提交审核 + recallReviewModal: false, //撤回审核 + ProjOwnervisible: false, ProjPvisible: false, ProjCheckvisible: false, @@ -2000,6 +2065,28 @@ export default { }); }; + //打开提交审核弹窗 + const showReviewModal = () => { + state.reviewModal = true; + }; + //确认提交审核 + const reviewProject = () => {}; + //关闭提交审核弹窗 + const closeReviewModal = () => { + state.reviewModal = false; + }; + + //打开撤回审核弹窗 + const showRecallReviewModal = () => { + state.recallReviewModal = true; + }; + //确认提交审核 + const recallReviewProject = () => {}; + //关闭提交审核弹窗 + const closeRecallReviewModal = () => { + state.recallReviewModal = false; + }; + // 数据接入 - end - onMounted(() => { @@ -2853,7 +2940,9 @@ export default { {value.record.status === 0 || value.record.status === -2 ? ( {}} + onClick={() => { + showReviewModal(); + }} style="cursor:pointer" class="operation3" > @@ -2861,7 +2950,9 @@ export default { ) : value.record.status === 1 ? ( {}} + onClick={() => { + showRecallReviewModal(); + }} style="cursor:pointer" class="operation3" > @@ -3205,6 +3296,12 @@ export default { showProjCheck, showProjManage, closeProjectPub, + showReviewModal, + reviewProject, + closeReviewModal, + showRecallReviewModal, + recallReviewProject, + closeRecallReviewModal, tableData, columns,