修改测试bug

This commit is contained in:
gyj
2024-04-25 18:16:07 +08:00
parent 38c750d711
commit 8081c417a4
11 changed files with 37 additions and 10 deletions
BIN
View File
Binary file not shown.
File diff suppressed because one or more lines are too long
BIN
View File
Binary file not shown.

Before

Width:  |  Height:  |  Size: 4.2 KiB

Binary file not shown.
Binary file not shown.
-1
View File
@@ -1 +0,0 @@
<!doctype html><html lang=""><head><meta charset="utf-8"><meta http-equiv="X-UA-Compatible" content="IE=edge"><meta name="viewport" content="width=device-width,initial-scale=1"><link rel="icon" href="/favicon.ico"><title>nouiroom</title><script defer="defer" src="/js/chunk-vendors.5307e452.js"></script><script defer="defer" src="/js/app.7dd34254.js"></script><link href="/css/chunk-vendors.10dd4e95.css" rel="stylesheet"><link href="/css/app.b59bb92e.css" rel="stylesheet"></head><body><noscript><strong>We're sorry but nouiroom doesn't work properly without JavaScript enabled. Please enable it to continue.</strong></noscript><div id="app"></div></body></html>
+1 -1
View File
@@ -1,6 +1,6 @@
import axios from "@/utils/request"; import axios from "@/utils/request";
// let baseUrlZc = 'https://api.xayunmei.com/zhongcaiapi'; // let baseUrlZc = 'https://api.xayunmei.com/zhongcaiapi';
let baseUrl = 'https://api.xayunmei.com/tiaojieapitest'; // let baseUrl = 'https://api.xayunmei.com/tiaojieapitest';
// let baseUrl = 'http://172.16.1.4:6001'; // let baseUrl = 'http://172.16.1.4:6001';
// 获取usersig // 获取usersig
export function getUsersig(userId) { export function getUsersig(userId) {
+6
View File
@@ -38,6 +38,12 @@ const routes = [
name: "testRoom", name: "testRoom",
component: () => import("../views/testRoom.vue"), component: () => import("../views/testRoom.vue"),
meta: { title: "testRoom" } meta: { title: "testRoom" }
},
{
path: "/sign",
name: "signFor",
component: () => import("../views/signFor.vue"),
meta: { title: "signFor" }
} }
] ]
+5 -4
View File
@@ -289,7 +289,7 @@
</el-form> </el-form>
</div> </div>
<div> <div>
<el-button style="width:100%;" type="primary" @click="determineMeeting">确定</el-button> <el-button style="width:100%;" type="primary" @click="determineMeeting" :disabled="!updataFlag">确定</el-button>
</div> </div>
</el-drawer> </el-drawer>
</div> </div>
@@ -583,8 +583,8 @@ export default {
// setInterval(() => { // setInterval(() => {
// this.selectByIdFn(this.caseId); // this.selectByIdFn(this.caseId);
// }, 8000); // }, 8000);
this.selectRoleMenuByCaseIdFn(this.caseId); // this.selectRoleMenuByCaseIdFn(this.caseId);
this.getMenuPermsByUserFn(); // this.getMenuPermsByUserFn();
}, },
/** 获取证据列表 */ /** 获取证据列表 */
selectByIdFn(id) { selectByIdFn(id) {
@@ -755,7 +755,8 @@ export default {
setInterval(() => { setInterval(() => {
this.selectByIdFn(this.caseId); this.selectByIdFn(this.caseId);
}, 8000); }, 8000);
console.log("iiiiiiiiiiiiiiiiiiiiiiiiiiii"); this.selectRoleMenuByCaseIdFn(this.caseId);
this.getMenuPermsByUserFn();
}, },
// 确定会议结果 // 确定会议结果
determineMeeting(){ determineMeeting(){
+6 -2
View File
@@ -43,12 +43,14 @@
<hr> <hr>
<el-row style="height: 40px;line-height: 40px;text-align: center;"> <el-row style="height: 40px;line-height: 40px;text-align: center;">
<el-col :span="7"><div>调解书</div></el-col> <el-col :span="7"><div>调解书</div></el-col>
<el-col :span="15"><div v-for="(item,index) in fileList" :key="index" style="color: blue; cursor: pointer" @click="toPreview(item.annexPath)">{{ item.annexName }}</div></el-col> <el-col :span="15"><div v-for="(item,index) in fileList" :key="index" style="color: blue; cursor: pointer" @click="toPreview(item.annexPath)">
<span v-if="item.annexType==13">{{ item.annexName }}</span>
</div></el-col>
</el-row> </el-row>
<hr> <hr>
<el-row> <el-row>
<el-col :span="24"> <el-col :span="24">
<div style="width: 90px; margin: 30px auto;"> <div style="width: 90px; margin: 30px auto;" v-if="dataList.signFlag==1">
<el-button type="primary" @click="getMsCaseSign(caseId)" v-if="showSign" icon="el-icon-edit">签收</el-button> <el-button type="primary" @click="getMsCaseSign(caseId)" v-if="showSign" icon="el-icon-edit">签收</el-button>
</div> </div>
</el-col> </el-col>
@@ -91,7 +93,9 @@ export default {
await caseApplicationList(params).then(res =>{ await caseApplicationList(params).then(res =>{
res.rows.forEach(item => { res.rows.forEach(item => {
this.dataList = item; this.dataList = item;
}); });
console.log( this.dataList.signFlag)
}) })
}, },
// 案件签收 // 案件签收
+19 -1
View File
@@ -4,7 +4,17 @@ module.exports = defineConfig({
devServer: { devServer: {
proxy: { proxy: {
'/tiaojie': { '/tiaojie': {
target: 'https://api.xayunmei.com/tiaojieapitest', // 后端服务器地址 // target: 'https://api.xayunmei.com/tiaojieapitest', // 后端服务器地址
target: 'http://172.16.1.26:6001',
changeOrigin: true, // 是否改变Origin头信息
secure : false,
pathRewrite: {
'^/tiaojie': '' // 将/api前缀重写为空字符串
},
},
'/tiaojiez': {
target: 'https://api.xayunmei.com/tiaojieapi', // 后端服务器地址
// target: 'http://172.16.1.4:7001',
changeOrigin: true, // 是否改变Origin头信息 changeOrigin: true, // 是否改变Origin头信息
secure : false, secure : false,
pathRewrite: { pathRewrite: {
@@ -12,6 +22,14 @@ module.exports = defineConfig({
}, },
}, },
'/zhongcai': { '/zhongcai': {
target: 'https://api.xayunmei.com/zhongcaiapitest', // 后端服务器地址
changeOrigin: true, // 是否改变Origin头信息
secure : false,
pathRewrite: {
'^/zhongcai': '' // 将/api前缀重写为空字符串
},
},
'/zhongcaiz': {
target: 'https://api.xayunmei.com/zhongcaiapi', // 后端服务器地址 target: 'https://api.xayunmei.com/zhongcaiapi', // 后端服务器地址
changeOrigin: true, // 是否改变Origin头信息 changeOrigin: true, // 是否改变Origin头信息
secure : false, secure : false,