master
parent
6894407e54
commit
e7ec1b19ac
@ -0,0 +1,3 @@
|
|||||||
|
export function valueFormatter(row) {
|
||||||
|
return row.limitNum +' 以上 '
|
||||||
|
};
|
@ -0,0 +1,49 @@
|
|||||||
|
<template>
|
||||||
|
<div class="main-content">
|
||||||
|
|
||||||
|
</div>
|
||||||
|
</template>
|
||||||
|
|
||||||
|
<script>
|
||||||
|
import {defineComponent, reactive, ref, getCurrentInstance} from 'vue'
|
||||||
|
export default defineComponent({
|
||||||
|
name: 'v-transformResult',
|
||||||
|
setup() {
|
||||||
|
const activeId = reactive({
|
||||||
|
value: 0
|
||||||
|
});
|
||||||
|
const { proxy } = getCurrentInstance();
|
||||||
|
return {
|
||||||
|
proxy,
|
||||||
|
activeId
|
||||||
|
}
|
||||||
|
},
|
||||||
|
mounted() {
|
||||||
|
this.getApi();
|
||||||
|
},
|
||||||
|
methods: {
|
||||||
|
getApi() {
|
||||||
|
if(this.$route.params.id) {
|
||||||
|
this.proxy.$post("/task/detail", {id: this.$route.params.id}).then(res => {
|
||||||
|
|
||||||
|
}).catch(() => {});
|
||||||
|
}
|
||||||
|
},
|
||||||
|
}
|
||||||
|
})
|
||||||
|
</script>
|
||||||
|
|
||||||
|
<style lang="less">
|
||||||
|
.form-area {
|
||||||
|
width: 600px;
|
||||||
|
height: 300px;
|
||||||
|
}
|
||||||
|
.img-upload {
|
||||||
|
font-size: 28px;
|
||||||
|
color: #8c939d;
|
||||||
|
width: 135px;
|
||||||
|
height: 135px;
|
||||||
|
text-align: center;
|
||||||
|
border: 1px solid;
|
||||||
|
}
|
||||||
|
</style>
|
Loading…
Reference in new issue