还没加新改的需求 上传文件

This commit is contained in:
asd
2020-06-29 09:11:06 +08:00
parent 48fcda77e8
commit f167bf7fe3
16 changed files with 4216 additions and 440 deletions

BIN
dist.zip Normal file

Binary file not shown.

View File

@@ -26,7 +26,7 @@ export default {
mounted () { mounted () {
let t = this let t = this
this.$nextTick(()=>{ this.$nextTick(()=>{
console.log(t.time,document.getElementById(t.time)) //console.log(t.time,document.getElementById(t.time))
this.phoneEditor = new E(document.getElementById(t.time)) this.phoneEditor = new E(document.getElementById(t.time))
let phoneEditor = this.phoneEditor let phoneEditor = this.phoneEditor
phoneEditor.customConfig.pasteFilterStyle = false phoneEditor.customConfig.pasteFilterStyle = false

View File

@@ -73,8 +73,8 @@ export default {
<style lang='scss' scoped> <style lang='scss' scoped>
#wrapper { #wrapper {
min-width: 1280px; // min-width: 1280px;
// width: 100%; width: 100%;
height: 389px; height: 389px;
box-sizing: border-box; box-sizing: border-box;
background-repeat: no-repeat; background-repeat: no-repeat;
@@ -89,7 +89,7 @@ export default {
justify-content: center; justify-content: center;
img { img {
// width: 100%; width: 100%;
height: 100%; height: 100%;
cursor: default; cursor: default;

View File

@@ -52,8 +52,11 @@ export default {
'redo' // 重复 'redo' // 重复
] ]
phoneEditor.create() phoneEditor.create()
phoneEditor.txt.html(_this.projectBriefVal)
phoneEditor.$textElem.attr('contenteditable', this.writeable) phoneEditor.txt.html(_this.projectBriefVal)
phoneEditor.txt.clear()
phoneEditor.$textElem.attr('contenteditable', this.writeable)
}, },
methods: {}, methods: {},
computed: {}, computed: {},

View File

@@ -30,23 +30,23 @@ export default {
let pageHeight = (contentWidth / 592.28) * 841.89 let pageHeight = (contentWidth / 592.28) * 841.89
let leftHeight = contentHeight let leftHeight = contentHeight
let position = 0 let position = 0
let imgWidth = 595.28
// let imgWidth = 595.28 // let imgWidth = 595.28
let imgWidth = 595.28
let imgHeight = (597.28/ contentWidth) * contentHeight let imgHeight = (597.28/ contentWidth) * contentHeight
let pageData = canvas.toDataURL('image/jpeg', 0.4) let pageData = canvas.toDataURL('image/jpeg', 0.4)
// var d1 = document.getElementsByTagName("body")[0]; // var d1 = document.getElementsByTagName("body")[0];
// var img = document.createElement("img"); // var img = document.createElement("img");
// img.src=pageData // img.src=pageData
// d1.appendChild(img); // d1.appendChild(img);
let PDF = new JsPDF('', 'pt', 'a4') let PDF = new JsPDF('', 'pt', 'a3')
if (leftHeight < pageHeight) { if (leftHeight < pageHeight) {
PDF.addImage(pageData, 'JPEG', 0, 0, imgWidth, imgHeight) PDF.addImage(pageData, 'JPEG', 0, 0, imgWidth, imgHeight)
} else { } else {
while (leftHeight > 0) { while (leftHeight > 0) {
PDF.addImage(pageData, 'JPEG', 0, position, imgWidth, imgHeight) PDF.addImage(pageData, 'JPEG', 132, position, imgWidth, imgHeight)
leftHeight -= pageHeight leftHeight -= pageHeight
// position -= 841.89
position -= 841.89 position -= 841.89
// position -= 11541.89
if (leftHeight > 0) { if (leftHeight > 0) {
PDF.addPage() PDF.addPage()
} }

View File

@@ -61,7 +61,7 @@
</div> </div>
<div style="margin-bottom:15px;position:relative;right:94px"> <div style="margin-bottom:15px;position:relative;right:94px">
<label style="">申请日期:</label> <label style="">申请日期:</label>
<span style="margin-left:20px">{{zDatc.aterm}}</span> <span style="margin-left:20px">{{zDatc.aterm}}</span>--<span>{{zDatc.fterm}}</span>
<!-- <el-date-picker <!-- <el-date-picker
v-model="zDatc.month" v-model="zDatc.month"
type="date" type="date"
@@ -79,10 +79,11 @@
<div style="margin-bottom:15px"> <div style="margin-bottom:15px">
<label style="font-size:20px;white-space:nowrap;margin-left:6px">项目执行团队人员构成及分工:</label> <label style="font-size:20px;white-space:nowrap;margin-left:6px">项目执行团队人员构成及分工:</label>
<span style="font-size:15px;margin-left:20px">{{zDatc.people}}</span> <span style="font-size:15px;margin-left:20px">{{zDatc.people}}</span>
<div class="rich"> <p v-html="centers.people"></p>
<!-- <team @team1="team1" :teamVal="teamval"></team> --> <!-- <div class="rich">
<team @team1="team1" :teamVal="teamval"></team>
<aboutUs @aboutUs="inform2" :aboutUsVal="centers.people" :writeable="!ifupdate"></aboutUs> <aboutUs @aboutUs="inform2" :aboutUsVal="centers.people" :writeable="!ifupdate"></aboutUs>
</div> </div>-->
<!-- <el-input <!-- <el-input
v-model="zDatc.people" v-model="zDatc.people"
name="name" name="name"
@@ -102,37 +103,41 @@
</aside> </aside>
<h3>2发展性状况</h3> <h3>2发展性状况</h3>
<div class="rich"> <div class="rich">
<ProjectBrief <p v-html="centers.develop"></p>
<!-- <ProjectBrief
@projectBrief="inform" @projectBrief="inform"
:projectBriefVal="centers.develop" :projectBriefVal="centers.develop"
:writeable="!ifupdate" :writeable="!ifupdate"
></ProjectBrief> ></ProjectBrief> -->
</div> </div>
<!-- <p>我国仍处于井将长期处于社会主义初级阶段,是最大的国情和实际我们开展各项工作,要一切从实际出发,牢牢立足这个最大国情和实际,不要超越阶段从能源来看,我国當富煤少油缺气?的资源禀赋,决定了煤炭在较长一个时期内作为我国主体能源的地位不会发玍变化,这就婓求我们坚持从煤炭资源丰富的囯情出发,切实抓好煤炭清洁高效利用章建华</p> --> <!-- <p>我国仍处于井将长期处于社会主义初级阶段,是最大的国情和实际我们开展各项工作,要一切从实际出发,牢牢立足这个最大国情和实际,不要超越阶段从能源来看,我国當富煤少油缺气?的资源禀赋,决定了煤炭在较长一个时期内作为我国主体能源的地位不会发玍变化,这就婓求我们坚持从煤炭资源丰富的囯情出发,切实抓好煤炭清洁高效利用章建华</p> -->
<h3>3项目实施情况</h3> <h3>3项目实施情况</h3>
<div class="rich"> <div class="rich">
<ProjectAssessment <p v-html="centers.pro_condition"></p>
<!-- <ProjectAssessment
@projectAssessment="goals" @projectAssessment="goals"
:projectAssessmentVal="centers.pro_condition" :projectAssessmentVal="centers.pro_condition"
:writeable="!ifupdate" :writeable="!ifupdate"
></ProjectAssessment> ></ProjectAssessment> -->
</div> </div>
<h3>4项目取得的成就</h3> <h3>4项目取得的成就</h3>
<div class="rich"> <div class="rich">
<ExistingBasis <p v-html="centers.result"></p>
<!-- <ExistingBasis
@existingBasis="effect" @existingBasis="effect"
:existingBasisVal="centers.result" :existingBasisVal="centers.result"
:writeable="!ifupdate" :writeable="!ifupdate"
></ExistingBasis> ></ExistingBasis> -->
</div> </div>
<h3>5对项目实施至今的情况总结</h3> <h3>5对项目实施至今的情况总结</h3>
<div class="rich"> <div class="rich">
<MethodsWay <p v-html="centers.summary"></p>
<!-- <MethodsWay
@methodsWay="plement" @methodsWay="plement"
:methodsWayVal="centers.summary" :methodsWayVal="centers.summary"
:writeable="!ifupdate" :writeable="!ifupdate"
></MethodsWay> ></MethodsWay> -->
</div> </div>
<!-- <p>{{ centers.summary }}</p> --> <!-- <p>{{ centers.summary }}</p> -->
<h3> <h3>
@@ -169,7 +174,7 @@
<h3 v-for="(i,j) in centers.ziliao" :key="j" v-if='centers.ziliao[0].name !==""'> <h3 v-for="(i,j) in centers.ziliao" :key="j" v-if='centers.ziliao[0].name !==""'>
<p>活动名称{{j+1}}:{{i.name}}</p> <p>活动名称{{j+1}}:{{i.name}}</p>
<!-- {{i.elereport.split('/')[8].split('_')}} --> <!-- {{i.elereport.split('/')[8].split('_')}} -->
<a :href="i.elereport?i.elereport:''" style="margin-left:-1px">{{i.elereport?(i.elereport.split('/')[8].split('_')[1]?(i.elereport.split('/')[8]).split('_')[0]+'.'+i.elereport.substr(i.elereport.lastIndexOf('.')+1):(i.elereport.split('/')[8])):''}}</a> <span :href="i.elereport?i.elereport:''" style="margin-left:-1px;font-size:14px;color: #7471ef;">{{i.elereport?(i.elereport.split('/')[8].split('_')[1]?(i.elereport.split('/')[8]).split('_')[0]+'.'+i.elereport.substr(i.elereport.lastIndexOf('.')+1):(i.elereport.split('/')[8])):''}}</span>
<!-- <a :href="i.elereport?i.elereport:''" style="margin-left:-1px">{{i.elereport?(i.elereport.split('/')[8]).split('_')[0]+'.'+i.elereport.substr(i.elereport.lastIndexOf('.')+1):''}}</a> --> <!-- <a :href="i.elereport?i.elereport:''" style="margin-left:-1px">{{i.elereport?(i.elereport.split('/')[8]).split('_')[0]+'.'+i.elereport.substr(i.elereport.lastIndexOf('.')+1):''}}</a> -->
<span class="download" > <span class="download" >
<!-- <a :href="i.elereport" download v-if="i.elereport">下载 |</a> <!-- <a :href="i.elereport" download v-if="i.elereport">下载 |</a>
@@ -293,6 +298,7 @@ export default {
}, },
created() { created() {
this.GetListImg(); this.GetListImg();
this.getCenter()
}, },
methods: { methods: {
inform(data) { inform(data) {
@@ -351,35 +357,42 @@ export default {
}) })
.then(res => { .then(res => {
if (res.data.data.code === 200) { if (res.data.data.code === 200) {
let data = res.data.data.data[0]; console.log(res.data.data.data[0].status)
this.centers = data; if(res.data.data.data[0].status == 1000){
console.log(this.centers); let data = res.data.data.data[0];
this.probook = this.centers.probook.substring( this.centers = data;
this.centers.probook.lastIndexOf("/") + 1 console.log(this.centers);
); this.probook = this.centers.probook.substring(
this.fangan = this.centers.fangan.substring( this.centers.probook.lastIndexOf("/") + 1
this.centers.fangan.lastIndexOf("/") + 1 );
); this.fangan = this.centers.fangan.substring(
this.caiwu = this.centers.fina.substring( this.centers.fangan.lastIndexOf("/") + 1
this.centers.fina.lastIndexOf("/") + 1 );
); this.caiwu = this.centers.fina.substring(
this.dianzi = this.centers.elereport.substring( this.centers.fina.lastIndexOf("/") + 1
this.centers.elereport.lastIndexOf("/") + 1 );
); this.dianzi = this.centers.elereport.substring(
this.shenqing = this.centers.adjust.substring( this.centers.elereport.lastIndexOf("/") + 1
this.centers.adjust.lastIndexOf("/") + 1 );
); this.shenqing = this.centers.adjust.substring(
this.midcaiwu = this.centers.budget.substring( this.centers.adjust.lastIndexOf("/") + 1
this.centers.budget.lastIndexOf("/") + 1 );
); this.midcaiwu = this.centers.budget.substring(
this.qita = this.centers.other.substring( this.centers.budget.lastIndexOf("/") + 1
this.centers.other.lastIndexOf("/") + 1 );
); this.qita = this.centers.other.substring(
this.ppt = this.centers.PPT.substring( this.centers.other.lastIndexOf("/") + 1
this.centers.PPT.lastIndexOf("/") + 1 );
); this.ppt = this.centers.PPT.substring(
this.centers.PPT.lastIndexOf("/") + 1
);
}else{
this.$message.error("当前页面未提交暂时无法查看!");
this.$router.push({path: `/schedule${this.id}`});
}
} else { } else {
alert(res.data.data.msg); this.$message.error("当前页面未提交暂时无法查看!");
// this.$jParams("schedule", { id: this.id, mid_sub: 1 }); // this.$jParams("schedule", { id: this.id, mid_sub: 1 });
this.$router.push({path: `/schedule${this.id}`}); this.$router.push({path: `/schedule${this.id}`});
} }

View File

@@ -8,42 +8,66 @@
<p> <p>
<a :href="over.probook">{{over.probook?over.probook.split('/')[8]:'未上传'}}</a> <a :href="over.probook">{{over.probook?over.probook.split('/')[8]:'未上传'}}</a>
<!-- <a :href="over.probook" target="_blank" v-if="over.probook">预览</a> --> <!-- <a :href="over.probook" target="_blank" v-if="over.probook">预览</a> -->
<a v-if="over.probook" :href="over.probook" target="_blank">{{over.probook?(over.probook.split('/')[8].split('.')[1] == 'pdf'||over.probook.split('/')[8].split('.')[1] == 'jpeg'||over.probook.split('/')[8].split('.')[1] == 'png'||over.probook.split('/')[8].split('.')[1] == 'jpg'?'预览':'下载'):''}}</a> <a
v-if="over.probook"
:href="over.probook"
target="_blank"
>{{over.probook?(over.probook.split('/')[8].split('.')[1] == 'pdf'||over.probook.split('/')[8].split('.')[1] == 'jpeg'||over.probook.split('/')[8].split('.')[1] == 'png'||over.probook.split('/')[8].split('.')[1] == 'jpg'?'预览':'下载'):''}}</a>
</p> </p>
<h3>立项批复文件</h3> <h3>立项批复文件</h3>
<p> <p>
<a :href="over.pifu">{{over.pifu?over.pifu.split('/')[8]:'未上传'}}</a> <a :href="over.pifu">{{over.pifu?over.pifu.split('/')[8]:'未上传'}}</a>
<!-- <a :href="over.fangan" target="_blank" v-if="over.fangan">预览</a> --> <!-- <a :href="over.fangan" target="_blank" v-if="over.fangan">预览</a> -->
<a v-if="over.pifu" :href="over.pifu" target="_blank">{{over.pifu.split('/')[8].split('.')[1] == 'pdf'||over.pifu.split('/')[8].split('.')[1] == 'jpeg'||over.pifu.split('/')[8].split('.')[1] == 'png'||over.pifu.split('/')[8].split('.')[1] == 'jpg'?'预览':'下载'}}</a> <a
v-if="over.pifu"
:href="over.pifu"
target="_blank"
>{{over.pifu.split('/')[8].split('.')[1] == 'pdf'||over.pifu.split('/')[8].split('.')[1] == 'jpeg'||over.pifu.split('/')[8].split('.')[1] == 'png'||over.pifu.split('/')[8].split('.')[1] == 'jpg'?'预览':'下载'}}</a>
</p> </p>
<h3>实施方案</h3> <h3>实施方案</h3>
<p> <p>
<a :href="over.fangan">{{over.fangan?over.fangan.split('/')[8]:'未上传'}}</a> <a :href="over.fangan">{{over.fangan?over.fangan.split('/')[8]:'未上传'}}</a>
<!-- <a :href="over.fangan" target="_blank" v-if="over.fangan">预览</a> --> <!-- <a :href="over.fangan" target="_blank" v-if="over.fangan">预览</a> -->
<a v-if="over.fangan" :href="over.fangan" target="_blank">{{over.fangan.split('/')[8].split('.')[1] == 'pdf'||over.fangan.split('/')[8].split('.')[1] == 'jpeg'||over.fangan.split('/')[8].split('.')[1] == 'png'||over.fangan.split('/')[8].split('.')[1] == 'jpg'?'预览':'下载'}}</a> <a
v-if="over.fangan"
:href="over.fangan"
target="_blank"
>{{over.fangan.split('/')[8].split('.')[1] == 'pdf'||over.fangan.split('/')[8].split('.')[1] == 'jpeg'||over.fangan.split('/')[8].split('.')[1] == 'png'||over.fangan.split('/')[8].split('.')[1] == 'jpg'?'预览':'下载'}}</a>
</p> </p>
<!-- <h3>街道地区办事处关于2019年社会建设资金购买社会组织服务结项材料的说明</h3> <h3>
<!-- <span style="color:red;margin-right:10px;position:relative;right:3px">*</span> -->
街道地区办事处关于2019年社会建设资金购买社会组织服务结项材料的说明
</h3>
<p> <p>
<span> <a :href="over.explain">{{over.explain?over.explain.split('/')[8]:'未上传'}}</a>
<a href="#">下载</a> | <!-- <a :href="over.fangan" target="_blank" v-if="over.fangan">预览</a> -->
<a href="#">预览</a> <a
</span> v-if="over.explain"
</p> --> :href="over.explain"
<h3>项目实施各阶段情况报告</h3><!--月度报告--> target="_blank"
>{{over.explain.split('/')[8].split('.')[1] == 'pdf'||over.explain.split('/')[8].split('.')[1] == 'jpeg'||over.explain.split('/')[8].split('.')[1] == 'png'||over.explain.split('/')[8].split('.')[1] == 'jpg'?'预览':'下载'}}</a>
</p>
<h3>项目实施各阶段情况报告</h3>
<!--月度报告-->
<p> <p>
<a :href="over.location">{{over.location?over.location.split('/')[8]:'未上传'}}</a>
<a :href="over.location">{{over.location?over.location.split('/')[8]:'未上传'}}</a> &nbsp;&nbsp;&nbsp;
&nbsp;&nbsp;&nbsp; <a
<a v-if="over.location" :href="over.location" target="_blank">{{over.location.split('/')[8].split('.')[1] == 'pdf'||over.location.split('/')[8].split('.')[1] == 'jpeg'||over.location.split('/')[8].split('.')[1] == 'png'||over.location.split('/')[8].split('.')[1] == 'jpg'?'预览':'下载'}}</a> v-if="over.location"
<!-- <DivisionLabor :href="over.location"
target="_blank"
>{{over.location.split('/')[8].split('.')[1] == 'pdf'||over.location.split('/')[8].split('.')[1] == 'jpeg'||over.location.split('/')[8].split('.')[1] == 'png'||over.location.split('/')[8].split('.')[1] == 'jpg'?'预览':'下载'}}</a>
<!-- <DivisionLabor
@divisionLabor="plement" @divisionLabor="plement"
:divisionLaborVal="over.pro_condition" :divisionLaborVal="over.pro_condition"
:writeable="false" :writeable="false"
></DivisionLabor> --> ></DivisionLabor>-->
<!-- <a href="#">未上传</a> --> <!-- <a href="#">未上传</a> -->
<!-- <a :href="over.pro_condition" download="" v-if="over.pro_condition">下载</a> <!-- <a :href="over.pro_condition" download="" v-if="over.pro_condition">下载</a>
<a :href="over.pro_condition" target="_blank" v-if="over.pro_condition">预览</a> --> <a :href="over.pro_condition" target="_blank" v-if="over.pro_condition">预览</a>-->
</p> </p>
<!-- <h3>中期评估报告</h3> <!-- <h3>中期评估报告</h3>
<p> <p>
@@ -51,8 +75,23 @@
<a href="#">下载</a> | <a href="#">下载</a> |
<a href="#">预览</a> <a href="#">预览</a>
</span> </span>
</p> --> </p>-->
<h3>结项报告</h3> <!--绩效报告-->
<h3>
<!-- <span style="color:red;margin-right:10px;position:relative;right:3px">*</span> -->
中期评估报告
</h3>
<p>
<a :href="over.assess">{{over.assess?over.assess.split('/')[8]:'未上传'}}</a>
<!-- <a :href="over.fangan" target="_blank" v-if="over.fangan">预览</a> -->
<a
v-if="over.explain"
:href="over.explain"
target="_blank"
>{{over.assess.split('/')[8].split('.')[1] == 'pdf'||over.assess.split('/')[8].split('.')[1] == 'jpeg'||over.assess.split('/')[8].split('.')[1] == 'png'||over.assess.split('/')[8].split('.')[1] == 'jpg'?'预览':'下载'}}</a>
</p>
<h3>结项报告</h3>
<!--绩效报告-->
<h3>1基本信息</h3> <h3>1基本信息</h3>
<aside> <aside>
<div class="baseinfo"> <div class="baseinfo">
@@ -61,11 +100,13 @@
</div> </div>
<div class="baseinfo"> <div class="baseinfo">
<label class="left">机构名称:</label> <label class="left">机构名称:</label>
<p class="right">{{over.company}}</p> <p class="right">{{over.company}}</p>
</div> </div>
<div class="baseinfo"> <div class="baseinfo">
<label class="left">申请日期:</label> <label class="left">申请日期:</label>
<p class="right">{{new Date(over.aterm*1000).getFullYear()+'-'+(new Date(over.aterm*1000).getMonth()+1)+'-'+new Date(over.aterm*1000).getDate()}}</p> <p
class="right"
>{{new Date(over.aterm*1000).getFullYear()+'-'+(new Date(over.aterm*1000).getMonth()+1)+'-'+new Date(over.aterm*1000).getDate()}}--{{new Date(over.fterm*1000).getFullYear()+'-'+(new Date(over.fterm*1000).getMonth()+1)+'-'+new Date(over.fterm*1000).getDate()}}</p>
</div> </div>
<div> <div>
<label class="left" style="font-size:20px">项目执行团队人员构成及分工:</label> <label class="left" style="font-size:20px">项目执行团队人员构成及分工:</label>
@@ -77,117 +118,156 @@
required required
disabled disabled
class="division" class="division"
/> --> />-->
<DivisionLabor <!-- <DivisionLabor
@divisionLabor="plement" @divisionLabor="plement"
:divisionLaborVal="over.people" :divisionLaborVal="over.people"
:writeable="false" :writeable="false"
></DivisionLabor> ></DivisionLabor> -->
<!-- <p v-html="over.people"></p> --> <p v-html="over.people"></p>
</div> </div>
</aside> </aside>
<div class="mid_box">
<h3>
<span style="color:red;margin-right:10px;position:relative;right:3px">*</span>2项目发展性状况
</h3>
<div class="rich">
<!-- {{subMidVal}}zzzzzz -->
<!-- <DivisionLabor @divisionLabor="plement" :divisionLaborVal="over.develop" :writeable="true"></DivisionLabor> -->
<!-- <sub-mid @subMid="subMid" :subMidVal="subMidVal"></sub-mid> -->
<p v-html="over.develop"></p>
</div>
</div>
<h3>3项目实施情况</h3>
<!-- <DivisionLabor @divisionLabor="plement" :divisionLaborVal="over.pro_condition" :writeable="false"></DivisionLabor> -->
<!-- <h3>2发展性状况</h3> --> <!-- <h3>2发展性状况</h3> -->
<!-- <p></p> --> <!-- <p></p> -->
<!-- <h3>3项目实施情况</h3> --> <!-- <h3>3项目实施情况</h3> -->
<!-- <p>{{over.pro_condition}}</p> --> <!-- <p>{{over.pro_condition}}</p> -->
<!-- <p v-html="over.pro_condition"></p> --> <p v-html="over.pro_condition"></p>
<!-- <DivisionLabor <!-- <DivisionLabor
@divisionLabor="plement" @divisionLabor="plement"
:divisionLaborVal="over.pro_condition" :divisionLaborVal="over.pro_condition"
:writeable="false" :writeable="false"
></DivisionLabor> --> ></DivisionLabor>-->
<h3>1项目取得的成就</h3> <h3>4项目取得的成就</h3>
<!-- <p>{{over.result}}</p> --> <p v-html="over.result"></p>
<!-- <p v-html="over.result"></p> --> <!-- <DivisionLabor @divisionLabor="plement" :divisionLaborVal="over.result" :writeable="false"></DivisionLabor> -->
<DivisionLabor
@divisionLabor="plement" <h3>5对项目实施至今的情况总结</h3>
:divisionLaborVal="over.result"
:writeable="false"
></DivisionLabor>
<h3>2对项目实施至今的情况总结</h3>
<!-- <p>{{ over.summary }}</p> --> <!-- <p>{{ over.summary }}</p> -->
<!-- <p v-html="over.summary"></p> --> <p v-html="over.summary"></p>
<DivisionLabor <!-- <DivisionLabor @divisionLabor="plement" :divisionLaborVal="over.summary" :writeable="false"></DivisionLabor> -->
@divisionLabor="plement"
:divisionLaborVal="over.summary"
:writeable="false"
></DivisionLabor>
<h3> <h3>
3项目财务报告 6项目财务报告
<span class="download"> <span class="download">
<!-- {{over.fina}} --> <!-- {{over.fina}} -->
<a :href="over.fina">{{over.fina?over.fina.split('/')[8]:'未上传'}}</a> <a :href="over.fina">{{over.fina?over.fina.split('/')[8]:'未上传'}}</a>
&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;
<a v-if="over.fina" :href="over.fina" target="_blank">{{over.fina.split('/')[8].split('.')[1] == 'pdf'||over.fina.split('/')[8].split('.')[1] == 'jpeg'||over.fina.split('/')[8].split('.')[1] == 'png'||over.fina.split('/')[8].split('.')[1] == 'jpg'?'预览':'下载'}}</a> <a
v-if="over.fina"
:href="over.fina"
target="_blank"
>{{over.fina.split('/')[8].split('.')[1] == 'pdf'||over.fina.split('/')[8].split('.')[1] == 'jpeg'||over.fina.split('/')[8].split('.')[1] == 'png'||over.fina.split('/')[8].split('.')[1] == 'jpg'?'预览':'下载'}}</a>
<!-- <a :href="over.fina" download v-if="over.fina"> 下载 |</a> <!-- <a :href="over.fina" download v-if="over.fina"> 下载 |</a>
<a :href="over.fina" target="_blank" v-if="over.fina">预览</a> --> <a :href="over.fina" target="_blank" v-if="over.fina">预览</a>-->
</span> </span>
</h3> </h3>
<h3> <h3>
4结项电子报告 7结项电子报告
<span class="download"> <span class="download">
<a :href="over.elereport">{{over.elereport?over.elereport.split('/')[8]:'未上传'}}</a> <a :href="over.elereport">{{over.elereport?over.elereport.split('/')[8]:'未上传'}}</a>
&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;
<a v-if="over.elereport" :href="over.elereport" target="_blank">{{over.elereport.split('/')[8].split('.')[1] == 'pdf'||over.elereport.split('/')[8].split('.')[1] == 'jpeg'||over.elereport.split('/')[8].split('.')[1] == 'png'||over.elereport.split('/')[8].split('.')[1] == 'jpg'?'预览':'下载'}}</a> <a
v-if="over.elereport"
:href="over.elereport"
target="_blank"
>{{over.elereport.split('/')[8].split('.')[1] == 'pdf'||over.elereport.split('/')[8].split('.')[1] == 'jpeg'||over.elereport.split('/')[8].split('.')[1] == 'png'||over.elereport.split('/')[8].split('.')[1] == 'jpg'?'预览':'下载'}}</a>
<!-- <a :href="over.elereport" download v-if="over.elereport"> 下载 |</a> <!-- <a :href="over.elereport" download v-if="over.elereport"> 下载 |</a>
<a :href="over.elereport" target="_blank" v-if="over.elereport">预览</a> --> <a :href="over.elereport" target="_blank" v-if="over.elereport">预览</a>-->
</span> </span>
</h3> </h3>
<h3> <h3>
项目调整申请表及批复意见表 8项目调整申请表及批复意见表
<span class="download"> <span class="download">
<a :href="over.adjust">{{over.adjust?over.adjust.split('/')[8]:'未上传'}}</a> <a :href="over.adjust">{{over.adjust?over.adjust.split('/')[8]:'未上传'}}</a>
&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;
<a v-if="over.adjust" :href="over.adjust" target="_blank">{{over.adjust.split('/')[8].split('.')[1] == 'pdf'||over.adjust.split('/')[8].split('.')[1] == 'jpeg'||over.adjust.split('/')[8].split('.')[1] == 'png'||over.adjust.split('/')[8].split('.')[1] == 'jpg'?'预览':'下载'}}</a> <a
v-if="over.adjust"
:href="over.adjust"
target="_blank"
>{{over.adjust.split('/')[8].split('.')[1] == 'pdf'||over.adjust.split('/')[8].split('.')[1] == 'jpeg'||over.adjust.split('/')[8].split('.')[1] == 'png'||over.adjust.split('/')[8].split('.')[1] == 'jpg'?'预览':'下载'}}</a>
<!-- <a :href="over.adjust" download v-if="over.adjust">下载 |</a> <!-- <a :href="over.adjust" download v-if="over.adjust">下载 |</a>
<a :href="over.adjust" target="_blank" v-if="over.adjust">预览</a> --> <a :href="over.adjust" target="_blank" v-if="over.adjust">预览</a>-->
</span> </span>
</h3> </h3>
<!-- JSON.parse() --> <!-- JSON.parse() -->
<h3>会议活动相关资料通知议程参加人员名单及签到表现场照片或视频会议纪要活动总结报告媒体报道满意度测评表及报告等</h3> <h3>会议活动相关资料通知议程参加人员名单及签到表现场照片或视频会议纪要活动总结报告媒体报道满意度测评表及报告等</h3>
<div v-if="over.ziliao"> <div v-if="over.ziliao">
<span class="download" v-for="(item,index) in JSON.parse(over.ziliao)" :key="index" style="display:block;margin: 20px 0"> <span
class="download"
<span style="color:#000;margin-right:20px;"> 活动名称{{index+1}}:&nbsp;&nbsp; {{item.name}}</span> v-for="(item,index) in over.ziliao"
:key="index"
style="display:block;margin: 20px 0"
>
<span style="color:#000;margin-right:20px;">活动名称{{index+1}}:&nbsp;&nbsp; {{item.name}}</span>
<a :href="item.elereport">{{item.elereport?item.elereport.split('/')[8]:'未上传'}}</a> <a :href="item.elereport">{{item.elereport?item.elereport.split('/')[8]:'未上传'}}</a>
&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;
<a v-if="item.elereport" :href="item.elereport" target="_blank">{{item.elereport.split('/')[8].split('.')[1] == 'pdf'||item.elereport.split('/')[8].split('.')[1] == 'jpeg'||item.elereport.split('/')[8].split('.')[1] == 'png'||item.elereport.split('/')[8].split('.')[1] == 'jpg'?'预览':'下载'}}</a> <a
v-if="item.elereport"
:href="item.elereport"
target="_blank"
>{{item.elereport.split('/')[8].split('.')[1] == 'pdf'||item.elereport.split('/')[8].split('.')[1] == 'jpeg'||item.elereport.split('/')[8].split('.')[1] == 'png'||item.elereport.split('/')[8].split('.')[1] == 'jpg'?'预览':'下载'}}</a>
<!-- <a :href="item.elereport" download v-if="item.elereport">下载 |</a> <!-- <a :href="item.elereport" download v-if="item.elereport">下载 |</a>
<a :href="item.elereport" target="_blank" v-if="item.elereport">预览</a> --> <a :href="item.elereport" target="_blank" v-if="item.elereport">预览</a>-->
</span> </span>
</div> </div>
<h3> <h3>
反映项目实施效果的相关资料 反映项目实施效果的相关资料
媒体报道获奖情况文字成果案例等 媒体报道获奖情况文字成果案例等
<span class="download"> <span class="download">
<a :href="over.pro_result">{{over.pro_result?over.pro_result.split('/')[8]:'未上传'}}</a> <a :href="over.pro_result">{{over.pro_result?over.pro_result.split('/')[8]:'未上传'}}</a>
&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;
<a v-if="over.pro_result" :href="over.pro_result" target="_blank">{{over.pro_result.split('/')[8].split('.')[1] == 'pdf'||over.pro_result.split('/')[8].split('.')[1] == 'jpeg'||over.pro_result.split('/')[8].split('.')[1] == 'png'||over.pro_result.split('/')[8].split('.')[1] == 'jpg'?'预览':'下载'}}</a> <a
v-if="over.pro_result"
:href="over.pro_result"
target="_blank"
>{{over.pro_result.split('/')[8].split('.')[1] == 'pdf'||over.pro_result.split('/')[8].split('.')[1] == 'jpeg'||over.pro_result.split('/')[8].split('.')[1] == 'png'||over.pro_result.split('/')[8].split('.')[1] == 'jpg'?'预览':'下载'}}</a>
<!-- <a :href="over.pro_result" download v-if="over.pro_result">下载 |</a> <!-- <a :href="over.pro_result" download v-if="over.pro_result">下载 |</a>
<a :href="over.pro_result" target="_blank" v-if="over.pro_result">预览</a> --> <a :href="over.pro_result" target="_blank" v-if="over.pro_result">预览</a>-->
</span> </span>
</h3> </h3>
<h3> <h3>
财务管理制度 财务管理制度
<span class="download"> <span class="download">
<a :href="over.manage">{{over.manage?over.manage.split('/')[8]:'未上传'}}</a> <a :href="over.manage">{{over.manage?over.manage.split('/')[8]:'未上传'}}</a>
&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;
<a v-if="over.manage" :href="over.manage" target="_blank">{{over.manage.split('/')[8].split('.')[1] == 'pdf'||over.manage.split('/')[8].split('.')[1] == 'jpeg'||over.manage.split('/')[8].split('.')[1] == 'png'||over.manage.split('/')[8].split('.')[1] == 'jpg'?'预览':'下载'}}</a> <a
v-if="over.manage"
:href="over.manage"
target="_blank"
>{{over.manage.split('/')[8].split('.')[1] == 'pdf'||over.manage.split('/')[8].split('.')[1] == 'jpeg'||over.manage.split('/')[8].split('.')[1] == 'png'||over.manage.split('/')[8].split('.')[1] == 'jpg'?'预览':'下载'}}</a>
<!-- <a :href="over.manage" download v-if="over.manage">下载 |</a> <!-- <a :href="over.manage" download v-if="over.manage">下载 |</a>
<a :href="over.manage" target="_blank" v-if="over.manage">预览</a> --> <a :href="over.manage" target="_blank" v-if="over.manage">预览</a>-->
</span> </span>
</h3> </h3>
<h3> <h3>
项目经费表决算表 项目经费表决算表
<span class="download"> <span class="download">
<a :href="over.money">{{over.money?over.money.split('/')[8]:'未上传'}}</a> <a :href="over.money">{{over.money?over.money.split('/')[8]:'未上传'}}</a>
&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;
<a v-if="over.money" :href="over.money" target="_blank">{{over.money.split('/')[8].split('.')[1] == 'pdf'||over.money.split('/')[8].split('.')[1] == 'jpeg'||over.money.split('/')[8].split('.')[1] == 'png'||over.money.split('/')[8].split('.')[1] == 'jpg'?'预览':'下载'}}</a> <a
v-if="over.money"
:href="over.money"
target="_blank"
>{{over.money.split('/')[8].split('.')[1] == 'pdf'||over.money.split('/')[8].split('.')[1] == 'jpeg'||over.money.split('/')[8].split('.')[1] == 'png'||over.money.split('/')[8].split('.')[1] == 'jpg'?'预览':'下载'}}</a>
<!-- <a :href="over.money" download v-if="over.money">下载 |</a> <!-- <a :href="over.money" download v-if="over.money">下载 |</a>
<a :href="over.money" target="_blank" v-if="over.money">预览</a>--> <a :href="over.money" target="_blank" v-if="over.money">预览</a>-->
</span> </span>
</h3> </h3>
</div> </div>
</div> </div>
@@ -195,8 +275,8 @@
</div> </div>
</template> </template>
<script> <script>
import HeaderNav from '../../components/HeaderNav' import HeaderNav from "../../components/HeaderNav";
import FooterNav from '../../components/FooterNav' import FooterNav from "../../components/FooterNav";
const path = require("path"); const path = require("path");
const files = require.context("@/components", false, /\.vue$/); const files = require.context("@/components", false, /\.vue$/);
const modules = {}; const modules = {};
@@ -205,103 +285,111 @@ files.keys().forEach(key => {
modules[names] = files(key).default || files(key); modules[names] = files(key).default || files(key);
}); });
// eslint-disable-next-line no-unused-vars // eslint-disable-next-line no-unused-vars
var preD = function (e) { var preD = function(e) {
e.preventDefault() e.preventDefault();
} };
export default { export default {
components: modules, components: modules,
data () { data() {
return { return {
index_num: 2, index_num: 2,
sub: 0, sub: 0,
name: ' ', name: " ",
info: ['1'], info: ["1"],
zDatc: [], zDatc: [],
zDatb: [], zDatb: [],
dataFile: null, dataFile: null,
id: null, id: null,
fileName: null, fileName: null,
over: {}, over: {},
probook:"" probook: ""
} };
}, },
created () { created() {
this.GetListImg() this.GetListImg();
}, },
methods: { methods: {
plement(){}, plement() {},
aterm () { }, aterm() {},
fterm () { }, fterm() {},
getData () { getData() {
this.$http({ this.$http({
method: 'post', method: "post",
url: 'v1/project/details', url: "v1/project/details",
data: { data: {
id: this.id id: this.id
} }
}) })
.then(res => { .then(res => {
console.log(res, 234568) console.log(res, 234568);
if (res.data.data.code === 200) { if (res.data.data.code === 200) {
this.zDatc = res.data.data.data.ProjectDetails this.zDatc = res.data.data.data.ProjectDetails;
console.log(this.zDatc, 256) console.log(this.zDatc, 256);
} else { } else {
alert('请求失败!') alert("请求失败!");
} }
}) })
.catch(err => { .catch(err => {
console.log(err) console.log(err);
}) });
}, },
getOver () { getOver() {
this.$http({ this.$http({
method: 'get', method: "get",
url: 'v1/pro/center', url: "v1/pro/center",
params: { params: {
// id: 83, // id: 83,
id:this.$route.query.id, id: this.$route.query.id,
category: 'over' category: "over"
} }
}) })
.then(res => { .then(res => {
// console.log(res,500) // console.log(res,500)
if (res.data.data.code === 200) { if (res.data.data.code === 200) {
let data = res.data.data.data[0] console.log(res.data.data.data[0].status)
this.over = data if(res.data.data.data[0].status == 1000){
let data = res.data.data.data[0];
this.over = data;
}else{
this.$message.error("当前页面未提交暂时无法查看!");
this.$router.push({ path: `/schedule${this.id}` });
}
console.log(data, "1111");
// console.log(this.over.probook.split('/')[8],500) // console.log(this.over.probook.split('/')[8],500)
// var index = file.response.data.url.lastIndexOf("."); // var index = file.response.data.url.lastIndexOf(".");
// var filetype = file.response.data.url.substr(index + 1); // var filetype = file.response.data.url.substr(index + 1);
} else { } else {
alert(res.data.data.msg) this.$message.error("当前页面未提交暂时无法查看!");
this.$router.push({path: `/schedule${this.id}`}); this.$router.push({ path: `/schedule${this.id}` });
} }
}) })
.catch(err => { .catch(err => {
console.log(err) console.log(err);
}) });
} }
}, },
// eslint-disable-next-line no-dupe-keys // eslint-disable-next-line no-dupe-keys
created () { created() {
this.id = this.$route.query.id this.id = this.$route.query.id;
this.getData() this.getData();
this.getOver() this.getOver();
} }
} };
</script> </script>
<style lang="scss" scoped> <style lang="scss" scoped>
.baseinfo{ .baseinfo {
// min-width:180px; // min-width:180px;
display: flex; display: flex;
.right{ .right {
margin-left: 15px; margin-left: 15px;
margin-bottom: 20px; margin-bottom: 20px;
position: relative; position: relative;
top: -5px; top: -5px;
} }
.left{ .left {
margin-left:29px; margin-left: 29px;
} }
} }
#excute_box { #excute_box {
@@ -323,10 +411,10 @@ export default {
font-size: 14px; font-size: 14px;
margin-right: 10px; margin-right: 10px;
} }
p{ p {
font-size: 14px!important; font-size: 14px !important;
margin-left: 33px; margin-left: 33px;
line-height: 33px!important; line-height: 33px !important;
} }
label { label {
// margin-left: 16px; // margin-left: 16px;

View File

@@ -70,9 +70,10 @@
:on-preview="handlePreview" :on-preview="handlePreview"
style="position: relative" style="position: relative"
:http-request="uploadfile" :http-request="uploadfile"
:disabled="getpros.over.status == 127" :disabled="getpros.over.status == 1000"
> >
<div style="position: absolute;z-index:9999;width:80px;left:10px;top:42px"> <!-- :disabled="getpros.over.status == 1000" -->
<div style="position: absolute;z-index:9999;width:80px;left:9px;top:42px">
<!-- {{uploadname[2]}} --> <!-- {{uploadname[2]}} -->
<!-- --> <!-- -->
<el-progress <el-progress
@@ -97,7 +98,7 @@
>{{filename? filename.split('_')[0]+''+(filename.split('_')[0].includes('.')?'':'.'+filename.split('.')[1]):""}}</a> >{{filename? filename.split('_')[0]+''+(filename.split('_')[0].includes('.')?'':'.'+filename.split('.')[1]):""}}</a>
<p class="tip">点击上方图标可上传文件</p> <p class="tip">点击上方图标可上传文件</p>
<!-- v-if="imageUrl" --> <!-- v-if="imageUrl" -->
<div @click="beforeRemove1(filename,'imageUrl')" class="close" v-if="imageUrl&&getpros.over.status!=127"> <div @click="beforeRemove1(filename,'imageUrl')" class="close" v-if="imageUrl&&getpros.over.status!=1000">
<i class="el-icon-close close"></i> <i class="el-icon-close close"></i>
</div> </div>
@@ -113,9 +114,9 @@
:show-file-list="false" :show-file-list="false"
style="position: relative" style="position: relative"
:http-request="uploadfile1" :http-request="uploadfile1"
:disabled="getpros.over.status == 127" :disabled="getpros.over.status == 1000"
> >
<div style="position: absolute;z-index:9999;width:80px;left:10px;top:42px"> <div style="position: absolute;z-index:9999;width:80px;left:9px;top:42px">
<!-- {{uploadname[2]}} --> <!-- {{uploadname[2]}} -->
<!-- --> <!-- -->
<el-progress <el-progress
@@ -143,7 +144,7 @@
@click="beforeRemove1(filename1,'imageUrl1')" @click="beforeRemove1(filename1,'imageUrl1')"
class="close" class="close"
style="left:52px" style="left:52px"
v-if="imageUrl1&&getpros.over.status!=127" v-if="imageUrl1&&getpros.over.status!=1000"
> >
<i class="el-icon-close close"></i> <i class="el-icon-close close"></i>
</div> </div>
@@ -344,7 +345,7 @@
:key="index" :key="index"
:class="{ on: index % 2 == 0, off: index % 2 != 0 }" :class="{ on: index % 2 == 0, off: index % 2 != 0 }"
> >
<td style="vertical-align:middle;">{{new Date(names.month*1000).getMonth()+1}}</td> <td style="vertical-align:middle;">{{new Date(names.month*1000).getFullYear()}}-{{new Date(names.month*1000).getMonth()+1}}</td>
<td style="vertical-align:middle;">{{names.type}}</td> <td style="vertical-align:middle;">{{names.type}}</td>
<td class="td_tooltip" style> <td class="td_tooltip" style>
<div v-for="(item,index) in (JSON.parse(names.elereport))" :key="index"> <div v-for="(item,index) in (JSON.parse(names.elereport))" :key="index">
@@ -438,9 +439,10 @@
:show-file-list="false" :show-file-list="false"
style="position: relative" style="position: relative"
:http-request="uploadfile2" :http-request="uploadfile2"
:disabled="getpros.over.status == 127"
> >
<div style="position: absolute;z-index:9999;width:80px;left:10px;top:42px"> <!-- :disabled="getpros.over.status == 1000" -->
<div style="position: absolute;z-index:9999;width:80px;left:9px;top:42px">
<!-- {{uploadname[2]}} --> <!-- {{uploadname[2]}} -->
<!-- --> <!-- -->
<el-progress <el-progress
@@ -456,7 +458,7 @@
</el-upload> </el-upload>
<a class="filename" :href="fileurl2">{{filename2?filename2:''}}</a> <a class="filename" :href="fileurl2">{{filename2?filename2:''}}</a>
<p class="tip">点击上方图标可上传文件</p> <p class="tip">点击上方图标可上传文件</p>
<div @click="beforeRemove1(filename2,'imageUrl2')" class="close" v-if="imageUrl2&&getpros.over.status!=127"> <div @click="beforeRemove1(filename2,'imageUrl2')" class="close" v-if="imageUrl2&&getpros.over.status!=1000">
<i class="el-icon-close close"></i> <i class="el-icon-close close"></i>
</div> </div>
<!--文件上传--> <!--文件上传-->
@@ -531,7 +533,7 @@
range-separator="" range-separator=""
start-placeholder="开始日期" start-placeholder="开始日期"
end-placeholder="结束日期" end-placeholder="结束日期"
style="margin-left:25px" style="margin-left:25px;"
></el-date-picker> ></el-date-picker>
</div> </div>
</div> </div>
@@ -635,9 +637,9 @@
:show-file-list="false" :show-file-list="false"
style="position: relative" style="position: relative"
:http-request="uploadfile3" :http-request="uploadfile3"
:disabled="getpros.over.status == 127" :disabled="getpros.over.status == 1000"
> >
<div style="position: absolute;z-index:9999;width:80px;left:10px;top:42px"> <div style="position: absolute;z-index:9999;width:80px;left:9px;top:42px">
<!-- {{uploadname[2]}} --> <!-- {{uploadname[2]}} -->
<!-- --> <!-- -->
<el-progress <el-progress
@@ -656,7 +658,7 @@
:href="fileurl4" :href="fileurl4"
>{{filename4? filename4.split('_')[0]+''+(filename4.split('_')[0].includes('.')?'':'.'+filename4.split('.')[1]):""}}</a> >{{filename4? filename4.split('_')[0]+''+(filename4.split('_')[0].includes('.')?'':'.'+filename4.split('.')[1]):""}}</a>
<p class="tip">点击上方图标可上传文件</p> <p class="tip">点击上方图标可上传文件</p>
<div @click="beforeRemove1(filename4,'imageUrl4')" class="close" v-if="imageUrl4&&getpros.over.status!=127"> <div @click="beforeRemove1(filename4,'imageUrl4')" class="close" v-if="imageUrl4&&getpros.over.status!=1000">
<i class="el-icon-close close"></i> <i class="el-icon-close close"></i>
</div> </div>
<!--文件上传--> <!--文件上传-->
@@ -671,9 +673,9 @@
:show-file-list="false" :show-file-list="false"
style="position: relative" style="position: relative"
:http-request="uploadfile4" :http-request="uploadfile4"
:disabled="getpros.over.status == 127" :disabled="getpros.over.status == 1000"
> >
<div style="position: absolute;z-index:9999;width:80px;left:10px;top:42px"> <div style="position: absolute;z-index:9999;width:80px;left:9px;top:42px">
<!-- {{uploadname[2]}} --> <!-- {{uploadname[2]}} -->
<!-- --> <!-- -->
<el-progress <el-progress
@@ -692,7 +694,7 @@
:href="fileurl5" :href="fileurl5"
>{{filename5? filename5.split('_')[0]+''+(filename5.split('_')[0].includes('.')?'':'.'+filename5.split('.')[1]):""}}</a> >{{filename5? filename5.split('_')[0]+''+(filename5.split('_')[0].includes('.')?'':'.'+filename5.split('.')[1]):""}}</a>
<p class="tip">点击上方图标可上传文件</p> <p class="tip">点击上方图标可上传文件</p>
<div @click="beforeRemove1(filename5,'imageUrl5')" class="close" v-if="imageUrl5&&getpros.over.status!=127"> <div @click="beforeRemove1(filename5,'imageUrl5')" class="close" v-if="imageUrl5&&getpros.over.status!=1000">
<i class="el-icon-close close"></i> <i class="el-icon-close close"></i>
</div> </div>
<!--文件上传--> <!--文件上传-->
@@ -707,9 +709,9 @@
:show-file-list="false" :show-file-list="false"
style="position: relative" style="position: relative"
:http-request="uploadfile5" :http-request="uploadfile5"
:disabled="getpros.over.status == 127" :disabled="getpros.over.status == 1000"
> >
<div style="position: absolute;z-index:9999;width:80px;left:10px;top:42px"> <div style="position: absolute;z-index:9999;width:80px;left:9px;top:42px">
<!-- {{uploadname[2]}} --> <!-- {{uploadname[2]}} -->
<!-- --> <!-- -->
<el-progress <el-progress
@@ -731,7 +733,7 @@
<div <div
@click="beforeRemove1(filename6,'imageUrl6')" @click="beforeRemove1(filename6,'imageUrl6')"
class="close" class="close"
v-if="imageUrl6&&getpros.over.status!=127" v-if="imageUrl6&&getpros.over.status!=1000"
style="left:75px;top:-60" style="left:75px;top:-60"
> >
<i class="el-icon-close close"></i> <i class="el-icon-close close"></i>
@@ -748,6 +750,7 @@
plain plain
class="button_add" class="button_add"
@click="add" @click="add"
v-if="getpros.over.status !=1000"
>添加</el-button> >添加</el-button>
</div> </div>
@@ -765,6 +768,7 @@
icon="el-icon-delete" icon="el-icon-delete"
circle circle
style="margin-left:64px" style="margin-left:64px"
v-if="getpros.over.status !=1000"
@click="delactive(j)" @click="delactive(j)"
></el-button> ></el-button>
<!-- <input type="text" name="activity" value v-model="name[j]" required class="midsion" /> --> <!-- <input type="text" name="activity" value v-model="name[j]" required class="midsion" /> -->
@@ -776,9 +780,9 @@
:show-file-list="false" :show-file-list="false"
style="margin-left:3px;position:relative" style="margin-left:3px;position:relative"
:http-request="uploadfile10" :http-request="uploadfile10"
:disabled="getpros.over.status == 127" :disabled="getpros.over.status == 1000"
> >
<div style="position: absolute;z-index:9999;width:80px;left:10px;top:42px"> <div style="position: absolute;z-index:9999;width:80px;left:9px;top:42px">
<!-- {{uploadname[2]}} --> <!-- {{uploadname[2]}} -->
<!-- --> <!-- -->
<el-progress <el-progress
@@ -802,7 +806,7 @@
<div <div
@click="beforeRemove1('','imageUrl7',j)" @click="beforeRemove1('','imageUrl7',j)"
class="close" class="close"
v-if="i.length&&getpros.over.status!=127" v-if="i.length&&getpros.over.status!=1000"
style="left:-9px;top:-65px" style="left:-9px;top:-65px"
> >
<i class="el-icon-close close" style="left:140px;top:-107"></i> <i class="el-icon-close close" style="left:140px;top:-107"></i>
@@ -821,9 +825,9 @@
:show-file-list="false" :show-file-list="false"
style="position: relative" style="position: relative"
:http-request="uploadfile7" :http-request="uploadfile7"
:disabled="getpros.over.status == 127" :disabled="getpros.over.status == 1000"
> >
<div style="position: absolute;z-index:9999;width:80px;left:10px;top:42px"> <div style="position: absolute;z-index:9999;width:80px;left:9px;top:42px">
<!-- {{uploadname[2]}} --> <!-- {{uploadname[2]}} -->
<!-- --> <!-- -->
<el-progress <el-progress
@@ -842,7 +846,7 @@
:href="fileurl8" :href="fileurl8"
>{{filename8? filename8.split('_')[0]+''+(filename8.split('_')[0].includes('.')?'':'.'+filename8.split('.')[1]):""}}</a> >{{filename8? filename8.split('_')[0]+''+(filename8.split('_')[0].includes('.')?'':'.'+filename8.split('.')[1]):""}}</a>
<p class="tip">点击上方图标可上传文件</p> <p class="tip">点击上方图标可上传文件</p>
<div @click="beforeRemove1(filename8,'imageUrl8')" class="close" v-if="imageUrl8&&getpros.over.status!=127"> <div @click="beforeRemove1(filename8,'imageUrl8')" class="close" v-if="imageUrl8&&getpros.over.status!=1000">
<i class="el-icon-close close"></i> <i class="el-icon-close close"></i>
</div> </div>
<!--文件上传--> <!--文件上传-->
@@ -857,9 +861,9 @@
:show-file-list="false" :show-file-list="false"
style="position: relative" style="position: relative"
:http-request="uploadfile8" :http-request="uploadfile8"
:disabled="getpros.over.status == 127" :disabled="getpros.over.status == 1000"
> >
<div style="position: absolute;z-index:9999;width:80px;left:10px;top:42px"> <div style="position: absolute;z-index:9999;width:80px;left:9px;top:42px">
<!-- {{uploadname[2]}} --> <!-- {{uploadname[2]}} -->
<!-- --> <!-- -->
<el-progress <el-progress
@@ -878,7 +882,7 @@
:href="fileurl9" :href="fileurl9"
>{{filename9? filename9.split('_')[0]+''+(filename9.split('_')[0].includes('.')?'':'.'+filename9.split('.')[1]):""}}</a> >{{filename9? filename9.split('_')[0]+''+(filename9.split('_')[0].includes('.')?'':'.'+filename9.split('.')[1]):""}}</a>
<p class="tip">点击上方图标可上传文件</p> <p class="tip">点击上方图标可上传文件</p>
<div @click="beforeRemove1(filename9,'imageUrl9')" class="close" v-if="imageUrl9&&getpros.over.status!=127"> <div @click="beforeRemove1(filename9,'imageUrl9')" class="close" v-if="imageUrl9&&getpros.over.status!=1000">
<i class="el-icon-close close"></i> <i class="el-icon-close close"></i>
</div> </div>
<!--文件上传--> <!--文件上传-->
@@ -893,9 +897,9 @@
:show-file-list="false" :show-file-list="false"
style="position: relative" style="position: relative"
:http-request="uploadfile9" :http-request="uploadfile9"
:disabled="getpros.over.status == 127" :disabled="getpros.over.status == 1000"
> >
<div style="position: absolute;z-index:9999;width:80px;left:10px;top:42px"> <div style="position: absolute;z-index:9999;width:80px;left:9px;top:42px">
<!-- {{uploadname[2]}} --> <!-- {{uploadname[2]}} -->
<!-- --> <!-- -->
<el-progress <el-progress
@@ -914,7 +918,7 @@
:href="fileurl10" :href="fileurl10"
>{{filename10? filename10.split('_')[0]+''+(filename10.split('_')[0].includes('.')?'':'.'+filename10.split('.')[1]):""}}</a> >{{filename10? filename10.split('_')[0]+''+(filename10.split('_')[0].includes('.')?'':'.'+filename10.split('.')[1]):""}}</a>
<p class="tip">点击上方图标可上传文件</p> <p class="tip">点击上方图标可上传文件</p>
<div @click="beforeRemove1(filename10,'imageUrl10')" class="close" v-if="imageUrl10&&getpros.over.status!=127"> <div @click="beforeRemove1(filename10,'imageUrl10')" class="close" v-if="imageUrl10&&getpros.over.status!=1000">
<i class="el-icon-close close"></i> <i class="el-icon-close close"></i>
</div> </div>
<!--文件上传--> <!--文件上传-->
@@ -926,7 +930,7 @@
<!-- :model="numberValidateForm" --> <!-- :model="numberValidateForm" -->
<div class="ll" v-if="getpros.over.status!=127"> <div class="ll" v-if="getpros.over.status!=1000">
<el-form ref="numberValidateForm" label-width="100px" class="demo-ruleForm"> <el-form ref="numberValidateForm" label-width="100px" class="demo-ruleForm">
<el-form-item> <el-form-item>
@@ -2030,7 +2034,7 @@ export default {
if (houzui == "doc" || houzui == "docx") { if (houzui == "doc" || houzui == "docx") {
this.imageUrl2 = "/static/img/word.png"; this.imageUrl2 = "/static/img/word.png";
} else if (houzui == "pptx" || houzui == "ppt") { } else if (houzui == "pptx" || houzui == "ppt") {
this.imageUrl1 = "/static/img/ppt.png"; this.imageUrl2 = "/static/img/ppt.png";
} else if (houzui == "pdf") { } else if (houzui == "pdf") {
this.imageUrl2 = "/static/img/pdf.jpg"; this.imageUrl2 = "/static/img/pdf.jpg";
} else if (houzui == "xls" || houzui == "xlsx") { } else if (houzui == "xls" || houzui == "xlsx") {
@@ -2561,37 +2565,49 @@ export default {
} }
}) })
.then(res => { .then(res => {
console.log(res.data.data, 88888); // console.log(res.data.data, 88888);
if (res.data.data.code == 0) { if (res.data.data.code == 0) {
alert(res.data.data.message); alert(res.data.data.message);
this.$router.push({ path: "schedule" + this.id }); this.$router.push({ path: "schedule" + this.id });
// this.before() // this.before()
} else { } else {
console.log(res, 100); // console.log(res, 100);
this.c = res.data.data; this.c = res.data.data;
this.getpros = res.data.data; this.getpros = res.data.data;
console.log(this.getpros, "aaaa"); // console.log(this.getpros, "aaaa");
// this.getpros.prodemofg="" // this.getpros.prodemofg=""
let shili = res.data.data.probook; let shili = res.data.data.probook;
this.shili = shili.substring(shili.lastIndexOf("/") + 1); this.shili = shili.substring(shili.lastIndexOf("/") + 1);
let shili1 = res.data.data.pifu; let shili1 = res.data.data.pifu;
this.shili1 = shili1.substring(shili1.lastIndexOf("/") + 1); if(shili1){
this.shili1 = shili1.substring(shili1.lastIndexOf("/") + 1);
}
let shili2 = res.data.data.fangan; let shili2 = res.data.data.fangan;
this.shili2 = shili2.substring(shili2.lastIndexOf("/") + 1); if(shili2){
this.shili2 = shili2.substring(shili2.lastIndexOf("/") + 1);
}
let shili3 = res.data.data.probook; let shili3 = res.data.data.probook;
this.shili3 = shili.substring(shili.lastIndexOf("/") + 1); if(shili3 ){
this.shili3 = shili.substring(shili.lastIndexOf("/") + 1);
}
let shili4 = res.data.data.probook; let shili4 = res.data.data.probook;
this.shili4 = shili.substring(shili.lastIndexOf("/") + 1); if(shili4){
this.shili4 = shili.substring(shili.lastIndexOf("/") + 1);
}
this.$set(this, "visitDate", [ this.$set(this, "visitDate", [
res.data.data.aterm, res.data.data.aterm,
res.data.data.fterm res.data.data.fterm
]); ]);
console.log(res.data.data.over, 4455); // console.log(res.data.data.over, 4455);
this.getpros.prodemofg =''; this.getpros.prodemofg ='';
if (res.data.data.over.people) { if (res.data.data.over.people) {
this.getpros.prodemofg = res.data.data.over.people; this.getpros.prodemofg = res.data.data.over.people;
@@ -2682,7 +2698,7 @@ export default {
} }
let arrlist = JSON.parse(res.data.data.over.ziliao) let arrlist = JSON.parse(res.data.data.over.ziliao)
if (arrlist.length) { if (arrlist.length) {
console.log(arrlist.length) // console.log(arrlist.length)
this.ziliaoarr=[] this.ziliaoarr=[]
for(let i in arrlist){ for(let i in arrlist){
let url = arrlist[i].elereport; let url = arrlist[i].elereport;
@@ -2693,7 +2709,7 @@ export default {
this.$set(this.filenamearr, i, filename); this.$set(this.filenamearr, i, filename);
this.ziliaoarr.push(1) this.ziliaoarr.push(1)
let houzhui=this.filenamearr[i].substring(filename.lastIndexOf(".")+1) let houzhui=this.filenamearr[i].substring(filename.lastIndexOf(".")+1)
console.log(houzhui,'10810') // console.log(houzhui,'10810')
if(houzhui=='rar'||houzhui=='zip'){ if(houzhui=='rar'||houzhui=='zip'){
this.ziliaoarr[i] = "/static/img/zip.png"; this.ziliaoarr[i] = "/static/img/zip.png";
}else if(houzhui=='doc'||houzhui=='docx'){ }else if(houzhui=='doc'||houzhui=='docx'){
@@ -2712,7 +2728,7 @@ export default {
this.ziliaoarr[i] = url; this.ziliaoarr[i] = url;
} }
console.log(this.filenamearr) // console.log(this.filenamearr)
} }
} }
@@ -2828,8 +2844,8 @@ export default {
}); });
}, },
fileloading(e, f, g, m) { fileloading(e, f, g, m) {
let houzui = e.split(".")[3]; let houzui = e.substring(e.lastIndexOf(".")+1)//e.split(".")[3];
console.log(houzui); // console.log(houzui);
if (houzui == "doc" || houzui == "docx") { if (houzui == "doc" || houzui == "docx") {
// console.log(g,'klll') // console.log(g,'klll')
this[g] = "/static/img/word.png"; this[g] = "/static/img/word.png";
@@ -2848,7 +2864,7 @@ export default {
} }
this[f] = e.split("/")[8]; this[f] = e.split("/")[8];
this[m] = e; this[m] = e;
console.log(e.split("/")); // console.log(e.split("/"));
}, },
getSubmis() { getSubmis() {
this.$http({ this.$http({
@@ -2927,9 +2943,13 @@ export default {
message: '保存成功!', message: '保存成功!',
type: "success" type: "success"
}); });
this.$router.push({ // this.$router.push({
name: "project" // name: "project"
}); // });
this.$router.go(-1)
// let id = this.id;
// console.log(id)
// $jParams('schedule', { id: id })
} else { } else {
this.$message.error(res.data.data.msg); this.$message.error(res.data.data.msg);
// this.$router.push({ path: `/schedule${this.id}` }); // this.$router.push({ path: `/schedule${this.id}` });
@@ -2946,7 +2966,6 @@ export default {
type: "warning" type: "warning"
}).then(() => { }).then(() => {
let procondition = this.stateText; let procondition = this.stateText;
for (let i in this.ziliaoarr) { for (let i in this.ziliaoarr) {
this.fileurl7[i] = { name: "", elereport: "" }; this.fileurl7[i] = { name: "", elereport: "" };
if (this.name[i]) { if (this.name[i]) {
@@ -2957,6 +2976,7 @@ export default {
} }
} }
console.log(this.getpros, 666); console.log(this.getpros, 666);
this.$http({ this.$http({
method: "post", method: "post",
url: "v1/test/end-sub", url: "v1/test/end-sub",
@@ -2989,9 +3009,8 @@ export default {
message: '提交成功!', message: '提交成功!',
type: "success" type: "success"
}); });
this.$router.push({ //
name: "project" this.$router.go(-1)
});
} else { } else {
this.$message.error(res.data.data.msg); this.$message.error(res.data.data.msg);
// this.$router.push({ path: `/schedule${this.id}` }); // this.$router.push({ path: `/schedule${this.id}` });
@@ -3010,6 +3029,12 @@ export default {
} }
}; };
</script> </script>
<style>
.el-picker-panel {
z-index: 99999 !important;
background: #fff;
}
</style>
<style lang="scss" scoped> <style lang="scss" scoped>
.button_add{ .button_add{
@@ -3086,12 +3111,13 @@ label {
height: 320px; height: 320px;
} }
#excute_box { #excute_box {
width: 92%; width: 1300px;
margin: 0 auto; margin: 0 auto;
margin-top: 40px; margin-top: 40px;
background: white; background: white;
.excute_con { .excute_con {
min-width: 1200px; // min-width: 1200px;
width: 1200px;
margin: 0 auto; margin: 0 auto;
padding: 40px 30px; padding: 40px 30px;
margin-bottom: 51px; margin-bottom: 51px;
@@ -3326,14 +3352,14 @@ label {
padding: 10px 0; padding: 10px 0;
} }
} }
@media screen and (min-width: 1600px) { // @media screen and (min-width: 1600px) {
.button_add{ // .button_add{
height:40px; // height:40px;
margin-top:51px; // margin-top:51px;
position: relative; // position: relative;
top: 38px; // top: 38px;
left: -260px; // left: -260px;
z-index:999 // z-index:999
} // }
} // }
</style> </style>

View File

@@ -197,7 +197,7 @@
:http-request="uploadfile2" :http-request="uploadfile2"
:disabled="subdata.status == 1000" :disabled="subdata.status == 1000"
> >
<div style="position: absolute;z-index:9999;width:80px;left:10px;top:42px"> <div style="position: absolute;z-index:9999;width:80px;left:9px;top:42px">
<!-- {{uploadname[2]}} --> <!-- {{uploadname[2]}} -->
<!-- --> <!-- -->
<el-progress <el-progress
@@ -212,7 +212,8 @@
<i v-else class="el-icon-plus avatar-uploader-icon"></i> <i v-else class="el-icon-plus avatar-uploader-icon"></i>
</el-upload> </el-upload>
<!-- <a class="filename" :href="fileurl">{{filename}}</a> --> <!-- <a class="filename" :href="fileurl">{{filename}}</a> -->
<a class="filename" :href="fileurl">{{filename? filename.split('_')[0]+''+(filename.split('_')[0].includes('.')?'':'.'+filename.split('.')[1]):""}}</a> <!-- {{filename? filename.split('_')[0]+''+(filename.split('_')[0].includes('.')?'':'.'+filename.split('.')[1]):""}} -->
<a class="filename" :href="fileurl">{{filename?filename:''}}</a>
<p class="tip">点击上方图标可上传文件</p> <p class="tip">点击上方图标可上传文件</p>
<div @click="beforeRemove1(filename,'imageUrl')" v-if="imageUrl&&subdata.status!=1000"> <div @click="beforeRemove1(filename,'imageUrl')" v-if="imageUrl&&subdata.status!=1000">
@@ -233,7 +234,7 @@
:http-request="uploadfile1" :http-request="uploadfile1"
:disabled="subdata.status == 1000" :disabled="subdata.status == 1000"
> >
<div style="position: absolute;z-index:9999;width:80px;left:10px;top:42px"> <div style="position: absolute;z-index:9999;width:80px;left:9px;top:42px">
<!-- {{uploadname[2]}} --> <!-- {{uploadname[2]}} -->
<!-- --> <!-- -->
<el-progress <el-progress
@@ -247,7 +248,8 @@
<img v-if="imageUrl1" :src="imageUrl1" class="avatar" /> <img v-if="imageUrl1" :src="imageUrl1" class="avatar" />
<i v-else class="el-icon-plus avatar-uploader-icon"></i> <i v-else class="el-icon-plus avatar-uploader-icon"></i>
</el-upload> </el-upload>
<a class="filename" :href="fileurl1">{{filename1? filename1.split('_')[0]+''+(filename1.split('_')[0].includes('.')?'':'.'+filename1.split('.')[1]):""}}</a> <!-- {{filename1? filename1.split('_')[0]+''+(filename1.split('_')[0].includes('.')?'':'.'+filename1.split('.')[1]):""}} -->
<a class="filename" :href="fileurl1">{{filename1?filename1:''}}</a>
<p class="tip">点击上方图标可上传文件</p> <p class="tip">点击上方图标可上传文件</p>
<!--文件上传--> <!--文件上传-->
<div @click="beforeRemove1(filename1,'imageUrl1')" v-if="imageUrl1&&subdata.status!=1000"> <div @click="beforeRemove1(filename1,'imageUrl1')" v-if="imageUrl1&&subdata.status!=1000">
@@ -267,7 +269,7 @@
:http-request="uploadfile" :http-request="uploadfile"
:disabled="subdata.status == 1000" :disabled="subdata.status == 1000"
> >
<div style="position: absolute;z-index:9999;width:80px;left:10px;top:42px"> <div style="position: absolute;z-index:9999;width:80px;left:9px;top:42px">
<!-- {{uploadname[2]}} --> <!-- {{uploadname[2]}} -->
<!-- --> <!-- -->
<el-progress <el-progress
@@ -281,7 +283,8 @@
<img v-if="imageUrl2" :src="imageUrl2" class="avatar" /> <img v-if="imageUrl2" :src="imageUrl2" class="avatar" />
<i v-else class="el-icon-plus avatar-uploader-icon"></i> <i v-else class="el-icon-plus avatar-uploader-icon"></i>
</el-upload> </el-upload>
<a class="filename" style="margin-top:10px" :href="fileurl2">{{filename2? filename2.split('_')[0]+''+(filename2.split('_')[0].includes('.')?'':'.'+filename2.split('.')[1]):""}}</a> <!-- {{filename2? filename2.split('_')[0]+''+(filename2.split('_')[0].includes('.')?'':'.'+filename2.split('.')[1]):""}} -->
<a class="filename" style="margin-top:10px" :href="fileurl2">{{filename2?filename2:''}}</a>
<p class="tip">点击上方图标可上传文件</p> <p class="tip">点击上方图标可上传文件</p>
<div @click="beforeRemove1(filename2,'imageUrl2')" v-if="imageUrl2&&subdata.status!=1000"> <div @click="beforeRemove1(filename2,'imageUrl2')" v-if="imageUrl2&&subdata.status!=1000">
<i class="el-icon-close close"></i> <i class="el-icon-close close"></i>
@@ -313,6 +316,7 @@
right: 168px; right: 168px;
z-index:999" z-index:999"
@click="add" @click="add"
v-if="subdata.status!=1000"
>添加</el-button> >添加</el-button>
</div> </div>
@@ -339,6 +343,7 @@
circle circle
style="margin-left:64px" style="margin-left:64px"
@click="delactive(j)" @click="delactive(j)"
v-if="subdata.status!=1000"
></el-button> ></el-button>
<div @click="active1(j)"> <div @click="active1(j)">
<el-upload <el-upload
@@ -349,7 +354,7 @@
:http-request="uploadfile6" :http-request="uploadfile6"
:disabled="subdata.status == 1000" :disabled="subdata.status == 1000"
> >
<div style="position: absolute;z-index:9999;width:80px;left:10px;top:42px"> <div style="position: absolute;z-index:9999;width:80px;left:9px;top:42px">
<!-- {{uploadname[2]}} --> <!-- {{uploadname[2]}} -->
<!-- --> <!-- -->
<el-progress <el-progress
@@ -387,7 +392,7 @@
:http-request="uploadfile3" :http-request="uploadfile3"
:disabled="subdata.status == 1000" :disabled="subdata.status == 1000"
> >
<div style="position: absolute;z-index:9999;width:80px;left:10px;top:42px"> <div style="position: absolute;z-index:9999;width:80px;left:9px;top:42px">
<!-- {{uploadname[2]}} --> <!-- {{uploadname[2]}} -->
<!-- --> <!-- -->
<el-progress <el-progress
@@ -401,7 +406,8 @@
<img v-if="imageUrl4" :src="imageUrl4" class="avatar" /> <img v-if="imageUrl4" :src="imageUrl4" class="avatar" />
<i v-else class="el-icon-plus avatar-uploader-icon"></i> <i v-else class="el-icon-plus avatar-uploader-icon"></i>
</el-upload> </el-upload>
<a class="filename" :href="fileurl4">{{filename4? filename4.split('_')[0]+''+(filename4.split('_')[0].includes('.')?'':'.'+filename4.split('.')[1]):""}}</a> <!-- {{filename4? filename4.split('_')[0]+''+(filename4.split('_')[0].includes('.')?'':'.'+filename4.split('.')[1]):""}} -->
<a class="filename" :href="fileurl4">{{filename4?filename4:''}}</a>
<p class="tip">点击上方图标可上传文件</p> <p class="tip">点击上方图标可上传文件</p>
<div @click="beforeRemove1(filename4,'imageUrl4')" v-if="imageUrl4&&subdata.status!=1000"> <div @click="beforeRemove1(filename4,'imageUrl4')" v-if="imageUrl4&&subdata.status!=1000">
<i class="el-icon-close close"></i> <i class="el-icon-close close"></i>
@@ -421,7 +427,7 @@
:http-request="uploadfile4" :http-request="uploadfile4"
:disabled="subdata.status == 1000" :disabled="subdata.status == 1000"
> >
<div style="position: absolute;z-index:9999;width:80px;left:10px;top:42px"> <div style="position: absolute;z-index:9999;width:80px;left:9px;top:42px">
<!-- {{uploadname[2]}} --> <!-- {{uploadname[2]}} -->
<!-- --> <!-- -->
<el-progress <el-progress
@@ -435,7 +441,8 @@
<img v-if="imageUrl5" :src="imageUrl5" class="avatar" /> <img v-if="imageUrl5" :src="imageUrl5" class="avatar" />
<i v-else class="el-icon-plus avatar-uploader-icon"></i> <i v-else class="el-icon-plus avatar-uploader-icon"></i>
</el-upload> </el-upload>
<a class="filename" :href="fileurl5">{{filename5? filename5.split('_')[0]+''+(filename5.split('_')[0].includes('.')?'':'.'+filename5.split('.')[1]):""}}</a> <!-- {{filename5? filename5.split('_')[0]+''+(filename5.split('_')[0].includes('.')?'':'.'+filename5.split('.')[1]):""}} -->
<a class="filename" :href="fileurl5">{{filename5?filename5:'' }}</a>
<p class="tip">点击上方图标可上传文件</p> <p class="tip">点击上方图标可上传文件</p>
<div @click="beforeRemove1(filename5,'imageUrl5')" v-if="imageUrl5&&subdata.status!=1000"> <div @click="beforeRemove1(filename5,'imageUrl5')" v-if="imageUrl5&&subdata.status!=1000">
<i class="el-icon-close close"></i> <i class="el-icon-close close"></i>
@@ -455,7 +462,7 @@
:http-request="uploadfile5" :http-request="uploadfile5"
:disabled="subdata.status == 1000" :disabled="subdata.status == 1000"
> >
<div style="position: absolute;z-index:9999;width:80px;left:10px;top:42px"> <div style="position: absolute;z-index:9999;width:80px;left:9px;top:42px">
<!-- {{uploadname[2]}} --> <!-- {{uploadname[2]}} -->
<!-- --> <!-- -->
<el-progress <el-progress
@@ -469,7 +476,8 @@
<img v-if="imageUrl6" :src="imageUrl6" class="avatar" /> <img v-if="imageUrl6" :src="imageUrl6" class="avatar" />
<i v-else class="el-icon-plus avatar-uploader-icon"></i> <i v-else class="el-icon-plus avatar-uploader-icon"></i>
</el-upload> </el-upload>
<a class="filename" :href="fileurl6">{{filename6? filename6.split('_')[0]+''+(filename6.split('_')[0].includes('.')?'':'.'+filename6.split('.')[1]):""}}</a> <!-- {{filename6? filename6.split('_')[0]+''+(filename6.split('_')[0].includes('.')?'':'.'+filename6.split('.')[1]):""}} -->
<a class="filename" :href="fileurl6">{{filename6? filename6:""}}</a>
<p class="tip">点击上方图标可上传文件</p> <p class="tip">点击上方图标可上传文件</p>
<div @click="beforeRemove1(filename6,'imageUrl6')" v-if="imageUrl6&&subdata.status!=1000"> <div @click="beforeRemove1(filename6,'imageUrl6')" v-if="imageUrl6&&subdata.status!=1000">
<i class="el-icon-close close"></i> <i class="el-icon-close close"></i>
@@ -1085,10 +1093,10 @@ export default {
console.log(data, "data"); console.log(data, "data");
this.teamtext = data; this.teamtext = data;
}, },
inform(data) { // inform(data) {
console.log(data,44444); // console.log(data,44444);
this.infomrText = data; // this.infomrText = data;
}, // },
inform2(data) { inform2(data) {
console.log(data, "111111e"); console.log(data, "111111e");
this.team = data; this.team = data;
@@ -1115,7 +1123,7 @@ export default {
this.plementText = data; this.plementText = data;
}, },
fileloading(e,f,g,m){ fileloading(e,f,g,m){
let houzui =e.split('.')[3] let houzui = e.substring(e.lastIndexOf(".")+1)//e.split('.')[3]
console.log(houzui) console.log(houzui)
if (houzui == "doc" || houzui == "docx") { if (houzui == "doc" || houzui == "docx") {
this[g] = "/static/img/word.png"; this[g] = "/static/img/word.png";
@@ -1441,7 +1449,7 @@ export default {
}, },
getSubmis() { getSubmis() {
let t = this; let t = this;
console.log(t.$route.query.id, "aa"); //console.log(t.$route.query.id, "aa");
this.$http({ this.$http({
method: "get", method: "get",
url: "v1/test/center", url: "v1/test/center",
@@ -1451,7 +1459,7 @@ export default {
}) })
.then(res => { .then(res => {
// console.log(res.data.code) // console.log(res.data.code)
console.log(res, 888); // console.log(res, 888);
if (res.data.data.code === 200) { if (res.data.data.code === 200) {
t.subdata=res.data.data.data.center?res.data.data.data.center:res.data.data.data.optimize t.subdata=res.data.data.data.center?res.data.data.data.center:res.data.data.data.optimize
@@ -1463,8 +1471,8 @@ export default {
? "0" + (date.getMonth() + 1) ? "0" + (date.getMonth() + 1)
: date.getMonth() + 1) + "-"; : date.getMonth() + 1) + "-";
let D = date.getDate() + " "; let D = date.getDate() + " ";
console.log(Y + M + D); // console.log(Y + M + D);
console.log(this.getsubs); // console.log(this.getsubs);
this.visitDate[0] = Y + M + D; this.visitDate[0] = Y + M + D;
var date1 = new Date(parseInt(this.getsubs.fterm) * 1000); var date1 = new Date(parseInt(this.getsubs.fterm) * 1000);
@@ -1474,24 +1482,25 @@ export default {
? "0" + (date1.getMonth() + 1) ? "0" + (date1.getMonth() + 1)
: date1.getMonth() + 1) + "-"; : date1.getMonth() + 1) + "-";
let D1 = date1.getDate() + " "; let D1 = date1.getDate() + " ";
console.log(Y1 + M1 + D1); // console.log(Y1 + M1 + D1);
console.log(this.getsubs); // console.log(this.getsubs);
this.visitDate[1] = Y1 + M1 + D1; this.visitDate[1] = Y1 + M1 + D1;
let shili = res.data.data.data.optimize.probook; let shili = res.data.data.data.optimize.probook;
console.log(shili)
// var filename = shili.substring(shili.lastIndexOf('/')+1); // var filename = shili.substring(shili.lastIndexOf('/')+1);
// console.log(filename) // console.log(filename)
this.shili = shili.substring(shili.lastIndexOf("/") + 1); this.shili = shili.substring(shili.lastIndexOf("/") + 1);
console.log(this.shili,'1223') // console.log(this.shili,'1223')
let shili1 = res.data.data.data.optimize.fangan; let shili1 = res.data.data.data.optimize.fangan;
this.shili1 = shili1.substring(shili.lastIndexOf("/") + 1); this.shili1 = shili1.substring(shili.lastIndexOf("/") + 1);
// console.log(this.team,121222)s // console.log(this.team,121222)s
this.team=res.data.data.data.center.people this.team=res.data.data.data.center.people
this.infomrText=res.data.data.data.center.develop this.infomrText=res.data.data.data.center.develop
this.goalsText=res.data.data.data.center.pro_condition this.goalsText=res.data.data.data.center.pro_condition
console.log(this.goalsText,"goad") //console.log(this.goalsText,"goad")
this.effectText=res.data.data.data.center.result this.effectText=res.data.data.data.center.result
this.plementText=res.data.data.data.center.summary this.plementText=res.data.data.data.center.summary
this.fileurl=res.data.data.data.center.fina this.fileurl=res.data.data.data.center.fina
@@ -1499,7 +1508,7 @@ export default {
this.fileloading(res.data.data.data.center.elereport,'filename1','imageUrl1','fileurl1') this.fileloading(res.data.data.data.center.elereport,'filename1','imageUrl1','fileurl1')
this.fileloading(res.data.data.data.center.adjust,'filename2','imageUrl2','fileurl2') this.fileloading(res.data.data.data.center.adjust,'filename2','imageUrl2','fileurl2')
let arrlist = JSON.parse(res.data.data.data.center.ziliao) let arrlist = JSON.parse(res.data.data.data.center.ziliao)
console.log(arrlist.length) // console.log(arrlist.length)
if (arrlist.length) { if (arrlist.length) {
this.ziliaoarr=[] this.ziliaoarr=[]
@@ -1512,7 +1521,7 @@ export default {
this.$set(this.filenamearr, i, filename); this.$set(this.filenamearr, i, filename);
this.ziliaoarr.push(1) this.ziliaoarr.push(1)
let houzhui=this.filenamearr[i].substring(filename.lastIndexOf(".")+1) let houzhui=this.filenamearr[i].substring(filename.lastIndexOf(".")+1)
console.log(houzhui,'10810') // console.log(houzhui,'10810')
if(houzhui=='rar'||houzhui=='zip'){ if(houzhui=='rar'||houzhui=='zip'){
this.ziliaoarr[i] = "/static/img/zip.png"; this.ziliaoarr[i] = "/static/img/zip.png";
}else if(houzhui=='doc'||houzhui=='docx'){ }else if(houzhui=='doc'||houzhui=='docx'){
@@ -1531,7 +1540,7 @@ export default {
this.ziliaoarr[i] = url; this.ziliaoarr[i] = url;
} }
console.log(this.filenamearr) // console.log(this.filenamearr)
} }
} }
@@ -1566,7 +1575,42 @@ export default {
} }
} }
// console.log(this.fileurl3, "额"); // console.log(this.fileurl3, "额");
if(!this.fileurl){
this.$message({
message: '请先上传财务报告!',
type: "error"
});
return false;
}else if(!this.fileurl1){
this.$message({
message: '请先上传电子报告!',
type: "error"
});
return false;
}
else if(!this.fileurl4){
this.$message({
message: '请先上财务中期预算表!',
type: "error"
});
return false;
}
else if(!this.fileurl5){
this.$message({
message: '请先上传其他类报告!',
type: "error"
});
return false;
}
else if(!this.fileurl6){
this.$message({
message: '请先上传中期ppt文件!',
type: "error"
});
return false;
}
else{
this.$http({ this.$http({
method: "post", method: "post",
url: "v1/test/cent-sub", url: "v1/test/cent-sub",
@@ -1596,17 +1640,19 @@ export default {
message: res.data.data.msg, message: res.data.data.msg,
type: "success" type: "success"
}); });
this.$router.push({ this.$router.go(-1)
name: "project" // this.$router.push({
}); // name: "project"
// });
} else { } else {
this.$message.error(res.data.data.msg); this.$message.error(res.data.data.msg);
this.$router.push({path: `/schedule${this.id}`}); // this.$router.push({path: `/schedule${this.id}`});
} }
}) })
.catch(err => { .catch(err => {
console.log(err); console.log(err);
}); });
}
}); });
} else if (index == 1) { } else if (index == 1) {
this.$confirm("请确认是否提交中期评审材料,提交后不可修改!", "提示", { this.$confirm("请确认是否提交中期评审材料,提交后不可修改!", "提示", {
@@ -1627,41 +1673,34 @@ export default {
this.$message({ this.$message({
message: '请先上传财务报告!', message: '请先上传财务报告!',
type: "danger" type: "error"
}); });
return false; return false;
}else if(!this.fileurl1){ }else if(!this.fileurl1){
this.$message({ this.$message({
message: '请先上传电子报告!', message: '请先上传电子报告!',
type: "danger" type: "error"
});
return false;
}
else if(!this.fileurl2){
this.$message({
message: '请先上传调整申请表!',
type: "danger"
}); });
return false; return false;
} }
else if(!this.fileurl4){ else if(!this.fileurl4){
this.$message({ this.$message({
message: '请先上财务中期预算表!', message: '请先上财务中期预算表!',
type: "danger" type: "error"
}); });
return false; return false;
} }
else if(!this.fileurl5){ else if(!this.fileurl5){
this.$message({ this.$message({
message: '请先上传其他类报告!', message: '请先上传其他类报告!',
type: "danger" type: "error"
}); });
return false; return false;
} }
else if(!this.fileurl6){ else if(!this.fileurl6){
this.$message({ this.$message({
message: '请先上传中期ppt文件!', message: '请先上传中期ppt文件!',
type: "danger" type: "error"
}); });
return false; return false;
} }
@@ -1695,12 +1734,14 @@ export default {
message: res.data.data.msg, message: res.data.data.msg,
type: "success" type: "success"
}); });
this.$router.push({ this.$router.go(-1)
name: "project"
}); // this.$router.push({
// name: "project"
// });
} else { } else {
this.$message.error(res.data.data.msg); this.$message.error(res.data.data.msg);
this.$router.push({path: `/schedule${this.id}`}); // this.$router.push({path: `/schedule${this.id}`});
} }
}) })
.catch(err => { .catch(err => {

View File

@@ -1,10 +1,9 @@
<template> <template>
<div class="wrapper" v-if="types"> <div class="wrapper" v-if="types">
<header-nav :index_num="index_num"></header-nav> <header-nav :index_num="index_num"></header-nav>
<div id="box"> <div id="box">
<h3>项目信息优化</h3> <h3>项目信息优化</h3>
<!-- 导航 --> <div class="box">
<div class="box">
<div <div
:class="sub == 0 ? 'color' : ''" :class="sub == 0 ? 'color' : ''"
:style="{ :style="{
@@ -22,7 +21,7 @@
</div> </div>
<div class="form"> <div class="form">
<el-form <el-form
:model="ruleForm" :model="ruleForm"
:rules="rules" :rules="rules"
ref="ruleForm" ref="ruleForm"
@@ -173,7 +172,8 @@
</el-form-item> </el-form-item>
</el-form> </el-form>
</div> </div>
<el-form
<el-form
:model="ruleForm1" :model="ruleForm1"
:rules="rules1" :rules="rules1"
ref="ruleForm1" ref="ruleForm1"
@@ -181,7 +181,7 @@
class="demo-ruleForm" class="demo-ruleForm"
v-show="sub == 1" v-show="sub == 1"
> >
<el-form-item label="项目主责单位" prop="prespo"> <el-form-item label="项目主责单位" prop="prespo">
<el-input v-model="ruleForm1.prespo"></el-input> <el-input v-model="ruleForm1.prespo"></el-input>
</el-form-item> </el-form-item>
<div style="display:flex"> <div style="display:flex">
@@ -237,7 +237,8 @@
<el-input v-model="ruleForm1.respoctel" style="width:150px"></el-input> <el-input v-model="ruleForm1.respoctel" style="width:150px"></el-input>
</el-form-item> </el-form-item>
</div> </div>
<div class="xx">
<div class="xx">
<h5>申报单位简介</h5> <h5>申报单位简介</h5>
<div class="rich"> <div class="rich">
<aboutUs @aboutUs="aboutUs" :aboutUsVal="ruleForm.decldes" :writeable="true"></aboutUs> <aboutUs @aboutUs="aboutUs" :aboutUsVal="ruleForm.decldes" :writeable="true"></aboutUs>
@@ -334,14 +335,15 @@
<label>我们确认项目申报内容的真实性,并愿意承担相应的责任</label> <label>我们确认项目申报内容的真实性,并愿意承担相应的责任</label>
</div> </div>
</div> </div>
<div class="xxx">
<div class="xxx">
<h5 style="font-size:20px">项目主责单位意见</h5> <h5 style="font-size:20px">项目主责单位意见</h5>
<p <!-- <p
class="yulantext" class="yulantext"
@click="yulana1(fileLists[0])" @click="yulana1(fileLists[0])"
style="left:401px;top:95px" style="left:401px;top:95px"
v-if="fileLists.length" v-if="fileLists.length"
>预览</p> >预览</p> -->
<div class="xxxx"> <div class="xxxx">
<template> <template>
<el-upload <el-upload
@@ -355,14 +357,15 @@
:limit="10" :limit="10"
:on-exceed="handleExceed" :on-exceed="handleExceed"
:file-list="fileLists" :file-list="fileLists"
:title="fileLists?fileLists[0].name:''"
> >
<!-- :title="fileLists?(fileLists.length?fileLists[0].name:''):''" -->
<el-button size="small" type="primary">上传文件</el-button> <el-button size="small" type="primary">上传文件</el-button>
<!-- <span slot="tip" class="el-upload__tip">只能上传一张不同的图片</span> --> <!-- <span slot="tip" class="el-upload__tip">只能上传一张不同的图片</span> -->
</el-upload> </el-upload>
</template> </template>
</div> </div>
</div> </div>
<div class="mid_box"> <div class="mid_box">
<template> <template>
<div class="el-icon-close close" @click="del" v-if="filename"></div> <div class="el-icon-close close" @click="del" v-if="filename"></div>
@@ -635,7 +638,8 @@
</div> </div>
</template> </template>
</div> </div>
<el-form-item>
<el-form-item>
<div class="ll"> <div class="ll">
<button type="button" @click="next(0)" style="cursor:pointer">上一页</button> <button type="button" @click="next(0)" style="cursor:pointer">上一页</button>
<button type="button" @click="submitForm('ruleForm1',1)" style="cursor:pointer">保存</button> <button type="button" @click="submitForm('ruleForm1',1)" style="cursor:pointer">保存</button>
@@ -649,8 +653,8 @@
<!-- <el-button type="primary" @click="submitForm('ruleForm')">立即创建</el-button> <!-- <el-button type="primary" @click="submitForm('ruleForm')">立即创建</el-button>
<el-button @click="resetForm('ruleForm')">重置</el-button>--> <el-button @click="resetForm('ruleForm')">重置</el-button>-->
</el-form-item> </el-form-item>
</el-form> </el-form>
</div> </div>
<footer-nav class="footer"></footer-nav> <footer-nav class="footer"></footer-nav>
</div> </div>
</template> </template>
@@ -1023,12 +1027,25 @@ export default {
} }
}) })
.then(res => { .then(res => {
// this.imageUrl = res.data.data if(res.data.code == 200){
if (this.uploadname[0] === 100) { if (this.uploadname[0] === 100) {
// this.progressPercent = 0 // this.progressPercent = 0
this.handleAvatarSuccess(res.data.data, f.file.name); this.handleAvatarSuccess(res.data.data, f.file.name);
// this.uploadfun.fun(res.data.data, f.file.name); // this.uploadfun.fun(res.data.data, f.file.name);
} }
}else{
this.$alert("上传的项目申报书文件上传失败,请修改文件名长度后重新上传", "提示", {
confirmButtonText: "确定",
callback: action => {}
});
return false;
}
// this.imageUrl = res.data.data
// if (this.uploadname[0] === 100) {
// // this.progressPercent = 0
// this.handleAvatarSuccess(res.data.data, f.file.name);
// // this.uploadfun.fun(res.data.data, f.file.name);
// }
}) })
.then(error => { .then(error => {
console.log(error); console.log(error);
@@ -1062,12 +1079,25 @@ export default {
} }
}) })
.then(res => { .then(res => {
// this.imageUrl = res.data.data if(res.data.code == 200){
if (this.uploadname[1] === 100) { if (this.uploadname[1] === 100) {
// this.progressPercent = 0 // this.progressPercent = 0
this.handleAvatarSuccess1(res.data.data, f.file.name); this.handleAvatarSuccess1(res.data.data, f.file.name);
// this.uploadfun.fun(res.data.data, f.file.name); // this.uploadfun.fun(res.data.data, f.file.name);
}
}else{
this.$alert("上传的实施方案文件上传失败,请修改文件名长度后重新上传", "提示", {
confirmButtonText: "确定",
callback: action => {}
});
return false;
} }
// this.imageUrl = res.data.data
// if (this.uploadname[1] === 100) {
// // this.progressPercent = 0
// this.handleAvatarSuccess1(res.data.data, f.file.name);
// // this.uploadfun.fun(res.data.data, f.file.name);
// }
}) })
.then(error => { .then(error => {
console.log(error); console.log(error);
@@ -1101,12 +1131,25 @@ export default {
} }
}) })
.then(res => { .then(res => {
// this.imageUrl = res.data.data if(res.data.code == 200){
if (this.uploadname[2] === 100) { if (this.uploadname[2] === 100) {
// this.progressPercent = 0 // this.progressPercent = 0
this.handleAvatarSuccess2(res.data.data, f.file.name); this.handleAvatarSuccess2(res.data.data, f.file.name);
// this.uploadfun.fun(res.data.data, f.file.name); // this.uploadfun.fun(res.data.data, f.file.name);
} }
}else{
this.$alert("上传的立项批复文件上传失败,请修改文件名长度后重新上传", "提示", {
confirmButtonText: "确定",
callback: action => {}
});
return false;
}
// this.imageUrl = res.data.data
// if (this.uploadname[2] === 100) {
// // this.progressPercent = 0
// this.handleAvatarSuccess2(res.data.data, f.file.name);
// // this.uploadfun.fun(res.data.data, f.file.name);
// }
}) })
.then(error => { .then(error => {
console.log(error); console.log(error);
@@ -1140,12 +1183,25 @@ export default {
} }
}) })
.then(res => { .then(res => {
// this.imageUrl = res.data.data if(res.data.code == 200){
if (this.uploadname[3] === 100) { if (this.uploadname[3] === 100) {
// this.progressPercent = 0 // this.progressPercent = 0
this.handleAvatarSuccess3(res.data.data, f.file.name); this.handleAvatarSuccess3(res.data.data, f.file.name);
// this.uploadfun.fun(res.data.data, f.file.name); // this.uploadfun.fun(res.data.data, f.file.name);
} }
}else{
this.$alert("上传的项目合同文件上传失败,请修改文件名长度后重新上传", "提示", {
confirmButtonText: "确定",
callback: action => {}
});
return false;
}
// this.imageUrl = res.data.data
// if (this.uploadname[3] === 100) {
// // this.progressPercent = 0
// this.handleAvatarSuccess3(res.data.data, f.file.name);
// // this.uploadfun.fun(res.data.data, f.file.name);
// }
}) })
.then(error => { .then(error => {
console.log(error); console.log(error);
@@ -1180,11 +1236,24 @@ export default {
}) })
.then(res => { .then(res => {
// this.imageUrl = res.data.data // this.imageUrl = res.data.data
if (this.uploadname[4] === 100) { // if (this.uploadname[4] === 100) {
// // this.progressPercent = 0
// this.handleAvatarSuccess4(res.data.data, f.file.name);
// // this.uploadfun.fun(res.data.data, f.file.name);
// }
if(res.data.code == 200){
if (this.uploadname[4] === 100) {
// this.progressPercent = 0 // this.progressPercent = 0
this.handleAvatarSuccess4(res.data.data, f.file.name); this.handleAvatarSuccess4(res.data.data, f.file.name);
// this.uploadfun.fun(res.data.data, f.file.name); // this.uploadfun.fun(res.data.data, f.file.name);
} }
}else{
this.$alert("上传的服务承诺书文件上传失败,请修改文件名长度后重新上传", "提示", {
confirmButtonText: "确定",
callback: action => {}
});
return false;
}
}) })
.then(error => { .then(error => {
console.log(error); console.log(error);
@@ -1311,13 +1380,13 @@ export default {
this.fileurl = file.response.data.url; this.fileurl = file.response.data.url;
console.log(file); console.log(file);
}, },
handleRemove(file, fileList) { // handleRemove(file, fileList) {
this.picture.forEach(element => { // this.picture.forEach(element => {
if (file.name === element.name) { // if (file.name === element.name) {
this.picture.splice(element, 1); // this.picture.splice(element, 1);
} // }
}); // });
}, // },
handlePreview(file) { handlePreview(file) {
console.log(file); console.log(file);
if (!!window.ActiveXObject || "ActiveXObject" in window) { if (!!window.ActiveXObject || "ActiveXObject" in window) {
@@ -1584,6 +1653,11 @@ export default {
this.picture.splice(element, 1); this.picture.splice(element, 1);
} }
}); });
this.fileLists.forEach(element => {
if (file.name === element.name) {
this.fileLists.splice(this.fileLists.lastIndexOf(element), 1);
}
});
}, },
// handlePreview(file) { // handlePreview(file) {
// console.log(file); // console.log(file);
@@ -1752,8 +1826,153 @@ export default {
for (let m in this.ruleForm1) { for (let m in this.ruleForm1) {
this.ruleForm[m] = this.ruleForm1[m]; this.ruleForm[m] = this.ruleForm1[m];
} }
console.log(this.ruleForm); console.log(this.ruleForm.prodemo.length);
this.submitYes(index); //if(this.ruleForm.prodes.length<=11){
// this.$alert("项目简介不能为空并不得低于四个汉字", "提示", {
// confirmButtonText: "确定",
// callback: action => {}
// });
// return false;
// }else if (this.ruleForm.prodemo.length<=29235) {
// this.$alert("项目实施必要性不能为空并不的低于四个汉字", "提示", {
// confirmButtonText: "确定",
// callback: action => {}
// });
// return false;
// } else if (this.ruleForm.prodemojc.length<=29108) {
// this.$alert("项目实施的基础不能为空并不的低于四个汉字", "提示", {
// confirmButtonText: "确定",
// callback: action => {}
// });
// return false;
// }else if (this.ruleForm.prodemotj.length<=29108) {
// this.$alert("具体方法和途径不能为空并不的低于四个汉字", "提示", {
// confirmButtonText: "确定",
// callback: action => {}
// });
// return false;
// }else if (this.ruleForm.prodemojd.length<=29108) {
// this.$alert("进度安排不能为空并不的低于四个汉字", "提示", {
// confirmButtonText: "确定",
// callback: action => {}
// });
// return false;
// }else if (this.ruleForm.prodemoxg.length<=29108) {
// this.$alert("预期效果不能为空并不的低于四个汉字", "提示", {
// confirmButtonText: "确定",
// callback: action => {}
// });
// return false;
// }else if (this.ruleForm.prodemofg.length<=29108) {
// this.$alert("项目团队及分工不能为空并不的低于四个汉字", "提示", {
// confirmButtonText: "确定",
// callback: action => {}
// });
// return false;
// }else if (this.ruleForm.prodemotwo.length<=29108) {
// this.$alert("项目实施涵盖范围,规模,人群及创新等不能为空并不的低于四个汉字", "提示", {
// confirmButtonText: "确定",
// callback: action => {}
// });
// return false;
// }else if (this.ruleForm.funds.length<=29458) {
// this.$alert("经费预算不能为空并不的低于四个汉字", "提示", {
// confirmButtonText: "确定",
// callback: action => {}
// });
// return false;
// }else if (
// if(this.ruleForm.prodes.length==0){
// //<=11 并不得低于四个汉字
// this.$alert("项目简介不能为空", "提示", {
// confirmButtonText: "确定",
// callback: action => {}
// });
// return false;
// }else if (this.ruleForm.prodemo.length==0) {
// //<=29235 并不的低于四个汉字
// this.$alert("项目实施必要性不能为空", "提示", {
// confirmButtonText: "确定",
// callback: action => {}
// });
// return false;
// } else if (this.ruleForm.prodemojc.length==0) {
// //<=29108 并不的低于四个汉字
// this.$alert("项目实施的基础不能为空", "提示", {
// confirmButtonText: "确定",
// callback: action => {}
// });
// return false;
// }else if (this.ruleForm.prodemotj.length==0) {
// //<=29235 并不的低于四个汉字
// this.$alert("具体方法和途径不能为空", "提示", {
// confirmButtonText: "确定",
// callback: action => {}
// });
// return false;
// }else if (this.ruleForm.prodemojd.length==0) {
// // <=29108 并不的低于四个汉字
// this.$alert("进度安排不能为空", "提示", {
// confirmButtonText: "确定",
// callback: action => {}
// });
// return false;
// }else if (this.ruleForm.prodemoxg.length==0) {
// // <=29108 并不的低于四个汉字
// this.$alert("预期效果不能为空", "提示", {
// confirmButtonText: "确定",
// callback: action => {}
// });
// return false;
// }else if (this.ruleForm.prodemofg.length==0) {
// //<=29108 并不的低于四个汉字
// this.$alert("项目团队及分工不能为空", "提示", {
// confirmButtonText: "确定",
// callback: action => {}
// });
// return false;
// }else if (this.ruleForm.prodemotwo.length==0) {
// //<=29108 并不的低于四个汉字
// this.$alert("项目实施涵盖范围,规模,人群及创新等不能为空", "提示", {
// confirmButtonText: "确定",
// callback: action => {}
// });
// return false;
// }else if (this.ruleForm.funds.length==0) {
// // <=29458并不的低于四个汉字
// this.$alert("经费预算不能为空", "提示", {
// confirmButtonText: "确定",
// callback: action => {}
// });
// return false;
if(this.ruleForm.probook.length ==0 //&&
//&&
// this.ruleForm.pifu.length &&
// this.ruleForm.pact.length &&
// this.ruleForm.promise.length
) {
this.$alert("请上传项目申报书", "提示", {
confirmButtonText: "确定",
callback: action => {}
});
return false;
} else if(this.ruleForm.fangan.length == 0 ){
this.$alert("请上传实施方案", "提示", {
confirmButtonText: "确定",
callback: action => {}
});
return false
}else if(this.picture.length == 0 ){
this.$alert("请上传项目主责单位意见", "提示", {
confirmButtonText: "确定",
callback: action => {}
});
return false
}else{
this.submitYes(index);
}
//this.submitYes(index);
} else { } else {
this.$message({ this.$message({
type: "info", type: "info",
@@ -1816,8 +2035,97 @@ export default {
for (let m in this.ruleForm1) { for (let m in this.ruleForm1) {
this.ruleForm[m] = this.ruleForm1[m]; this.ruleForm[m] = this.ruleForm1[m];
} }
console.log(this.ruleForm); console.log(this.ruleForm.prodes.length);
this.submitYes(index); // if(this.ruleForm.prodes.length==0){
// //<=11 并不得低于四个汉字
// this.$alert("项目简介不能为空", "提示", {
// confirmButtonText: "确定",
// callback: action => {}
// });
// return false;
// }else if (this.ruleForm.prodemo.length==0) {
// //<=29235 并不的低于四个汉字
// this.$alert("项目实施必要性不能为空", "提示", {
// confirmButtonText: "确定",
// callback: action => {}
// });
// return false;
// } else if (this.ruleForm.prodemojc.length==0) {
// //<=29108 并不的低于四个汉字
// this.$alert("项目实施的基础不能为空", "提示", {
// confirmButtonText: "确定",
// callback: action => {}
// });
// return false;
// }else if (this.ruleForm.prodemotj.length==0) {
// //<=29235 并不的低于四个汉字
// this.$alert("具体方法和途径不能为空", "提示", {
// confirmButtonText: "确定",
// callback: action => {}
// });
// return false;
// }else if (this.ruleForm.prodemojd.length==0) {
// // <=29108 并不的低于四个汉字
// this.$alert("进度安排不能为空", "提示", {
// confirmButtonText: "确定",
// callback: action => {}
// });
// return false;
// }else if (this.ruleForm.prodemoxg.length==0) {
// // <=29108 并不的低于四个汉字
// this.$alert("预期效果不能为空", "提示", {
// confirmButtonText: "确定",
// callback: action => {}
// });
// return false;
// }else if (this.ruleForm.prodemofg.length==0) {
// //<=29108 并不的低于四个汉字
// this.$alert("项目团队及分工不能为空", "提示", {
// confirmButtonText: "确定",
// callback: action => {}
// });
// return false;
// }else if (this.ruleForm.prodemotwo.length==0) {
// //<=29108 并不的低于四个汉字
// this.$alert("项目实施涵盖范围,规模,人群及创新等不能为空", "提示", {
// confirmButtonText: "确定",
// callback: action => {}
// });
// return false;
// }else if (this.ruleForm.funds.length==0) {
// // <=29458并不的低于四个汉字
// this.$alert("经费预算不能为空", "提示", {
// confirmButtonText: "确定",
// callback: action => {}
// });
// return false;
if (
this.ruleForm.probook.length ==0 //&&
//&&
// this.ruleForm.pifu.length &&
// this.ruleForm.pact.length &&
// this.ruleForm.promise.length
) {
this.$alert("请上传项目申报书", "提示", {
confirmButtonText: "确定",
callback: action => {}
});
} else if(this.picture.length == 0 ){
this.$alert("请上传项目主责单位意见", "提示", {
confirmButtonText: "确定",
callback: action => {}
});
return false
}else if(this.ruleForm.fangan.length == 0 ){
this.$alert("请上传实施方案", "提示", {
confirmButtonText: "确定",
callback: action => {}
});
}else{
this.submitYes(index);
}
//this.submitYes(index);
} else { } else {
this.$message({ this.$message({
type: "info", type: "info",
@@ -1870,13 +2178,13 @@ export default {
} else { } else {
this.$message({ this.$message({
type: "info", type: "info",
message: res.data.data.msg message: res.data.data.message
}); });
} }
} else { } else {
this.$message({ this.$message({
type: "info", type: "info",
message: res.data.data.msg message: res.data.data.message
}); });
} }
}) })
@@ -2278,7 +2586,8 @@ export default {
this.imageUrl4 = "/static/img/txt.jpg"; this.imageUrl4 = "/static/img/txt.jpg";
} }
} }
this.filename =this.bgData.probook? this.bgData.probook.substring( if(this.bgData){
this.filename =this.bgData.probook? this.bgData.probook.substring(
this.bgData.probook.lastIndexOf("/") + 1 this.bgData.probook.lastIndexOf("/") + 1
):''; ):'';
//sconsole.log(this.filename) //sconsole.log(this.filename)
@@ -2298,6 +2607,8 @@ export default {
let imgs = JSON.parse(this.bgData.proimages); let imgs = JSON.parse(this.bgData.proimages);
this.fileLists = imgs; this.fileLists = imgs;
this.picture = this.fileLists; this.picture = this.fileLists;
}
// this.assignment(this.bgData); // this.assignment(this.bgData);
} else { } else {
alert("请求失败!"); alert("请求失败!");
@@ -2312,7 +2623,8 @@ export default {
this.company = sessionStorage.name; this.company = sessionStorage.name;
}, },
mounted() { mounted() {
this.status(); //this.status();
this.getData();
} }
}; };
</script> </script>

View File

@@ -347,7 +347,7 @@
</div> </div>
<div class="xxx"> <div class="xxx">
<h5 style="font-size:20px">项目主责单位意见</h5> <h5 style="font-size:20px">项目主责单位意见</h5>
<p class="yulantext" v-if="picture.length" @click="yulana1(picture[0])" style="left:507px;top:95px">预览</p> <!-- <p class="yulantext" v-if="picture.length" @click="yulana1(picture[0])" style="left:507px;top:95px">预览</p> -->
<div class="xxxx"> <div class="xxxx">
<template> <template>
<el-upload <el-upload
@@ -363,7 +363,7 @@
:file-list="fileLists" :file-list="fileLists"
> >
<el-button size="small" type="primary">上传文件</el-button> <el-button size="small" type="primary">上传文件</el-button>
<span slot="tip" class="el-upload__tip">只能上传一张不同的图片</span> <!-- <span slot="tip" class="el-upload__tip">只能上传一张不同的图片</span> -->
</el-upload> </el-upload>
</template> </template>
</div> </div>
@@ -1063,8 +1063,18 @@ export default {
for (let m in this.ruleForm1) { for (let m in this.ruleForm1) {
this.ruleForm[m] = this.ruleForm1[m]; this.ruleForm[m] = this.ruleForm1[m];
} }
console.log(this.ruleForm); console.log(this.ruleForm.proimages);
this.submitYes(index); if(this.picture.length == 0 || this.picture == ''){
this.$message({
type: "info",
message: "请上传项目主责单位意见"
});
return false
}else{
console.log(this.ruleForm);
this.submitYes(index);
}
//this.submitYes(index);s
} else { } else {
this.$message({ this.$message({
type: "info", type: "info",
@@ -1089,13 +1099,23 @@ export default {
if (this.ruleForm.thff) { if (this.ruleForm.thff) {
this.ruleForm.party_id = sessionStorage.getItem("party_id"); this.ruleForm.party_id = sessionStorage.getItem("party_id");
this.ruleForm.proimages = JSON.stringify(this.picture); this.ruleForm.proimages = JSON.stringify(this.picture);
console.log(this.picture,'picture')
console.log(this.fileLists);
for (let m in this.ruleForm1) { for (let m in this.ruleForm1) {
this.ruleForm[m] = this.ruleForm1[m]; this.ruleForm[m] = this.ruleForm1[m];
} }
if(this.picture.length == 0 || this.picture == ''){
this.$message({
type: "info",
message: "请上传项目主责单位意见"
});
return false
}else{
console.log(this.ruleForm);
this.submitYes(index);
}
console.log(this.picture,'picture')
console.log(this.fileLists);
console.log(this.ruleForm); console.log(this.ruleForm);
this.submitYes(index);
} else { } else {
this.$message({ this.$message({
type: "info", type: "info",

View File

@@ -169,11 +169,8 @@
<img :src="imgUrl.btg" style="width:120px;height:90px" v-else-if="item.tid == 4 || item.tid == 9" /> <img :src="imgUrl.btg" style="width:120px;height:90px" v-else-if="item.tid == 4 || item.tid == 9" />
<img :src="imgUrl.zxz" style="width:120px;height:90px" v-else-if="item.tid == 10" /> <img :src="imgUrl.zxz" style="width:120px;height:90px" v-else-if="item.tid == 10" />
<img :src="imgUrl.wtj" style="width:120px;height:90px" v-else-if="item.tid == 1000" /> <img :src="imgUrl.wtj" style="width:120px;height:90px" v-else-if="item.tid == 1000" />
<img <img :src="imgUrl.yjx" v-else-if="item.tid == 110" style="width:120px;height:90px" />
:src="imgUrl.yjx" <img :src="imgUrl.yhshz" v-else-if="item.status == '项目优化信息待审核'" style="width:120px;height:90px" />
v-else-if="item.tid == 110"
style="width:120px;height:90px"
/>
<img :src="imgUrl.shz" style="width:120px;height:90px" v-else /> <img :src="imgUrl.shz" style="width:120px;height:90px" v-else />
<!-- <img <!-- <img
:src="imgUrl.yjx" :src="imgUrl.yjx"
@@ -250,6 +247,7 @@ export default {
tg: require("../../../static/img/tg.png"), tg: require("../../../static/img/tg.png"),
btg: require("../../../static/img/btg.png"), btg: require("../../../static/img/btg.png"),
shz: require("../../../static/img/shz.png"), shz: require("../../../static/img/shz.png"),
yhshz: require("../../../static/img/yhshz.png"),
zxz: require("../../../static/img/zxz.png"), zxz: require("../../../static/img/zxz.png"),
wtj: require("../../../static/img/wtj.png"), wtj: require("../../../static/img/wtj.png"),
yjx: require("../../../static/img/yjx.png") yjx: require("../../../static/img/yjx.png")

View File

@@ -1078,28 +1078,43 @@
<div class="xx"> <div class="xx">
<h5>申报单位简介</h5> <h5>申报单位简介</h5>
<div class="rich"> <div class="rich">
<aboutUs @aboutUs="aboutUs" :aboutUsVal="ruleForm.decldes" :writeable="!ifupdate"></aboutUs> <DivisionLabor
@divisionLabor="aboutUs"
:divisionLaborVal="ruleForm.decldes"
:writeable="!ifupdate"
></DivisionLabor>
<!-- <aboutUs @aboutUs="aboutUs" :aboutUsVal="ruleForm.decldes" :writeable="!ifupdate"></aboutUs> -->
</div> </div>
</div> </div>
<div class="xx"> <div class="xx">
<h5>项目简介</h5> <h5>项目简介</h5>
<div class="rich"> <div class="rich">
<ProjectBrief <!-- <ProjectBrief
@projectBrief="projectBrief" @projectBrief="projectBrief"
:projectBriefVal="ruleForm.prodes" :projectBriefVal="ruleForm.prodes"
:writeable="!ifupdate" :writeable="!ifupdate"
></ProjectBrief> ></ProjectBrief> -->
<DivisionLabor
@divisionLabor="projectBrief"
:divisionLaborVal="ruleForm.prodes"
:writeable="!ifupdate"
></DivisionLabor>
</div> </div>
</div> </div>
<div class="xx"> <div class="xx">
<h5>项目论证</h5> <h5>项目论证</h5>
<h3>() 项目实施的必要性可行性</h3> <h3>() 项目实施的必要性可行性</h3>
<div class="rich"> <div class="rich">
<ProjectAssessment <DivisionLabor
@divisionLabor="projectAssessment"
:divisionLaborVal="ruleForm.prodemo"
:writeable="!ifupdate"
></DivisionLabor>
<!-- <ProjectAssessment
@projectAssessment="projectAssessment" @projectAssessment="projectAssessment"
:projectAssessmentVal="ruleForm.prodemo" :projectAssessmentVal="ruleForm.prodemo"
:writeable="!ifupdate" :writeable="!ifupdate"
></ProjectAssessment> ></ProjectAssessment> -->
</div> </div>
<h3> <h3>
() ()
@@ -1207,7 +1222,7 @@
<!-- v-if="!ifupdate" --> <!-- v-if="!ifupdate" -->
<div style="display:flex" v-if="!ifupdate"> <div style="display:flex" v-if="!ifupdate">
<el-button size="small" type="primary">上传文件</el-button> <el-button size="small" type="primary">上传文件</el-button>
<span slot="tip" class="el-upload__tip">只能上传一张不同的图片</span> <!-- <span slot="tip" class="el-upload__tip">只能上传一张不同的图片</span> -->
</div> </div>
</el-upload> </el-upload>
</div> </div>
@@ -1536,7 +1551,7 @@
<button <button
type="button" type="button"
@click="submitForm('ruleForm1',2)" @click="submitForm('ruleForm1',2)"
style="cursor:pointer; background-image: linear-gradient(69deg,#cc263f,#f42b47 100%,#ed162d 0,#e60012 0),linear-gradient(#e60012,#e60012);" style="cursor:pointer;background-image: linear-gradient(69deg,#cc263f,#f42b47 100%,#ed162d 0,#e60012 0),linear-gradient(#e60012,#e60012);"
>提交</button> >提交</button>
</div> </div>
<!-- <el-button type="primary" @click="submitForm('ruleForm')">立即创建</el-button> <!-- <el-button type="primary" @click="submitForm('ruleForm')">立即创建</el-button>
@@ -1602,10 +1617,10 @@
<!-- 项目申报书 --> <!-- 项目申报书 -->
<li> <li>
<span> <span>
<a <span
:href="executio.probook" :href="executio.probook"
target="_blank" target="_blank"
>{{shili? shili.split('_')[0]+''+(shili.split('_')[0].includes('.')?'':'.'+shili.split('.')[1]):"未上传"}}</a> >{{shili? shili.split('_')[0]+''+(shili.split('_')[0].includes('.')?'':'.'+shili.split('.')[1]):"未上传"}}</span>
<!-- <a :href="executio.probook" download>下载</a> | --> <!-- <a :href="executio.probook" download>下载</a> | -->
<!-- :download="shili.split('.')[1]=='jpg'||shili.split('.')[1]=='jpeg'||shili.split('.')[1]=='png'||shili.split('.')[1]=='pdf'?false:true" --> <!-- :download="shili.split('.')[1]=='jpg'||shili.split('.')[1]=='jpeg'||shili.split('.')[1]=='png'||shili.split('.')[1]=='pdf'?false:true" -->
<a <a
@@ -1619,10 +1634,10 @@
<!-- 实施方案 --> <!-- 实施方案 -->
<li> <li>
<span> <span>
<a <span
:href="executio.fangan" :href="executio.fangan"
target="_blank" target="_blank"
>{{shili1?shili1.split('_')[0]+''+(shili1.split('_')[0].includes('.')?'':'.'+shili1.split('.')[1]):"未上传"}}</a> >{{shili1?shili1.split('_')[0]+''+(shili1.split('_')[0].includes('.')?'':'.'+shili1.split('.')[1]):"未上传"}}</span>
<!-- <a :href="executio.fangan">下载</a> | --> <!-- <a :href="executio.fangan">下载</a> | -->
<a <a
:href="executio.fangan" :href="executio.fangan"
@@ -1636,10 +1651,10 @@
<li> <li>
<!-- <el-button size="small" type="primary" v-if="!executio.pifu">上传</el-button> --> <!-- <el-button size="small" type="primary" v-if="!executio.pifu">上传</el-button> -->
<span> <span>
<a <span
:href="executio.pifu?executio.pifu:''" :href="executio.pifu?executio.pifu:''"
target="_blank"
>{{shili2?shili2.split('_')[0]+'.'+(shili2.split('_')[0].includes('.')?'':shili2.split('.')[1]):"未上传"}}</a> >{{shili2?shili2.split('_')[0]+'.'+(shili2.split('_')[0].includes('.')?'':shili2.split('.')[1]):"未上传"}}</span>
<!-- <a :href="executio.pifu" download>下载</a> | --> <!-- <a :href="executio.pifu" download>下载</a> | -->
<a <a
:href="executio.pifu" :href="executio.pifu"
@@ -1653,10 +1668,10 @@
<li> <li>
<!-- <el-button size="small" type="primary" v-if="!executio.pact">上传</el-button> --> <!-- <el-button size="small" type="primary" v-if="!executio.pact">上传</el-button> -->
<span> <span>
<a <span
:href="executio.pact?executio.pact:''" :href="executio.pact?executio.pact:''"
target="_blank" target="_blank"
>{{shili3?shili3.split('_')[0]+'.'+(shili3.split('_')[0].includes('.')?'':shili3.split('.')[1]):"未上传"}}</a> >{{shili3?shili3.split('_')[0]+'.'+(shili3.split('_')[0].includes('.')?'':shili3.split('.')[1]):"未上传"}}</span>
<!-- <a :href="executio.pact" download>下载</a> | --> <!-- <a :href="executio.pact" download>下载</a> | -->
<a <a
:href="executio.pact" :href="executio.pact"
@@ -1670,11 +1685,11 @@
<li> <li>
<!-- <el-button size="small" type="primary" v-if="!executio.promise">上传</el-button> --> <!-- <el-button size="small" type="primary" v-if="!executio.promise">上传</el-button> -->
<span> <span>
<a <span
:href="executio.promise?executio.promise:''" :href="executio.promise?executio.promise:''"
target="_blank" target="_blank"
>{{shili4?shili4.split('_')[0]+'.'+(shili4.split('_')[0].includes('.')?'':shili4.split('.')[1]):"未上传"}}</a> >{{shili4?shili4.split('_')[0]+'.'+(shili4.split('_')[0].includes('.')?'':shili4.split('.')[1]):"未上传"}}</span>
<!-- <a :href="executio.promise" download>下载</a> | --> <!-- <a :href="executio.promise" download>下载</a> | -->
<a <a
:href="executio.promise" :href="executio.promise"
@@ -1699,11 +1714,12 @@
<strong style="font-size:14px;font-weight:600;float:left;margin-left:30px">满意度评估报告:</strong> <strong style="font-size:14px;font-weight:600;float:left;margin-left:30px">满意度评估报告:</strong>
&nbsp; &nbsp;
<span style="margin-left:10px;float:left;width:70px;overflow: hidden;text-overflow: ellipsis;white-space: nowrap;"> <span style="margin-left:10px;float:left;width:70px;overflow: hidden;text-overflow: ellipsis;white-space: nowrap;">
<!-- :title="review_zq?review_zq.split('_')[0]+'.'+(review_zq.split('_')[0].includes('.')?'':review_zq.split('.')[1]):''" -->
<a <a
target="_blank" target="_blank"
:title="review_zq?review_zq.split('_')[0]+'.'+(review_zq.split('_')[0].includes('.')?'':review_zq.split('.')[1]):''" :title="review_zq?review_zq:''"
>{{review_zq?review_zq.split('_')[0]+'.'+(review_zq.split('_')[0].includes('.')?'':review_zq.split('.')[1]):"未上传"}}</a> >{{review_zq?review_zq:"未上传"}}</a>
<!-- <a :href="executio.promise" download>下载</a> | --> <!-- <a :href="executio.promise" download>下载</a> | -->
</span> </span>
<span style="float:left"> <span style="float:left">
@@ -1713,18 +1729,19 @@
class="yulan" class="yulan"
v-if="review_zq" v-if="review_zq"
>{{review_zq.split('.')[1]=="jpg"||review_zq.split('.')[1]=="jpeg"||review_zq.split('.')[1]=="png"||review_zq.split('.')[1]=="pdf"?'预览':'下载'}}</a> >{{review_zq.substring(review_zq.lastIndexOf(".")+1)=="jpg"||review_zq.substring(review_zq.lastIndexOf(".")+1)=="jpeg"||review_zq.substring(review_zq.lastIndexOf(".")+1)=="png"||review_zq.substring(review_zq.lastIndexOf(".")+1)=="pdf"?'预览':'下载'}}</a>
</span> </span>
<strong style="font-size:14px;font-weight:600;float:left">主管单位评估报告:</strong> <strong style="font-size:14px;font-weight:600;float:left">主管单位评估报告:</strong>
&nbsp; &nbsp;
<span style="margin-left:10px;float:left;width:70px;overflow: hidden;text-overflow: ellipsis;white-space: nowrap;"> <span style="margin-left:10px;float:left;width:70px;overflow: hidden;text-overflow: ellipsis;white-space: nowrap;">
<!-- :title="review_jx?review_jx.split('_')[0]+'.'+(review_jx.split('_')[0].includes('.')?'':review_jx.split('.')[1]):''" -->
<a <a
target="_blank" target="_blank"
:title="review_jx?review_jx.split('_')[0]+'.'+(review_jx.split('_')[0].includes('.')?'':review_jx.split('.')[1]):''" :title="review_jx?review_jx:''"
>{{review_jx?review_jx.split('_')[0]+'.'+(review_jx.split('_')[0].includes('.')?'':review_jx.split('.')[1]):"未上传"}}</a> >{{review_jx?review_jx:"未上传"}}</a>
<!-- <a :href="executio.promise" download>下载</a> | --> <!-- {{review_jx?review_jx.split('_')[0]+'.'+(review_jx.split('_')[0].includes('.')?'':review_jx.split('.')[1]):"未上传"}}</a> -->
</span> </span>
<span style="float:left"> <span style="float:left">
<a <a
@@ -1733,7 +1750,7 @@
class="yulan" class="yulan"
v-if="review_jx" v-if="review_jx"
>{{review_jx.split('.')[1]=="jpg"||review_jx.split('.')[1]=="jpeg"||review_jx.split('.')[1]=="png"||review_jx.split('.')[1]=="pdf"?'预览':'下载'}}</a> >{{review_jx.substring(review_jx.lastIndexOf(".")+1)=="jpg"||review_jx.substring(review_jx.lastIndexOf(".")+1)=="jpeg"||review_jx.substring(review_jx.lastIndexOf(".")+1)=="png"||review_jx.substring(review_jx.lastIndexOf(".")+1)=="pdf"?'预览':'下载'}}</a>
</span> </span>
@@ -1753,11 +1770,13 @@
<strong style="font-size:14px;font-weight:600;float:left;margin-left:30px">满意度评估报告:</strong> <strong style="font-size:14px;font-weight:600;float:left;margin-left:30px">满意度评估报告:</strong>
&nbsp; &nbsp;
<span style="float:left;width:70px;margin-left:10px;overflow: hidden;text-overflow: ellipsis;white-space: nowrap;"> <span style="float:left;width:70px;margin-left:10px;overflow: hidden;text-overflow: ellipsis;white-space: nowrap;">
<!-- :title="review_my?review_my.split('_')[0]+'.'+(review_my.split('_')[0].includes('.')?'':review_my.split('.')[1]):''" -->
<a <a
target="_blank" target="_blank"
:title="review_my?review_my.split('_')[0]+'.'+(review_my.split('_')[0].includes('.')?'':review_my.split('.')[1]):''" :title="review_my?review_my:''"
>{{review_my?review_my.split('_')[0]+'.'+(review_my.split('_')[0].includes('.')?'':review_my.split('.')[1]):"未上传"}}</a> >{{review_my?review_my:"未上传"}}</a>
<!-- {{review_my?review_my.split('_')[0]+'.'+(review_my.split('_')[0].includes('.')?'':review_my.split('.')[1]):"未上传"}} -->
<!-- <a :href="executio.promise" download>下载</a> | --> <!-- <a :href="executio.promise" download>下载</a> | -->
</span> </span>
<span style="float:left"> <span style="float:left">
@@ -1767,16 +1786,19 @@
class="yulan" class="yulan"
v-if="review_my" v-if="review_my"
>{{review_my.split('.')[1]=="jpg"||review_my.split('.')[1]=="jpeg"||review_my.split('.')[1]=="png"||review_my.split('.')[1]=="pdf"?'预览':'下载'}}</a> >{{review_my.substring(review_my.lastIndexOf(".")+1)=="jpg"||review_my.substring(review_my.lastIndexOf(".")+1)=="jpeg"||review_my.substring(review_my.lastIndexOf(".")+1)=="png"||review_my.substring(review_my.lastIndexOf(".")+1)=="pdf"?'预览':'下载'}}</a>
<!-- {{review_my.split('.')[1]=="jpg"||review_my.split('.')[1]=="jpeg"||review_my.split('.')[1]=="png"||review_my.split('.')[1]=="pdf"?'预览':'下载'}} -->
</span> </span>
<strong style="font-size:14px;font-weight:600;float:left">主管单位评估报告:</strong> <strong style="font-size:14px;font-weight:600;float:left">主管单位评估报告:</strong>
&nbsp; &nbsp;
<span style="margin-left:10px;float:left;width:70px;overflow: hidden;text-overflow: ellipsis;white-space: nowrap;"> <span style="margin-left:10px;float:left;width:70px;overflow: hidden;text-overflow: ellipsis;white-space: nowrap;">
<!-- :title="review_my_zq?review_my_zq.split('_')[0]+'.'+(review_my_zq.split('_')[0].includes('.')?'':review_my_zq.split('.')[1]):''" -->
<a <a
target="_blank" target="_blank"
:title="review_my_zq?review_my_zq.split('_')[0]+'.'+(review_my_zq.split('_')[0].includes('.')?'':review_my_zq.split('.')[1]):''" :title="review_my_zq?review_my_zq:''"
>{{review_my_zq?review_my_zq.split('_')[0]+'.'+(review_my_zq.split('_')[0].includes('.')?'':review_my_zq.split('.')[1]):"未上传"}}</a> >{{review_my_zq?review_my_zq:"未上传"}}</a>
<!-- {{review_my_zq?review_my_zq.split('_')[0]+'.'+(review_my_zq.split('_')[0].includes('.')?'':review_my_zq.split('.')[1]):"未上传"}}</a> -->
<!-- <a :href="executio.promise" download>下载</a> | --> <!-- <a :href="executio.promise" download>下载</a> | -->
</span> </span>
<span style="float:left"> <span style="float:left">
@@ -1786,7 +1808,8 @@
class="yulan" class="yulan"
v-if="review_my_zq" v-if="review_my_zq"
>{{review_my_zq.split('.')[1]=="jpg"||review_my_zq.split('.')[1]=="jpeg"||review_my_zq.split('.')[1]=="png"||review_my_zq.split('.')[1]=="pdf"?'预览':'下载'}}</a> >{{review_my_zq.substring(review_my_zq.lastIndexOf(".")+1)=="jpg"||review_my_zq.substring(review_my_zq.lastIndexOf(".")+1)=="jpeg"||review_my_zq.substring(review_my_zq.lastIndexOf(".")+1)=="png"||review_my_zq.substring(review_my_zq.lastIndexOf(".")+1)=="pdf"?'预览':'下载'}}</a>
<!-- {{review_my_zq.split('.')[1]=="jpg"||review_my_zq.split('.')[1]=="jpeg"||review_my_zq.split('.')[1]=="png"||review_my_zq.split('.')[1]=="pdf"?'预览':'下载'}}</a> -->
</span> </span>
</li> </li>
@@ -2825,11 +2848,19 @@ export default {
}) })
.then(res => { .then(res => {
// this.imageUrl = res.data.data // this.imageUrl = res.data.data
if (this.uploadname[0] === 100) { if(res.data.code == 200){
if (this.uploadname[0] === 100) {
// this.progressPercent = 0 // this.progressPercent = 0
this.handleAvatarSuccess(res.data.data, f.file.name); this.handleAvatarSuccess(res.data.data, f.file.name);
// this.uploadfun.fun(res.data.data, f.file.name); // this.uploadfun.fun(res.data.data, f.file.name);
} }
}else{
this.$alert("上传的项目申报书文件上传失败,请修改文件名长度后重新上传", "提示", {
confirmButtonText: "确定",
callback: action => {}
});
return false;
}
}) })
.then(error => { .then(error => {
console.log(error); console.log(error);
@@ -2862,12 +2893,22 @@ export default {
} }
}) })
.then(res => { .then(res => {
// this.imageUrl = res.data.data //console.log(res,'ddjsaljksadj')
if (this.uploadname[1] === 100) { if(res.data.code == 200){
if (this.uploadname[1] === 100) {
// this.progressPercent = 0 // this.progressPercent = 0
this.handleAvatarSuccess1(res.data.data, f.file.name); this.handleAvatarSuccess1(res.data.data, f.file.name);
// this.uploadfun.fun(res.data.data, f.file.name); // this.uploadfun.fun(res.data.data, f.file.name);
}
}else{
this.$alert("上传的实施方案文件上传失败,请修改文件名长度后重新上传", "提示", {
confirmButtonText: "确定",
callback: action => {}
});
return false;
} }
// this.imageUrl = res.data.data
}) })
.then(error => { .then(error => {
console.log(error); console.log(error);
@@ -2902,11 +2943,20 @@ export default {
}) })
.then(res => { .then(res => {
// this.imageUrl = res.data.data // this.imageUrl = res.data.data
if (this.uploadname[2] === 100) { if(res.data.code == 200){
if (this.uploadname[2] === 100) {
// this.progressPercent = 0 // this.progressPercent = 0
this.handleAvatarSuccess2(res.data.data, f.file.name); this.handleAvatarSuccess2(res.data.data, f.file.name);
// this.uploadfun.fun(res.data.data, f.file.name); // this.uploadfun.fun(res.data.data, f.file.name);
} }
}else{
this.$alert("上传的立项批复文件上传失败,请修改文件名长度后重新上传", "提示", {
confirmButtonText: "确定",
callback: action => {}
});
return false;
}
}) })
.then(error => { .then(error => {
console.log(error); console.log(error);
@@ -2941,11 +2991,20 @@ export default {
}) })
.then(res => { .then(res => {
// this.imageUrl = res.data.data // this.imageUrl = res.data.data
if (this.uploadname[3] === 100) { if(res.data.code == 200){
if (this.uploadname[3] === 100) {
// this.progressPercent = 0 // this.progressPercent = 0
this.handleAvatarSuccess3(res.data.data, f.file.name); this.handleAvatarSuccess3(res.data.data, f.file.name);
// this.uploadfun.fun(res.data.data, f.file.name); // this.uploadfun.fun(res.data.data, f.file.name);
} }
}else{
this.$alert("上传的项目合同文件上传失败,请修改文件名长度后重新上传", "提示", {
confirmButtonText: "确定",
callback: action => {}
});
return false;
}
}) })
.then(error => { .then(error => {
console.log(error); console.log(error);
@@ -2979,12 +3038,21 @@ export default {
} }
}) })
.then(res => { .then(res => {
// this.imageUrl = res.data.data if(res.data.code == 200){
if (this.uploadname[4] === 100) { if (this.uploadname[4] === 100) {
// this.progressPercent = 0 // this.progressPercent = 0
this.handleAvatarSuccess4(res.data.data, f.file.name); this.handleAvatarSuccess4(res.data.data, f.file.name);
// this.uploadfun.fun(res.data.data, f.file.name); // this.uploadfun.fun(res.data.data, f.file.name);
} }
}else{
this.$alert("上传的服务承诺书文件上传失败,请修改文件名长度后重新上传", "提示", {
confirmButtonText: "确定",
callback: action => {}
});
return false;
}
// this.imageUrl = res.data.data
}) })
.then(error => { .then(error => {
console.log(error); console.log(error);
@@ -3077,7 +3145,7 @@ export default {
// }); // });
} }
}); });
return; return false;
} }
if (this.filename1.length ) { if (this.filename1.length ) {
if (a == 1) { if (a == 1) {
@@ -3096,7 +3164,7 @@ export default {
// }); // });
} }
}); });
return; return false;
} }
} else { } else {
console.log("error submit!!"); console.log("error submit!!");
@@ -3139,9 +3207,6 @@ export default {
this.sub1 = e; this.sub1 = e;
}, },
submitYes(e) { submitYes(e) {
// console.log(111);
console.log(e);
console.log(this.bgData, 155525252);
let _this = this; let _this = this;
if (e == 1) { if (e == 1) {
@@ -3150,7 +3215,6 @@ export default {
} else { } else {
_this.ruleForm.subStatus = 2; _this.ruleForm.subStatus = 2;
} }
console.log(_this.ruleForm,'123456789')
this.$http({ this.$http({
method: "post", method: "post",
url: "v1/project/apply-two", url: "v1/project/apply-two",
@@ -3171,14 +3235,14 @@ export default {
} else { } else {
this.$message({ this.$message({
type: "info", type: "info",
message: res.data.data.msg message: res.data.data.message
}); });
// alert(res.data.data.msg); // alert(res.data.data.msg);
} }
} else { } else {
this.$message({ this.$message({
type: "info", type: "info",
message: res.data.data.msg message: res.data.data.message
}); });
// alert(res.data.message); // alert(res.data.message);
} }
@@ -3251,7 +3315,7 @@ export default {
console.log(res, "......."); console.log(res, ".......");
if (res.data.data.code === 200) { if (res.data.data.code === 200) {
this.ruleForm = res.data.data.data.ProjectDetails; this.ruleForm = res.data.data.data.ProjectDetails;
// this.ruleForm.prodes=""
this.bgData = res.data.data.data.ProjectDetails; this.bgData = res.data.data.data.ProjectDetails;
if ( if (
res.data.data.data.ProjectDetails.status == 1 || res.data.data.data.ProjectDetails.status == 1 ||
@@ -3585,7 +3649,82 @@ export default {
// this.ruleForm.pifu = this.fileurl2; // this.ruleForm.pifu = this.fileurl2;
// this.ruleForm.pact = this.fileurl3; // this.ruleForm.pact = this.fileurl3;
// this.ruleForm.promise = this.fileurl4; // this.ruleForm.promise = this.fileurl4;
this.submitYes(index); // this.submitYes(index);
console.log(this.ruleForm.prodes,'jkl')
if(this.ruleForm.prodes.length==0){
this.$alert("项目简介不能为空并不得低于四个汉字", "提示", {
confirmButtonText: "确定",
callback: action => {}
});
return false;
}else if (this.ruleForm.prodemo.length==0) {
this.$alert("项目实施必要性不能为空并不的低于四个汉字", "提示", {
confirmButtonText: "确定",
callback: action => {}
});
return false;
} else if (this.ruleForm.prodemojc.length==0) {
this.$alert("项目实施的基础不能为空并不的低于四个汉字", "提示", {
confirmButtonText: "确定",
callback: action => {}
});
return false;
}else if (this.ruleForm.prodemotj.length==0 ){
this.$alert("具体方法和途径不能为空并不的低于四个汉字", "提示", {
confirmButtonText: "确定",
callback: action => {}
});
return false;
}else if (this.ruleForm.prodemojd.length==0) {
this.$alert("进度安排不能为空并不的低于四个汉字", "提示", {
confirmButtonText: "确定",
callback: action => {}
});
return false;
}else if (this.ruleForm.prodemoxg.length==0) {
this.$alert("预期效果不能为空并不的低于四个汉字", "提示", {
confirmButtonText: "确定",
callback: action => {}
});
return false;
}else if (this.ruleForm.prodemofg.length==0) {
this.$alert("项目团队及分工不能为空并不的低于四个汉字", "提示", {
confirmButtonText: "确定",
callback: action => {}
});
return false;
}else if (this.ruleForm.prodemotwo.length==0) {
this.$alert("项目实施涵盖范围,规模,人群及创新等不能为空并不的低于四个汉字", "提示", {
confirmButtonText: "确定",
callback: action => {}
});
return false;
}else if (this.ruleForm.funds.length==0) {
this.$alert("经费预算不能为空并不的低于四个汉字", "提示", {
confirmButtonText: "确定",
callback: action => {}
});
return false;
}else if (
this.ruleForm.probook.length ==0 //&&
//&&
// this.ruleForm.pifu.length &&
// this.ruleForm.pact.length &&
// this.ruleForm.promise.length
) {
this.$alert("请上传项目申报书", "提示", {
confirmButtonText: "确定",
callback: action => {}
});
} else if(this.ruleForm.fangan.length == 0 ){
this.$alert("请上传实施方案", "提示", {
confirmButtonText: "确定",
callback: action => {}
});
}else{
this.submitYes(index);
}
}) })
.catch(() => { .catch(() => {
this.$message({ this.$message({
@@ -3648,19 +3787,76 @@ export default {
// this.ruleForm.pifu = this.fileurl2; // this.ruleForm.pifu = this.fileurl2;
// this.ruleForm.pact = this.fileurl3; // this.ruleForm.pact = this.fileurl3;
// this.ruleForm.promise = this.fileurl4; // this.ruleForm.promise = this.fileurl4;
if ( // console.log(this.ruleForm.funds.length,'casacsa')
this.ruleForm.probook && if(this.ruleForm.prodes.length==0){
this.ruleForm.fangan //&& this.$alert("项目简介不能为空并不得低于四个汉字", "提示", {
// this.ruleForm.pifu.length &&
// this.ruleForm.pact.length &&
// this.ruleForm.promise.length
) {
this.submitYes(index);
} else {
this.$alert("请完善资料", "提示", {
confirmButtonText: "确定", confirmButtonText: "确定",
callback: action => {} callback: action => {}
}); });
return false;
}else if (this.ruleForm.prodemo.length==0) {
this.$alert("项目实施必要性不能为空并不的低于四个汉字", "提示", {
confirmButtonText: "确定",
callback: action => {}
});
return false;
} else if (this.ruleForm.prodemojc.length==0) {
this.$alert("项目实施的基础不能为空并不的低于四个汉字", "提示", {
confirmButtonText: "确定",
callback: action => {}
});
return false;
}else if (this.ruleForm.prodemotj.length==0) {
this.$alert("具体方法和途径不能为空并不的低于四个汉字", "提示", {
confirmButtonText: "确定",
callback: action => {}
});
return false;
}else if (this.ruleForm.prodemojd.length==0) {
this.$alert("进度安排不能为空并不的低于四个汉字", "提示", {
confirmButtonText: "确定",
callback: action => {}
});
return false;
}else if (this.ruleForm.prodemoxg.length==0) {
this.$alert("预期效果不能为空并不的低于四个汉字", "提示", {
confirmButtonText: "确定",
callback: action => {}
});
return false;
}else if (this.ruleForm.prodemofg.length==0) {
this.$alert("项目团队及分工不能为空并不的低于四个汉字", "提示", {
confirmButtonText: "确定",
callback: action => {}
});
return false;
}else if (this.ruleForm.prodemotwo.length==0) {
this.$alert("项目实施涵盖范围,规模,人群及创新等不能为空并不的低于四个汉字", "提示", {
confirmButtonText: "确定",
callback: action => {}
});
return false;
}else if (this.ruleForm.funds.length==0) {
this.$alert("经费预算不能为空并不的低于四个汉字", "提示", {
confirmButtonText: "确定",
callback: action => {}
});
return false;
}else if (
this.ruleForm.probook.length ==0
) {
this.$alert("请上传项目申报书", "提示", {
confirmButtonText: "确定",
callback: action => {}
});
} else if(this.ruleForm.fangan.length == 0 ){
this.$alert("请上传实施方案", "提示", {
confirmButtonText: "确定",
callback: action => {}
});
}else{
this.submitYes(index);
} }
}) })
.catch(() => { .catch(() => {
@@ -3921,11 +4117,13 @@ export default {
// return this.$confirm(`确定移除 ${file.name} ?`); // return this.$confirm(`确定移除 ${file.name} ?`);
}, },
beforeRemove(file, fileList) { beforeRemove(file, fileList) {
return this.$confirm(`确定移除 ${file.name} ?`); console.log(this.ifupdate)
if (!ifupdate) { if (this.ifupdate) {
this.$message.warning("已提交的的附件不能删除"); this.$message.warning("已提交的的附件不能删除");
this.fileLists[0] = file; //this.fileLists[0] = file;
return false;
} else { } else {
return this.$confirm(`确定移除 ${file.name} ?`);
// this.fileLists = JSON.parse(this.executio.mon); // this.fileLists = JSON.parse(this.executio.mon);
// console.log(file,111) // console.log(file,111)
@@ -3987,7 +4185,7 @@ export default {
} else { } else {
this.$message({ this.$message({
type: "error", type: "error",
message: res.data.data.msg message: res.data.data.message
}); });
this.month = ""; this.month = "";
this.dianziurl = ""; this.dianziurl = "";
@@ -4063,7 +4261,7 @@ export default {
} else { } else {
this.$message({ this.$message({
type: "error", type: "error",
message: res.data.data.msg message: res.data.data.message
}); });
this.month = ""; this.month = "";
this.xinweiurl = ""; this.xinweiurl = "";
@@ -4210,27 +4408,48 @@ export default {
let shili1 = res.data.data.data[0].fangan; let shili1 = res.data.data.data[0].fangan;
_this.shili1 = shili1.substring(shili1.lastIndexOf("/") + 1); _this.shili1 = shili1.substring(shili1.lastIndexOf("/") + 1);
let shili2 = res.data.data.data[0].pifu; let shili2 = res.data.data.data[0].pifu;
_this.shili2 = shili2.substring(shili2.lastIndexOf("/") + 1); if(shili2){
_this.shili2 = shili2.substring(shili2.lastIndexOf("/") + 1);
}
let shili3 = res.data.data.data[0].pact; let shili3 = res.data.data.data[0].pact;
_this.shili3 = shili3.substring(shili3.lastIndexOf("/") + 1); if(shili3){
_this.shili3 = shili3.substring(shili3.lastIndexOf("/") + 1);
}
let shili4 = res.data.data.data[0].promise; let shili4 = res.data.data.data[0].promise;
_this.shili4 = shili4.substring(shili4.lastIndexOf("/") + 1); if(shili4){
_this.shili4 = shili4.substring(shili4.lastIndexOf("/") + 1);
}
let shili6 = res.data.data.data[0].review_my; let shili6 = res.data.data.data[0].review_my;
_this.review_my_url=shili6 if(shili6){
_this.review_my_url=shili6
_this.review_my = shili6?shili6.substring(shili6.lastIndexOf("/") + 1):''; _this.review_my = shili6?shili6.substring(shili6.lastIndexOf("/") + 1):'';
}
let shili7 = res.data.data.data[0].review_zq; let shili7 = res.data.data.data[0].review_zq;
_this.review_zq_url=shili7 if(shili7){
_this.review_zq = shili7?shili7.substring(shili7.lastIndexOf("/") + 1):''; _this.review_zq_url=shili7
_this.review_zq = shili7?shili7.substring(shili7.lastIndexOf("/") + 1):'';
}
let shili8 = res.data.data.data[0].review_my_zq; let shili8 = res.data.data.data[0].review_my_zq;
_this.review_my_zq_url=shili8 if(shili8){
_this.review_my_zq_url=shili8
_this.review_my_zq = shili8?shili8.substring(shili8.lastIndexOf("/") + 1):''; _this.review_my_zq = shili8?shili8.substring(shili8.lastIndexOf("/") + 1):'';
}
let shili5 = res.data.data.data[0].review_jx; let shili5 = res.data.data.data[0].review_jx;
_this.review_jx_url = shili5; if(shili5){
_this.review_jx_url = shili5;
_this.review_jx = shili5?shili5.substring(shili5.lastIndexOf("/") + 1):''; _this.review_jx = shili5?shili5.substring(shili5.lastIndexOf("/") + 1):'';
}
// console.log(_this.review_jx,_this.review_zq,_this.review_my,'123') // console.log(_this.review_jx,_this.review_zq,_this.review_my,'123')
@@ -4255,9 +4474,10 @@ export default {
}, },
aboutUs(data) { aboutUs(data) {
console.log(data); console.log(data);
this.ruleForm.aboutUsText = data; this.ruleForm.decldes = data;
}, },
projectBrief(data) { projectBrief(data) {
console.log(123)
this.ruleForm.prodes = data; this.ruleForm.prodes = data;
}, },
existingBasis(data) { existingBasis(data) {
@@ -4288,10 +4508,10 @@ export default {
if (this.bgData.status == 1 || this.bgData.status == 4) { if (this.bgData.status == 1 || this.bgData.status == 4) {
this.$message.warning("已提交的的附件不能修改"); this.$message.warning("已提交的的附件不能修改");
} else { } else {
console.log(res, 1002); //console.log(res, 1002);
let houzui = file.split("."); let houzui = file.split(".");
houzui = houzui[houzui.length - 1]; houzui = houzui[houzui.length - 1];
console.log(res, file); // console.log(res, file);
this.fileurl1 = res.url; this.fileurl1 = res.url;
this.filename1 = res.name; this.filename1 = res.name;
+"." + res.extension; +"." + res.extension;

3040
src/views/project/fuzhi2.vue Normal file

File diff suppressed because it is too large Load Diff

View File

@@ -21,12 +21,13 @@
<tr> <tr>
<td class="key">社会组织名称</td> <td class="key">社会组织名称</td>
<td class="val" :title="result.name"><div style="width:266px;margin:0 auto;white-space: nowrap;text-overflow: ellipsis;overflow: hidden;">{{result.name?result.name:"无"}}</div></td> <td class="val" :title="result.name?result.name:'无'"><div style="width:266px;margin:0 auto;white-space: nowrap;text-overflow: ellipsis;overflow: hidden;">{{result.name?result.name:"无"}}</div></td>
<td class="key">组织状态</td> <td class="key">组织状态</td>
<td class="val" v-if="result.status==0">已注销</td> <td class="val" v-if="result.status==1">信用良好</td>
<td class="val" v-if="result.status==1">异常</td> <td class="val" v-else>活动异常</td>
<!-- <td class="val" v-if="result.status==0">已注销</td>
<td class="val" v-if="result.status==2">正常</td> <td class="val" v-if="result.status==2">正常</td>
<td class="val" v-if="result.status==3">待审核</td> <td class="val" v-if="result.status==3">待审核</td> -->
</tr> </tr>
<tr> <tr>
<td class="key">统一社会信用代码</td> <td class="key">统一社会信用代码</td>
@@ -53,8 +54,10 @@
<td class="val">{{result.start_time}}--{{result.end_time}}</td> <td class="val">{{result.start_time}}--{{result.end_time}}</td>
</tr> </tr>
<tr> <tr>
<td class="key">年检情况</td> <td class="key">行政处罚情况</td>
<td class="val">{{result.sec_age?result.sec_age:"无"}}</td> <td class="val">{{result.admini_punish?result.admini_punish:"无"}}</td>
<!-- <td class="key">年检情况</td>
<td class="val">{{result.sec_age?result.sec_age:"无"}}</td> -->
<td class="key">评估情况</td> <td class="key">评估情况</td>
<td class="val">{{result.assess?result.assess:"无"}}</td> <td class="val">{{result.assess?result.assess:"无"}}</td>
</tr> </tr>
@@ -74,43 +77,52 @@
</tr> </tr>
<tr> <tr>
<td class="key">行政处罚情况</td>
<td class="val">{{result.admini_punish?result.admini_punish:"无"}}</td>
<td class="key">活动异常情况</td> <td class="key">活动异常情况</td>
<td class="val">{{result.activity_unusual?result.activity_unusual:"无"}}</td> <td class="val">{{result.activity_unusual?result.activity_unusual:"无"}}</td>
</tr> <td class="key">
<tr>
<td class="key">
<div>活动异常情况时限</div> <div>活动异常情况时限</div>
</td> </td>
<td class="val"> <td class="val">
<p>{{result.activity_unusual_start}}--{{result.activity_unusual_end}}</p> <p>{{result.activity_unusual_start}}--{{result.activity_unusual_end}}</p>
</td> </td>
</tr>
<tr>
<td class="key"> <td class="key">
<p>严重失信情况</p> <p>严重失信情况</p>
</td> </td>
<td class="val"> <td class="val">
<div>{{result.break_faith?result.break_faith:"无"}}</div> <div>{{result.break_faith?result.break_faith:"无"}}</div>
</td> </td>
<td class="key">严重失信情况时限</td>
<td class="valself" style="text-align:center">{{result.break_faith_start}}--{{result.break_faith_end}}</td>
</tr> </tr>
</table> </table>
<table width=1089> <table width=1089>
<tr> <tr>
<td class="key">严重失信情况时限</td> <td class="key key1" style="display:table-cell; vertical-align:middle;">
<td class="valself">{{result.break_faith_start}}--{{result.break_faith_end}}</td> <div>年检情况</div>
</td>
<td class="valself">
<div v-for="(item,index) in result.year" :key="index" style="margin-lft:20px;float:left">{{item.year}}年年检:{{item.status=='1'?'已通过':'未通过'}}</div>
<!-- <div>{{result.sec_age?result.sec_age:"无"}}</div> -->
</td>
</tr> </tr>
<tr> <tr>
<td class="key" style="display:table-cell; vertical-align:middle">业务范围</td> <td class="key key1" style="display:table-cell; vertical-align:middle">业务范围</td>
<td class="valself">{{result.business?result.business:"无"}}</td> <td class="valself">{{result.business?result.business:"无"}}</td>
</tr> </tr>
<tr> <tr>
<td class="key" style="display:table-cell; vertical-align:middle;"> <td class="key key1" style="display:table-cell; vertical-align:middle;">
<div>变更信息</div> <div>变更信息</div>
</td> </td>
<td class="valself"> <td class="valself">
<div>{{result.change_info?result.change_info:"无"}}</div> <div>{{result.change_info?result.change_info:"无"}}</div>
</td> </td>
</tr> </tr>
</table> </table>
</div> </div>
</div> </div>
@@ -142,8 +154,8 @@ export default {
url: "v1/soc/credit", url: "v1/soc/credit",
params: { id: this.$route.query.id } params: { id: this.$route.query.id }
}).then(res => { }).then(res => {
console.log(res); console.log(res,'房间里卡什么地方撒');
this.result = res.data.data[0]; this.result = res.data.data;
}); });
}, },
methods:{ methods:{
@@ -155,6 +167,9 @@ export default {
</script> </script>
<style lang="scss" scoped> <style lang="scss" scoped>
.key1{
width:225px!important
}
.infobox { .infobox {
width: 100vw; width: 100vw;
display: flex; display: flex;
@@ -208,7 +223,7 @@ export default {
font-size: 24px; font-size: 24px;
} }
.key { .key {
width: 266px; width: 400px;
height: 40px; height: 40px;
line-height: 40px; line-height: 40px;
background-color: #f7f5f6; background-color: #f7f5f6;

BIN
static/img/yhshz.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 30 KiB