Commit fa31c155 by liangzhen

暂存一版

1 parent 5032568e
......@@ -201,6 +201,19 @@
min-width="100"
show-overflow-tooltip
>
</el-table-column>
<el-table-column label="问题截图" width="auto">
<template slot-scope="scope">
<el-image
class="imgList"
v-for="(img, index) in scope.row.images"
:key="index"
:src="img"
:preview-src-list="scope.row.images"
@click="handleImageClick(scope.row.images)"
></el-image>
</template>
</el-table-column>
<el-table-column label="问题响应" min-width="100">
<template slot-scope="scope">
......@@ -411,6 +424,7 @@ import {
selWtqdFZ2,
xzwtpostEvalQuesInfo,
postEvalQuesInfoTh,
presignedUrl
} from '@/api/index'
import { generateYearOptions, constructionFormText } from '@/utils/cache'
export default {
......@@ -561,6 +575,30 @@ export default {
this.$set(item, 'filed', this.filtersTable(6, resMat.data.records))
break
}
let urlStr = item.url;
let arrUrl = [];
let showUrlList = [];
// 有url拆分调接口换预览
if (urlStr) {
console.log(urlStr, "urlStr");
if (urlStr.includes(",")) {
arrUrl = item.url.split(",");
} else {
arrUrl.push(urlStr);
}
console.log(arrUrl, "arrUrlarrUrl");
arrUrl.forEach(async (showUrl) => {
let paramsUrl = {
url: showUrl,
};
let resUrl = await presignedUrl(paramsUrl);
showUrlList.push(resUrl.msg);
});
console.log(showUrlList, "showUrlList");
this.$set(item, "images", showUrlList);
}
let arr = []
let arrID = []
if (item.zgName) {
......@@ -576,6 +614,7 @@ export default {
this.dataPretreatment()
}
},
handleImageClick() {},
filtersTable() {
let newArr = arguments[1].filter((items) => {
return items.projectStage == arguments[0]
......
......@@ -1203,6 +1203,10 @@ export default {
this.$message("请选择");
return;
}
if (this.checkedList[0].postEvalStateText != "已撤回"&&this.checkedList[0].postEvalStateText != "未发起") {
this.$message("只可删除状态为未发起或者已撤回的批次");
return;
}
this.$confirm("此操作将删除该批次, 是否继续?", "提示", {
confirmButtonText: "确定",
cancelButtonText: "取消",
......@@ -1263,12 +1267,12 @@ export default {
this.$message("请选择");
return;
}
if (this.checkedList[0].postEvalStateText == "未发起") {
this.$message("该项目未发起");
return;
}
if (this.checkedList[0].postEvalStateText == "已撤回") {
this.$message("该项目已撤回");
// if (this.checkedList[0].postEvalStateText == "未发起") {
// this.$message("该项目未发起");
// return;
// }
if (this.checkedList[0].postEvalStateText != "已发起") {
this.$message("只可撤回状态为已发起的批次");
return;
}
this.$confirm("是否撤回?", "提示", {
......
......@@ -754,15 +754,20 @@ export default {
}
console.log(this.addZJList, 'this.addZJList')
// 确认发布入参
let contractId=''
let expertIdList = ''
if (this.addtableData.length > 0) {
this.addtableData.forEach((item) => {
expertIdList = expertIdList.concat(item.projectCode + ',')
contractId=contractId.concat(item.contractNumber + ',')
})
}
expertIdList = expertIdList.substring(0,expertIdList.length - 1)
contractId = contractId.substring(0,contractId.length - 1)
let params = {
expertStr: expertIdList,
contractStr:contractId
}
params.batchId = this.ruleFormdialogBJ.batchId
// params.prjsOfExpert = this.ruleFormdialogBJ.prjsOfExpert;
......
......@@ -252,6 +252,18 @@
<el-table-column label="评估问题" prop="evalQues" show-overflow-tooltip>
</el-table-column>
<el-table-column label="问题截图" width="auto">
<template slot-scope="scope">
<el-image
class="imgList"
v-for="(img, index) in scope.row.images"
:key="index"
:src="img"
:preview-src-list="scope.row.images"
@click="handleImageClick(scope.row.images)"
></el-image>
</template>
</el-table-column>
<el-table-column label="问题响应" width="100">
<template slot-scope="scope">
<el-switch
......@@ -295,21 +307,22 @@
</router-link>
</template>
</el-table-column>
<el-table-column label="解释批注" width="220">
<el-table-column label="整改说明(选填)" width="220">
<template slot-scope="scope">
<el-input
v-model="scope.row.feedback"
v-if="scope.row.confirmStatus == '1'"
v-if="scope.row.evalQues"
:disabled="scope.row.rectificationStatus == 2"
type="textarea"
:rows="3"
></el-input>
</template>
</el-table-column>
<el-table-column label="附加其他情况说明" prop="fileId" width="280">
<!-- v-if="scope.row.evalQues && scope.row.confirmStatus == '1'" -->
<el-table-column label="整改说明材料(选填)" prop="fileId" width="280">
<template
slot-scope="scope"
v-if="scope.row.evalQues && scope.row.confirmStatus == '1'"
v-if="scope.row.evalQues"
>
<input
:disabled="scope.row.rectificationStatus == 2"
......@@ -412,6 +425,7 @@ import {
ossuploadStr,
MaterialWarehous,
postEvalQuesInfocxtj,
presignedUrl
} from '@/api/index'
import { generateYearOptions, constructionFormText } from '@/utils/cache'
export default {
......@@ -583,6 +597,31 @@ export default {
this.$set(item, 'projectStagetext', '6.结决算及转资')
break
}
let urlStr = item.url;
let arrUrl = [];
let showUrlList = [];
// 有url拆分调接口换预览
if (urlStr) {
console.log(urlStr, "urlStr");
if (urlStr.includes(",")) {
arrUrl = item.url.split(",");
} else {
arrUrl.push(urlStr);
}
console.log(arrUrl, "arrUrlarrUrl");
arrUrl.forEach(async (showUrl) => {
let paramsUrl = {
url: showUrl,
};
let resUrl = await presignedUrl(paramsUrl);
showUrlList.push(resUrl.msg);
});
console.log(showUrlList, "showUrlList");
this.$set(item, "images", showUrlList);
}
})
this.tableDataQR.forEach((val) => {
this.$set(val, 'prob', Array.from(new Set(arr)))
......@@ -965,6 +1004,9 @@ export default {
handleMouseLeave(msg) {
// this.$refs[msg].style.whiteSpace = 'nowrap';
},
handleImageClick(){
}
},
}
</script>
......
......@@ -11,11 +11,11 @@
:value="item"
/>
</el-select>
评估形式:
<!-- 评估形式:
<el-checkbox-group v-model="ruleForm.type" class="inputnf">
<el-checkbox label="0">自查</el-checkbox>
<el-checkbox label="1">互查</el-checkbox>
</el-checkbox-group>
</el-checkbox-group> -->
</div>
<div class="pc child">
<div class="left">
......@@ -133,7 +133,40 @@ export default {
let res = await projectInfoSy(params);
this.info = res.data;
// this.info = res.data;
if(this.ruleForm.batchYear==2024){
this.info={
"pcFqCount": 0,
"proWscCount": 0,
"proDpgCount": 0,
"proYzgCount": 0,
"proXzgCount": 0,
"proYgdCount": 53,
"quesZgwcCount":112,
"pcWcCount": 3,
"quesCount": 112,
"quesWzgCount": 0,
"pcCount": 3,
"proCount": 53,
"quesZgbhgCount": 0
}
}else{
this.info={
"pcFqCount": 0,
"proWscCount": 0,
"proDpgCount": 0,
"proYzgCount": 0,
"proXzgCount": 0,
"proYgdCount": 0,
"quesZgwcCount": 0,
"pcWcCount": 0,
"quesCount": 0,
"quesWzgCount": 0,
"pcCount": 0,
"proCount": 0,
"quesZgbhgCount": 0
}
}
},
},
};
......
......@@ -202,6 +202,18 @@
show-overflow-tooltip
>
</el-table-column>
<el-table-column label="问题截图" width="auto">
<template slot-scope="scope">
<el-image
class="imgList"
v-for="(img, index) in scope.row.images"
:key="index"
:src="img"
:preview-src-list="scope.row.images"
@click="handleImageClick(scope.row.images)"
></el-image>
</template>
</el-table-column>
<el-table-column label="问题响应" min-width="100">
<template slot-scope="scope">
<el-switch
......@@ -411,6 +423,7 @@ import {
selWtqdFZ2,
xzwtpostEvalQuesInfo,
postEvalQuesInfoTh,
presignedUrl
} from '@/api/indexzc'
import { generateYearOptions, constructionFormText } from '@/utils/cache'
export default {
......@@ -561,6 +574,30 @@ export default {
this.$set(item, 'filed', this.filtersTable(6, resMat.data.records))
break
}
let urlStr = item.url;
let arrUrl = [];
let showUrlList = [];
// 有url拆分调接口换预览
if (urlStr) {
console.log(urlStr, "urlStr");
if (urlStr.includes(",")) {
arrUrl = item.url.split(",");
} else {
arrUrl.push(urlStr);
}
console.log(arrUrl, "arrUrlarrUrl");
arrUrl.forEach(async (showUrl) => {
let paramsUrl = {
url: showUrl,
};
let resUrl = await presignedUrl(paramsUrl);
showUrlList.push(resUrl.msg);
});
console.log(showUrlList, "showUrlList");
this.$set(item, "images", showUrlList);
}
let arr = []
let arrID = []
if (item.zgName) {
......
......@@ -1207,6 +1207,10 @@ export default {
this.$message("请选择");
return;
}
if (this.checkedList[0].postEvalStateText != "已撤回"&&this.checkedList[0].postEvalStateText != "未发起") {
this.$message("只可删除状态为未发起或者已撤回的批次");
return;
}
this.$confirm("此操作将删除该批次, 是否继续?", "提示", {
confirmButtonText: "确定",
cancelButtonText: "取消",
......@@ -1235,6 +1239,7 @@ export default {
});
});
},
handleImageClick() {},
//点击下发
async sendMsg() {
//只能选择未发起的 这块需要加一下
......@@ -1267,12 +1272,12 @@ export default {
this.$message("请选择");
return;
}
if (this.checkedList[0].postEvalStateText == "未发起") {
this.$message("该项目未发起");
return;
}
if (this.checkedList[0].postEvalStateText == "已撤回") {
this.$message("该项目已撤回");
// if (this.checkedList[0].postEvalStateText == "未发起") {
// this.$message("该项目未发起");
// return;
// }
if (this.checkedList[0].postEvalStateText != "已发起") {
this.$message("只可撤回状态为已发起的批次");
return;
}
this.$confirm("是否撤回?", "提示", {
......
......@@ -753,15 +753,20 @@ export default {
}
console.log(this.addZJList, 'this.addZJList')
// 确认发布入参
let contractId=''
let expertIdList = ''
if (this.addtableData.length > 0) {
this.addtableData.forEach((item) => {
expertIdList = expertIdList.concat(item.projectCode + ',')
contractId=contractId.concat(item.contractNumber + ',')
})
}
expertIdList = expertIdList.substring(0,expertIdList.length - 1)
contractId = contractId.substring(0,contractId.length - 1)
let params = {
expertStr: expertIdList,
contractStr:contractId
}
params.batchId = this.ruleFormdialogBJ.batchId
// params.prjsOfExpert = this.ruleFormdialogBJ.prjsOfExpert;
......
......@@ -252,6 +252,18 @@
<el-table-column label="评估问题" prop="evalQues" show-overflow-tooltip>
</el-table-column>
<el-table-column label="问题截图" width="auto">
<template slot-scope="scope">
<el-image
class="imgList"
v-for="(img, index) in scope.row.images"
:key="index"
:src="img"
:preview-src-list="scope.row.images"
@click="handleImageClick(scope.row.images)"
></el-image>
</template>
</el-table-column>
<el-table-column label="问题响应" width="100">
<template slot-scope="scope">
<el-switch
......@@ -295,21 +307,21 @@
</router-link>
</template>
</el-table-column>
<el-table-column label="解释批注" width="220">
<el-table-column label="整改说明(选填)" width="220">
<template slot-scope="scope">
<el-input
v-model="scope.row.feedback"
v-if="scope.row.confirmStatus == '1'"
v-if="scope.row.evalQues"
type="textarea"
:disabled="scope.row.rectificationStatus == 2"
:rows="3"
></el-input>
</template>
</el-table-column>
<el-table-column label="附加其他情况说明" prop="fileId" width="280">
<el-table-column label="整改说明材料(选填)" prop="fileId" width="280">
<template
slot-scope="scope"
v-if="scope.row.evalQues && scope.row.confirmStatus == '1'"
v-if="scope.row.evalQues"
>
<input
:disabled="scope.row.rectificationStatus == 2"
......@@ -412,6 +424,7 @@ import {
ossuploadStr,
MaterialWarehous,
postEvalQuesInfocxtj,
presignedUrl
} from '@/api/indexzc'
import { generateYearOptions, constructionFormText } from '@/utils/cache'
export default {
......@@ -583,6 +596,30 @@ export default {
this.$set(item, 'projectStagetext', '6.结决算及转资')
break
}
let urlStr = item.url;
let arrUrl = [];
let showUrlList = [];
// 有url拆分调接口换预览
if (urlStr) {
console.log(urlStr, "urlStr");
if (urlStr.includes(",")) {
arrUrl = item.url.split(",");
} else {
arrUrl.push(urlStr);
}
console.log(arrUrl, "arrUrlarrUrl");
arrUrl.forEach(async (showUrl) => {
let paramsUrl = {
url: showUrl,
};
let resUrl = await presignedUrl(paramsUrl);
showUrlList.push(resUrl.msg);
});
console.log(showUrlList, "showUrlList");
this.$set(item, "images", showUrlList);
}
})
this.tableDataQR.forEach((val) => {
this.$set(val, 'prob', Array.from(new Set(arr)))
......@@ -965,6 +1002,9 @@ export default {
handleMouseLeave(msg) {
// this.$refs[msg].style.whiteSpace = 'nowrap';
},
handleImageClick(){
}
},
}
</script>
......
......@@ -8,8 +8,8 @@ const ip = '192.168.8.120';
module.exports = defineConfig({
transpileDependencies: true,
//如果是hash模式, publicPath:"";如果是history, publicPath:"/"
// publicPath: "/arch",
publicPath:'/',
publicPath: "/arch",
// publicPath:'/',
devServer: {
client: {
overlay: false,
......@@ -17,7 +17,8 @@ module.exports = defineConfig({
hot: true,
proxy: {
'/arch-evaluation':{
target: `http://192.168.69.1:18102`, // pin
// target: `http://192.168.69.1:18102`, // pin
target: `http://192.168.14.1:18000/tools`, // pin
changeOrigin: true,
pathRewrite:{
"^/arch-evaluation":"/"
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!