初始代码

This commit is contained in:
wangmingwei
2026-04-21 16:55:00 +08:00
parent be9f1657b9
commit 35101db700
1335 changed files with 211213 additions and 0 deletions

View File

@@ -0,0 +1,31 @@
<template>
<view>
<web-view :src="fileUrl"></web-view>
</view>
</template>
<script>
import {
getDownloadUrl
} from '@/api/common'
export default {
data() {
return {
fileUrl: ''
}
},
onLoad(e) {
uni.setNavigationBarTitle({
title: e.name
})
this.getFileUrl(e.fileId)
},
methods: {
getFileUrl(fileId) {
getDownloadUrl('workFlow', fileId).then(res => {
this.fileUrl = this.define.baseURL + res.data.url;
})
}
}
}
</script>