|
@@ -25,7 +25,7 @@
|
|
<view class="tit">{{datainfo.replyContent}}</view>
|
|
<view class="tit">{{datainfo.replyContent}}</view>
|
|
<block v-if="datainfo.suggestionFjList">
|
|
<block v-if="datainfo.suggestionFjList">
|
|
<view class="fjlists" v-for="(fite,fidx) in datainfo.suggestionFjList" :key='fidx'>
|
|
<view class="fjlists" v-for="(fite,fidx) in datainfo.suggestionFjList" :key='fidx'>
|
|
- <view class="flext" @click="getDown(fite.url)">
|
|
|
|
|
|
+ <view class="flext" @click="getDownloader(fite.url,fite.name)">
|
|
<view class="imgl"><image :src="filico" ></image></view>
|
|
<view class="imgl"><image :src="filico" ></image></view>
|
|
<view class="tit">{{fite.name}}</view>
|
|
<view class="tit">{{fite.name}}</view>
|
|
</view>
|
|
</view>
|
|
@@ -50,6 +50,8 @@
|
|
<script>
|
|
<script>
|
|
import config from '@/config'
|
|
import config from '@/config'
|
|
const baseUrl = config.baseUrl
|
|
const baseUrl = config.baseUrl
|
|
|
|
+ const baseName = config.baseName
|
|
|
|
+ import self from '@/utils/location.js';
|
|
import popUp from "@/service/components/popup/popup.vue"
|
|
import popUp from "@/service/components/popup/popup.vue"
|
|
import { checkPermi, checkRole } from "@/utils/permission"; // 权限判断函数
|
|
import { checkPermi, checkRole } from "@/utils/permission"; // 权限判断函数
|
|
import {suggestionlDet,suggestionlPut} from "@/api/work/service.js"
|
|
import {suggestionlDet,suggestionlPut} from "@/api/work/service.js"
|
|
@@ -165,6 +167,7 @@
|
|
title: '加载中'
|
|
title: '加载中'
|
|
});
|
|
});
|
|
var url = baseUrl + path;
|
|
var url = baseUrl + path;
|
|
|
|
+ console.log(url)
|
|
let dtask = plus.downloader.createDownload(url, {
|
|
let dtask = plus.downloader.createDownload(url, {
|
|
filename: 'file://storage/emulated/0/'+baseName+'/' + name
|
|
filename: 'file://storage/emulated/0/'+baseName+'/' + name
|
|
}, (d, status) => {
|
|
}, (d, status) => {
|