|
@@ -11,7 +11,8 @@
|
|
|
<NomMarkerWord v-if="wordData['type']==1 && wordData['state']==0" :wordData="wordData" :total="total"/>
|
|
|
<markeractivityWordShow ref="myChild" v-if="wordData['state']!=0 || downloadDig" :wordData="wordData" :total="total"/>
|
|
|
<div>
|
|
|
- <el-button type="primary" @click="downloadDig=true">下载表单</el-button>
|
|
|
+ <el-button type="primary" @click="downloadWordDig=true">下载表单(Word)</el-button>
|
|
|
+ <el-button type="primary" @click="downloadDig=true">下载表单(PDF)</el-button>
|
|
|
<el-button type="primary" v-if="wordData['state']==0" @click="test">立即修改</el-button>
|
|
|
</div>
|
|
|
<el-dialog
|
|
@@ -28,7 +29,7 @@
|
|
|
</el-dialog>
|
|
|
<!-- 下载文档开始 -->
|
|
|
<el-dialog
|
|
|
- title="下载文档"
|
|
|
+ title="下载文档(PDF)"
|
|
|
:visible.sync="downloadDig"
|
|
|
width="600px"
|
|
|
class="pageSubmitData">
|
|
@@ -38,6 +39,18 @@
|
|
|
<el-button type="primary" @click="downloadWord" class="AllDialogBtn">确认</el-button>
|
|
|
<el-button @click="downloadDig=false" class="AllDialogBtn" >取消</el-button>
|
|
|
</span>
|
|
|
+ </el-dialog>
|
|
|
+ <el-dialog
|
|
|
+ title="下载文档(Word)"
|
|
|
+ :visible.sync="downloadWordDig"
|
|
|
+ width="600px"
|
|
|
+ class="pageSubmitData">
|
|
|
+
|
|
|
+ <div class="deleteContent">确定下载文档?</div>
|
|
|
+ <span slot="footer" class="dialog-footer">
|
|
|
+ <el-button type="primary" @click="getActivityWord" class="AllDialogBtn">确认</el-button>
|
|
|
+ <el-button @click="downloadWordDig=false" class="AllDialogBtn" >取消</el-button>
|
|
|
+ </span>
|
|
|
</el-dialog>
|
|
|
<!-- 下载文档结束-->
|
|
|
</div>
|
|
@@ -56,6 +69,7 @@
|
|
|
loading:false,
|
|
|
submitHint:false,
|
|
|
downloadDig:false,
|
|
|
+ downloadWordDig:false,
|
|
|
wordData:{
|
|
|
allFund:0,
|
|
|
acId:"",//活动ID
|
|
@@ -277,14 +291,15 @@
|
|
|
// getWord(this.downWordData)
|
|
|
// this.downloadDig=false;
|
|
|
},
|
|
|
- // getActivityWord(){
|
|
|
- // // if(this.wordData['type']==0){
|
|
|
- // // this.$message.info("正在下载创客活动表单");
|
|
|
- // makerActivityWord(this.wordData,this.total)
|
|
|
- // // }else if(this.wordData['type']==1){
|
|
|
- // // this.$message.info("正在下载个人创客表单")
|
|
|
- // // }
|
|
|
- // }
|
|
|
+ getActivityWord(){
|
|
|
+ // if(this.wordData['type']==0){
|
|
|
+ // this.$message.info("正在下载创客活动表单");
|
|
|
+ makerActivityWord(this.wordData,this.total)
|
|
|
+ this.downloadWordDig = false;
|
|
|
+ // }else if(this.wordData['type']==1){
|
|
|
+ // this.$message.info("正在下载个人创客表单")
|
|
|
+ // }
|
|
|
+ }
|
|
|
},
|
|
|
computed:{
|
|
|
total() {
|