|
|
|
@ -240,10 +240,12 @@
|
|
|
|
|
</template>
|
|
|
|
|
|
|
|
|
|
<script>
|
|
|
|
|
import download from "downloadjs"
|
|
|
|
|
import { listDmsFiles, getDmsFiles, delDmsFiles, addDmsFiles, updateDmsFiles } from "@/api/dms/dmsFiles";
|
|
|
|
|
import { getToken } from '@/utils/auth'
|
|
|
|
|
import {getDeviceLedgerList, listLedger} from '@/api/dms/ledger'
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
export default {
|
|
|
|
|
name: "DmsFiles",
|
|
|
|
|
props: {
|
|
|
|
@ -262,7 +264,7 @@ export default {
|
|
|
|
|
// 文件类型, 例如['png', 'jpg', 'jpeg']
|
|
|
|
|
fileType: {
|
|
|
|
|
type: Array,
|
|
|
|
|
default: () => ["jpg", "jpg", "doc", "docs", "pdf"],
|
|
|
|
|
default: () => ["jpg", "jpg", "doc", "docs", "pdf","docx","txt"],
|
|
|
|
|
},
|
|
|
|
|
// 是否显示提示
|
|
|
|
|
isShowTip: {
|
|
|
|
@ -374,7 +376,8 @@ export default {
|
|
|
|
|
|
|
|
|
|
methods: {
|
|
|
|
|
jumpTo(url){
|
|
|
|
|
window.open(url,"_blank");
|
|
|
|
|
download(url);
|
|
|
|
|
// window.open(url,"_blank");
|
|
|
|
|
},
|
|
|
|
|
/** 查询设备台账信息列表 */
|
|
|
|
|
getDeviveLedger() {
|
|
|
|
|