diff --git a/.gitignore b/.gitignore index 874e8730..25932e2d 100644 --- a/.gitignore +++ b/.gitignore @@ -23,6 +23,4 @@ pnpm-debug.log* *.sln *.sw? node_modules -node_modules -node_modules -node_modules +/dist diff --git a/dist.zip b/dist.zip deleted file mode 100644 index 9f0cff2b..00000000 Binary files a/dist.zip and /dev/null differ diff --git a/src/api/home.js b/src/api/home.js index aa38c6c8..477e1105 100644 --- a/src/api/home.js +++ b/src/api/home.js @@ -1,7 +1,7 @@ import axios from "@/utils/request"; let baseUrlZc = 'https://api.xayunmei.com/zhongcaiapi'; -let baseUrl = 'https://api.xayunmei.com/tiaojieapi'; -// let baseUrl = 'http://172.16.1.4:6001'; +// let baseUrl = 'https://api.xayunmei.com/tiaojieapi'; +let baseUrl = 'http://172.16.1.26:6001'; // 获取usersig export function getUsersig(userId) { let appType = sessionStorage.getItem('type'); @@ -33,4 +33,16 @@ export function reserveConferenceList(caseId) { //根据id查询密文信息 export function getEncryptInfoByid(caseId) { return axios.get(`${baseUrl}/shortMessage/getMeetingInfo?authId=${caseId}`); -} \ No newline at end of file +} +// 案件列表 +export function caseApplicationList(param) { + return axios.get(`${baseUrl}/caseApplication/list?caseId=${param}`); + } +// 签收案件 +export function msCaseSign(data) { + return axios.post(`${baseUrl}/mssignSeal/msCaseSign`, data); +} +//根据案件id获取附件 +export function fileList(caseAppliId,annexTypeList) { + return axios.get(`${baseUrl}/common/fileList?caseAppliId=${caseAppliId}&annexTypeList=${annexTypeList}`); + } \ No newline at end of file diff --git a/src/router/index.js b/src/router/index.js index 3fcc9a59..89aca555 100644 --- a/src/router/index.js +++ b/src/router/index.js @@ -22,23 +22,17 @@ const routes = [ meta: { title: "房间" } }, { - path: "/onlyOffice", - name: "onlyOffice", - component: () => import("../views/onlyOffice.vue"), - meta: { title: "在线文档" } - }, - { - path: "/test", - name: "test", - component: () => import("../views/test.vue"), - meta: { title: "test" } - }, - { - path: "/testRoom", - name: "testRoom", - component: () => import("../views/testRoom.vue"), - meta: { title: "testRoom" } - } + path:"/onlyOffice", + name:"onlyOffice", + component:()=>import("../views/onlyOffice.vue"), + meta:{title:"在线文档"} + }, + { + path:"/signFor", + name:"signFor", + component:()=>import("../views/signFor.vue"), + meta:{title:"在线签收"} + } ] const router = new VueRouter({ diff --git a/src/utils/request.js b/src/utils/request.js index 182427c0..6ee9e2de 100644 --- a/src/utils/request.js +++ b/src/utils/request.js @@ -13,7 +13,7 @@ const server = axios.create({ server.interceptors.request.use(config => { // config包含了请求相关的所有信息 // 可以同过config对象给请求配置或者修改信息 - config.headers.Authorization = sessionStorage.getItem('token'); + config.headers.Authorization = 'Bearer ' + sessionStorage.getItem('token'); return config // 将配置完成的token返回 如果不返回 请求不会继续进行 }, err => { // 请求发生错误时的回调函数 diff --git a/src/views/room.vue b/src/views/room.vue index 87da1efe..4627f64d 100644 --- a/src/views/room.vue +++ b/src/views/room.vue @@ -47,12 +47,7 @@
{{ userId }}
-
+
{{ item }}
@@ -60,59 +55,26 @@
-
- - 申请人上传证据 + "> + + 申请人上传证据 - - 被申请人上传证据 + + 被申请人上传证据 - - 上传调解书 + + 上传调解书
@@ -151,25 +113,13 @@
- - 确认修改内容 + + 确认修改内容
- + - + - - - \ No newline at end of file + \ No newline at end of file diff --git a/src/views/signFor.vue b/src/views/signFor.vue new file mode 100644 index 00000000..b4f542f5 --- /dev/null +++ b/src/views/signFor.vue @@ -0,0 +1,141 @@ + + + + + \ No newline at end of file