qqqwwwww
15
src/App.vue
@@ -23,6 +23,9 @@ export default {
|
||||
</script>
|
||||
|
||||
<style lang="less">
|
||||
body{
|
||||
overflow-x: hidden;
|
||||
}
|
||||
// * {
|
||||
// /*隐藏滚动条,当IE下溢出,仍然可以滚动*/
|
||||
// // -ms-overflow-style: none;
|
||||
@@ -83,4 +86,16 @@ body {
|
||||
font-size: 18px;
|
||||
color: #fff !important;
|
||||
}
|
||||
.el-message-box{
|
||||
width:475px!important
|
||||
}
|
||||
.el-message-box__btns{
|
||||
padding: 15px 15px 0!important;
|
||||
}
|
||||
.el-message-box__message p{
|
||||
font-size: 18px;
|
||||
}
|
||||
.el-message-box__title{
|
||||
font-size: 20px!important;
|
||||
}
|
||||
</style>
|
||||
|
||||
@@ -119,14 +119,15 @@ export default {
|
||||
cursor: pointer;
|
||||
|
||||
&:last-child {
|
||||
width: 120px;
|
||||
// width: 120px;
|
||||
width: 180px;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
|
||||
.three {
|
||||
text-align: right;
|
||||
display: inline-block;
|
||||
width: 58px;
|
||||
width: 115px;
|
||||
overflow: hidden;
|
||||
text-overflow: ellipsis;
|
||||
word-break: keep-all;
|
||||
|
||||
@@ -65,7 +65,7 @@
|
||||
:class="index % 2 == 0 ? 'bgcbz' : 'bgcz'"
|
||||
class="tr"
|
||||
>
|
||||
<td @click="$jP('socialcredit',{id:info.id})" class="orgname">{{ info.name }}</td>
|
||||
<td :title="info.name" style="width:266px;margin:0 auto;white-space: nowrap;text-overflow: ellipsis;overflow: hidden;" @click="$jP('socialcredit',{id:info.id})" class="orgname">{{ info.name }}</td>
|
||||
<td>{{ info.unicode }}</td>
|
||||
<td>{{ info.society_type }}</td>
|
||||
<td>{{ info.legal_person }}</td>
|
||||
@@ -313,7 +313,7 @@ export default {
|
||||
},
|
||||
handleSizeChange (val) {
|
||||
this.pageSize = val
|
||||
this.getPackData()
|
||||
this.getData()
|
||||
},
|
||||
handleCurrentChange (val) {
|
||||
this.currentPage = val
|
||||
|
||||
@@ -6,14 +6,16 @@
|
||||
<div class="excute_con">
|
||||
<h3>一、项目申报书</h3>
|
||||
<p>
|
||||
<a :href="centers.probook?centers.probook:''" download>{{centers.probook?(centers.probook.split('/')[8]).split('_')[0]+'.'+(centers.probook.split('.')[3]):''}}</a>
|
||||
<a :href="centers.probook?centers.probook:''" target="_blank">预览</a>
|
||||
<a :href="centers.probook?centers.probook:''" >{{centers.probook?(centers.probook.split('/')[8]).split('_')[0]:''}}</a>
|
||||
<!-- <a :href="centers.probook?centers.probook:''" target="_blank">预览</a> -->
|
||||
<a :href="centers.probook" target="_blank">{{centers.probook.split('/')[8].split('.')[1] == 'pdf'||centers.probook.split('/')[8].split('.')[1] == 'jpeg'||centers.probook.split('/')[8].split('.')[1] == 'png'||centers.probook.split('/')[8].split('.')[1] == 'jpg'?'预览':'下载'}}</a>
|
||||
</p>
|
||||
<h3>二、项目实施方案</h3>
|
||||
<!-- probook -->
|
||||
<p>
|
||||
<a :href="centers.fangan?centers.fangan:''" download>{{centers.fangan?((centers.fangan.split('/')[8]).split('_')[0]?(centers.fangan.split('/')[8]).split('_')[0]:centers.fangan.split('/')[8]):''}}</a>
|
||||
<a :href="centers.fangan?centers.fangan:''" target="_blank">预览</a>
|
||||
<a :href="centers.fangan?centers.fangan:''" >{{centers.fangan?((centers.fangan.split('/')[8]).split('_')[0]?(centers.fangan.split('/')[8]).split('_')[0]:centers.fangan.split('/')[8]):''}}</a>
|
||||
<!-- <a :href="centers.fangan?centers.fangan:''" target="_blank">预览</a> -->
|
||||
<a :href="centers.fangan" target="_blank">{{centers.fangan.split('/')[8].split('.')[1] == 'pdf'||centers.fangan.split('/')[8].split('.')[1] == 'jpeg'||centers.fangan.split('/')[8].split('.')[1] == 'png'||centers.fangan.split('/')[8].split('.')[1] == 'jpg'?'预览':'下载'}}</a>
|
||||
</p>
|
||||
<h3>三、中期报告</h3>
|
||||
<h3>1、基本信息</h3>
|
||||
@@ -136,10 +138,10 @@
|
||||
<h3>
|
||||
6、项目财务报告
|
||||
<span class="download">
|
||||
<span style="margin-left:15px;margin-right:5px"> {{caiwu?(caiwu.split(".")[0]).split('_')[0]+'.'+caiwu.split('.')[1]:''}}</span>
|
||||
|
||||
<a :href="centers.fina" download v-if="caiwu">下载</a> |
|
||||
<a :href="centers.fina" target="_blank" v-if="caiwu">预览</a>
|
||||
<span style="margin-left:15px;margin-right:10px"> {{caiwu?(caiwu.split(".")[0]).split('_')[0]+'.'+caiwu.split('.')[1]:''}}</span>
|
||||
<a :href="centers.fina" target="_blank">{{centers.fina.split('/')[8].split('.')[1] == 'pdf'||centers.fina.split('/')[8].split('.')[1] == 'jpeg'||centers.fina.split('/')[8].split('.')[1] == 'png'||centers.fina.split('/')[8].split('.')[1] == 'jpg'?'预览':'下载'}}</a>
|
||||
<!-- <a :href="centers.fina" download v-if="caiwu">下载</a> |
|
||||
<a :href="centers.fina" target="_blank" v-if="caiwu">预览</a> -->
|
||||
</span>
|
||||
</h3>
|
||||
<h3>
|
||||
@@ -147,26 +149,30 @@
|
||||
|
||||
<span class="download">
|
||||
<span style="margin-left:15px;margin-right:5px"> {{dianzi?(dianzi.split('.')[0]).split('_')[0]+'.'+dianzi.split('.')[1]:''}}</span>
|
||||
<a :href="centers.elereport" download>下载</a> |
|
||||
<a :href="centers.elereport" target="_blank">预览</a>
|
||||
<!-- <a :href="centers.elereport" download>下载</a> |
|
||||
<a :href="centers.elereport" target="_blank">预览</a> -->
|
||||
<a :href="centers.elereport" target="_blank">{{centers.elereport.split('/')[8].split('.')[1] == 'pdf'||centers.elereport.split('/')[8].split('.')[1] == 'jpeg'||centers.elereport.split('/')[8].split('.')[1] == 'png'||centers.elereport.split('/')[8].split('.')[1] == 'jpg'?'预览':'下载'}}</a>
|
||||
</span>
|
||||
</h3>
|
||||
<h3>
|
||||
四、项目调整申请表及批复意见表
|
||||
|
||||
<span class="download">
|
||||
<span style="margin-left:15px;margin-right:5px"> {{shenqing?(shenqing.split('.')[0]).split('_')[0]+shenqing.split('.')[1]:''}}</span>
|
||||
<a :href="centers.adjust" download v-if="shenqing">下载 |</a>
|
||||
<a :href="centers.adjust" target="_blank" v-if="shenqing">预览</a>
|
||||
<span style="margin-left:15px;margin-right:5px"> {{shenqing?(shenqing.split('.')[0]).split('_')[0]+'.'+shenqing.split('.')[1]:''}}</span>
|
||||
<!-- <a :href="centers.adjust" download v-if="shenqing">下载 |</a>
|
||||
<a :href="centers.adjust" target="_blank" v-if="shenqing">预览</a> -->
|
||||
<a v-if="shenqing" :href="centers.adjust" target="_blank">{{centers.adjust.split('/')[8].split('.')[1] == 'pdf'||centers.adjust.split('/')[8].split('.')[1] == 'jpeg'||centers.adjust.split('/')[8].split('.')[1] == 'png'||centers.adjust.split('/')[8].split('.')[1] == 'jpg'?'预览':'下载'}}</a>
|
||||
</span>
|
||||
</h3>
|
||||
<h3>五、活动类/培训类/会议类材料</h3>
|
||||
<h3 v-for="(i,j) in centers.ziliao" :key="j">
|
||||
<a :href="i.elereport">{{i.name}}</a>
|
||||
<a :href="i.elereport?i.elereport:''" download style="margin-left:15px">{{i.elereport?(i.elereport.split('/')[8]).split('_')[0]+'.'+(i.elereport.split('/')[8]).split('.')[1]:''}}</a>
|
||||
<p v-if='centers.ziliao[0].name ==""' style='color:blue;font-size:14px;'>暂未上传</p>
|
||||
<h3 v-for="(i,j) in centers.ziliao" :key="j" v-if='centers.ziliao[0].name !==""'>
|
||||
<p>活动名称{{j+1}}:{{i.name}}</p>
|
||||
<a𡭔:href="i.elereport?i.elereport:''" style="margin-left:-1px">{{i.elereport?(i.elereport.split('/')[8]).split('_')[0]:''}}</a>
|
||||
<span class="download" >
|
||||
<a :href="i.elereport" download v-if="i.elereport">下载 |</a>
|
||||
<a :href="i.elereport" target="_blank" v-if="i.elereport">预览</a>
|
||||
<!-- <a :href="i.elereport" download v-if="i.elereport">下载 |</a>
|
||||
<a :href="i.elereport" target="_blank" v-if="i.elereport">预览</a> -->
|
||||
<a v-if="i.elereport" :href="i.elereport" target="_blank">{{i.elereport.split('/')[8].split('.')[1] == 'pdf'||i.elereport.split('/')[8].split('.')[1] == 'jpeg'||i.elereport.split('/')[8].split('.')[1] == 'png'||i.elereport.split('/')[8].split('.')[1] == 'jpg'?'预览':'下载'}}</a>
|
||||
</span>
|
||||
</h3>
|
||||
<!-- <h3>
|
||||
@@ -186,25 +192,28 @@
|
||||
<h3>
|
||||
六、财务中期预算表
|
||||
<span class="download">
|
||||
<span style="margin-left:15px;margin-right:5px"> {{midcaiwu?(midcaiwu.split('.')[0]).split('_')[0]+midcaiwu.split('.')[1]:""}}</span>
|
||||
<a :href="centers.budget" download v-if="midcaiwu">下载</a> |
|
||||
<a :href="centers.budget" target="_blank" v-if="midcaiwu">预览</a>
|
||||
<span style="margin-left:15px;margin-right:5px"> {{midcaiwu?(midcaiwu.split('.')[0]).split('_')[0]+'.'+midcaiwu.split('.')[1]:""}}</span>
|
||||
<!-- <a :href="centers.budget" download v-if="midcaiwu">下载</a> |
|
||||
<a :href="centers.budget" target="_blank" v-if="midcaiwu">预览</a> -->
|
||||
<a v-if="midcaiwu" :href="centers.budget" target="_blank">{{centers.budget.split('/')[8].split('.')[1] == 'pdf'||centers.budget.split('/')[8].split('.')[1] == 'jpeg'||centers.budget.split('/')[8].split('.')[1] == 'png'||centers.budget.split('/')[8].split('.')[1] == 'jpg'?'预览':'下载'}}</a>
|
||||
</span>
|
||||
</h3>
|
||||
<h3>
|
||||
七、其他类
|
||||
<span class="download">
|
||||
<span style="margin-left:15px;margin-right:5px"> {{qita?(qita.split(".")[0]).split('_')[0]+'.'+qita.split('.')[1]:''}}</span>
|
||||
<a :href="centers.other" download v-if="qita">下载</a> |
|
||||
<a :href="centers.other" target="_blank" v-if="qita">预览</a>
|
||||
<!-- <a :href="centers.other" download v-if="qita">下载</a> |
|
||||
<a :href="centers.other" target="_blank" v-if="qita">预览</a> -->
|
||||
<a v-if="qita" :href="centers.other" target="_blank">{{centers.other.split('/')[8].split('.')[1] == 'pdf'||centers.other.split('/')[8].split('.')[1] == 'jpeg'||centers.other.split('/')[8].split('.')[1] == 'png'||centers.other.split('/')[8].split('.')[1] == 'jpg'?'预览':'下载'}}</a>
|
||||
</span>
|
||||
</h3>
|
||||
<h3>
|
||||
八、中期PPT文件
|
||||
<span class="download">
|
||||
<span style="margin-left:15px;margin-right:5px"> {{ppt?(ppt.split('.')[0]).split('_')[0]+'.'+ppt.split('.')[1]:""}}</span>
|
||||
<a :href="centers.PPT" download v-if="ppt">下载</a> |
|
||||
<a :href="centers.PPT" target="_blank" v-if="ppt">预览</a>
|
||||
<!-- <a :href="centers.PPT" download v-if="ppt">下载</a> |
|
||||
<a :href="centers.PPT" target="_blank" v-if="ppt">预览</a> -->
|
||||
<a v-if="ppt" :href="centers.PPT" target="_blank">{{centers.PPT.split('/')[8].split('.')[1] == 'pdf'||centers.PPT.split('/')[8].split('.')[1] == 'jpeg'||centers.PPT.split('/')[8].split('.')[1] == 'png'||centers.PPT.split('/')[8].split('.')[1] == 'jpg'?'预览':'下载'}}</a>
|
||||
</span>
|
||||
</h3>
|
||||
</div>
|
||||
|
||||
@@ -7,18 +7,21 @@
|
||||
<h3>一、项目申报书</h3>
|
||||
<p>
|
||||
<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.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>
|
||||
|
||||
<h3>二、立项批复文件</h3>
|
||||
<p>
|
||||
<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>
|
||||
</p>
|
||||
<h3>三、实施方案</h3>
|
||||
<p>
|
||||
<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">{{over.fangan?over.fangan.split('/')[8]:'未上传'}}</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>
|
||||
</p>
|
||||
<!-- <h3>四、街道(地区办事处)关于2019年社会建设资金购买社会组织服务结项材料的说明</h3>
|
||||
<p>
|
||||
@@ -29,12 +32,18 @@
|
||||
</p> -->
|
||||
<h3>四、项目实施各阶段情况报告(月度报告)</h3>
|
||||
<p>
|
||||
<DivisionLabor
|
||||
@divisionLabor="plement"
|
||||
:divisionLaborVal="over.pro_condition"
|
||||
:writeable="false"
|
||||
></DivisionLabor>
|
||||
<!-- <a href="#">未上传</a> -->
|
||||
|
||||
<a :href="over.pro_condition">{{over.pro_condition?over.pro_condition.split('/')[8]:'未上传'}}</a>
|
||||
<!-- <a :href="over.pro_condition">{{over.pro_condition?over.pro_condition.split('/')[8]:'未上传'}}</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 v-if="over.pro_condition" :href="over.pro_condition" target="_blank">{{over.pro_condition.split('/')[8].split('.')[1] == 'pdf'||over.pro_condition.split('/')[8].split('.')[1] == 'jpeg'||over.pro_condition.split('/')[8].split('.')[1] == 'png'||over.pro_condition.split('/')[8].split('.')[1] == 'jpg'?'预览':'下载'}}</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> -->
|
||||
</p>
|
||||
<!-- <h3>六、中期评估报告</h3>
|
||||
<p>
|
||||
@@ -110,8 +119,9 @@
|
||||
<!-- {{over.fina}} -->
|
||||
<a :href="over.fina">{{over.fina?over.fina.split('/')[8]:'未上传'}}</a>
|
||||
|
||||
<a :href="over.fina" download v-if="over.fina"> 下载 |</a>
|
||||
<a :href="over.fina" target="_blank" v-if="over.fina">预览</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" target="_blank" v-if="over.fina">预览</a> -->
|
||||
</span>
|
||||
</h3>
|
||||
<h3>
|
||||
@@ -119,9 +129,9 @@
|
||||
<span class="download">
|
||||
<a :href="over.elereport">{{over.elereport?over.elereport.split('/')[8]:'未上传'}}</a>
|
||||
|
||||
|
||||
<a :href="over.elereport" download v-if="over.elereport"> 下载 |</a>
|
||||
<a :href="over.elereport" target="_blank" v-if="over.elereport">预览</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" target="_blank" v-if="over.elereport">预览</a> -->
|
||||
</span>
|
||||
</h3>
|
||||
<h3>
|
||||
@@ -129,16 +139,19 @@
|
||||
<span class="download">
|
||||
<a :href="over.adjust">{{over.adjust?over.adjust.split('/')[8]:'未上传'}}</a>
|
||||
|
||||
<a :href="over.adjust" download v-if="over.adjust">下载 |</a>
|
||||
<a :href="over.adjust" target="_blank" v-if="over.adjust">预览</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" target="_blank" v-if="over.adjust">预览</a> -->
|
||||
</span>
|
||||
</h3>
|
||||
<!-- JSON.parse() -->
|
||||
<h3>七、会议活动相关资料(通知、议程、参加人员名单及签到表、现场照片或视频、会议纪要、活动总结报告、媒体报道、满意度测评表及报告等)</h3>
|
||||
<span class="download" v-for="(item,index) in over.ziliao" :key="index" style="display:block;margin: 20px 0">
|
||||
<a :href="item.elereport">{{item.elereport?item.elereport.split('/')[8]:'未上传'}}</a>
|
||||
|
||||
<a :href="item.elereport" download v-if="item.elereport">下载 |</a>
|
||||
<a :href="item.elereport" target="_blank" v-if="item.elereport">预览</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" target="_blank" v-if="item.elereport">预览</a> -->
|
||||
</span>
|
||||
<h3>
|
||||
八、反映项目实施效果的相关资料
|
||||
@@ -146,8 +159,9 @@
|
||||
<span class="download">
|
||||
<a :href="over.pro_result">{{over.pro_result?over.pro_result.split('/')[8]:'未上传'}}</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 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" target="_blank" v-if="over.pro_result">预览</a> -->
|
||||
</span>
|
||||
</h3>
|
||||
<h3>
|
||||
@@ -155,8 +169,9 @@
|
||||
<span class="download">
|
||||
<a :href="over.manage">{{over.manage?over.manage.split('/')[8]:'未上传'}}</a>
|
||||
|
||||
<a :href="over.manage" download v-if="over.manage">下载 |</a>
|
||||
<a :href="over.manage" target="_blank" v-if="over.manage">预览</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" target="_blank" v-if="over.manage">预览</a> -->
|
||||
</span>
|
||||
</h3>
|
||||
<h3>
|
||||
@@ -164,9 +179,10 @@
|
||||
<span class="download">
|
||||
<a :href="over.money">{{over.money?over.money.split('/')[8]:'未上传'}}</a>
|
||||
|
||||
<a :href="over.money" download v-if="over.money">下载 |</a>
|
||||
<a :href="over.money" target="_blank" v-if="over.money">预览</a>
|
||||
</span>
|
||||
<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" target="_blank" v-if="over.money">预览</a>-->
|
||||
</span>
|
||||
</h3>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@@ -4,29 +4,47 @@
|
||||
<div id="excute_box">
|
||||
<!--内容-->
|
||||
<div class="excute_con">
|
||||
<h3><span style="color:red;margin-right:10px;position:relative;right:3px">*</span>一、项目申报书</h3>
|
||||
<h3>
|
||||
<span style="color:red;margin-right:10px;position:relative;right:3px">*</span>一、项目申报书
|
||||
</h3>
|
||||
<p>
|
||||
<a
|
||||
:href="getpros.probook"
|
||||
target="_blank"
|
||||
>{{shili? shili.split('_')[0]+''+(shili.split('_')[0].includes('.')?'':'.'+shili.split('.')[1]):"未上传"}}</a>
|
||||
<a :href="getpros.probook" target="_blank">预览</a>
|
||||
<a
|
||||
:href="getpros.probook"
|
||||
target="_blank"
|
||||
v-if="getpros.probook"
|
||||
>{{getpros.probook.split('/')[8].split('.')[1] == 'pdf'||getpros.probook.split('/')[8].split('.')[1] == 'jpeg'||getpros.probook.split('/')[8].split('.')[1] == 'png'||getpros.probook.split('/')[8].split('.')[1] == 'jpg'?'预览':'下载'}}</a>
|
||||
</p>
|
||||
<h3><span style="color:red;margin-right:10px;position:relative;right:3px">*</span>二、立项批复文件</h3>
|
||||
<h3>
|
||||
<span style="color:red;margin-right:10px;position:relative;right:3px">*</span>二、立项批复文件
|
||||
</h3>
|
||||
<p>
|
||||
<a
|
||||
:href="getpros.pifu"
|
||||
target="_blank"
|
||||
>{{shili1? shili1.split('_')[0]+''+(shili1.split('_')[0].includes('.')?'':'.'+shili1.split('.')[1]):"未上传"}}</a>
|
||||
<a :href="getpros.pifu" target="_blank">预览</a>
|
||||
<a
|
||||
:href="getpros.pifu"
|
||||
target="_blank"
|
||||
v-if="getpros.pifu"
|
||||
>{{getpros.pifu.split('/')[8].split('.')[1] == 'pdf'||getpros.pifu.split('/')[8].split('.')[1] == 'jpeg'||getpros.pifu.split('/')[8].split('.')[1] == 'png'||getpros.probook.split('/')[8].split('.')[1] == 'jpg'?'预览':'下载'}}</a>
|
||||
</p>
|
||||
<h3><span style="color:red;margin-right:10px;position:relative;right:3px">*</span>三、实施方案</h3>
|
||||
<h3>
|
||||
<span style="color:red;margin-right:10px;position:relative;right:3px">*</span>三、实施方案
|
||||
</h3>
|
||||
<p>
|
||||
<a
|
||||
:href="getpros.fangan"
|
||||
target="_blank"
|
||||
>{{shili2? shili2.split('_')[0]+''+(shili2.split('_')[0].includes('.')?'':'.'+shili2.split('.')[1]):"未上传"}}</a>
|
||||
<a :href="getpros.fangan" target="_blank">预览</a>
|
||||
<a
|
||||
:href="getpros.fangan"
|
||||
target="_blank"
|
||||
v-if="getpros.fangan"
|
||||
>{{getpros.fangan.split('/')[8].split('.')[1] == 'pdf'||getpros.fangan.split('/')[8].split('.')[1] == 'jpeg'||getpros.fangan.split('/')[8].split('.')[1] == 'png'||getpros.fangan.split('/')[8].split('.')[1] == 'jpg'?'预览':'下载'}}</a>
|
||||
</p>
|
||||
<!-- <h3>四、项目合同</h3>
|
||||
<p>
|
||||
@@ -39,7 +57,9 @@
|
||||
<a href="#">预览</a>
|
||||
</p>-->
|
||||
<div class="mid_box">
|
||||
<h3> <span style="color:red;margin-right:10px;position:relative;right:3px">*</span> 四、街道(地区办事处)关于2019年社会建设资金购买社会组织服务结项材料的说明</h3>
|
||||
<h3>
|
||||
<span style="color:red;margin-right:10px;position:relative;right:3px">*</span> 四、街道(地区办事处)关于2019年社会建设资金购买社会组织服务结项材料的说明
|
||||
</h3>
|
||||
<el-upload
|
||||
class="avatar-uploader"
|
||||
:action="$upload"
|
||||
@@ -83,7 +103,9 @@
|
||||
<!--文件上传-->
|
||||
</div>
|
||||
<div class="mid_box">
|
||||
<h3> <span style="color:red;margin-right:10px;position:relative;right:3px">*</span> 五、项目实施各阶段情况报告</h3>
|
||||
<h3>
|
||||
<span style="color:red;margin-right:10px;position:relative;right:3px">*</span> 五、项目实施各阶段情况报告
|
||||
</h3>
|
||||
<el-upload
|
||||
class="avatar-uploader"
|
||||
:action="$upload"
|
||||
@@ -134,7 +156,7 @@
|
||||
@click="dialogTableVisible = true"
|
||||
style="color:rgb(116, 113, 239);cursor:pointer"
|
||||
>+月工作报表</p>
|
||||
<el-dialog title="添加月度报告" :visible.sync="dialogTableVisible">
|
||||
<el-dialog title="上传月工作报表" :visible.sync="dialogTableVisible">
|
||||
<aside>
|
||||
<div>
|
||||
<label>一、项目名称:</label>
|
||||
@@ -152,7 +174,7 @@
|
||||
style="width:300px;margin-left:10px"
|
||||
></el-input>
|
||||
</div>
|
||||
<div>
|
||||
<div style="margin-top:10px">
|
||||
<label>二、机构名称:</label>
|
||||
<!-- <input
|
||||
type="text"
|
||||
@@ -168,7 +190,7 @@
|
||||
style="width:300px;margin-left:10px"
|
||||
></el-input>
|
||||
</div>
|
||||
<div>
|
||||
<div style="margin-top:10px">
|
||||
<label>三、日期选择:</label>
|
||||
<!-- <select v-model="month">
|
||||
<option
|
||||
@@ -189,13 +211,13 @@
|
||||
</div>
|
||||
<div>
|
||||
<label>四、模板下载:</label>
|
||||
<span>
|
||||
<a href="#">示例文字下载.DOC</a>
|
||||
<a href="#" download>下载</a>
|
||||
<span style="position:relative;left:15px">
|
||||
<a href="./static/file/工作月报表(模版).docx" style="margin-right:5px">工作月报表(模版).DOC</a>
|
||||
<a href="./static/file/工作月报表(模版).docx" download style="margin-left:0px">下载</a>
|
||||
</span>
|
||||
</div>
|
||||
<div class="mid_box" style="display:flex;margin-bottom:30px">
|
||||
<label>五、上传电子版月报文件:</label>
|
||||
<div class="mid_box" style="display:flex;margin-bottom:30px">
|
||||
<label>五、上传电子版文件:</label>
|
||||
<div class="xxxx">
|
||||
<template>
|
||||
<el-upload
|
||||
@@ -321,24 +343,24 @@
|
||||
>
|
||||
<td>{{new Date(names.month*1000).getMonth()+1}}</td>
|
||||
<td>{{names.type}}</td>
|
||||
<td style="display:flex;flex-wrap:nowrap">
|
||||
<td class="td_tooltip" style>
|
||||
<el-tooltip
|
||||
class="item"
|
||||
effect="dark"
|
||||
:content="names.elereport?(JSON.parse(names.elereport).name.split('_')[0]?JSON.parse(names.elereport).name.split('_')[0]:JSON.parse(names.elereport).name) + (JSON.parse(names.elereport).extension == undefined ? '' : '.' + JSON.parse(names.elereport).extension):''"
|
||||
:content="names.elereport?(JSON.parse(names.elereport).names.split('_')[0]?JSON.parse(names.elereport).names.split('_')[0]:JSON.parse(names.elereport).names) + (JSON.parse(names.elereport).extension == undefined ? '' : '.' + JSON.parse(names.elereport).extension):''"
|
||||
placement="top"
|
||||
>
|
||||
<a
|
||||
:href="names.elereport?JSON.parse(names.elereport).url:''"
|
||||
target="view_window"
|
||||
style="width:180px;display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis"
|
||||
>{{names.elereport?(JSON.parse(names.elereport).name.split('_')[0]?JSON.parse(names.elereport).name.split('_')[0]:JSON.parse(names.elereport).name) + (JSON.parse(names.elereport).extension == undefined ? '' : '.' + JSON.parse(names.elereport).extension):''}}</a>
|
||||
style="width:82%;float:left;white-space:nowrap;overflow:hidden;text-overflow:ellipsis"
|
||||
>{{names.elereport?(JSON.parse(names.elereport).names.split('_')[0]?JSON.parse(names.elereport).names.split('_')[0]:JSON.parse(names.elereport).names) + (JSON.parse(names.elereport).extension == undefined ? '' : '.' + JSON.parse(names.elereport).extension):''}}</a>
|
||||
</el-tooltip>
|
||||
|
||||
<a
|
||||
:href="names.elereport?JSON.parse(names.elereport).url:''"
|
||||
target="view_window"
|
||||
style="width:50px;color:#7471ef"
|
||||
style="width:18%;color:#7471ef"
|
||||
>下载</a>
|
||||
</td>
|
||||
<!-- <td>
|
||||
@@ -353,7 +375,9 @@
|
||||
</div>
|
||||
<!--tab切换-->
|
||||
<div class="mid_box">
|
||||
<h3><span style="color:red;margin-right:10px;position:relative;right:3px">*</span>六、中期评估报告</h3>
|
||||
<h3>
|
||||
<span style="color:red;margin-right:10px;position:relative;right:3px">*</span>六、中期评估报告
|
||||
</h3>
|
||||
<!-- <h3>8.1中期评估报告</h3> -->
|
||||
<el-upload
|
||||
class="avatar-uploader"
|
||||
@@ -376,10 +400,7 @@
|
||||
<img v-if="imageUrl2" :src="imageUrl2" class="avatar" />
|
||||
<i v-else class="el-icon-plus avatar-uploader-icon"></i>
|
||||
</el-upload>
|
||||
<a
|
||||
class="filename"
|
||||
:href="fileurl2"
|
||||
>{{filename2? filename2.split('_')[0]+''+(filename2.split('_')[0].includes('.')?'':'.'+filename2.split('.')[1]):""}}</a>
|
||||
<a class="filename" :href="fileurl2">{{filename2?filename2:''}}</a>
|
||||
<p class="tip">点击上方图标可上传文件</p>
|
||||
<div @click="beforeRemove1(filename2,'imageUrl2')" class="close" v-if="imageUrl2">
|
||||
<i class="el-icon-close close"></i>
|
||||
@@ -406,30 +427,32 @@
|
||||
文件上传
|
||||
</div>-->
|
||||
<h3>七、结项报告</h3>
|
||||
<h3><span style="color:red;margin-right:10px;position:relative;right:3px">*</span>1、基本信息</h3>
|
||||
<h3>
|
||||
<span style="color:red;margin-right:10px;position:relative;right:3px">*</span>1、基本信息
|
||||
</h3>
|
||||
<aside>
|
||||
<div style="margin-left:15px">
|
||||
<div>
|
||||
<label>项目名称:</label>
|
||||
<el-input
|
||||
v-model="getpros.name"
|
||||
name="name"
|
||||
style="width:350px;margin-left:25px"
|
||||
required
|
||||
class="division"
|
||||
></el-input>
|
||||
<!-- <input type="text" name="name" value v-model="getpros.name" required class="division" /> -->
|
||||
</div>
|
||||
<div>
|
||||
<label>机构名称:</label>
|
||||
<el-input
|
||||
v-model="getpros.org_name"
|
||||
name="company"
|
||||
style="width:350px;margin-left:25px"
|
||||
required
|
||||
class="division"
|
||||
></el-input>
|
||||
<!-- <input
|
||||
<div>
|
||||
<label>项目名称:</label>
|
||||
<el-input
|
||||
v-model="getpros.name"
|
||||
name="name"
|
||||
style="width:350px;margin-left:25px"
|
||||
required
|
||||
class="division"
|
||||
></el-input>
|
||||
<!-- <input type="text" name="name" value v-model="getpros.name" required class="division" /> -->
|
||||
</div>
|
||||
<div>
|
||||
<label>机构名称:</label>
|
||||
<el-input
|
||||
v-model="getpros.org_name"
|
||||
name="company"
|
||||
style="width:350px;margin-left:25px"
|
||||
required
|
||||
class="division"
|
||||
></el-input>
|
||||
<!-- <input
|
||||
type="text"
|
||||
name="company"
|
||||
v-model="getpros.org_name"
|
||||
@@ -437,35 +460,46 @@
|
||||
disabled
|
||||
required
|
||||
class="division"
|
||||
/>-->
|
||||
</div>
|
||||
<div>
|
||||
<label>申请日期:</label>
|
||||
<!-- <input type="date" name="aterm" v-model="getpros.aterm" value required />
|
||||
/>-->
|
||||
</div>
|
||||
<div>
|
||||
<label>申请日期:</label>
|
||||
<!-- <input type="date" name="aterm" v-model="getpros.aterm" value required />
|
||||
<span>至</span>
|
||||
<input type="date" name="fterm" v-model="getpros.fterm" value required />-->
|
||||
<input type="date" name="fterm" v-model="getpros.fterm" value required />-->
|
||||
|
||||
<el-date-picker
|
||||
v-model="visitDate"
|
||||
type="daterange"
|
||||
@change="getTime"
|
||||
format="yyyy-MM-dd"
|
||||
value-format="yyyy-MM-dd"
|
||||
range-separator="至"
|
||||
start-placeholder="开始日期"
|
||||
end-placeholder="结束日期"
|
||||
style="margin-left:25px"
|
||||
></el-date-picker>
|
||||
<el-date-picker
|
||||
v-model="visitDate"
|
||||
type="daterange"
|
||||
@change="getTime"
|
||||
format="yyyy-MM-dd"
|
||||
value-format="yyyy-MM-dd"
|
||||
range-separator="至"
|
||||
start-placeholder="开始日期"
|
||||
end-placeholder="结束日期"
|
||||
style="margin-left:25px"
|
||||
></el-date-picker>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
<div class="fengong">
|
||||
<label class="fengongtitle" style="font-size:20px;text-indent:-15px;position:relative;right:19px"><span style="color:red;margin-right:10px;position:relative;right:3px">*</span>项目执行团队人员构成及分工:</label>
|
||||
<inform
|
||||
<label
|
||||
class="fengongtitle"
|
||||
style="font-size:20px;text-indent:-15px;position:relative;right:19px"
|
||||
>
|
||||
<span style="color:red;margin-right:10px;position:relative;right:3px">*</span>项目执行团队人员构成及分工:
|
||||
</label>
|
||||
<!-- <inform
|
||||
@inform="inform"
|
||||
:informVal="getpros.prodemofg"
|
||||
style="height:auto !important;position:relative;z-index:0"
|
||||
></inform>
|
||||
{{getpros.prodemofg}}aaaaaa-->
|
||||
<DivisionLabor
|
||||
@divisionLabor="inform"
|
||||
:divisionLaborVal="getpros.prodemofg"
|
||||
:writeable="true"
|
||||
></DivisionLabor>
|
||||
<!-- <input
|
||||
type="text"
|
||||
name="share"
|
||||
@@ -477,14 +511,19 @@
|
||||
</div>
|
||||
</aside>
|
||||
<div class="mid_box">
|
||||
<h3><span style="color:red;margin-right:10px;position:relative;right:3px">*</span>2、项目发展性状况</h3>
|
||||
<h3>
|
||||
<span style="color:red;margin-right:10px;position:relative;right:3px">*</span>2、项目发展性状况
|
||||
</h3>
|
||||
<div class="rich">
|
||||
<!-- {{subMidVal}}zzzzzz -->
|
||||
<DivisionLabor @divisionLabor="subMid" :divisionLaborVal="subMidVal" :writeable="true"></DivisionLabor>
|
||||
<!-- <sub-mid @subMid="subMid" :subMidVal="subMidVal"></sub-mid> -->
|
||||
</div>
|
||||
</div>
|
||||
<div class="mid_box">
|
||||
<h3> <span style="color:red;margin-right:10px;position:relative;right:3px">*</span> 3、项目实施情况</h3>
|
||||
<h3>
|
||||
<span style="color:red;margin-right:10px;position:relative;right:3px">*</span> 3、项目实施情况
|
||||
</h3>
|
||||
<div class="rich">
|
||||
<DivisionLabor @divisionLabor="state" :divisionLaborVal="stateVal" :writeable="true"></DivisionLabor>
|
||||
<!-- <state @state="state" :stateVal="stateVal"></state> -->
|
||||
@@ -503,7 +542,9 @@
|
||||
</div>
|
||||
</div>-->
|
||||
<div class="mid_box">
|
||||
<h3><span style="color:red;margin-right:10px;position:relative;right:3px">*</span>4、项目取得的成效</h3>
|
||||
<h3>
|
||||
<span style="color:red;margin-right:10px;position:relative;right:3px">*</span>4、项目取得的成效
|
||||
</h3>
|
||||
<div class="rich">
|
||||
<DivisionLabor @divisionLabor="proact" :divisionLaborVal="proactVal" :writeable="true"></DivisionLabor>
|
||||
<!-- <proact @proact="proact" :proactVal="proactVal"></proact> -->
|
||||
@@ -522,14 +563,18 @@
|
||||
</div>
|
||||
</div>-->
|
||||
<div class="mid_box">
|
||||
<h3><span style="color:red;margin-right:10px;position:relative;right:3px">*</span>5、项目实施至今的情况总结</h3>
|
||||
<h3>
|
||||
<span style="color:red;margin-right:10px;position:relative;right:3px">*</span>5、项目实施至今的情况总结
|
||||
</h3>
|
||||
<div class="rich">
|
||||
<DivisionLabor @divisionLabor="sumup" :divisionLaborVal="sumupVal" :writeable="true"></DivisionLabor>
|
||||
<!-- <sumup @sumup="sumup" :sumupVal="sumupVal"></sumup> -->
|
||||
</div>
|
||||
</div>
|
||||
<div class="mid_box">
|
||||
<h3><span style="color:red;margin-right:10px;position:relative;right:3px">*</span>6、项目财务报告(按实际支出列出明细,上传文件)</h3>
|
||||
<h3>
|
||||
<span style="color:red;margin-right:10px;position:relative;right:3px">*</span>6、项目财务报告(按实际支出列出明细,上传文件)
|
||||
</h3>
|
||||
<el-upload
|
||||
class="avatar-uploader"
|
||||
:action="$upload"
|
||||
@@ -562,7 +607,9 @@
|
||||
<!--文件上传-->
|
||||
</div>
|
||||
<div class="mid_box">
|
||||
<h3><span style="color:red;margin-right:10px;position:relative;right:3px">*</span>7、结项电子报告上传</h3>
|
||||
<h3>
|
||||
<span style="color:red;margin-right:10px;position:relative;right:3px">*</span>7、结项电子报告上传
|
||||
</h3>
|
||||
<el-upload
|
||||
class="avatar-uploader"
|
||||
:action="$upload"
|
||||
@@ -595,7 +642,9 @@
|
||||
<!--文件上传-->
|
||||
</div>
|
||||
<div class="mid_box">
|
||||
<h3><span style="color:red;margin-right:10px;position:relative;right:3px">*</span>8、项目调整申请及批复</h3>
|
||||
<h3>
|
||||
<span style="color:red;margin-right:10px;position:relative;right:3px">*</span>8、项目调整申请及批复
|
||||
</h3>
|
||||
<el-upload
|
||||
class="avatar-uploader"
|
||||
:action="$upload"
|
||||
@@ -634,14 +683,17 @@
|
||||
</div>
|
||||
<div class="mid_box">
|
||||
<div style="display:flex">
|
||||
<h3><span style="color:red;margin-right:10px;position:relative;right:3px">*</span>八、会议活动的相关资料(通知、议程、参加人员名单及签到表、现场照片或视频、会议纪要、活动总结报告、媒体报道、满意度测评表及报告等)</h3>
|
||||
<h3>
|
||||
<span style="color:red;margin-right:10px;position:relative;right:3px">*</span>八、会议活动的相关资料(通知、议程、参加人员名单及签到表、现场照片或视频、会议纪要、活动总结报告、媒体报道、满意度测评表及报告等)
|
||||
</h3>
|
||||
<el-button
|
||||
type="primary"
|
||||
plain
|
||||
style="height:40px;margin-top:51px;position: relative;top: 83px;left: -108px;"
|
||||
style="height:40px;margin-top:51px;position: relative;top: 85px;left: -160px;z-index:999"
|
||||
@click="add"
|
||||
>添加</el-button>
|
||||
</div>
|
||||
|
||||
<div v-for="(i,j) in ziliaoarr" :key="j" class="activebox">
|
||||
<span>活动名称{{j+1}}</span>
|
||||
<el-input
|
||||
@@ -686,8 +738,7 @@
|
||||
<a
|
||||
class="filename"
|
||||
:href="urls[j]"
|
||||
>
|
||||
{{filenamearr[j]? filenamearr[j].split('_')[0]+''+(filenamearr[j].split('_')[0].includes('.')?'':'.'+filenamearr[j].split('.')[1]):""}}</a>
|
||||
>{{filenamearr[j]? filenamearr[j].split('_')[0]+''+(filenamearr[j].split('_')[0].includes('.')?'':'.'+filenamearr[j].split('.')[1]):""}}</a>
|
||||
<!-- <a class="filename" :href="urls[j]" >{{filenamearr[j]}}</a> -->
|
||||
<p class="tip">点击上方图标可上传文件</p>
|
||||
<div
|
||||
@@ -703,7 +754,9 @@
|
||||
</div>
|
||||
</div>
|
||||
<div class="mid_box">
|
||||
<h3><span style="color:red;margin-right:10px;position:relative;right:3px">*</span>九、反映项目实施效果的相关材料(媒体报道、获奖情况、文字成果、案例等)</h3>
|
||||
<h3>
|
||||
<span style="color:red;margin-right:10px;position:relative;right:3px">*</span>九、反映项目实施效果的相关材料(媒体报道、获奖情况、文字成果、案例等)
|
||||
</h3>
|
||||
<el-upload
|
||||
class="avatar-uploader"
|
||||
:action="$upload"
|
||||
@@ -736,7 +789,9 @@
|
||||
<!--文件上传-->
|
||||
</div>
|
||||
<div class="mid_box">
|
||||
<h3><span style="color:red;margin-right:10px;position:relative;right:3px">*</span>十、财务管理制度</h3>
|
||||
<h3>
|
||||
<span style="color:red;margin-right:10px;position:relative;right:3px">*</span>十、财务管理制度
|
||||
</h3>
|
||||
<el-upload
|
||||
class="avatar-uploader"
|
||||
:action="$upload"
|
||||
@@ -769,7 +824,9 @@
|
||||
<!--文件上传-->
|
||||
</div>
|
||||
<div class="mid_box">
|
||||
<h3><span style="color:red;margin-right:10px;position:relative;right:3px">*</span>十一、项目经费、预算决算表</h3>
|
||||
<h3>
|
||||
<span style="color:red;margin-right:10px;position:relative;right:3px">*</span>十一、项目经费、预算决算表
|
||||
</h3>
|
||||
<el-upload
|
||||
class="avatar-uploader"
|
||||
:action="$upload"
|
||||
@@ -807,7 +864,9 @@
|
||||
</div>-->
|
||||
|
||||
<!-- :model="numberValidateForm" -->
|
||||
<div class="ll">
|
||||
|
||||
<div class="ll" v-if="getpros.over.status!=127">
|
||||
|
||||
<el-form ref="numberValidateForm" label-width="100px" class="demo-ruleForm">
|
||||
<el-form-item>
|
||||
<button type="button" @click="before" style="cursor:pointer">返回</button>
|
||||
@@ -1445,7 +1504,7 @@ export default {
|
||||
this.ziliaoarr.splice(e, 1);
|
||||
this.name.splice(e, 1);
|
||||
|
||||
console.log(this.ziliaoarr,this.filenamearr, 200);
|
||||
console.log(this.ziliaoarr, this.filenamearr, 200);
|
||||
},
|
||||
removefile() {
|
||||
console.log("aaa");
|
||||
@@ -1458,6 +1517,7 @@ export default {
|
||||
this.getpros.prodemofg = data;
|
||||
},
|
||||
add() {
|
||||
console.log(123);
|
||||
this.ziliaoarr.push(1);
|
||||
this.name.push("");
|
||||
this.uploadname.push("");
|
||||
@@ -1486,7 +1546,7 @@ export default {
|
||||
console.log(e);
|
||||
console.log(f, "remove");
|
||||
if (e.length) {
|
||||
this.$confirm(`确定移除 ${e} ?`).then(() => {
|
||||
this.$confirm(`删除文件后将无法恢复,请谨慎操作?`).then(() => {
|
||||
// this.handleRemove1()
|
||||
|
||||
switch (f) {
|
||||
@@ -1600,7 +1660,7 @@ export default {
|
||||
this.ziliaoarr[g] = "";
|
||||
this.filetype[g] = "";
|
||||
this.urls[g] = "";
|
||||
this.filenamearr[g] = '';
|
||||
this.filenamearr[g] = "";
|
||||
for (let i in this.filetype) {
|
||||
// console.log(this.filetype[i],"7946")
|
||||
if (this.filetype[i] == "docx" || this.filetype[i] == "doc") {
|
||||
@@ -1776,12 +1836,12 @@ export default {
|
||||
this.imageUrl = "/static/img/excel.png";
|
||||
} else if (houzui == "jpg" || houzui == "jpeg" || houzui == "png") {
|
||||
this.imageUrl = res.url;
|
||||
}else if(houzui == "zip" || houzui == "rar"){
|
||||
this.imageUrl = "/static/img/zip.png";
|
||||
}else if(houzui == "txt"){
|
||||
this.imageUrl = "/static/img/txt.png";
|
||||
} else if (houzui == "zip" || houzui == "rar") {
|
||||
this.imageUrl = "/static/img/zip.png";
|
||||
} else if (houzui == "txt") {
|
||||
this.imageUrl = "/static/img/txt.png";
|
||||
}
|
||||
this.filename = res.name + "." + res.extension;
|
||||
this.filename = res.name; // res.name + "." + res.extension;
|
||||
// console.log(file);
|
||||
// console.log(res);
|
||||
// this.fileurl = file.response.data.url;
|
||||
@@ -1829,12 +1889,12 @@ export default {
|
||||
this.imageUrl1 = "/static/img/excel.png";
|
||||
} else if (houzui == "jpg" || houzui == "jpeg" || houzui == "png") {
|
||||
this.imageUrl1 = res.url;
|
||||
}else if(houzui == "zip" || houzui == "rar"){
|
||||
this.imageUrl1 = "/static/img/zip.png";
|
||||
}else if(houzui == "txt"){
|
||||
this.imageUrl1 = "/static/img/txt.png";
|
||||
} else if (houzui == "zip" || houzui == "rar") {
|
||||
this.imageUrl1 = "/static/img/zip.png";
|
||||
} else if (houzui == "txt") {
|
||||
this.imageUrl1 = "/static/img/txt.png";
|
||||
}
|
||||
this.filename1 = res.name + "." + res.extension;
|
||||
this.filename1 = res.name; // res.name + "." + res.extension;
|
||||
// console.log(file);
|
||||
// this.fileurl1 = file.response.data.url;
|
||||
// // this.imageUrl1 = "/index/timg.jpg";
|
||||
@@ -1881,12 +1941,12 @@ export default {
|
||||
this.imageUrl2 = "/static/img/excel.png";
|
||||
} else if (houzui == "jpg" || houzui == "jpeg" || houzui == "png") {
|
||||
this.imageUrl2 = res.url;
|
||||
}else if(houzui == "zip" || houzui == "rar"){
|
||||
this.imageUrl2 = "/static/img/zip.png";
|
||||
}else if(houzui == "txt"){
|
||||
this.imageUrl2 = "/static/img/txt.png";
|
||||
} else if (houzui == "zip" || houzui == "rar") {
|
||||
this.imageUrl2 = "/static/img/zip.png";
|
||||
} else if (houzui == "txt") {
|
||||
this.imageUrl2 = "/static/img/txt.png";
|
||||
}
|
||||
this.filename2 = res.name + "." + res.extension;
|
||||
this.filename2 = res.name; // res.name + "." + res.extension;
|
||||
|
||||
// console.log(file);
|
||||
// this.fileurl2 = file.response.data.url;
|
||||
@@ -1945,10 +2005,10 @@ export default {
|
||||
file.response.data.extension == "png"
|
||||
) {
|
||||
this.imageUrl3 = file.response.data.url;
|
||||
}else if(houzui == "zip" || houzui == "rar"){
|
||||
this.imageUrl3 = "/static/img/zip.png";
|
||||
}else if(houzui == "txt"){
|
||||
this.imageUrl3 = "/static/img/txt.png";
|
||||
} else if (houzui == "zip" || houzui == "rar") {
|
||||
this.imageUrl3 = "/static/img/zip.png";
|
||||
} else if (houzui == "txt") {
|
||||
this.imageUrl3 = "/static/img/txt.png";
|
||||
}
|
||||
this.filename3 = file.response.data.name;
|
||||
// this.imageUrl = URL.createObjectURL(file.raw)
|
||||
@@ -1969,12 +2029,12 @@ export default {
|
||||
this.imageUrl4 = "/static/img/excel.png";
|
||||
} else if (houzui == "jpg" || houzui == "jpeg" || houzui == "png") {
|
||||
this.imageUrl4 = res.url;
|
||||
}else if(houzui == "zip" || houzui == "rar"){
|
||||
this.imageUrl4 = "/static/img/zip.png";
|
||||
}else if(houzui == "txt"){
|
||||
this.imageUrl4 = "/static/img/txt.png";
|
||||
} else if (houzui == "zip" || houzui == "rar") {
|
||||
this.imageUrl4 = "/static/img/zip.png";
|
||||
} else if (houzui == "txt") {
|
||||
this.imageUrl4 = "/static/img/txt.png";
|
||||
}
|
||||
this.filename4 = res.name + "." + res.extension;
|
||||
this.filename4 = res.name; // res.name + "." + res.extension;
|
||||
// console.log(file);
|
||||
// this.fileurl4 = file.response.data.url;
|
||||
// // this.imageUrl4 = "/index/timg.jpg";
|
||||
@@ -2021,12 +2081,12 @@ export default {
|
||||
this.imageUrl5 = "/static/img/excel.png";
|
||||
} else if (houzui == "jpg" || houzui == "jpeg" || houzui == "png") {
|
||||
this.imageUrl5 = res.url;
|
||||
}else if(houzui == "zip" || houzui == "rar"){
|
||||
this.imageUrl5 = "/static/img/zip.png";
|
||||
}else if(houzui == "txt"){
|
||||
this.imageUrl5 = "/static/img/txt.png";
|
||||
} else if (houzui == "zip" || houzui == "rar") {
|
||||
this.imageUrl5 = "/static/img/zip.png";
|
||||
} else if (houzui == "txt") {
|
||||
this.imageUrl5 = "/static/img/txt.png";
|
||||
}
|
||||
this.filename5 = res.name + "." + res.extension;
|
||||
this.filename5 = res.name; //res.name + "." + res.extension;
|
||||
|
||||
// console.log(file);
|
||||
// this.fileurl5 = file.response.data.url;
|
||||
@@ -2074,12 +2134,12 @@ export default {
|
||||
this.imageUrl6 = "/static/img/excel.png";
|
||||
} else if (houzui == "jpg" || houzui == "jpeg" || houzui == "png") {
|
||||
this.imageUrl6 = res.url;
|
||||
}else if(houzui == "zip" || houzui == "rar"){
|
||||
this.imageUrl6 = "/static/img/zip.png";
|
||||
}else if(houzui == "txt"){
|
||||
this.imageUrl6 = "/static/img/txt.png";
|
||||
} else if (houzui == "zip" || houzui == "rar") {
|
||||
this.imageUrl6 = "/static/img/zip.png";
|
||||
} else if (houzui == "txt") {
|
||||
this.imageUrl6 = "/static/img/txt.png";
|
||||
}
|
||||
this.filename6 = res.name + "." + res.extension;
|
||||
this.filename6 = res.name; //res.name + "." + res.extension;
|
||||
// console.log(file);
|
||||
// this.fileurl6 = file.response.data.url;
|
||||
// // this.imageUrl6 = "/index/timg.jpg";
|
||||
@@ -2118,7 +2178,7 @@ export default {
|
||||
this.chooseurl = Array.from(new Set(this.chooseurl));
|
||||
this.filetype[this.urlno] = houzui;
|
||||
this.urls[this.urlno] = res.url;
|
||||
this.$set(this.filenamearr, this.urlno, res.name + "." + res.extension);
|
||||
this.$set(this.filenamearr, this.urlno, res.names + "." + res.extension);
|
||||
// this.filenamearr[this.urlno] = res.name;
|
||||
for (let i in this.filetype) {
|
||||
// console.log(this.filetype[i],"7946")
|
||||
@@ -2131,11 +2191,9 @@ export default {
|
||||
} else if (this.filetype[i] == "pdf") {
|
||||
// this.imageUrl7[i] = "/static/img/pdf.jpg";
|
||||
this.$set(this.imageUrl7, i, "/static/img/pdf.jpg");
|
||||
}
|
||||
else if(this.filetype[i] == "txt"){
|
||||
} else if (this.filetype[i] == "txt") {
|
||||
this.$set(this.imageUrl7, i, "/static/img/txt.png");
|
||||
}
|
||||
else if (this.filetype[i] == "xls" || this.filetype[i] == "xlsx") {
|
||||
} else if (this.filetype[i] == "xls" || this.filetype[i] == "xlsx") {
|
||||
// this.imageUrl7[i] = "/static/img/excel.png";
|
||||
this.$set(this.imageUrl7, i, "/static/img/excel.png");
|
||||
} else if (
|
||||
@@ -2146,10 +2204,10 @@ export default {
|
||||
// this.imageUrl7[this.urlno] = file
|
||||
this.$set(this.imageUrl7, this.urlno, res.url);
|
||||
// this.imageUrl3=this.urls
|
||||
}else if(this.filetype[i] == "zip" || this.filetype[i] == "rar"){
|
||||
// this.imageUrl7 = "/static/img/zip.png";
|
||||
} else if (this.filetype[i] == "zip" || this.filetype[i] == "rar") {
|
||||
// this.imageUrl7 = "/static/img/zip.png";
|
||||
this.$set(this.imageUrl7, i, "/static/img/zip.png");
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
for (let i in this.ziliaoarr) {
|
||||
@@ -2222,12 +2280,12 @@ export default {
|
||||
this.imageUrl8 = "/static/img/excel.png";
|
||||
} else if (houzui == "jpg" || houzui == "jpeg" || houzui == "png") {
|
||||
this.imageUrl8 = res.url;
|
||||
}else if(houzui == "zip" || houzui == "rar"){
|
||||
this.imageUrl8 = "/static/img/zip.png";
|
||||
}else if(houzui == "txt"){
|
||||
this.imageUrl8 = "/static/img/txt.png";
|
||||
} else if (houzui == "zip" || houzui == "rar") {
|
||||
this.imageUrl8 = "/static/img/zip.png";
|
||||
} else if (houzui == "txt") {
|
||||
this.imageUrl8 = "/static/img/txt.png";
|
||||
}
|
||||
this.filename8 = res.name + "." + res.extension;
|
||||
this.filename8 = res.name; // res.name + "." + res.extension;
|
||||
|
||||
// console.log(file);
|
||||
// this.fileurl8 = file.response.data.url;
|
||||
@@ -2275,12 +2333,12 @@ export default {
|
||||
this.imageUrl9 = "/static/img/excel.png";
|
||||
} else if (houzui == "jpg" || houzui == "jpeg" || houzui == "png") {
|
||||
this.imageUrl9 = res.url;
|
||||
}else if(houzui == "zip" || houzui == "rar"){
|
||||
this.imageUrl9 = "/static/img/zip.png";
|
||||
}else if(houzui == "txt"){
|
||||
this.imageUrl9 = "/static/img/txt.png";
|
||||
} else if (houzui == "zip" || houzui == "rar") {
|
||||
this.imageUrl9 = "/static/img/zip.png";
|
||||
} else if (houzui == "txt") {
|
||||
this.imageUrl9 = "/static/img/txt.png";
|
||||
}
|
||||
this.filename9 = res.name + "." + res.extension;
|
||||
this.filename9 = res.name; // res.name + "." + res.extension;
|
||||
// console.log(file);
|
||||
// this.fileurl9 = file.response.data.url;
|
||||
// // this.imageUrl9 = "/index/timg.jpg";
|
||||
@@ -2327,12 +2385,12 @@ export default {
|
||||
this.imageUrl10 = "/static/img/excel.png";
|
||||
} else if (houzui == "jpg" || houzui == "jpeg" || houzui == "png") {
|
||||
this.imageUrl10 = res.url;
|
||||
}else if(houzui == "zip" || houzui == "rar"){
|
||||
this.imageUrl10 = "/static/img/zip.png";
|
||||
}else if(houzui == "txt"){
|
||||
this.imageUrl10 = "/static/img/txt.png";
|
||||
} else if (houzui == "zip" || houzui == "rar") {
|
||||
this.imageUrl10 = "/static/img/zip.png";
|
||||
} else if (houzui == "txt") {
|
||||
this.imageUrl10 = "/static/img/txt.png";
|
||||
}
|
||||
this.filename10 = res.name + "." + res.extension;
|
||||
this.filename10 = res.name; //res.name + "." + res.extension;
|
||||
|
||||
// console.log(file);
|
||||
// this.fileurl10 = file.response.data.url;
|
||||
@@ -2413,10 +2471,12 @@ export default {
|
||||
this.$router.push({ path: "schedule" + this.id });
|
||||
// this.before()
|
||||
} else {
|
||||
console.log(res,100)
|
||||
console.log(res, 100);
|
||||
this.c = res.data.data;
|
||||
this.getpros=res.data.data
|
||||
this.getpros.prodemofg=""
|
||||
this.getpros = res.data.data;
|
||||
|
||||
console.log(this.getpros, "aaaa");
|
||||
// this.getpros.prodemofg=""
|
||||
let shili = res.data.data.probook;
|
||||
this.shili = shili.substring(shili.lastIndexOf("/") + 1);
|
||||
|
||||
@@ -2436,8 +2496,9 @@ export default {
|
||||
res.data.data.fterm
|
||||
]);
|
||||
console.log(res.data.data.over, 4455);
|
||||
if (res.data.data.over) {
|
||||
this.getpros.prodemofg=res.data.data.prodemofg
|
||||
this.getpros.prodemofg ='';
|
||||
if (res.data.data.over.people) {
|
||||
this.getpros.prodemofg = res.data.data.over.people;
|
||||
if (res.data.data.over.explain) {
|
||||
this.fileloading(
|
||||
res.data.data.over.explain,
|
||||
@@ -2511,62 +2572,112 @@ export default {
|
||||
"fileurl10"
|
||||
);
|
||||
}
|
||||
console.log(res.data.data.over.ziliao)
|
||||
|
||||
if(res.data.data.over){
|
||||
if (res.data.data.over.ziliao.length) {
|
||||
for (let i in JSON.parse(res.data.data.over.ziliao)) {
|
||||
console.log(JSON.parse(res.data.data.over.ziliao)[i],120)
|
||||
let url = JSON.parse(res.data.data.over.ziliao)[i].elereport;
|
||||
this.name[i] = JSON.parse(res.data.data.over.ziliao)[i].name;
|
||||
let filename = url.split('/')[8];
|
||||
|
||||
this.$set(this.filenamearr, i, filename);
|
||||
console.log(url.split(".")[3], 4446);
|
||||
if (
|
||||
url.split(".")[3] == "xls" ||
|
||||
url.split(".")[1] == "xlsx"
|
||||
) {
|
||||
this.ziliaoarr[i] = "/static/img/excel.png";
|
||||
} else if (
|
||||
url.split(".")[3] == "docx" ||
|
||||
url.split(".")[1] == "doc"
|
||||
) {
|
||||
this.ziliaoarr[i] = "/static/img/word.png";
|
||||
} else if (
|
||||
url.split(".")[3] == "ppt" ||
|
||||
url.split(".")[1] == "pptx"
|
||||
) {
|
||||
this.ziliaoarr[i] = "/static/img/ppt.png";
|
||||
} else if (url.split(".")[3] == "pdf") {
|
||||
// "/static/img/pdf.jpg"
|
||||
this.ziliaoarr[i] = "/static/img/pdf.jpg";
|
||||
} else if (url.split(".")[3] == "txt") {
|
||||
// "/static/img/pdf.jpg"
|
||||
this.ziliaoarr[i] = "/static/img/txt.png";
|
||||
}
|
||||
|
||||
else if (
|
||||
url.split(".")[3] == "jpg" ||
|
||||
url.split(".")[3] == "jpeg" ||
|
||||
url.split(".")[3] == "png"
|
||||
) {
|
||||
this.ziliaoarr[i] = url;
|
||||
}
|
||||
// this.ziliaoarr[i]=JSON.parse(res.data.data.data.center.ziliao)[i].elereport
|
||||
}
|
||||
console.log(this.ziliaoarr, 11111);
|
||||
if (res.data.data.over.develop) {
|
||||
this.subMidVal = res.data.data.over.develop;
|
||||
}
|
||||
}
|
||||
|
||||
if (res.data.data.over.pro_condition) {
|
||||
this.stateVal = res.data.data.over.pro_condition;
|
||||
}
|
||||
if (res.data.data.over.result) {
|
||||
this.proactVal = res.data.data.over.result;
|
||||
}
|
||||
if (res.data.data.over.summary) {
|
||||
this.sumupVal = res.data.data.over.summary;
|
||||
}
|
||||
let arrlist = JSON.parse(res.data.data.over.ziliao)
|
||||
if (arrlist.length) {
|
||||
console.log(arrlist.length)
|
||||
this.ziliaoarr=[]
|
||||
for(let i in arrlist){
|
||||
let url = arrlist[i].elereport;
|
||||
this.name[i] = arrlist[i].name;
|
||||
this.urls[i] = arrlist[i].elereport;
|
||||
// this.$set(this.name,i,arrlist[i].name)
|
||||
let filename = url.split("/")[8];
|
||||
this.$set(this.filenamearr, i, filename);
|
||||
this.ziliaoarr.push(1)
|
||||
let houzhui=this.filenamearr[i].substring(filename.lastIndexOf(".")+1)
|
||||
console.log(houzhui,'10810')
|
||||
if(houzhui=='rar'||houzhui=='zip'){
|
||||
this.ziliaoarr[i] = "/static/img/zip.png";
|
||||
}else if(houzhui=='doc'||houzhui=='docx'){
|
||||
this.ziliaoarr[i] = "/static/img/word.png";
|
||||
}else if(houzhui=='xls'||houzhui=='xlsx'){
|
||||
this.ziliaoarr[i] = "/static/img/word.png";
|
||||
}else if(houzhui=='ppt'||houzhui=='pptx'){
|
||||
this.ziliaoarr[i] = "/static/img/word.png";
|
||||
}else if(houzhui=='pdf'){
|
||||
this.ziliaoarr[i] = "/static/img/word.png";
|
||||
}else if(houzhui=='txt'){
|
||||
this.ziliaoarr[i] = "/static/img/word.png";
|
||||
}else if( houzhui == "jpg" ||
|
||||
houzhui == "jpeg" ||
|
||||
houzhui == "png"){
|
||||
this.ziliaoarr[i] = url;
|
||||
}
|
||||
|
||||
console.log(this.filenamearr)
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
// console.log(this.getpros.over.pro_condition, 99999);
|
||||
// this.subMidVal = res.data.data.over.develop;
|
||||
// console.log();
|
||||
// this.stateVal = res.data.data.over.pro_condition;
|
||||
// this.proactVal = res.data.data.over.result;
|
||||
// this.sumupVal = res.data.data.over.summary;
|
||||
// console.log(res.data.data.over.summary, 222222222);
|
||||
// console.log(res.data.data.over.ziliao);
|
||||
// let arrlist = JSON.parse(res.data.data.over.ziliao)
|
||||
// if (arrlist.length) {
|
||||
// for (let i=0 ;i<arrlist.length;i++) {
|
||||
// let url = arrlist[i].elereport;
|
||||
// this.name[i] = arrlist[i].name;
|
||||
// let filename = url.split("/")[8];
|
||||
// // let filename=url.lastIndexOf('.')
|
||||
|
||||
// this.$set(this.filenamearr, i, filename);
|
||||
// console.log(filename,'aaaas')
|
||||
// console.log(filename.substring(filename.lastIndexOf(".")+1), 4446);
|
||||
// let houzhui = filename.substring(filename.lastIndexOf(".")+1)
|
||||
// if(houzhui == 'doc' || houzhui == 'docx'){
|
||||
// // console.log(123)
|
||||
// this.ziliaoarr[i] = "/static/img/word.png";
|
||||
// }
|
||||
// if (
|
||||
// url.split('/')[8].split('.')[2] == "xls" ||
|
||||
// url.split('/')[8].split('.')[2] == "xlsx"
|
||||
// ) {
|
||||
// this.ziliaoarr[i] = "/static/img/excel.png";
|
||||
// } else if (
|
||||
// url.split('/')[8].split('.')[2] == "docx" ||
|
||||
// url.split('/')[8].split('.')[2] == "doc"
|
||||
// ) {
|
||||
// this.ziliaoarr[i] = "/static/img/word.png";
|
||||
// } else if (
|
||||
// url.split('/')[8].split('.')[2] == "ppt" ||
|
||||
// url.split('/')[8].split('.')[2] == "pptx"
|
||||
// ) {
|
||||
// this.ziliaoarr[i] = "/static/img/ppt.png";
|
||||
// } else if (url.split('/')[8].split('.')[2] == "pdf") {
|
||||
// // "/static/img/pdf.jpg"
|
||||
// this.ziliaoarr[i] = "/static/img/pdf.jpg";
|
||||
// } else if (uurl.split('/')[8].split('.')[2] == "txt") {
|
||||
// // "/static/img/pdf.jpg"
|
||||
// this.ziliaoarr[i] = "/static/img/txt.png";
|
||||
// } else if (
|
||||
// url.split('/')[8].split('.')[2] == "jpg" ||
|
||||
// url.split('/')[8].split('.')[2] == "jpeg" ||
|
||||
// url.split('/')[8].split('.')[2] == "png"
|
||||
// ) {
|
||||
// this.ziliaoarr[i] = url;
|
||||
// }
|
||||
// // this.ziliaoarr[i]=JSON.parse(res.data.data.data.center.ziliao)[i].elereport
|
||||
// }
|
||||
// console.log(this.ziliaoarr, 11111);
|
||||
// }
|
||||
|
||||
// console.log(this.getpros.over.pro_condition, 99999);
|
||||
// this.subMidVal = res.data.data.over.develop;
|
||||
// console.log();
|
||||
// this.stateVal = res.data.data.over.pro_condition;
|
||||
// this.proactVal = res.data.data.over.result;
|
||||
// this.sumupVal = res.data.data.over.summary;
|
||||
// console.log(res.data.data.over.summary, 222222222);
|
||||
// for(let i in this.ziliaoarr){
|
||||
// let url=JSON.parse(this.getpros.over.ziliao)[i].elereport
|
||||
// this.name[i]=JSON.parse(this.getpros.over.ziliao)[i].name
|
||||
@@ -2624,6 +2735,7 @@ export default {
|
||||
let houzui = e.split(".")[3];
|
||||
console.log(houzui);
|
||||
if (houzui == "doc" || houzui == "docx") {
|
||||
// console.log(g,'klll')
|
||||
this[g] = "/static/img/word.png";
|
||||
} else if (houzui == "pptx" || houzui == "ppt") {
|
||||
this[g] = "/static/img/ppt.png";
|
||||
@@ -2633,10 +2745,10 @@ export default {
|
||||
this[g] = "/static/img/excel.png";
|
||||
} else if (houzui == "jpg" || houzui == "jpeg" || houzui == "png") {
|
||||
this[g] = e;
|
||||
}else if(houzui == "zip" || houzui == "rar"){
|
||||
this[g] = "/static/img/zip.png";
|
||||
}else if(houzui == "txt"){
|
||||
this[g] = "/static/img/txt.png";
|
||||
} else if (houzui == "zip" || houzui == "rar") {
|
||||
this[g] = "/static/img/zip.png";
|
||||
} else if (houzui == "txt") {
|
||||
this[g] = "/static/img/txt.png";
|
||||
}
|
||||
this[f] = e.split("/")[8];
|
||||
this[m] = e;
|
||||
@@ -2675,6 +2787,7 @@ export default {
|
||||
|
||||
for (let i in this.ziliaoarr) {
|
||||
this.fileurl7[i] = { name: "", elereport: "" };
|
||||
console.log(this.urls)
|
||||
if (this.name[i]) {
|
||||
this.fileurl7[i].name = this.name[i];
|
||||
}
|
||||
@@ -2682,6 +2795,7 @@ export default {
|
||||
this.fileurl7[i].elereport = this.urls[i];
|
||||
}
|
||||
}
|
||||
console.log(this.urls, 666);
|
||||
console.log(this.getpros, 666);
|
||||
|
||||
this.$http({
|
||||
@@ -2690,6 +2804,7 @@ export default {
|
||||
data: {
|
||||
subStatus: 0,
|
||||
// project_id: 83,
|
||||
|
||||
project_id: this.id,
|
||||
explain: this.fileurl,
|
||||
location: this.fileurl1,
|
||||
@@ -2702,7 +2817,8 @@ export default {
|
||||
fina: this.fileurl4,
|
||||
elereport: this.fileurl5,
|
||||
adjust: this.fileurl6,
|
||||
ziliao: this.fileurl7,
|
||||
ziliao: this.fileurl7,
|
||||
// ziliao: JSON.stringify(this.fileurl7),
|
||||
pro_result: this.fileurl8,
|
||||
manage: this.fileurl9,
|
||||
money: this.fileurl10
|
||||
@@ -2724,11 +2840,11 @@ export default {
|
||||
}
|
||||
})
|
||||
.catch(err => {
|
||||
console.log(err);
|
||||
console.log(err);f
|
||||
});
|
||||
});
|
||||
} else if (index == 1) {
|
||||
this.$confirm("此操作将提交到项目申报中心,是否继续?", "提示", {
|
||||
this.$confirm("请确认是否提交结项评审材料,提交后不可修改!", "提示", {
|
||||
confirmButtonText: "确定",
|
||||
cancelButtonText: "取消",
|
||||
type: "warning"
|
||||
@@ -2763,7 +2879,8 @@ export default {
|
||||
fina: this.fileurl4,
|
||||
elereport: this.fileurl5,
|
||||
adjust: this.fileurl6,
|
||||
ziliao: this.fileurl7,
|
||||
ziliao:this.fileurl7,
|
||||
// ziliao: JSON.stringify(this.fileurl7),
|
||||
pro_result: this.fileurl8,
|
||||
manage: this.fileurl9,
|
||||
money: this.fileurl10
|
||||
@@ -2800,22 +2917,22 @@ export default {
|
||||
<style lang="scss" scoped>
|
||||
// .upload-demo /deep/ .el-upload-list__item-status-label .el-icon-upload-success{
|
||||
// display: none !important;
|
||||
|
||||
|
||||
// }
|
||||
|
||||
td{
|
||||
td {
|
||||
border: 1px solid #eee !important;
|
||||
}
|
||||
#excute_box /deep/ .el-upload-list {
|
||||
// width: 82%;
|
||||
// width: 575px;/
|
||||
// margin-left: 175px;
|
||||
position: relative;
|
||||
width: 388px;
|
||||
right: 144px;
|
||||
position: relative;
|
||||
width: 388px;
|
||||
right: 144px;
|
||||
}
|
||||
|
||||
.upload-demo /deep/ .el-icon-upload-success{
|
||||
.upload-demo /deep/ .el-icon-upload-success {
|
||||
display: none !important;
|
||||
background: red;
|
||||
}
|
||||
@@ -2869,16 +2986,16 @@ label {
|
||||
margin-top: 40px;
|
||||
background: white;
|
||||
.excute_con {
|
||||
width: 1200px;
|
||||
min-width: 1200px;
|
||||
margin: 0 auto;
|
||||
padding: 40px 30px;
|
||||
margin-bottom: 51px;
|
||||
h3 {
|
||||
line-height: 260%;
|
||||
font-size: 20px;
|
||||
margin:15px 0;
|
||||
margin: 15px 0;
|
||||
position: relative;
|
||||
right:19px;
|
||||
right: 19px;
|
||||
}
|
||||
p a {
|
||||
line-height: 10%;
|
||||
@@ -3054,7 +3171,7 @@ label {
|
||||
}
|
||||
.statistics {
|
||||
td {
|
||||
border: 1px solid #eee !important;;
|
||||
border: 1px solid #eee !important;
|
||||
// border: none !important;
|
||||
}
|
||||
}
|
||||
@@ -3091,8 +3208,17 @@ label {
|
||||
.on {
|
||||
background-color: #fff;
|
||||
}
|
||||
.on td {
|
||||
padding: 10px 0;
|
||||
}
|
||||
.td_tooltip {
|
||||
border-bottom: 1px solid #eee;
|
||||
}
|
||||
.off {
|
||||
background-color: #f7f7f7;
|
||||
}
|
||||
.off td {
|
||||
padding: 10px 0;
|
||||
}
|
||||
}
|
||||
</style>
|
||||
|
||||
@@ -7,12 +7,12 @@
|
||||
<h3>一、项目申报书</h3>
|
||||
<p>
|
||||
<a :href="getsubs.probook" target="_blank">{{shili? shili.split('_')[0]+''+(shili.split('_')[0].includes('.')?'':'.'+shili.split('.')[1]):"未上传"}}</a>
|
||||
<a :href="getsubs.probook" target="_blank">预览</a>
|
||||
<a :href="getsubs.probook" target="_blank">{{getsubs.probook.split('/')[8] == 'pdf'||getsubs.probook.split('/')[8] == 'jpeg'||getsubs.probook.split('/')[8] == 'png'||getsubs.probook.split('/')[8] == 'jpg'?'预览':'下载'}}</a>
|
||||
</p>
|
||||
<h3>二、项目实施方案</h3>
|
||||
<p>
|
||||
<a :href="getsubs.fangan" target="_blank">{{shili1? shili1.split('_')[0]+''+(shili1.split('_')[0].includes('.')?'':'.'+shili1.split('.')[1]):"未上传"}}</a>
|
||||
<a :href="getsubs.fangan" target="_blank">预览</a>
|
||||
<a :href="getsubs.fangan" target="_blank">{{getsubs.fangan.split('/')[8] == 'pdf'||getsubs.fangan.split('/')[8] == 'jpeg'||getsubs.fangan.split('/')[8] == 'png'||getsubs.fangan.split('/')[8] == 'jpg'?'预览':'下载'}}</a>
|
||||
</p>
|
||||
<h3>三、中期报告</h3>
|
||||
<h3>
|
||||
@@ -322,7 +322,6 @@
|
||||
required
|
||||
class="midsion"
|
||||
></el-input> -->
|
||||
|
||||
<el-input
|
||||
v-model="name[j]"
|
||||
name="activity"
|
||||
@@ -361,8 +360,7 @@
|
||||
<img v-if="i!=1&&i" :src="i" class="avatar" style="margin-left:0px" />
|
||||
<i v-else class="el-icon-plus avatar-uploader-icon" style="margin-left:0px"></i>
|
||||
</el-upload>
|
||||
|
||||
<a class="filename" :href="urls[j]" v-if="i!=1&&i">{{filenamearr[j]? filenamearr[j].split('_')[0]+''+(filenamearr[j].split('_')[0].includes('.')?'':'.'+filenamearr[j].split('.')[1]):""}}</a>
|
||||
<a class="filename" :href="urls[j]" v-if="i!=1&&i">{{filenamearr[j]}}</a>
|
||||
<!-- <a class="filename" :href="urls[j]" v-if="i!=1&&i">{{filenamearr[j]}}</a> -->
|
||||
<p class="tip">点击上方图标可上传文件</p>
|
||||
<div @click="beforeRemove1('','imageUrl3',j)" v-if="i.length">
|
||||
@@ -482,7 +480,7 @@
|
||||
label-width="100px"
|
||||
class="demo-ruleForm"
|
||||
>
|
||||
<el-form-item>
|
||||
<el-form-item v-if="subdata.status!=1000">
|
||||
<button type="button" @click="before">返回</button>
|
||||
<button type="button" @click="postApply(0)">保存</button>
|
||||
<button type="button" @click="postApply(1)" class="tj">提交</button>
|
||||
@@ -590,7 +588,8 @@ export default {
|
||||
uploadno: "",
|
||||
uploadfun: "",
|
||||
goalsText:"",
|
||||
team5:""
|
||||
team5:"",
|
||||
subdata:{}
|
||||
};
|
||||
},
|
||||
computed: {},
|
||||
@@ -944,7 +943,7 @@ export default {
|
||||
console.log(e);
|
||||
console.log(f, "remove");
|
||||
if (e.length) {
|
||||
this.$confirm(`确定移除 ${e} ?`).then(() => {
|
||||
this.$confirm(`删除文件后将无法恢复,请谨慎操作 ?`).then(() => {
|
||||
// this.handleRemove1()
|
||||
switch (f) {
|
||||
case "imageUrl":
|
||||
@@ -1151,7 +1150,7 @@ export default {
|
||||
}else if(houzui == "txt"){
|
||||
this.imageUrl = "/static/img/txt.png";
|
||||
}
|
||||
this.filename = res.name+'.'+res.extension;
|
||||
this.filename = res.names+'.'+res.extension;
|
||||
// this.fileurl = file.response.data.url;
|
||||
// // this.imageUrl = file.ressponse.data.url;
|
||||
// this.filename = file.response.data.name;
|
||||
@@ -1201,7 +1200,7 @@ export default {
|
||||
}else if(houzui == "txt"){
|
||||
this.imageUrl1 = "/static/img/txt.png";
|
||||
}
|
||||
this.filename1 = res.name+'.'+res.extension;
|
||||
this.filename1 = res.names+'.'+res.extension;
|
||||
// this.fileurl1 = file.response.data.url;
|
||||
// this.imageUrl1 = file.response.data.url;
|
||||
// if (
|
||||
@@ -1253,7 +1252,7 @@ export default {
|
||||
}else if(houzui == "txt"){
|
||||
this.imageUrl2 = "/static/img/txt.png";
|
||||
}
|
||||
this.filename2 = res.name+'.'+res.extension;
|
||||
this.filename2 = res.names+'.'+res.extension;
|
||||
},
|
||||
|
||||
handleAvatarSuccess3(res, file) {
|
||||
@@ -1276,7 +1275,7 @@ export default {
|
||||
// this.imageUrl = res.url;
|
||||
// }
|
||||
// this.filename = res.name;
|
||||
this.filenamearr[this.urlno] = res.name+'.'+res.extension;
|
||||
this.filenamearr[this.urlno] = res.names+'.'+res.extension;
|
||||
for (let i in this.filetype) {
|
||||
// console.log(this.filetype[i],"7946")
|
||||
if (this.filetype[i] == "docx" || this.filetype[i] == "doc") {
|
||||
@@ -1314,98 +1313,6 @@ export default {
|
||||
console.log(this.imageUrl3, "imgurl3");
|
||||
console.log(this.filetype, "filetype");
|
||||
console.log(this.filenamearr,"filenames")
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
// console.log(file);
|
||||
// console.log(file.response.data.url);
|
||||
// // this.fileurl3 = file.response.data.url;
|
||||
// // this.imageUrl3 =file.response.data.url;
|
||||
// // this.fileurl3[i].elereport
|
||||
// this.chooseurl = Array.from(new Set(this.chooseurl));
|
||||
|
||||
// for (let i in this.chooseurl) {
|
||||
// // console.log(this.chooseurl[i], "asaa");
|
||||
// // console.log(this.urls)
|
||||
// // for (let m in this.urls) {
|
||||
// // console.log(m)
|
||||
// // if (this.chooseurl[i] == m) {
|
||||
// // console.log("urlsmmmm")
|
||||
// // this.urls[m] = file.response.data.url;
|
||||
// // if (file.response.data.extension == "docx") {
|
||||
// // this.imageUrl3[m] = "/static/img/word.png";
|
||||
// // } else if (file.response.data.extension == "pptx") {
|
||||
// // this.imageUrl3[m] = "/static/img/ppt.png";
|
||||
// // } else if (file.response.data.extension == "pdf") {
|
||||
// // this.imageUrl3[m] = "/static/img/pdf.jpg";
|
||||
// // } else if (file.response.data.extension == "xls") {
|
||||
// // this.imageUrl3[m] = "/static/img/excel.png";
|
||||
// // }
|
||||
// // }
|
||||
// // }
|
||||
// // for(let x in this.imageUrl3){
|
||||
// // if(this.chooseurl[i]==x){
|
||||
// // if (file.response.data.extension == "docx") {
|
||||
// // this.imageUrl3[x] = "/static/img/word.png";
|
||||
// // } else if (file.response.data.extension == "pptx") {
|
||||
// // this.imageUrl3[x] = "/static/img/ppt.png";
|
||||
// // } else if (file.response.data.extension == "pdf") {
|
||||
// // this.imageUrl3[x] = "/static/img/pdf.jpg";
|
||||
// // } else if (file.response.data.extension == "xls") {
|
||||
// // this.imageUrl3[x] = "/static/img/excel.png";
|
||||
// // }
|
||||
// // }
|
||||
// // }
|
||||
// }
|
||||
// console.log(file.response.data.extension, 502);
|
||||
// this.filetype[this.urlno] = file.response.data.extension;
|
||||
// this.urls[this.urlno] = file.response.data.url;
|
||||
// this.filenamearr[this.urlno] = file.response.data.name;
|
||||
// // for(let n in this.filetype){
|
||||
// // if(this.urlno==n){
|
||||
// // this.filetype[n]=file.response.data.extension
|
||||
// // }
|
||||
// // }
|
||||
// for (let i in this.filetype) {
|
||||
// // console.log(this.filetype[i],"7946")
|
||||
// if (this.filetype[i] == "docx" || this.filetype[i] == "doc") {
|
||||
// this.imageUrl3[i] = "/static/img/word.png";
|
||||
// } else if (this.filetype[i] == "pptx" || this.filetype[i] == "ppt") {
|
||||
// this.imageUrl3[i] = "/static/img/ppt.png";
|
||||
// } else if (this.filetype[i] == "pdf") {
|
||||
// this.imageUrl3[i] = "/static/img/pdf.jpg";
|
||||
// } else if (this.filetype[i] == "xls" || this.filetype[i] == "xlsx") {
|
||||
// this.imageUrl3[i] = "/static/img/excel.png";
|
||||
// } else if (
|
||||
// this.filetype[i] == "jpg" ||
|
||||
// this.filetype[i] == "jpeg" ||
|
||||
// this.filetype[i] == "png"
|
||||
// ) {
|
||||
// this.imageUrl3[this.urlno] = file.response.data.url;
|
||||
// // this.imageUrl3=this.urls
|
||||
// }
|
||||
// }
|
||||
// for (let i in this.ziliaoarr) {
|
||||
// for (let m in this.imageUrl3) {
|
||||
// if (m == i) {
|
||||
// this.$set(this.ziliaoarr, i, this.imageUrl3[m]);
|
||||
// // this.ziliaoarr[i]=this.imageUrl3[m]
|
||||
// }
|
||||
// }
|
||||
// }
|
||||
// console.log(this.imageUrl3, "imgurl3");
|
||||
// console.log(this.filetype, "filetype");
|
||||
// // for(let i in this.urls){
|
||||
// // if(i==this.urlno){
|
||||
// // this.urls[i]=file.response.data.url
|
||||
// // }
|
||||
// // }
|
||||
// // this.urls.push(file.response.data.url)
|
||||
// // this.filename13 = file.response.data.name;
|
||||
|
||||
// // this.imageUrl = URL.createObjectURL(file.raw);
|
||||
},
|
||||
handleAvatarSuccess4(res, file) {
|
||||
let houzui = file.split(".");
|
||||
@@ -1428,35 +1335,7 @@ export default {
|
||||
}else if(houzui == "txt"){
|
||||
this.imageUrl4 = "/static/img/txt.png";
|
||||
}
|
||||
this.filename4 = res.name+'.'+res.extension;
|
||||
// this.fileurl4 = file.response.data.url;
|
||||
// // this.imageUrl4 = file.response.data.url;
|
||||
// if (
|
||||
// file.response.data.extension == "docx" ||
|
||||
// file.response.data.extension == "doc"
|
||||
// ) {
|
||||
// this.imageUrl4 = "/static/img/word.png";
|
||||
// } else if (
|
||||
// file.response.data.extension == "pptx" ||
|
||||
// file.response.data.extension == "ppt"
|
||||
// ) {
|
||||
// this.imageUrl4 = "/static/img/ppt.png";
|
||||
// } else if (file.response.data.extension == "pdf") {
|
||||
// this.imageUrl4 = "/static/img/pdf.jpg";
|
||||
// } else if (
|
||||
// file.response.data.extension == "xls" ||
|
||||
// file.response.data.extension == "xlsx"
|
||||
// ) {
|
||||
// this.imageUrl4 = "/static/img/excel.png";
|
||||
// } else if (
|
||||
// file.response.data.extension == "jpg" ||
|
||||
// file.response.data.extension == "jpeg" ||
|
||||
// file.response.data.extension == "png"
|
||||
// ) {
|
||||
// this.imageUrl4 = file.response.data.url;
|
||||
// }
|
||||
// this.filename4 = file.response.data.name;
|
||||
// this.imageUrl = URL.createObjectURL(file.raw);
|
||||
this.filename4 = res.names+'.'+res.extension;
|
||||
},
|
||||
handleAvatarSuccess5(res, file) {
|
||||
let houzui = file.split(".");
|
||||
@@ -1479,35 +1358,7 @@ export default {
|
||||
}else if(houzui == "txt"){
|
||||
this.imageUrl5 = "/static/img/txt.png";
|
||||
}
|
||||
this.filename5 = res.name+'.'+res.extension;
|
||||
// this.fileurl5 = file.response.data.url;
|
||||
// // this.imageUrl5 = file.response.data.url;
|
||||
// if (
|
||||
// file.response.data.extension == "docx" ||
|
||||
// file.response.data.extension == "doc"
|
||||
// ) {
|
||||
// this.imageUrl5 = "/static/img/word.png";
|
||||
// } else if (
|
||||
// file.response.data.extension == "pptx" ||
|
||||
// file.response.data.extension == "ppt"
|
||||
// ) {
|
||||
// this.imageUrl5 = "/static/img/ppt.png";
|
||||
// } else if (file.response.data.extension == "pdf") {
|
||||
// this.imageUrl5 = "/static/img/pdf.jpg";
|
||||
// } else if (
|
||||
// file.response.data.extension == "xls" ||
|
||||
// file.response.data.extension == "xlsx"
|
||||
// ) {
|
||||
// this.imageUrl5 = "/static/img/excel.png";
|
||||
// } else if (
|
||||
// file.response.data.extension == "jpg" ||
|
||||
// file.response.data.extension == "jpeg" ||
|
||||
// file.response.data.extension == "png"
|
||||
// ) {
|
||||
// this.imageUrl5 = file.response.data.url;
|
||||
// }
|
||||
// this.filename5 = file.response.data.name;
|
||||
// this.imageUrl = URL.createObjectURL(file.raw);
|
||||
this.filename5 = res.names+'.'+res.extension;
|
||||
},
|
||||
handleAvatarSuccess6(res, file) {
|
||||
let houzui = file.split(".");
|
||||
@@ -1530,35 +1381,7 @@ export default {
|
||||
}else if(houzui == "txt"){
|
||||
this.imageUrl6 = "/static/img/txt.png";
|
||||
}
|
||||
this.filename6 = res.name+'.'+res.extension;
|
||||
// this.fileurl6 = file.response.data.url;
|
||||
// // this.imageUrl6 = file.response.data.url;
|
||||
// if (
|
||||
// file.response.data.extension == "docx" ||
|
||||
// file.response.data.extension == "doc"
|
||||
// ) {
|
||||
// this.imageUrl6 = "/static/img/word.png";
|
||||
// } else if (
|
||||
// file.response.data.extension == "pptx" ||
|
||||
// file.response.data.extension == "ppt"
|
||||
// ) {
|
||||
// this.imageUrl6 = "/static/img/ppt.png";
|
||||
// } else if (file.response.data.extension == "pdf") {
|
||||
// this.imageUrl6 = "/static/img/pdf.jpg";
|
||||
// } else if (
|
||||
// file.response.data.extension == "xls" ||
|
||||
// file.response.data.extension == "xlsx"
|
||||
// ) {
|
||||
// this.imageUrl6 = "/static/img/excel.png";
|
||||
// } else if (
|
||||
// file.response.data.extension == "jpg" ||
|
||||
// file.response.data.extension == "jpeg" ||
|
||||
// file.response.data.extension == "png"
|
||||
// ) {
|
||||
// this.imageUrl6 = file.response.data.url;
|
||||
// }
|
||||
// this.filename6 = file.response.data.name;
|
||||
// this.imageUrl = URL.createObjectURL(file.raw);
|
||||
this.filename6 = res.names+'.'+res.extension;
|
||||
},
|
||||
beforeAvatarUpload(file, n) {
|
||||
// console.log(this.uploadno,this.upload)
|
||||
@@ -1621,6 +1444,8 @@ export default {
|
||||
// console.log(res.data.code)
|
||||
console.log(res, 888);
|
||||
if (res.data.data.code === 200) {
|
||||
|
||||
t.subdata=res.data.data.data.center?res.data.data.data.center:res.data.data.data.optimize
|
||||
t.getsubs = res.data.data.data.optimize;
|
||||
var date = new Date(parseInt(this.getsubs.aterm) * 1000);
|
||||
let Y = date.getFullYear().toString() + "-";
|
||||
@@ -1645,10 +1470,12 @@ export default {
|
||||
this.visitDate[1] = Y1 + M1 + D1;
|
||||
|
||||
let shili = res.data.data.data.optimize.probook;
|
||||
|
||||
// var filename = shili.substring(shili.lastIndexOf('/')+1);
|
||||
// console.log(filename)
|
||||
this.shili = shili.substring(shili.lastIndexOf("/") + 1);
|
||||
|
||||
console.log(this.shili,'1223')
|
||||
let shili1 = res.data.data.data.optimize.fangan;
|
||||
this.shili1 = shili1.substring(shili.lastIndexOf("/") + 1);
|
||||
// console.log(this.team,121222)s
|
||||
@@ -1662,32 +1489,43 @@ export default {
|
||||
this.fileloading(this.fileurl,'filename','imageUrl','fileurl')
|
||||
this.fileloading(res.data.data.data.center.elereport,'filename1','imageUrl1','fileurl1')
|
||||
this.fileloading(res.data.data.data.center.adjust,'filename2','imageUrl2','fileurl2')
|
||||
// this.ziliaoarr=JSON.parse(res.data.data.data.center.ziliao)
|
||||
for(let i in this.ziliaoarr){
|
||||
let url=JSON.parse(res.data.data.data.center.ziliao)[i].elereport
|
||||
this.name[i]=JSON.parse(res.data.data.data.center.ziliao)[i].name
|
||||
console.log(url.split('.')[3],4446)
|
||||
let filename = url.split('/')[8];
|
||||
|
||||
this.$set(this.filenamearr, i, filename);
|
||||
if(url.split('.')[3]=='xls'||url.split('.')[1]=='xlsx'){
|
||||
this.ziliaoarr[i]="/static/img/excel.png"
|
||||
|
||||
}else if(url.split('.')[3]=='docx'||url.split('.')[1]=='doc'){
|
||||
this.ziliaoarr[i]="/static/img/word.png"
|
||||
}else if(url.split('.')[3]=='ppt'||url.split('.')[1]=='pptx'){
|
||||
this.ziliaoarr[i]="/static/img/ppt.png"
|
||||
}else if(url.split('.')[3]=='pdf'){
|
||||
// "/static/img/pdf.jpg"
|
||||
this.ziliaoarr[i]="/static/img/pdf.jpg"
|
||||
}else if(url.split('.')[3]=="jpg"||url.split('.')[3]=="jpeg"||url.split('.')[3]=="png"){
|
||||
this.ziliaoarr[i]=url
|
||||
}else if(url.split('.')[3] == "txt"){
|
||||
this.ziliaoarr[i]= "/static/img/txt.png";
|
||||
}
|
||||
// this.ziliaoarr[i]=JSON.parse(res.data.data.data.center.ziliao)[i].elereport
|
||||
}
|
||||
console.log(this.ziliaoarr,11111)
|
||||
let arrlist = JSON.parse(res.data.data.data.center.ziliao)
|
||||
console.log(arrlist.length)
|
||||
if (arrlist.length) {
|
||||
|
||||
this.ziliaoarr=[]
|
||||
for(let i in arrlist){
|
||||
let url = arrlist[i].elereport;
|
||||
this.name[i] = arrlist[i].name;
|
||||
this.urls[i] = arrlist[i].elereport;
|
||||
// this.$set(this.name,i,arrlist[i].name)
|
||||
let filename = url.split("/")[8];
|
||||
this.$set(this.filenamearr, i, filename);
|
||||
this.ziliaoarr.push(1)
|
||||
let houzhui=this.filenamearr[i].substring(filename.lastIndexOf(".")+1)
|
||||
console.log(houzhui,'10810')
|
||||
if(houzhui=='rar'||houzhui=='zip'){
|
||||
this.ziliaoarr[i] = "/static/img/zip.png";
|
||||
}else if(houzhui=='doc'||houzhui=='docx'){
|
||||
this.ziliaoarr[i] = "/static/img/word.png";
|
||||
}else if(houzhui=='xls'||houzhui=='xlsx'){
|
||||
this.ziliaoarr[i] = "/static/img/word.png";
|
||||
}else if(houzhui=='ppt'||houzhui=='pptx'){
|
||||
this.ziliaoarr[i] = "/static/img/word.png";
|
||||
}else if(houzhui=='pdf'){
|
||||
this.ziliaoarr[i] = "/static/img/word.png";
|
||||
}else if(houzhui=='txt'){
|
||||
this.ziliaoarr[i] = "/static/img/word.png";
|
||||
}else if( houzhui == "jpg" ||
|
||||
houzhui == "jpeg" ||
|
||||
houzhui == "png"){
|
||||
this.ziliaoarr[i] = url;
|
||||
}
|
||||
|
||||
console.log(this.filenamearr)
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
this.fileloading(res.data.data.data.center.budget,'filename4','imageUrl4','fileurl4')
|
||||
this.fileloading(res.data.data.data.center.other,'filename5','imageUrl5','fileurl5')
|
||||
@@ -1709,12 +1547,6 @@ export default {
|
||||
cancelButtonText: "取消",
|
||||
type: "warning"
|
||||
}).then(() => {
|
||||
console.log(this.getsubs);
|
||||
console.log(this.name, 144215);
|
||||
console.log(this.teamtext, 88858758);
|
||||
console.log(this.urls, "の");
|
||||
console.log(this.chooseurl, "url233");
|
||||
console.log(this.ziliaoarr);
|
||||
for (let i in this.ziliaoarr) {
|
||||
this.fileurl3[i] = { name: "", elereport: "" };
|
||||
if (this.name[i]) {
|
||||
@@ -1724,26 +1556,7 @@ export default {
|
||||
this.fileurl3[i].elereport = this.urls[i];
|
||||
}
|
||||
}
|
||||
console.log(this.fileurl3, "额");
|
||||
|
||||
// if(this.fileurl3.length==1){
|
||||
// for(let i in this.name){
|
||||
// this.fileurl3[i]={name:"",elereport:""}
|
||||
// this.fileurl3[i].name=this.name[i]
|
||||
// if(this.urls.length){
|
||||
// this.fileurl3[i].elereport=this.urls[i]
|
||||
// }else{
|
||||
// this.fileurl3[i].elereport=""
|
||||
// }
|
||||
|
||||
// }
|
||||
// }else{
|
||||
// for(let i in this.fileurl3){
|
||||
// this.fileurl3[i]={name:"",elereport:""}
|
||||
// this.fileurl3[i].name=this.name[i]
|
||||
// this.fileurl3[i].elereport=this.urls[i]
|
||||
// }
|
||||
// }
|
||||
// console.log(this.fileurl3, "额");
|
||||
|
||||
this.$http({
|
||||
method: "post",
|
||||
@@ -1787,17 +1600,11 @@ export default {
|
||||
});
|
||||
});
|
||||
} else if (index == 1) {
|
||||
this.$confirm("此操作将提交到项目申报中心,是否继续?", "提示", {
|
||||
this.$confirm("请确认是否提交中期评审材料,提交后不可修改!", "提示", {
|
||||
confirmButtonText: "确定",
|
||||
cancelButtonText: "取消",
|
||||
type: "warning"
|
||||
}).then(() => {
|
||||
console.log(this.getsubs);
|
||||
console.log(this.name, 144215);
|
||||
console.log(this.teamtext, 88858758);
|
||||
console.log(this.urls, "の");
|
||||
console.log(this.chooseurl, "url233");
|
||||
console.log(this.ziliaoarr);
|
||||
for (let i in this.ziliaoarr) {
|
||||
this.fileurl3[i] = { name: "", elereport: "" };
|
||||
if (this.name[i]) {
|
||||
@@ -1807,27 +1614,6 @@ export default {
|
||||
this.fileurl3[i].elereport = this.urls[i];
|
||||
}
|
||||
}
|
||||
console.log(this.fileurl3, "额");
|
||||
|
||||
// if(this.fileurl3.length==1){
|
||||
// for(let i in this.name){
|
||||
// this.fileurl3[i]={name:"",elereport:""}
|
||||
// this.fileurl3[i].name=this.name[i]
|
||||
// if(this.urls.length){
|
||||
// this.fileurl3[i].elereport=this.urls[i]
|
||||
// }else{
|
||||
// this.fileurl3[i].elereport=""
|
||||
// }
|
||||
|
||||
// }
|
||||
// }else{
|
||||
// for(let i in this.fileurl3){
|
||||
// this.fileurl3[i]={name:"",elereport:""}
|
||||
// this.fileurl3[i].name=this.name[i]
|
||||
// this.fileurl3[i].elereport=this.urls[i]
|
||||
// }
|
||||
// }
|
||||
|
||||
this.$http({
|
||||
method: "post",
|
||||
url: "v1/test/cent-sub",
|
||||
|
||||
@@ -144,7 +144,7 @@
|
||||
<el-button
|
||||
size="small"
|
||||
type="primary"
|
||||
style="display:block;margin:20px auto"
|
||||
style="display:block;margin:20px auto;"
|
||||
@click="submitBtn()"
|
||||
>提交</el-button>
|
||||
</el-dialog>
|
||||
@@ -237,6 +237,34 @@ export default {
|
||||
}
|
||||
},
|
||||
methods: {
|
||||
statuschange(){
|
||||
this.$axios({
|
||||
url: "v1/news/list?org_id="+sessionStorage.getItem("party_id"),//805
|
||||
method: "get",
|
||||
|
||||
// nol: 45,
|
||||
// headers: { "Content-Type": "multipart/form-data" },
|
||||
|
||||
}).then(res=>{
|
||||
console.log(res.data.data[0],1111)
|
||||
if(res.data.code==200){
|
||||
if(parseInt(res.data.data[0].status)==0){
|
||||
this.$confirm(res.data.data[0].content, "最新消息", {
|
||||
confirmButtonText: "确定",
|
||||
cancelButtonText: "取消",
|
||||
type: "warning"
|
||||
}).then(() => {
|
||||
|
||||
})
|
||||
}
|
||||
}else{
|
||||
// this.$message({
|
||||
// type: "error",
|
||||
// message: res.data.data.msg
|
||||
// });
|
||||
}
|
||||
})
|
||||
},
|
||||
details (id) {
|
||||
let routeUrl = this.$router.resolve({
|
||||
path: '/newsDetails',
|
||||
@@ -313,6 +341,7 @@ export default {
|
||||
console.log(res)
|
||||
if (res.data.code === 200) {
|
||||
_this.bgData = res.data.data
|
||||
console.log(_this.bgData)
|
||||
if (_this.bgData.banner.length !== 1) {
|
||||
_this.$nextTick(() => {
|
||||
// 修改数据之后立即使用这个方法,获取更新后的 DOM
|
||||
@@ -355,15 +384,18 @@ export default {
|
||||
}else{
|
||||
this.$message({
|
||||
type: "error",
|
||||
message: res.data.data.message
|
||||
message: res.data.data.msg
|
||||
});
|
||||
}
|
||||
})
|
||||
console.log(this.textarea.length)
|
||||
}
|
||||
},
|
||||
|
||||
created () {
|
||||
this.getData()
|
||||
this.statuschange()
|
||||
|
||||
|
||||
},
|
||||
mounted () {
|
||||
|
||||
@@ -1,5 +1,6 @@
|
||||
<template>
|
||||
<div class="wr">
|
||||
<div>
|
||||
<div class="wr">
|
||||
<template v-for="(item, index) in collect">
|
||||
<div class="page" :key="index">
|
||||
<time>
|
||||
@@ -23,7 +24,10 @@
|
||||
</div>
|
||||
</template>
|
||||
<!-- 分页按钮 -->
|
||||
<div class="pages">
|
||||
|
||||
<!-- end -->
|
||||
</div>
|
||||
<div class="pages">
|
||||
<el-pagination
|
||||
@size-change="handleSizeChange"
|
||||
@current-change="handleCurrentChange"
|
||||
@@ -34,7 +38,6 @@
|
||||
:total="pageall"
|
||||
></el-pagination>
|
||||
</div>
|
||||
<!-- end -->
|
||||
</div>
|
||||
</template>
|
||||
|
||||
@@ -97,13 +100,12 @@ export default {
|
||||
},
|
||||
handleSizeChange (val) {
|
||||
this.pageNum = val
|
||||
this.getPackData()
|
||||
this.getData(val)
|
||||
},
|
||||
handleCurrentChange (val) {
|
||||
this.currentPage = val
|
||||
this.getPackData()
|
||||
this.getData(val)
|
||||
},
|
||||
getPackData () {}
|
||||
},
|
||||
created () {
|
||||
this.currentPage = Number(localStorage.getItem('pagination')) || 1
|
||||
@@ -117,20 +119,15 @@ export default {
|
||||
</script>
|
||||
|
||||
<style lang="scss" scoped>
|
||||
.wr {
|
||||
width: 934px;
|
||||
height:1109px;
|
||||
background-color: #ffffff;
|
||||
box-sizing: border-box;
|
||||
padding-top: 35px;
|
||||
|
||||
.pages {
|
||||
margin-top: -71px;
|
||||
margin-top: -20px;
|
||||
margin-right: 24px;
|
||||
height: 36px;
|
||||
display: flex;
|
||||
justify-content: flex-end;
|
||||
align-items: center;
|
||||
position: relative;
|
||||
top:39px;
|
||||
|
||||
/deep/ .el-pagination.is-background .el-pager li:not(.disabled).active {
|
||||
background-color: #e60012;
|
||||
@@ -165,6 +162,16 @@ export default {
|
||||
}
|
||||
}
|
||||
|
||||
.wr {
|
||||
width: 934px;
|
||||
max-height:1007px;
|
||||
background-color: #ffffff;
|
||||
box-sizing: border-box;
|
||||
padding-top: 35px;
|
||||
overflow-y: auto;
|
||||
overflow-x:hidden;
|
||||
|
||||
|
||||
.page {
|
||||
margin-bottom: 60px;
|
||||
max-height: 364px;
|
||||
|
||||
@@ -12,11 +12,11 @@
|
||||
<div class="box" :key="index">
|
||||
<!-- <span class="iconfont icon-changyongtubiao-mianxing-"></span> -->
|
||||
<aside>
|
||||
<span class="span1">活动策划是提高市场占有率的有效行为</span>
|
||||
<span class="span1">{{list.content}}</span>
|
||||
<!-- <span class="span2">来源板块:{{list.society_name}}</span> -->
|
||||
</aside>
|
||||
<p>
|
||||
{{list.content}}
|
||||
{{list.reply}}
|
||||
</p>
|
||||
</div>
|
||||
</template>
|
||||
@@ -158,11 +158,11 @@ export default {
|
||||
}
|
||||
.wr {
|
||||
width: 934px;
|
||||
height: 951px;
|
||||
max-height:1007px;
|
||||
background-color: #ffffff;
|
||||
box-sizing: border-box;
|
||||
padding-top: 35px;
|
||||
overflow-y: auto;
|
||||
overflow-x:hidden;
|
||||
|
||||
|
||||
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
<div class="wrapper" v-if="types">
|
||||
<header-nav :index_num="index_num"></header-nav>
|
||||
<div id="box">
|
||||
<h3>填写优化后申报书</h3>
|
||||
<h3>项目信息优化</h3>
|
||||
<!-- 导航 -->
|
||||
<div class="box">
|
||||
<div
|
||||
@@ -40,7 +40,7 @@
|
||||
</el-form-item>
|
||||
</div>
|
||||
<div style="display:flex;">
|
||||
<el-form-item label="项目类型" prop="tid" style="margin-right:132px">
|
||||
<el-form-item label="项目类别" prop="tid" style="margin-right:132px">
|
||||
<el-select v-model="ruleForm.tid" placeholder="请选择项目类型" @change="change">
|
||||
<el-option v-for="(type, index) in types" :key="index" :label="type" :value="index"></el-option>
|
||||
</el-select>
|
||||
@@ -77,7 +77,7 @@
|
||||
<el-input v-model="ruleForm.attribute" style="width:350px"></el-input>
|
||||
</el-form-item>
|
||||
</div>
|
||||
<el-form-item label="申报日期" required style="margin-right:125px">
|
||||
<el-form-item label="申请日期" required style="margin-right:125px">
|
||||
<el-col :span="11">
|
||||
<el-form-item prop="aterm">
|
||||
<el-date-picker
|
||||
@@ -125,7 +125,7 @@
|
||||
<el-form-item label="法定代表人" prop="plegal">
|
||||
<el-input v-model="ruleForm.plegal" style="width:350px"></el-input>
|
||||
</el-form-item>
|
||||
<el-form-item label="法人代码" prop="plcode">
|
||||
<el-form-item label="统一社会信用代码" prop="plcode">
|
||||
<!-- ruleForm.region -->
|
||||
<el-input v-model="ruleForm.plcode" style="width:350px"></el-input>
|
||||
</el-form-item>
|
||||
@@ -149,7 +149,7 @@
|
||||
</div>
|
||||
|
||||
<div style="display:flex;width:400px;">
|
||||
<el-form-item label="负责人姓名" prop="cname" style="margin-right:-69px">
|
||||
<el-form-item label="联系人姓名" prop="cname" style="margin-right:-69px">
|
||||
<el-input v-model="ruleForm.cname" style="width:150px"></el-input>
|
||||
</el-form-item>
|
||||
<el-form-item label="职务" prop="cpost" style="margin-right:-39px">
|
||||
@@ -357,7 +357,7 @@
|
||||
:file-list="fileLists"
|
||||
>
|
||||
<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>
|
||||
</template>
|
||||
</div>
|
||||
@@ -406,14 +406,14 @@
|
||||
<a
|
||||
:href="ruleForm.probook"
|
||||
target="_blank"
|
||||
style="width:157px;display:block;white-space:nowrap;text-overflow:ellipsis;overflow:hidden;"
|
||||
style="width:100px;margin-left:40px;display:block;white-space:nowrap;text-overflow:ellipsis;overflow:hidden;"
|
||||
>{{filename?filename:''}}</a>
|
||||
</el-tooltip>
|
||||
</p>
|
||||
<div class="filenames" v-if="filename">
|
||||
<a :href="ruleForm.probook" class="yulan" target="_blank" style="color:#409eff">下载</a>
|
||||
<a :href="fileurl" class="yulan" target="_blank" style="color:#409eff;margin-left:10px">下载</a>
|
||||
</div>
|
||||
<p class="box1" style="font-weight:bold">
|
||||
<p class="box1" style="font-weight:bold;margin-left:30px">
|
||||
上传项目申报书
|
||||
<span
|
||||
style="font-size:10px;color:red;postion:relative;top:-3px;font-weight:bold"
|
||||
@@ -447,7 +447,7 @@
|
||||
<img v-if="imageUrl1" :src="imageUrl1" class="avatar" />
|
||||
<i v-else class="el-icon-plus avatar-uploader-icon"></i>
|
||||
</el-upload>
|
||||
<div v-if="filename1" style="text-align:center;margin-top:18px;margin-bottom:10px">
|
||||
<div v-if="filename1" style="text-align:center;margin-top:18px;margin-bottom:10px;">
|
||||
<p>
|
||||
<el-tooltip
|
||||
class="item"
|
||||
@@ -458,17 +458,17 @@
|
||||
<a
|
||||
:href="ruleForm.fangan"
|
||||
target="_blank"
|
||||
style="width:157px;display:block;white-space:nowrap;text-overflow:ellipsis;overflow:hidden;"
|
||||
style="width:100px;margin-left:40px;display:block;white-space:nowrap;text-overflow:ellipsis;overflow:hidden;"
|
||||
>{{filename1?filename1:''}}</a>
|
||||
</el-tooltip>
|
||||
</p>
|
||||
</div>
|
||||
|
||||
<div class="filenames" v-if="filename1">
|
||||
<a :href="ruleForm.fangan" class="yulan" target="_blank" style="color:#409eff">下载</a>
|
||||
<a :href="fileurl1" class="yulan" target="_blank" style="color:#409eff;margin-left:10px">下载</a>
|
||||
</div>
|
||||
<!-- <p class="box1">{{filename1?filename1:''}}</p> -->
|
||||
<p class="box1" style="font-weight:bold">
|
||||
<p class="box1" style="font-weight:bold;margin-left:40px">
|
||||
上传实施方案
|
||||
<span
|
||||
style="font-size:10px;color:red;postion:relative;top:-3px;font-weight:bold"
|
||||
@@ -514,18 +514,22 @@
|
||||
<a
|
||||
:href="ruleForm.pifu"
|
||||
target="_blank"
|
||||
style="width:180px;white-space:nowrap;display:block;overflow:hidden;text-overflow: ellipsis;text-align:center"
|
||||
style="width:100px;margin-left:40px;white-space:nowrap;display:block;overflow:hidden;text-overflow: ellipsis;text-align:center"
|
||||
>{{filename2?filename2:''}}</a>
|
||||
</el-tooltip>
|
||||
|
||||
<!-- <a :href="ruleForm.pifu" target="_blank">{{filename2?filename2:''}}</a> -->
|
||||
</p>
|
||||
<div style="width:170px;text-align:center">
|
||||
<a :href="ruleForm.pifu" class="yulan" target="_blank" style="color:#409eff">下载</a>
|
||||
|
||||
<a :href="fileurl2" class="yulan" target="_blank" style="color:#409eff;margin-left:10px;cursor:pointer">下载</a>
|
||||
<!-- {{fileurl2}} -->
|
||||
<!-- <a :href="ruleForm.pifu" class="yulan" target="_blank" style="color:#409eff;margin-left:10px">{{ruleForm.pifu.substring(ruleForm.pifu.lastIndexOf(".")+1)=='txt'||uleForm.pifu.substring(ruleForm.pifu.lastIndexOf(".")+1)=='jpg'||uleForm.pifu.substring(ruleForm.pifu.lastIndexOf(".")+1)=='png'?'预览':'下载'}}</a> -->
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<!-- <p class="box1">{{filename2?filename2:''}}</p> -->
|
||||
<p class="box1" style="font-weight:bold">上传立项批复文件</p>
|
||||
<p class="box1" style="font-weight:bold;margin-left:30px">上传立项批复文件</p>
|
||||
</div>
|
||||
<!--文件上传-->
|
||||
</template>
|
||||
@@ -564,18 +568,18 @@
|
||||
<a
|
||||
:href="ruleForm.pact"
|
||||
target="_blank"
|
||||
style="width:180px;text-align:center;display:block;white-space:nowrap;text-overflow:ellipsis;overflow:hidden;"
|
||||
style="width:100px;margin-left:40px;display:block;white-space:nowrap;text-overflow:ellipsis;overflow:hidden;"
|
||||
>{{filename3?filename3:''}}</a>
|
||||
</el-tooltip>
|
||||
<!-- <a :href="ruleForm.pact" target="_blank">{{filename3?filename3:''}}</a> -->
|
||||
</p>
|
||||
<div style="width:170px;text-align:center">
|
||||
<a :href="ruleForm.pact" class="yulan" target="_blank" style="color:#409eff">下载</a>
|
||||
<a :href="fileurl3" class="yulan" target="_blank" style="color:#409eff;margin-left:10px">下载</a>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<!-- <p class="box1">{{filename3?filename3:''}}</p> -->
|
||||
<p class="box1" style="font-weight:bold">上传项目合同</p>
|
||||
<p class="box1" style="font-weight:bold;margin-left:40px">上传项目合同</p>
|
||||
</div>
|
||||
|
||||
<!--文件上传-->
|
||||
@@ -591,7 +595,7 @@
|
||||
style="position: relative"
|
||||
:http-request="uploadfile4"
|
||||
>
|
||||
<div style="position: absolute;z-index:9999;width:72px;left:52px;top:36px">
|
||||
<div style="position: absolute;z-index:9999;width:72px;left:53px;top:36px">
|
||||
<!-- {{uploadname[2]}} -->
|
||||
<!-- -->
|
||||
<el-progress
|
||||
@@ -616,17 +620,17 @@
|
||||
<a
|
||||
:href="ruleForm.promise"
|
||||
target="_blank"
|
||||
style="width:157px;display:block;white-space:nowrap;text-overflow:ellipsis;overflow:hidden;"
|
||||
style="width:100px;margin-left:12px;display:block;white-space:nowrap;text-overflow:ellipsis;overflow:hidden;"
|
||||
>{{filename4?filename4:''}}</a>
|
||||
</el-tooltip>
|
||||
</p>
|
||||
<div style="text-align:center">
|
||||
<a :href="ruleForm.promise" class="yulan" target="_blank" style="color:#409eff">下载</a>
|
||||
<a :href="fileurl4" class="yulan" target="_blank" style="color:#409eff;margin-left:-20px">下载</a>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<!-- <p class="box1">{{filename4?filename4:''}}</p> -->
|
||||
<p class="box1" style="font-weight:bold">上传服务承诺书</p>
|
||||
<p class="box1" style="font-weight:bold;margin-left:30px">上传服务承诺书</p>
|
||||
</div>
|
||||
</template>
|
||||
</div>
|
||||
@@ -1255,7 +1259,7 @@ export default {
|
||||
}else if(houzui == "txt"){
|
||||
this.imageUrl = "/static/img/txt.png";
|
||||
}
|
||||
this.filename = res.name;
|
||||
this.filename = res.name//res.name//res.name+'.'+res.extension;
|
||||
|
||||
// console.log(file)
|
||||
// this.fileid = file.response.data.id;
|
||||
@@ -1339,7 +1343,7 @@ export default {
|
||||
}else if(houzui == "txt"){
|
||||
this.imageUrl1 = "/static/img/txt.png";
|
||||
}
|
||||
this.filename1 = res.name;
|
||||
this.filename1 =res.name// res.name+'.'+res.extension;
|
||||
|
||||
// console.log(file);
|
||||
// this.fileurl1 = file.response.data.url;
|
||||
@@ -1388,7 +1392,7 @@ export default {
|
||||
}else if(houzui == "txt"){
|
||||
this.imageUrl2 = "/static/img/txt.png";
|
||||
}
|
||||
this.filename2 = res.name;
|
||||
this.filename2 =res.name// res.name+'.'+res.extension;
|
||||
|
||||
// console.log(file);
|
||||
// this.fileurl2 = file.response.data.url;
|
||||
@@ -1438,7 +1442,7 @@ export default {
|
||||
this.imageUrl3 = "/static/img/txt.png";
|
||||
}
|
||||
console.log(res.name);
|
||||
this.filename3 = res.name;
|
||||
this.filename3 =res.name// res.name+'.'+res.extension;
|
||||
|
||||
// console.log(file);
|
||||
// this.fileurl3 = file.response.data.url;
|
||||
@@ -1465,7 +1469,7 @@ export default {
|
||||
// this.imageUrl3 = "../../../src/static/img/pdf.jpg";
|
||||
// }
|
||||
},
|
||||
handleAvatarSuccess4(res, file) {
|
||||
handleAvatarSuccess4(res, file) {
|
||||
let houzui = file.split(".");
|
||||
houzui = houzui[houzui.length - 1];
|
||||
console.log(res, file);
|
||||
@@ -1486,7 +1490,7 @@ export default {
|
||||
}else if(houzui == "txt"){
|
||||
this.imageUrl4 = "/static/img/txt.png";
|
||||
}
|
||||
this.filename4 = res.name;
|
||||
this.filename4 =res.name// res.name+'.'+res.extension;
|
||||
|
||||
// console.log(file);
|
||||
// this.fileurl4 = file.response.data.url;
|
||||
@@ -1517,10 +1521,32 @@ export default {
|
||||
this.$refs[formName].validate(valid => {
|
||||
if (valid) {
|
||||
this.next(1);
|
||||
if (a == 1) {
|
||||
this.submit(0);
|
||||
} else if (a == 2) {
|
||||
this.submit(1);
|
||||
// if (a == 1) {
|
||||
// this.submit(0);
|
||||
// } else if (a == 2) {
|
||||
|
||||
// // this.submit(1);
|
||||
// }
|
||||
if(a){
|
||||
console.log(this.filename,this.filename1,5556)
|
||||
if (this.filename.length && this.filename1.length) {
|
||||
if (a == 1) {
|
||||
this.submit(0);
|
||||
} else if (a == 2) {
|
||||
this.submit(1);
|
||||
}
|
||||
} else {
|
||||
this.$alert("请先上传必传文件再操作", "提示", {
|
||||
confirmButtonText: "确定",
|
||||
callback: action => {
|
||||
// this.$message({
|
||||
// type: 'info',
|
||||
// message: ''
|
||||
// });
|
||||
}
|
||||
});
|
||||
return;
|
||||
}
|
||||
}
|
||||
} else {
|
||||
console.log("error submit!!");
|
||||
@@ -1733,7 +1759,7 @@ export default {
|
||||
});
|
||||
});
|
||||
} else if (index == 1) {
|
||||
this.$confirm("此操作将提交到项目申报中心,是否继续?", "提示", {
|
||||
this.$confirm("请确认是否提交项目优化信息,提交后不可修改!", "提示", {
|
||||
confirmButtonText: "确定",
|
||||
cancelButtonText: "取消",
|
||||
type: "warning"
|
||||
@@ -2246,6 +2272,7 @@ export default {
|
||||
this.filename = this.bgData.probook.substring(
|
||||
this.bgData.probook.lastIndexOf("/") + 1
|
||||
);
|
||||
//sconsole.log(this.filename)
|
||||
this.filename1 = this.bgData.fangan.substring(
|
||||
this.bgData.fangan.lastIndexOf("/") + 1
|
||||
);
|
||||
@@ -2336,6 +2363,7 @@ export default {
|
||||
display: flex;
|
||||
justify-content: flex-start;
|
||||
align-items: flex-start;
|
||||
margin-top:20px;
|
||||
|
||||
.avatar-uploader {
|
||||
margin-right: 20px;
|
||||
@@ -2364,7 +2392,7 @@ export default {
|
||||
text-align: center;
|
||||
border: 1.5px dashed #666;
|
||||
margin-left: 30px;
|
||||
margin-top: 15px;
|
||||
// margin-top: 15px;
|
||||
}
|
||||
.avatar {
|
||||
width: 100px;
|
||||
@@ -2586,7 +2614,7 @@ export default {
|
||||
|
||||
/deep/ .el-upload-list.el-upload-list--text {
|
||||
max-height: 100px;
|
||||
overflow-y: scroll;
|
||||
// overflow-y: scroll;
|
||||
width: 475px;
|
||||
&::-webkit-scrollbar {
|
||||
width: 3px;
|
||||
|
||||
@@ -69,18 +69,18 @@
|
||||
v-model="value_date"
|
||||
type="daterange"
|
||||
value-format="yyyy-MM-dd"
|
||||
|
||||
start-placeholder="开始日期"
|
||||
end-placeholder="结束日期"
|
||||
@change="prolist()"
|
||||
@change="prolist"
|
||||
clearable
|
||||
style="width:400px"
|
||||
></el-date-picker>
|
||||
</div>
|
||||
<el-select v-model="typeval" placeholder="请选择项目类型" @change="prolist">
|
||||
<el-select class="area" v-model="typeval" placeholder="请选择项目类型" clearable @change="prolist">
|
||||
<el-option
|
||||
v-for="(i,j) in bgValue.type"
|
||||
:key="j"
|
||||
:label="bgValue.type[j]"
|
||||
:label="bgValue.type[j]"
|
||||
:value="j"
|
||||
></el-option>
|
||||
</el-select>
|
||||
@@ -91,11 +91,11 @@
|
||||
</template>
|
||||
</select>-->
|
||||
|
||||
<el-select v-model="statusval" placeholder="请选择项目状态" @change="prolist" >
|
||||
<el-select v-model="statusval" placeholder=" 请选择项目状态" clearable @change="prolist">
|
||||
<el-option
|
||||
v-for="(i,j) in bgValue.status"
|
||||
:key="j"
|
||||
:label="bgValue.status[j]"
|
||||
:label="bgValue.status[j]"
|
||||
:value="j"
|
||||
></el-option>
|
||||
</el-select>
|
||||
@@ -112,12 +112,12 @@
|
||||
</template>
|
||||
</select> -->
|
||||
|
||||
<el-select v-model="areaval" placeholder="请选择落地区域" @change="prolist">
|
||||
<el-select class="area" v-model="areaval" placeholder="请选择落地区域" clearable @change="prolist">
|
||||
<el-option
|
||||
v-for="(i,j) in bgValue.area"
|
||||
:key="j"
|
||||
:label="bgValue.area[j]"
|
||||
:value="j"
|
||||
:value="j"
|
||||
></el-option>
|
||||
</el-select>
|
||||
<!-- <select class="three" v-model="area_value" name="area" @change="bolting()">
|
||||
@@ -159,24 +159,26 @@
|
||||
</div>
|
||||
<time>{{ item.protime }}</time>
|
||||
</div>
|
||||
|
||||
<dl>
|
||||
<dt>
|
||||
<img :src="imgUrl.tg" v-if="item.tid == 5" />
|
||||
<img :src="imgUrl.btg" v-else-if="item.tid == 4 || item.tid == 9" />
|
||||
<img :src="imgUrl.zxz" v-else-if="item.tid == 10" />
|
||||
<img :src="imgUrl.wtj" v-else-if="item.tid == 1000" />
|
||||
<img :src="imgUrl.tg" style="width:120px;height:90px" v-if="item.tid == 5" />
|
||||
<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.wtj" style="width:120px;height:90px" v-else-if="item.tid == 1000" />
|
||||
<img
|
||||
:src="imgUrl.yjx"
|
||||
v-else-if="item.tid == 110"
|
||||
style="width:120px;height:90px"
|
||||
/>
|
||||
<img :src="imgUrl.shz" v-else />
|
||||
<img :src="imgUrl.shz" style="width:120px;height:90px" v-else />
|
||||
<!-- <img
|
||||
:src="imgUrl.yjx"
|
||||
style="width:120px;height:90px"
|
||||
/>-->
|
||||
</dt>
|
||||
<dd>
|
||||
<!-- <img :src="imgUrl.zxz"/> -->
|
||||
<span class="iconfont icon-zuzhijiegou"></span>
|
||||
<span>{{ item.party_id }}</span>
|
||||
</dd>
|
||||
@@ -317,6 +319,7 @@ export default {
|
||||
// }
|
||||
// },
|
||||
prolist(time0, time1, type, area, status, currentPage) {
|
||||
//console.log( this.value_date[0],'123')
|
||||
time0=time0?time0:""
|
||||
time1=time1?time1:""
|
||||
type=type?type:""
|
||||
@@ -326,8 +329,8 @@ export default {
|
||||
method: "get",
|
||||
url: "v1/project/list",
|
||||
params: {
|
||||
start_time: this.value_date[0],
|
||||
end_time: this.value_date[1],
|
||||
start_time: this.value_date?this.value_date[0]:'',
|
||||
end_time: this.value_date?this.value_date[1]:'',
|
||||
type: this.typeval,
|
||||
area: this.areaval,
|
||||
status: this.statusval,
|
||||
@@ -478,8 +481,9 @@ export default {
|
||||
|
||||
<style lang="scss" scoped>
|
||||
.wrapper /deep/ .el-input__inner{
|
||||
|
||||
width: 200px;
|
||||
}
|
||||
.wrapper /deep/.area .el-input__inner{
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
|
||||
@@ -12,7 +12,7 @@
|
||||
:class="sub == 3 ? 'style' : ''"
|
||||
v-if="bgData"
|
||||
style="cursor:pointer"
|
||||
>项目申报书</span>
|
||||
>项目优化</span>
|
||||
<span
|
||||
@click="btn(2)"
|
||||
:class="sub == 2 ? 'style' : ''"
|
||||
@@ -264,7 +264,7 @@
|
||||
<div v-if="sub == 3">
|
||||
<div class="wrapper">
|
||||
<div id="box1">
|
||||
<h3 style="line-height:62px">填写优化后申报书</h3>
|
||||
<h3 style="line-height:62px">项目信息优化</h3>
|
||||
<!-- 导航 -->
|
||||
<div class="box">
|
||||
<div
|
||||
@@ -835,7 +835,7 @@
|
||||
</el-form-item>
|
||||
</div>
|
||||
<div style="display:flex;">
|
||||
<el-form-item label="项目类型" prop="tid" style="margin-right:132px">
|
||||
<el-form-item label="项目类别" prop="tid" style="margin-right:132px">
|
||||
<el-select
|
||||
v-model="ruleForm.tid"
|
||||
placeholder="请选择活动区域"
|
||||
@@ -899,7 +899,7 @@
|
||||
</div>
|
||||
<div style="display:flex">
|
||||
<el-col :span="11">
|
||||
<el-form-item label="申报日期" prop="aterm" required style="margin-right:25px">
|
||||
<el-form-item label="申请日期" prop="aterm" required style="margin-right:25px">
|
||||
<el-date-picker
|
||||
type="date"
|
||||
placeholder="选择日期"
|
||||
@@ -951,7 +951,7 @@
|
||||
<el-form-item label="法定代表人" prop="plegal">
|
||||
<el-input v-model="ruleForm.plegal" style="width:350px" :disabled="ifupdate"></el-input>
|
||||
</el-form-item>
|
||||
<el-form-item label="法人代码" prop="plcode">
|
||||
<el-form-item label="统一社会信用代码" prop="plcode">
|
||||
<!-- ruleForm.region -->
|
||||
<el-input v-model="ruleForm.plcode" style="width:350px" :disabled="ifupdate"></el-input>
|
||||
</el-form-item>
|
||||
@@ -975,7 +975,7 @@
|
||||
</div>
|
||||
|
||||
<div style="display:flex;width:400px;">
|
||||
<el-form-item label="负责人姓名" prop="cname" style="margin-right:-69px">
|
||||
<el-form-item label="联系人姓名" prop="cname" style="margin-right:-69px">
|
||||
<el-input v-model="ruleForm.cname" style="width:150px" :disabled="ifupdate"></el-input>
|
||||
</el-form-item>
|
||||
<el-form-item label="职务" prop="cpost" style="margin-right:-39px">
|
||||
@@ -1232,12 +1232,13 @@
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="mid_box">
|
||||
<div class="mid_box" style="padding-bottom:50px;margin-top:30px">
|
||||
<!-- v-if="filename&&(bgData.status==2||bgData.status==3)" -->
|
||||
<template>
|
||||
<div
|
||||
class="el-icon-close close"
|
||||
@click="del"
|
||||
v-if="filename&&(bgData.status==2||bgData.status==3)"
|
||||
v-if="filename&&(bgData.status==2||bgData.status==3)"
|
||||
></div>
|
||||
<div>
|
||||
<el-upload
|
||||
@@ -1247,7 +1248,7 @@
|
||||
style="position: relative"
|
||||
:http-request="uploadfile"
|
||||
>
|
||||
<div style="position: absolute;z-index:9999;width:80px;left:30px;top:42px">
|
||||
<div style="position: absolute;z-index:9999;width:80px;left:40px;top:42px">
|
||||
<!-- {{uploadname[2]}} -->
|
||||
<!-- -->
|
||||
<el-progress
|
||||
@@ -1277,7 +1278,7 @@
|
||||
<a
|
||||
:href="ruleForm.probook"
|
||||
target="_blank"
|
||||
style="width:143px;display:block;overflow:hidden;text-overflow: ellipsis;text-align:center"
|
||||
style="width:100px;margin-left:20px;display:block;overflow:hidden;text-overflow: ellipsis;text-align:center"
|
||||
>{{filename? filename.split('_')[0]+''+(filename.split('_')[0].includes('.')?'':'.'+filename.split('.')[1]):""}}</a>
|
||||
</el-tooltip>
|
||||
<!-- <a :href="ruleForm.probook" target="_blank">{{filename?filename:''}}</a> -->
|
||||
@@ -1313,7 +1314,7 @@
|
||||
style="position: relative"
|
||||
:http-request="uploadfile1"
|
||||
>
|
||||
<div style="position: absolute;z-index:9999;width:80px;left:30px;top:42px">
|
||||
<div style="position: absolute;z-index:9999;width:80px;left:40px;top:42px">
|
||||
<!-- {{uploadname[2]}} -->
|
||||
<!-- -->
|
||||
<el-progress
|
||||
@@ -1338,7 +1339,7 @@
|
||||
<a
|
||||
:href="ruleForm.fangan"
|
||||
target="_blank"
|
||||
style="width:143px;display:block;overflow:hidden;text-overflow: ellipsis;text-align:center"
|
||||
style="width:100px;margin-left:20px;display:block;overflow:hidden;text-overflow: ellipsis;text-align:center"
|
||||
>{{filename1? filename1.split('_')[0]+''+(filename1.split('_')[0].includes('.')?'':'.'+filename1.split('.')[1]):""}}</a>
|
||||
</el-tooltip>
|
||||
<!-- <a :href="ruleForm.fangan" target="_blank">{{filename1?filename1:''}}</a> -->
|
||||
@@ -1373,7 +1374,7 @@
|
||||
style="position: relative"
|
||||
:http-request="uploadfile2"
|
||||
>
|
||||
<div style="position: absolute;z-index:9999;width:80px;left:30px;top:42px">
|
||||
<div style="position: absolute;z-index:9999;width:80px;left:40px;top:42px">
|
||||
<!-- {{uploadname[2]}} -->
|
||||
<!-- -->
|
||||
<el-progress
|
||||
@@ -1397,7 +1398,7 @@
|
||||
<a
|
||||
:href="ruleForm.pifu"
|
||||
target="_blank"
|
||||
style="width:143px;display:block;overflow:hidden;text-overflow: ellipsis;text-align:center"
|
||||
style="width:100px;margin-left:20px;display:block;overflow:hidden;text-overflow: ellipsis;text-align:center"
|
||||
>{{filename2? filename2.split('_')[0]+''+(filename2.split('_')[0].includes('.')?'':'.'+filename2.split('.')[filename2.split('.').length - 1]):""}}</a>
|
||||
</el-tooltip>
|
||||
<!-- <a :href="ruleForm.pifu" target="_blank">{{filename2?filename2:''}}</a> -->
|
||||
@@ -1416,7 +1417,7 @@
|
||||
<div
|
||||
class="el-icon-close close"
|
||||
@click="del3"
|
||||
v-if="filename3 &&(bgData.status==3||bgData.status==3)"
|
||||
v-if="filename3 &&(bgData.status==2||bgData.status==3)"
|
||||
></div>
|
||||
<div>
|
||||
<el-upload
|
||||
@@ -1427,11 +1428,12 @@
|
||||
style="position: relative"
|
||||
:http-request="uploadfile3"
|
||||
>
|
||||
<div style="position: absolute;z-index:9999;width:80px;left:30px;top:42px">
|
||||
<div style="position: absolute;z-index:9999;width:80px;left:42px;top:42px">
|
||||
<!-- {{uploadname[2]}} -->
|
||||
<!-- -->
|
||||
<!-- v-if="uploadname[3] && uploadname[3] != 100" -->
|
||||
<el-progress
|
||||
v-if="uploadname[3] && uploadname[3] != 100"
|
||||
v-if="uploadname[3] && uploadname[3] != 100"
|
||||
:text-inside="true"
|
||||
:stroke-width="16"
|
||||
:percentage="uploadname[3]"
|
||||
@@ -1451,7 +1453,7 @@
|
||||
<a
|
||||
:href="ruleForm.pact"
|
||||
target="_blank"
|
||||
style="width:143px;display:block;overflow:hidden;text-overflow: ellipsis;text-align:center"
|
||||
style="width:100px;margin-left:20px;display:block;overflow:hidden;text-overflow: ellipsis;text-align:center"
|
||||
>{{filename3? filename3.split('_')[0]+''+(filename3.split('_')[0].includes('.')?'':'.'+filename3.split('.')[1]):""}}</a>
|
||||
</el-tooltip>
|
||||
<!-- <a :href="ruleForm.pact" target="_blank">{{filename3?filename3:''}}</a> -->
|
||||
@@ -1481,7 +1483,7 @@
|
||||
style="position: relative"
|
||||
:http-request="uploadfile4"
|
||||
>
|
||||
<div style="position: absolute;z-index:9999;width:80px;left:30px;top:42px">
|
||||
<div style="position: absolute;z-index:9999;width:80px;left:42px;top:42px">
|
||||
<!-- {{uploadname[2]}} -->
|
||||
<!-- -->
|
||||
<el-progress
|
||||
@@ -1505,7 +1507,7 @@
|
||||
<a
|
||||
:href="ruleForm.promise"
|
||||
target="_blank"
|
||||
style="width:143px;display:block;overflow:hidden;text-overflow: ellipsis;text-align:center"
|
||||
style="width:100px;margin-left:20px;display:block;overflow:hidden;text-overflow: ellipsis;text-align:center"
|
||||
>{{filename4? filename4.split('_')[0]+''+(filename4.split('_')[0].includes('.')?'':'.'+filename4.split('.')[1]):""}}</a>
|
||||
</el-tooltip>
|
||||
<!-- <a :href="ruleForm.promise" target="_blank">{{filename4?filename4:''}}</a> -->
|
||||
@@ -1524,6 +1526,7 @@
|
||||
<!-- <el-form-item style="margin:0"> -->
|
||||
<!-- v-if="bgData.status==1||bgData.status==4" -->
|
||||
<div></div>
|
||||
<!-- v-if="bgData.status==2||bgData.status==3" -->
|
||||
<div class="ll" v-if="bgData.status==2||bgData.status==3">
|
||||
<button type="button" @click="next(0)" style="cursor:pointer">上一页</button>
|
||||
<!-- v-if="ruleForm.status !=4 && ruleForm.status !=1" -->
|
||||
@@ -1594,7 +1597,7 @@
|
||||
<ul>
|
||||
<!-- 项目信息 -->
|
||||
|
||||
<li>项目名称:{{ executio.name }} 执行机构:{{ executio.company }}</li>
|
||||
<li>项目名称:{{ executio.name }} 执行机构:{{ executio.company }}</li>
|
||||
<!-- 项目申报书 -->
|
||||
<li>
|
||||
<span>
|
||||
@@ -1603,11 +1606,12 @@
|
||||
target="_blank"
|
||||
>{{shili? shili.split('_')[0]+''+(shili.split('_')[0].includes('.')?'':'.'+shili.split('.')[1]):"未上传"}}</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" -->
|
||||
<a
|
||||
:href="executio.probook"
|
||||
target="_blank"
|
||||
class="yulan"
|
||||
:download="shili.split('.')[1]=='jpg'||shili.split('.')[1]=='jpeg'||shili.split('.')[1]=='png'||shili.split('.')[1]=='pdf'?false:true"
|
||||
|
||||
>{{shili.split('.')[1]=="jpg"||shili.split('.')[1]=="jpeg"||shili.split('.')[1]=="png"||shili.split('.')[1]=="pdf"?'预览':'下载'}}</a>
|
||||
</span>
|
||||
</li>
|
||||
@@ -1623,7 +1627,7 @@
|
||||
:href="executio.fangan"
|
||||
target="_blank"
|
||||
class="yulan"
|
||||
:download="shili1.split('.')[1]=='jpg'||shili1.split('.')[1]=='jpeg'||shili1.split('.')[1]=='png'||shili1.split('.')[1]=='pdf'?false:true"
|
||||
|
||||
>{{shili1.split('.')[1]=="jpg"||shili1.split('.')[1]=="jpeg"||shili1.split('.')[1]=="png"||shili1.split('.')[1]=="pdf"?'预览':'下载'}}</a>
|
||||
</span>
|
||||
</li>
|
||||
@@ -1640,7 +1644,7 @@
|
||||
:href="executio.pifu"
|
||||
target="_blank"
|
||||
class="yulan"
|
||||
:download="shili2.split('.')[1]=='jpg'||shili2.split('.')[1]=='jpeg'||shili2.split('.')[1]=='png'||shili2.split('.')[1]=='pdf'?false:true"
|
||||
|
||||
>{{shili2.split('.')[1]=="jpg"||shili2.split('.')[1]=="jpeg"||shili2.split('.')[1]=="png"||shili2.split('.')[1]=="pdf"?'预览':'下载'}}</a>
|
||||
</span>
|
||||
</li>
|
||||
@@ -1657,7 +1661,7 @@
|
||||
:href="executio.pact"
|
||||
target="_blank"
|
||||
class="yulan"
|
||||
:download="shili3.split('.')[1]=='jpg'||shili3.split('.')[1]=='jpeg'||shili3.split('.')[1]=='png'||shili3.split('.')[1]=='pdf'?false:true"
|
||||
|
||||
>{{shili3.split('.')[1]=="jpg"||shili3.split('.')[1]=="jpeg"||shili3.split('.')[1]=="png"||shili3.split('.')[1]=="pdf"?'预览':'下载'}}</a>
|
||||
</span>
|
||||
</li>
|
||||
@@ -1668,59 +1672,121 @@
|
||||
<a
|
||||
:href="executio.promise?executio.promise:''"
|
||||
target="_blank"
|
||||
:download="shili4.split('.')[1]=='jpg'||shili4.split('.')[1]=='jpeg'||shili4.split('.')[1]=='png'||shili4.split('.')[1]=='pdf'?false:true"
|
||||
|
||||
>{{shili4?shili4.split('_')[0]+'.'+(shili4.split('_')[0].includes('.')?'':shili4.split('.')[1]):"未上传"}}</a>
|
||||
<!-- <a :href="executio.promise" download>下载</a> | -->
|
||||
<a
|
||||
:href="executio.promise"
|
||||
target="_blank"
|
||||
class="yulan"
|
||||
:download="shili4.split('.')[1]=='jpg'||shili4.split('.')[1]=='jpeg'||shili4.split('.')[1]=='png'||shili4.split('.')[1]=='pdf'?false:true"
|
||||
|
||||
>{{shili4.split('.')[1]=="jpg"||shili4.split('.')[1]=="jpeg"||shili4.split('.')[1]=="png"?'预览':'下载'}}</a>
|
||||
</span>
|
||||
</li>
|
||||
<!-- 中期评审材料 -->
|
||||
<li>
|
||||
<el-button size="small" type="primary" @click="submit_mid">填写并提交</el-button>
|
||||
<el-button size="small" style="float:left;margin-top:10px" type="primary" @click="submit_mid">填写并提交</el-button>
|
||||
<!-- <el-button size="small" type="primary" @click="$jP('excute1', { id: zData.id })">修改</el-button> -->
|
||||
<el-button
|
||||
size="small"
|
||||
style="float:left;margin-top:10px"
|
||||
type="primary"
|
||||
v-if="this.id"
|
||||
@click="$jP('excute', { id:id })"
|
||||
>查看</el-button>
|
||||
<!-- <span>
|
||||
<a href="#">中期评估报告.DOC</a>
|
||||
</span>-->
|
||||
<!-- <span>
|
||||
<a :href="executio.center" download>下载</a> |
|
||||
<a :href="executio.center" target="_blank">预览</a>
|
||||
</span>-->
|
||||
|
||||
<strong style="font-size:14px;font-weight:600;float:left;margin-left:30px">满意度评估报告:</strong>
|
||||
|
||||
<span style="margin-left:10px;float:left;width:70px;overflow: hidden;text-overflow: ellipsis;white-space: nowrap;">
|
||||
<a
|
||||
target="_blank"
|
||||
:title="review_zq?review_zq.split('_')[0]+'.'+(review_zq.split('_')[0].includes('.')?'':review_zq.split('.')[1]):''"
|
||||
|
||||
>{{review_zq?review_zq.split('_')[0]+'.'+(review_zq.split('_')[0].includes('.')?'':review_zq.split('.')[1]):"未上传"}}</a>
|
||||
<!-- <a :href="executio.promise" download>下载</a> | -->
|
||||
</span>
|
||||
<span style="float:left">
|
||||
<a
|
||||
:href="review_zq_url?review_zq_url:''"
|
||||
target="_blank"
|
||||
class="yulan"
|
||||
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>
|
||||
</span>
|
||||
|
||||
<strong style="font-size:14px;font-weight:600;float:left">主管单位评估报告:</strong>
|
||||
|
||||
<span style="margin-left:10px;float:left;width:70px;overflow: hidden;text-overflow: ellipsis;white-space: nowrap;">
|
||||
<a
|
||||
target="_blank"
|
||||
:title="review_jx?review_jx.split('_')[0]+'.'+(review_jx.split('_')[0].includes('.')?'':review_jx.split('.')[1]):''"
|
||||
|
||||
>{{review_jx?review_jx.split('_')[0]+'.'+(review_jx.split('_')[0].includes('.')?'':review_jx.split('.')[1]):"未上传"}}</a>
|
||||
<!-- <a :href="executio.promise" download>下载</a> | -->
|
||||
</span>
|
||||
<span style="float:left">
|
||||
<a
|
||||
:href="review_jx_url?review_jx_url:''"
|
||||
target="_blank"
|
||||
class="yulan"
|
||||
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>
|
||||
</span>
|
||||
|
||||
|
||||
</li>
|
||||
<!-- 结项评审材料 -->
|
||||
<li>
|
||||
<el-button size="small" type="primary" @click="post_pro">填写并提交</el-button>
|
||||
<el-button size="small" style="float:left;margin-top:10px" type="primary" @click="post_pro">填写并提交</el-button>
|
||||
<!-- <el-button size="small" type="primary">修改</el-button> -->
|
||||
<el-button
|
||||
size="small"
|
||||
type="primary"
|
||||
style="float:left;margin-top:10px"
|
||||
v-if="this.id"
|
||||
@click="$jP('over', { id:id })"
|
||||
>查看</el-button>
|
||||
<!-- <span>
|
||||
<a href="#">中期评估报告.DOC</a>
|
||||
</span>-->
|
||||
<!-- <span>
|
||||
<a :href="executio.over" download>下载</a> |
|
||||
<a :href="executio.over" target="_blank">预览</a>
|
||||
</span>-->
|
||||
<!-- <span>
|
||||
<a href="#">中期评估报告.DOC</a>
|
||||
</span>-->
|
||||
<!-- <span>
|
||||
<a :href="executio.over" download>下载</a> |
|
||||
<a :href="executio.over" target="_blank">预览</a>
|
||||
</span>-->
|
||||
|
||||
<strong style="font-size:14px;font-weight:600;float:left;margin-left:30px">满意度评估报告:</strong>
|
||||
|
||||
<span style="margin-left:10px;float:left;width:70px;overflow: hidden;text-overflow: ellipsis;white-space: nowrap;">
|
||||
<a
|
||||
target="_blank"
|
||||
:title="review_my_zq?review_my_zq.split('_')[0]+'.'+(review_my_zq.split('_')[0].includes('.')?'':review_my_zq.split('.')[1]):''"
|
||||
|
||||
>{{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> | -->
|
||||
</span>
|
||||
<span style="float:left">
|
||||
<a
|
||||
:href="review_my_zq_url?review_my_zq_url:''"
|
||||
target="_blank"
|
||||
class="yulan"
|
||||
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>
|
||||
</span>
|
||||
<strong style="font-size:14px;font-weight:600;float:left">主管单位评估报告:</strong>
|
||||
|
||||
<span style="float:left;width:70px;margin-left:10px;overflow: hidden;text-overflow: ellipsis;white-space: nowrap;">
|
||||
<a
|
||||
target="_blank"
|
||||
:title="review_my?review_my.split('_')[0]+'.'+(review_my.split('_')[0].includes('.')?'':review_my.split('.')[1]):''"
|
||||
|
||||
>{{review_my?review_my.split('_')[0]+'.'+(review_my.split('_')[0].includes('.')?'':review_my.split('.')[1]):"未上传"}}</a>
|
||||
<!-- <a :href="executio.promise" download>下载</a> | -->
|
||||
</span>
|
||||
<span style="float:left">
|
||||
<a
|
||||
:href="review_my_url?review_my_url:''"
|
||||
target="_blank"
|
||||
class="yulan"
|
||||
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>
|
||||
</span>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
@@ -1794,8 +1860,8 @@
|
||||
href="./static/file/工作月报表(模版).docx"
|
||||
style="margin-right:20px"
|
||||
>工作月报表(模版).DOC</a>
|
||||
<a href="./static/file/工作月报表(模版).docx" style="margin-right:5px">预览</a>
|
||||
|
|
||||
<!-- <a href="./static/file/工作月报表(模版).docx" style="margin-right:5px">预览</a>
|
||||
| -->
|
||||
<a
|
||||
href="./static/file/工作月报表(模版).docx"
|
||||
download
|
||||
@@ -1845,6 +1911,7 @@
|
||||
:file-list="fileLists1"
|
||||
style="margin-left:20px;margin-top:10px"
|
||||
ref="dianzi"
|
||||
:title="filename"
|
||||
>
|
||||
<el-button
|
||||
size="small"
|
||||
@@ -1867,7 +1934,7 @@
|
||||
<el-button type="text" v-show="num == 1" @click="dialogFormVisible = true">+新闻稿</el-button>
|
||||
<el-dialog title="添加新闻稿" :visible.sync="dialogFormVisible">
|
||||
<aside>
|
||||
<div>
|
||||
<div class="yuedu">
|
||||
<label>一、项目名称:</label>
|
||||
<el-input
|
||||
v-model="zData.name"
|
||||
@@ -1883,7 +1950,7 @@
|
||||
class="division"
|
||||
/>-->
|
||||
</div>
|
||||
<div>
|
||||
<div class="yuedu">
|
||||
<label>二、机构名称:</label>
|
||||
<el-input
|
||||
v-model="zData.company"
|
||||
@@ -1899,7 +1966,7 @@
|
||||
class="division"
|
||||
/>-->
|
||||
</div>
|
||||
<div>
|
||||
<div class="yuedu">
|
||||
<label>三、日期选择:</label>
|
||||
<!-- <select v-model="month">
|
||||
<option
|
||||
@@ -1919,16 +1986,17 @@
|
||||
<!-- <el-date-picker value-format="yyyy-MM-dd" v-model="month" type="date" placeholder="选择日期"></el-date-picker> -->
|
||||
<!-- <input type="date" name="aterm" v-model="month" value required /> -->
|
||||
</div>
|
||||
<div>
|
||||
<div class="yuedu" style="margin-left:10px">
|
||||
<label>四、模板下载:</label>
|
||||
<span>
|
||||
<span style="padding-top:10px;">
|
||||
<span>
|
||||
<a href="./static/file/工作月报表(模版).docx">工作月报表(模版).DOC</a>
|
||||
<a href="./static/file/工作月报表(模版).docx">新闻稿(模版).DOC</a>
|
||||
|
||||
<a href="./static/file/工作月报表(模版).docx" download>下载</a>
|
||||
</span>
|
||||
</span>
|
||||
</div>
|
||||
<div class="mid_box" style="width:950px">
|
||||
<div class="mid_box" style="width:950px;margin-left:33px">
|
||||
<label>五、上传电子版新闻稿:</label>
|
||||
<div
|
||||
class="xxxx"
|
||||
@@ -1972,6 +2040,7 @@
|
||||
:on-exceed="handleExceed1"
|
||||
:file-list="fileLists2"
|
||||
ref="xinwen"
|
||||
:title="filename"
|
||||
>
|
||||
<el-button size="small" type="primary">上传文件</el-button>
|
||||
<!-- <span slot="tip" class="el-upload__tip">只能上传一张不同的图片</span> -->
|
||||
@@ -1994,10 +2063,10 @@
|
||||
<div class="statistics" v-show="num == 0">
|
||||
<table style="position: relative;left: 62px;">
|
||||
<tr>
|
||||
<th>月份</th>
|
||||
<th>提交情况</th>
|
||||
<th>月报文件</th>
|
||||
<th>提交时间</th>
|
||||
<th style="border-right:1px solid white">月份</th>
|
||||
<th style="border-right:1px solid white">提交情况</th>
|
||||
<th style="border-right:1px solid white">月报文件</th>
|
||||
<th style="border-right:1px solid white">提交时间</th>
|
||||
</tr>
|
||||
<!-- <tr
|
||||
v-for="(names, index) in convers"
|
||||
@@ -2023,17 +2092,20 @@
|
||||
<td>{{ info.type }}</td>
|
||||
<!-- filename? filename.split('_')[0]+''+(filename.split('_')[0].includes('.')?'':'.'+filename.split('.')[1]):"" -->
|
||||
<td style="display:flex;flex-wrap:nowrap">
|
||||
<!-- {{info.elereport}} -->
|
||||
<!-- {{JSON.parse(info.elereport)}} -->
|
||||
<el-tooltip
|
||||
class="item"
|
||||
effect="dark"
|
||||
:content="info.elereport? (JSON.parse(info.elereport).name.split('_')[0]) + (JSON.parse(info.elereport).extension == undefined ? '' : '.' + JSON.parse(info.elereport).extension):'未上传'"
|
||||
:content="info.elereport? ((JSON.parse(info.elereport).names?JSON.parse(info.elereport).names.split('_')[0]:JSON.parse(info.elereport).name.split('_')[0])) + (JSON.parse(info.elereport).extension == undefined ? '' : '.' + JSON.parse(info.elereport).extension):'未上传'"
|
||||
placement="top"
|
||||
>
|
||||
|
||||
<a
|
||||
:href="info.elereport?JSON.parse(info.elereport).url:''"
|
||||
target="view_window"
|
||||
style="width:180px;display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis"
|
||||
>{{info.elereport? (JSON.parse(info.elereport).name.split('_')[0]) + (JSON.parse(info.elereport).extension == undefined ? '' : '.' + JSON.parse(info.elereport).extension):'未上传'}}</a>
|
||||
>{{info.elereport? ((JSON.parse(info.elereport).names?JSON.parse(info.elereport).names.split('_')[0]:JSON.parse(info.elereport).name.split('_')[0])) + (JSON.parse(info.elereport).extension == undefined ? '' : '.' + JSON.parse(info.elereport).extension):'未上传'}}</a>
|
||||
</el-tooltip>
|
||||
|
||||
<a
|
||||
@@ -2052,9 +2124,9 @@
|
||||
<div class="statistics" v-show="num == 1">
|
||||
<table class style="position: relative;left: 62px; table-layout: fixed;">
|
||||
<tr>
|
||||
<th>项目名称</th>
|
||||
<th>项目执行机构</th>
|
||||
<th>文件名称</th>
|
||||
<th style="border-right:1px solid white">项目名称</th>
|
||||
<th style="border-right:1px solid white">项目执行机构</th>
|
||||
<th style="border-right:1px solid white">文件名称</th>
|
||||
<th>提交时间</th>
|
||||
</tr>
|
||||
<!-- <tr
|
||||
@@ -2116,14 +2188,14 @@
|
||||
<el-tooltip
|
||||
class="item"
|
||||
effect="dark"
|
||||
:content="info.elereport?JSON.parse(info.elereport).name.split('_')[0]+'.'+JSON.parse(info.elereport).extension:'未上传'"
|
||||
:content="info.elereport?(JSON.parse(info.elereport).names?JSON.parse(info.elereport).names.split('_')[0]:JSON.parse(info.elereport).name.split('_')[0])+'.'+JSON.parse(info.elereport).extension:'未上传'"
|
||||
placement="top"
|
||||
>
|
||||
<a
|
||||
:href="info.elereport?JSON.parse(info.elereport).url:'未上传'"
|
||||
style="width:180px;display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis"
|
||||
target="_blank"
|
||||
>{{info.elereport?JSON.parse(info.elereport).name.split('_')[0]+'.'+JSON.parse(info.elereport).extension:'未上传'}}</a>
|
||||
>{{info.elereport?(JSON.parse(info.elereport).names?JSON.parse(info.elereport).names.split('_')[0]:JSON.parse(info.elereport).name.split('_')[0])+'.'+JSON.parse(info.elereport).extension:'未上传'}}</a>
|
||||
</el-tooltip>
|
||||
<a
|
||||
:href="info.elereport?JSON.parse(info.elereport).url:''"
|
||||
@@ -2215,6 +2287,14 @@ export default {
|
||||
props: {},
|
||||
data() {
|
||||
return {
|
||||
review_jx:'',
|
||||
review_my:'',
|
||||
review_zq:'',
|
||||
review_my_zq:'',
|
||||
review_my_zq_url:'',
|
||||
review_jx_url:'',
|
||||
review_my_url:'',
|
||||
review_zq_url:'',
|
||||
xinweiurl: "",
|
||||
dianziurl: "",
|
||||
fileLists2: [],
|
||||
@@ -2420,6 +2500,9 @@ export default {
|
||||
shili3: "",
|
||||
shili2: "",
|
||||
shili4: "",
|
||||
shili5: "",
|
||||
shili6: "",
|
||||
shili7: "",
|
||||
convers: [],
|
||||
num: 0,
|
||||
index_num: 2,
|
||||
@@ -2818,22 +2901,28 @@ export default {
|
||||
del() {
|
||||
this.filename = "";
|
||||
this.imageUrl = "";
|
||||
this.ruleForm.probook=''
|
||||
},
|
||||
del1() {
|
||||
this.filename1 = "";
|
||||
this.imageUrl1 = "";
|
||||
this.ruleForm.fangan=''
|
||||
},
|
||||
del2() {
|
||||
this.filename2 = "";
|
||||
this.imageUrl2 = "";
|
||||
this.ruleForm.pifu=''
|
||||
},
|
||||
del3() {
|
||||
this.filename3 = "";
|
||||
this.imageUrl3 = "";
|
||||
this.ruleForm.pact=''
|
||||
|
||||
},
|
||||
del4() {
|
||||
this.filename4 = "";
|
||||
this.imageUrl4 = "";
|
||||
this.ruleForm.promise=''
|
||||
},
|
||||
yulana(file) {
|
||||
console.log(file, 111);
|
||||
@@ -2875,15 +2964,35 @@ export default {
|
||||
: this.bgData.pact;
|
||||
this.ruleForm.promise = this.fileurl4.length
|
||||
? this.fileurl4
|
||||
: this.bgData.promise;
|
||||
if (this.filename.length && this.filename1.length) {
|
||||
: this.bgData.promise;
|
||||
if (this.filename.length ) {
|
||||
if (a == 1) {
|
||||
this.submit(0);
|
||||
} else if (a == 2) {
|
||||
this.submit(1);
|
||||
}
|
||||
|
||||
} else if (a != 0) {
|
||||
this.$alert("请完善资料", "提示", {
|
||||
this.$alert("请上传项目申报书", "提示", {
|
||||
confirmButtonText: "确定",
|
||||
callback: action => {
|
||||
// this.$message({
|
||||
// type: 'info',
|
||||
// message: ''
|
||||
// });
|
||||
}
|
||||
});
|
||||
return;
|
||||
}
|
||||
if (this.filename1.length ) {
|
||||
if (a == 1) {
|
||||
this.submit(0);
|
||||
} else if (a == 2) {
|
||||
this.submit(1);
|
||||
}
|
||||
|
||||
} else if (a != 0) {
|
||||
this.$alert("请上传实施方案", "提示", {
|
||||
confirmButtonText: "确定",
|
||||
callback: action => {
|
||||
// this.$message({
|
||||
@@ -2946,6 +3055,7 @@ export default {
|
||||
} else {
|
||||
_this.ruleForm.subStatus = 2;
|
||||
}
|
||||
console.log(_this.ruleForm,'123456789')
|
||||
this.$http({
|
||||
method: "post",
|
||||
url: "v1/project/apply-two",
|
||||
@@ -3138,6 +3248,7 @@ export default {
|
||||
}
|
||||
}
|
||||
if (this.ruleForm.pact) {
|
||||
console.log(this.ruleForm.pact,'pact')
|
||||
this.imageUrl3 = "/index/timg.jpg";
|
||||
var index = this.ruleForm.pact.lastIndexOf(".");
|
||||
var filetype = this.ruleForm.pact.substr(index + 1);
|
||||
@@ -3193,21 +3304,21 @@ export default {
|
||||
this.ruleForm1[m] = this.ruleForm[m];
|
||||
}
|
||||
this.assignment(this.bgData);
|
||||
this.filename = this.bgData.probook.substring(
|
||||
this.bgData.probook.lastIndexOf("/") + 1
|
||||
);
|
||||
this.filename1 = this.bgData.fangan.substring(
|
||||
this.bgData.fangan.lastIndexOf("/") + 1
|
||||
);
|
||||
this.filename2 = this.bgData.pifu.substring(
|
||||
this.bgData.pifu.lastIndexOf("/") + 1
|
||||
);
|
||||
this.filename3 = this.bgData.pact.substring(
|
||||
this.bgData.pact.lastIndexOf("/") + 1
|
||||
);
|
||||
this.filename4 = this.bgData.promise.substring(
|
||||
this.bgData.promise.lastIndexOf("/") + 1
|
||||
);
|
||||
this.filename = this.ruleForm.probook?this.ruleForm.probook.substring(
|
||||
this.ruleForm.probook.lastIndexOf("/") + 1
|
||||
):'';
|
||||
this.filename1 = this.ruleForm.fangan?this.ruleForm.fangan.substring(
|
||||
this.ruleForm.fangan.lastIndexOf("/") + 1
|
||||
):"";
|
||||
this.filename2 = this.ruleForm.pifu?this.ruleForm.pifu.substring(
|
||||
this.ruleForm.pifu.lastIndexOf("/") + 1
|
||||
):'';
|
||||
this.filename3 = this.ruleForm.pact?this.ruleForm.pact.substring(
|
||||
this.ruleForm.pact.lastIndexOf("/") + 1
|
||||
):'';
|
||||
this.filename4 = this.ruleForm.promise?this.ruleForm.promise.substring(
|
||||
this.ruleForm.promise.lastIndexOf("/") + 1
|
||||
):'';
|
||||
// this.status=res.data.data.data.ProjectDetails.status;
|
||||
// for(let i in res.data.data.data.ProjectReview){
|
||||
// if(res.data.data.data.ProjectReview[i].sta==1){
|
||||
@@ -3388,7 +3499,7 @@ export default {
|
||||
});
|
||||
});
|
||||
} else if (index == 1) {
|
||||
this.$confirm("此操作将提交到项目申报中心,是否继续?", "提示", {
|
||||
this.$confirm("确认是否提交项目优化信息,提交后不可修改!", "提示", {
|
||||
confirmButtonText: "确定",
|
||||
cancelButtonText: "取消",
|
||||
type: "warning"
|
||||
@@ -3443,11 +3554,11 @@ export default {
|
||||
// this.ruleForm.pact = this.fileurl3;
|
||||
// this.ruleForm.promise = this.fileurl4;
|
||||
if (
|
||||
this.ruleForm.probook.length &&
|
||||
this.ruleForm.fangan.length &&
|
||||
this.ruleForm.pifu.length &&
|
||||
this.ruleForm.pact.length &&
|
||||
this.ruleForm.promise.length
|
||||
this.ruleForm.probook &&
|
||||
this.ruleForm.fangan //&&
|
||||
// this.ruleForm.pifu.length &&
|
||||
// this.ruleForm.pact.length &&
|
||||
// this.ruleForm.promise.length
|
||||
) {
|
||||
this.submitYes(index);
|
||||
} else {
|
||||
@@ -3467,9 +3578,9 @@ export default {
|
||||
},
|
||||
beforeAvatarUpload() {},
|
||||
handleAvatarSuccess(res, file) {
|
||||
if (this.bgData.status == 1 || this.bgData.status == 4) {
|
||||
this.$message.warning("已提交的的附件不能更改");
|
||||
} else {
|
||||
if (this.bgData.status == 1 || this.bgData.status == 4) {
|
||||
this.$message.warning("已提交的的附件不能修改");
|
||||
}else{
|
||||
console.log(res, 1002);
|
||||
let houzui = file.split(".");
|
||||
houzui = houzui[houzui.length - 1];
|
||||
@@ -3495,23 +3606,53 @@ export default {
|
||||
this.imageUrl = "/static/img/txt.png";
|
||||
}
|
||||
this.fileid = res.id;
|
||||
|
||||
// var index = file.response.data.url.lastIndexOf(".");
|
||||
// var filetype = file.response.data.url.substr(index + 1);
|
||||
// this.fileid = file.response.data.id;
|
||||
// this.filename = file.response.data.name + "." + filetype;
|
||||
// this.fileurl = file.response.data.url;
|
||||
// this.ruleForm.probook = file.response.data.url;
|
||||
|
||||
// console.log(filetype);
|
||||
// if (filetype == "png" || filetype == "jpg" || filetype == "jpeg") {
|
||||
// this.imageUrl = file.response.data.url;
|
||||
// console.log(file.response.data.url);
|
||||
// } else {
|
||||
// this.imageUrl = "/index/timg.jpg";
|
||||
// }
|
||||
// console.log(file);
|
||||
}
|
||||
|
||||
// if (this.bgData.status == 1 || this.bgData.status == 4) {
|
||||
// this.$message.warning("已提交的的附件不能更改");
|
||||
// } else {
|
||||
// console.log(res, 1002);
|
||||
// let houzui = file.split(".");
|
||||
// houzui = houzui[houzui.length - 1];
|
||||
// console.log(res, file);
|
||||
// this.fileurl = res.url;
|
||||
// this.filename = res.name;
|
||||
// +"." + res.extension;
|
||||
// this.ruleForm.probook = res.url;
|
||||
|
||||
// if (houzui == "doc" || houzui == "docx") {
|
||||
// this.imageUrl = "/static/img/word.png";
|
||||
// } else if (houzui == "pptx" || houzui == "ppt") {
|
||||
// this.imageUrl = "/static/img/ppt.png";
|
||||
// } else if (houzui == "pdf") {
|
||||
// this.imageUrl = "/static/img/pdf.jpg";
|
||||
// } else if (houzui == "xls" || houzui == "xlsx") {
|
||||
// this.imageUrl = "/static/img/excel.png";
|
||||
// } else if (houzui == "jpg" || houzui == "jpeg" || houzui == "png") {
|
||||
// this.imageUrl = res.url;
|
||||
// } else if (houzui == "zip" || houzui == "rar") {
|
||||
// this.imageUrl = "/static/img/zip.png";
|
||||
// }else if (filetype == "txt") {
|
||||
// this.imageUrl = "/static/img/txt.png";
|
||||
// }
|
||||
// this.fileid = res.id;
|
||||
|
||||
// // var index = file.response.data.url.lastIndexOf(".");
|
||||
// // var filetype = file.response.data.url.substr(index + 1);
|
||||
// // this.fileid = file.response.data.id;
|
||||
// // this.filename = file.response.data.name + "." + filetype;
|
||||
// // this.fileurl = file.response.data.url;
|
||||
// // this.ruleForm.probook = file.response.data.url;
|
||||
|
||||
// // console.log(filetype);
|
||||
// // if (filetype == "png" || filetype == "jpg" || filetype == "jpeg") {
|
||||
// // this.imageUrl = file.response.data.url;
|
||||
// // console.log(file.response.data.url);
|
||||
// // } else {
|
||||
// // this.imageUrl = "/index/timg.jpg";
|
||||
// // }
|
||||
// // console.log(file);
|
||||
// }
|
||||
|
||||
// this.imageUrl = URL.createObjectURL(file.raw);
|
||||
// if (
|
||||
@@ -3603,7 +3744,7 @@ export default {
|
||||
// this.fileLists[0]=file
|
||||
this.$set(this.fileLists, 0, file);
|
||||
// console.log(this.fileLists)
|
||||
this.$message.warning("已提交的的附件不能删除");
|
||||
this.$message.warning("已提交的的附件不能修改");
|
||||
return;
|
||||
}
|
||||
},
|
||||
@@ -3707,6 +3848,8 @@ export default {
|
||||
});
|
||||
this.fileLists1 = [];
|
||||
this.dianziurl = "";
|
||||
// this.zData.name="";
|
||||
// this.zData.company=""
|
||||
} else {
|
||||
this.$message({
|
||||
type: "error",
|
||||
@@ -3897,10 +4040,10 @@ export default {
|
||||
}
|
||||
})
|
||||
.then(res => {
|
||||
console.log(res, 88888);
|
||||
//console.log(res, 88888);
|
||||
if (res.data.code === 200) {
|
||||
console.log(res);
|
||||
if (res.data.data.length != 0) {
|
||||
if (res.data.data.data.length != 0) {
|
||||
_this.executio = res.data.data.data[0];
|
||||
_this.jiance = res.data.data.data[0].det;
|
||||
_this.mont = res.data.data.data[0].mon;
|
||||
@@ -3915,8 +4058,27 @@ export default {
|
||||
_this.shili3 = shili3.substring(shili3.lastIndexOf("/") + 1);
|
||||
let shili4 = res.data.data.data[0].promise;
|
||||
_this.shili4 = shili4.substring(shili4.lastIndexOf("/") + 1);
|
||||
console.log(_this.executio, 5680);
|
||||
console.log(_this.newss, "aaaaz");
|
||||
|
||||
let shili6 = res.data.data.data[0].review_my;
|
||||
_this.review_my_url=shili6
|
||||
_this.review_my = shili6?shili6.substring(shili6.lastIndexOf("/") + 1):'';
|
||||
|
||||
let shili7 = res.data.data.data[0].review_zq;
|
||||
_this.review_zq_url=shili7
|
||||
_this.review_zq = shili7?shili7.substring(shili7.lastIndexOf("/") + 1):'';
|
||||
|
||||
let shili8 = res.data.data.data[0].review_my_zq;
|
||||
_this.review_my_zq_url=shili8
|
||||
_this.review_my_zq = shili8?shili8.substring(shili8.lastIndexOf("/") + 1):'';
|
||||
|
||||
let shili5 = res.data.data.data[0].review_jx;
|
||||
_this.review_jx_url = shili5;
|
||||
_this.review_jx = shili5?shili5.substring(shili5.lastIndexOf("/") + 1):'';
|
||||
|
||||
|
||||
// console.log(_this.review_jx,_this.review_zq,_this.review_my,'123')
|
||||
|
||||
// console.log(_this.newss, "aaaaz");
|
||||
} else {
|
||||
this.proinfo = false;
|
||||
}
|
||||
@@ -3936,38 +4098,38 @@ export default {
|
||||
},
|
||||
aboutUs(data) {
|
||||
console.log(data);
|
||||
this.aboutUsText = data;
|
||||
this.ruleForm.aboutUsText = data;
|
||||
},
|
||||
projectBrief(data) {
|
||||
this.projectBriefText = data;
|
||||
this.ruleForm.prodes = data;
|
||||
},
|
||||
existingBasis(data) {
|
||||
this.existingBasisText = data;
|
||||
this.ruleForm.prodemojc = data;
|
||||
},
|
||||
methodsWay(data) {
|
||||
this.methodsWayText = data;
|
||||
this.ruleForm.prodemotj = data;
|
||||
},
|
||||
scheduling(data) {
|
||||
this.schedulingText = data;
|
||||
this.ruleForm.prodemojd = data;
|
||||
},
|
||||
desiredEffect(data) {
|
||||
this.desiredEffectText = data;
|
||||
this.ruleForm.prodemoxg = data;
|
||||
},
|
||||
projectAssessment(data) {
|
||||
this.projectAssessmentText = data;
|
||||
this.ruleForm.prodemo = data;
|
||||
},
|
||||
divisionLabor(data) {
|
||||
this.divisionLaborText = data;
|
||||
this.ruleForm.prodemofg = data;
|
||||
},
|
||||
cover(data) {
|
||||
this.coverText = data;
|
||||
this.ruleForm.prodemotwo = data;
|
||||
},
|
||||
quillVal(data) {
|
||||
this.initialText = data;
|
||||
this.ruleForm.funds = data;
|
||||
},
|
||||
handleAvatarSuccess1(res, file) {
|
||||
if (this.bgData.status == 1 || this.bgData.status == 4) {
|
||||
this.$message.warning("已提交的的附件不能删除");
|
||||
this.$message.warning("已提交的的附件不能修改");
|
||||
} else {
|
||||
console.log(res, 1002);
|
||||
let houzui = file.split(".");
|
||||
@@ -4035,7 +4197,7 @@ export default {
|
||||
handleAvatarSuccess2(res, file) {
|
||||
console.log(this.bgData.status, "kkkk");
|
||||
if (this.bgData.status == 1 || this.bgData.status == 4) {
|
||||
this.$message.warning("已提交的的附件不能删除");
|
||||
this.$message.warning("已提交的的附件不能修改");
|
||||
} else {
|
||||
console.log(res, 1002);
|
||||
let houzui = file.split(".");
|
||||
@@ -4058,9 +4220,9 @@ export default {
|
||||
this.imageUrl2 = res.url;
|
||||
}else if (houzui == "zip" || houzui == "rar") {
|
||||
this.imageUrl2 = "/static/img/zip.png";
|
||||
}else if (filetype == "txt") {
|
||||
}else if (houzui == "txt") {
|
||||
this.imageUrl2 = "/static/img/txt.png";
|
||||
}s
|
||||
}
|
||||
|
||||
// console.log(file);
|
||||
// var index = file.response.data.url.lastIndexOf(".");
|
||||
@@ -4167,7 +4329,7 @@ export default {
|
||||
},
|
||||
handleAvatarSuccess4(res, file) {
|
||||
if (this.bgData.status == 1 || this.bgData.status == 4) {
|
||||
this.$message.warning("已提交的的附件不能删除");
|
||||
this.$message.warning("已提交的的附件不能修改");
|
||||
} else {
|
||||
console.log(res, 1002);
|
||||
let houzui = file.split(".");
|
||||
@@ -4298,7 +4460,7 @@ export default {
|
||||
// width: 575px;
|
||||
// }
|
||||
.wrapper /deep/ .el-upload-list__item-name {
|
||||
width: 447px;
|
||||
width: 310px;
|
||||
position: relative;
|
||||
// left: 163px;
|
||||
}
|
||||
@@ -4321,6 +4483,7 @@ export default {
|
||||
left: -15px;
|
||||
label {
|
||||
width: 150px;
|
||||
margin-top: 10px;
|
||||
}
|
||||
}
|
||||
.d1 {
|
||||
@@ -4334,7 +4497,7 @@ export default {
|
||||
right: 474px;
|
||||
}
|
||||
.yulan {
|
||||
margin-left: 25px !important;
|
||||
margin-left: 15px !important;
|
||||
}
|
||||
.wrapper /deep/ th {
|
||||
height: 64px !important;
|
||||
@@ -4449,7 +4612,7 @@ export default {
|
||||
margin-bottom: 60px;
|
||||
margin-left: 46px;
|
||||
p {
|
||||
font-family: "MicrosoftYaHei";
|
||||
// font-family: "MicrosoftYaHei";
|
||||
font-size: 18px;
|
||||
font-weight: normal;
|
||||
font-stretch: normal;
|
||||
@@ -4471,9 +4634,9 @@ export default {
|
||||
}
|
||||
|
||||
.one-o {
|
||||
width: 86%;
|
||||
width: 100%;
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
justify-content: center;
|
||||
// align-items: center;
|
||||
margin-top: 30px;
|
||||
margin-bottom: 60px;
|
||||
@@ -4489,6 +4652,7 @@ export default {
|
||||
border-radius: 5px;
|
||||
padding: 30px 0 0 20px;
|
||||
box-sizing: border-box;
|
||||
margin-right: 56px;
|
||||
|
||||
li {
|
||||
font-family: "MicrosoftYaHei";
|
||||
@@ -4869,7 +5033,7 @@ export default {
|
||||
// float: left;
|
||||
}
|
||||
.excute_rt span {
|
||||
padding-right: 20px;
|
||||
padding-right: 10px;
|
||||
font-size: 14px;
|
||||
color: #7471ef;
|
||||
}
|
||||
@@ -5058,7 +5222,7 @@ select {
|
||||
align-items: flex-start;
|
||||
|
||||
.avatar-uploader {
|
||||
margin-right: 20px;
|
||||
margin-right: 40px;
|
||||
}
|
||||
}
|
||||
.rich {
|
||||
|
||||
@@ -14,15 +14,15 @@
|
||||
<div class="infotablebg">
|
||||
<div class="infotable">
|
||||
<div class="tabletitle">社会组织信息</div>
|
||||
<table>
|
||||
<table width=1089>
|
||||
<!-- <tr>
|
||||
<th class="tabletitle">社会组织信息</th>
|
||||
</tr>-->
|
||||
|
||||
<tr>
|
||||
<td class="key">社会组织名称</td>
|
||||
<td class="val">{{result.name?result.name:"无"}}</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="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==2">正常</td>
|
||||
@@ -32,7 +32,7 @@
|
||||
<td class="key">统一社会信用代码</td>
|
||||
<td class="val">{{result.unicode?result.unicode:"无"}}</td>
|
||||
<td class="key">注册地址</td>
|
||||
<td class="val">{{result.reg_area?result.reg_area:"无"}}</td>
|
||||
<td class="val" :title="result.reg_area"><div style="width:266px;margin:0 auto;white-space: nowrap;text-overflow: ellipsis;overflow: hidden;">{{result.reg_area?result.reg_area:"无"}}</div></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="key">社会组织类型</td>
|
||||
@@ -42,7 +42,7 @@
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="key">业务主管单位</td>
|
||||
<td class="val">{{result.supervisor?result.supervisor:"无"}}</td>
|
||||
<td class="val" :title="result.supervisor"><div style="width:266px;margin:0 auto;white-space: nowrap;text-overflow: ellipsis;overflow: hidden;">{{result.supervisor?result.supervisor:"无"}}</div></td>
|
||||
<td class="key">开办资金</td>
|
||||
<td class="val">{{result.money?result.money:"无"}}</td>
|
||||
</tr>
|
||||
@@ -53,20 +53,20 @@
|
||||
<td class="val">{{result.start_time}}--{{result.end_time}}</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="key">2016年年检情况</td>
|
||||
<td class="key">年检情况</td>
|
||||
<td class="val">{{result.sec_age?result.sec_age:"无"}}</td>
|
||||
<td class="key">评估情况</td>
|
||||
<td class="val">{{result.assess?result.assess:"无"}}</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="key">
|
||||
<p class="keywrap">承接政府购买服务情况</p>
|
||||
<div style="width:100%;margin:0 auto;white-space: nowrap;text-overflow: ellipsis;overflow: hidden;">承接政府购买服务情况</div>
|
||||
</td>
|
||||
<td class="val">
|
||||
<p class="valwrap">{{result.accept_buy?result.accept_buy:"无"}}</p>
|
||||
<div>{{result.accept_buy?result.accept_buy:"无"}}</div>
|
||||
</td>
|
||||
<td class="key">
|
||||
<p class="keywrap">接受表彰情况</p>
|
||||
<div style="width:100%;margin:0 auto;text-align:center">接受表彰情况</div>
|
||||
</td>
|
||||
<td class="val">
|
||||
<p class="valwrap">{{result.accept_honor?result.accept_honor:"无"}}</p>
|
||||
@@ -81,7 +81,7 @@
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="key">
|
||||
<p>活动异常情况时限</p>
|
||||
<div>活动异常情况时限</div>
|
||||
</td>
|
||||
<td class="val">
|
||||
<p>{{result.activity_unusual_start}}--{{result.activity_unusual_end}}</p>
|
||||
@@ -90,25 +90,25 @@
|
||||
<p>严重失信情况</p>
|
||||
</td>
|
||||
<td class="val">
|
||||
<p>{{result.break_faith?result.break_faith:"无"}}</p>
|
||||
<div>{{result.break_faith?result.break_faith:"无"}}</div>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
<table>
|
||||
<table width=1089>
|
||||
<tr>
|
||||
<td class="key">严重失信情况时限</td>
|
||||
<td class="valself">{{result.break_faith_start}}--{{result.break_faith_end}}</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="key">业务范围</td>
|
||||
<td class="key" style="display:table-cell; vertical-align:middle">业务范围</td>
|
||||
<td class="valself">{{result.business?result.business:"无"}}</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="key">
|
||||
<p class="keywrap">变更信息</p>
|
||||
<td class="key" style="display:table-cell; vertical-align:middle;">
|
||||
<div>变更信息</div>
|
||||
</td>
|
||||
<td class="valself">
|
||||
<p>{{result.change_info?result.change_info:"无"}}</p>
|
||||
<div>{{result.change_info?result.change_info:"无"}}</div>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
@@ -200,7 +200,7 @@ export default {
|
||||
margin-top: 36px;
|
||||
.tabletitle {
|
||||
background-color: #f24e77;
|
||||
width: 1070px;
|
||||
width: 1089px;
|
||||
height: 60px;
|
||||
color: white;
|
||||
text-align: center;
|
||||
@@ -212,8 +212,7 @@ export default {
|
||||
height: 40px;
|
||||
line-height: 40px;
|
||||
background-color: #f7f5f6;
|
||||
text-align: left;
|
||||
text-indent: 40px;
|
||||
text-align: center;
|
||||
}
|
||||
.keywrap {
|
||||
width: 114px;
|
||||
@@ -226,7 +225,6 @@ export default {
|
||||
.valwrap {
|
||||
// line-height: 50px;
|
||||
position: relative;
|
||||
top: 15px;
|
||||
}
|
||||
.valself {
|
||||
width: 802px;
|
||||
@@ -239,6 +237,7 @@ export default {
|
||||
width: 266px;
|
||||
height: 40px;
|
||||
line-height: 40px;
|
||||
overflow: hidden;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
Before Width: | Height: | Size: 3.2 KiB After Width: | Height: | Size: 3.7 KiB |
|
Before Width: | Height: | Size: 3.2 KiB After Width: | Height: | Size: 3.7 KiB |
|
Before Width: | Height: | Size: 7.9 KiB After Width: | Height: | Size: 4.7 KiB |
|
Before Width: | Height: | Size: 3.4 KiB After Width: | Height: | Size: 3.8 KiB |
|
Before Width: | Height: | Size: 19 KiB After Width: | Height: | Size: 3.7 KiB |
|
Before Width: | Height: | Size: 2.4 KiB After Width: | Height: | Size: 19 KiB |
|
Before Width: | Height: | Size: 7.4 KiB After Width: | Height: | Size: 20 KiB |