Commit d4261a8b by 前端

BUG及样式问题修改

1 parent 8b1c8994
......@@ -247,22 +247,22 @@ export const Util = {
// throw new Error("Unable to clone obj! Its type isn't supported.")
// },
/**
* url下载文件
*
*/
downLoadFile: function(url) {
// console.log(row)
// return
const Temp = document.createElement('a')
// Temp.href = process.env.VUE_APP_BASE_URL + '/article/export.do?articleId=' + row.id
Temp.href = url + '?timestamp=' + new Date().getTime()
// console.log(url)
// console.log(Temp.href)
document.body.append(Temp)
Temp.click()
document.body.removeChild(Temp)
},
// /**
// * url下载文件
// *
// */
// downLoadFile: function(url) {
// // console.log(row)
// // return
// const Temp = document.createElement('a')
// // Temp.href = process.env.VUE_APP_BASE_URL + '/article/export.do?articleId=' + row.id
// Temp.href = url + '?timestamp=' + new Date().getTime()
// // console.log(url)
// // console.log(Temp.href)
// document.body.append(Temp)
// Temp.click()
// document.body.removeChild(Temp)
// },
/**
* @param {Object} json
......@@ -332,10 +332,27 @@ export const Util = {
}
}
/**
* url下载文件
*
*/
export function downLoadFile(url) {
// console.log(row)
// return
const Temp = document.createElement('a')
// Temp.href = process.env.VUE_APP_BASE_URL + '/article/export.do?articleId=' + row.id
Temp.href = url + '?timestamp=' + new Date().getTime()
// console.log(url)
// console.log(Temp.href)
document.body.append(Temp)
Temp.click()
document.body.removeChild(Temp)
}
export const showModal = Util.msg
export const showToast = Util.Info
export const showLoading = Util.loading
export const hideLoading = Util.closeLoading
export const deepClone = Util.deepClone
export const downLoadFile = Util.downLoadFile
// export const downLoadFile = Util.downLoadFile
export const returnFloat = Util.returnFloat
......@@ -466,7 +466,7 @@ export default {
}
}
</script>
<style scoped>
<style scoped lang="scss">
.tip-cla {
margin: 16px 0 16px 0;
width: 1184px;
......
<template>
<div class="shop">
<GLTabs v-model="activeName" :tabPaneList="tabPaneList" @tab-click="handleClick"></GLTabs>
<div>
<GLTabs v-model="activeName"
:tabPaneList="tabPaneList"
@tab-click="handleClick"></GLTabs>
<components :is="tabName"></components>
<!-- v-if="tabName == 'ResidentPerformance'"
<ResidentPerformance></ResidentPerformance>
<TechnicianPerformance></TechnicianPerformance> -->
</div>
</template>
<script>
import ResidentPerformance from './components/residentPerformance.vue'
import TechnicianPerformance from './components/technicianPerformance.vue'
// import serviceCenter from '../serviceCenter/index'
export default {
components: {
// serviceCenter
ResidentPerformance,
TechnicianPerformance
},
......@@ -48,4 +45,5 @@ export default {
}
}
</script>
<style scoped></style>
<style scoped lang="scss">
</style>
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!