调整错误

This commit is contained in:
aixianling
2021-11-23 17:16:13 +08:00
parent fd8234cc87
commit f63ace3b70
4 changed files with 620 additions and 620 deletions

File diff suppressed because it is too large Load Diff

View File

@@ -83,14 +83,14 @@
</template>
<script>
import AiTopFixed from '@/components/AiTopFixed'
import AiEmpty from '@/components/AiEmpty'
import {mapActions} from 'vuex'
import AiTopFixed from "../../../components/AiTopFixed";
import AiEmpty from "../../../components/AiEmpty";
export default {
name: 'formList',
label: '表单列表',
components: {AiEmpty, AiTopFixed},
data() {
return {
search: {
@@ -106,12 +106,6 @@ export default {
isShow: false
}
},
components: {
AiEmpty,
AiTopFixed
},
mounted() {
this.injectJWeixin(['sendChatMessage', 'selectEnterpriseContact'])
this.$dict.load(['questionnaireStatus', 'questionnaireType', 'questionnaireFieldType']).then(() => {
@@ -205,7 +199,7 @@ export default {
this.isShow = false
},
toEdit () {
toEdit() {
if (this.info.dataCount !== 0) {
return this.$u.toast('该表单已有数据,无法编辑!')
}

View File

@@ -11,30 +11,30 @@
<script>
import AddList from './AddList.vue'
import List from './List.vue'
import AiTabbar from '@/components/AiTabbar'
import AiTabbar from "../../../components/AiTabbar";
export default {
name: 'AppAskForm',
appName: '问卷表单',
data () {
data() {
return {
currIndex: 0
}
},
components: {
AddList,
AiTabbar,
AddList,
List
},
computed: {
tabBar () {
tabBar() {
const link = icon => `${this.$cdn}askform/${icon}.png`
return [
{text: "表单列表", iconPath: "bdlb1", selectedIconPath: "bdlb2" },
{text: "新建项目", iconPath: "xjxm1", selectedIconPath: "xjxm2" }
{text: "表单列表", iconPath: "bdlb1", selectedIconPath: "bdlb2"},
{text: "新建项目", iconPath: "xjxm1", selectedIconPath: "xjxm2"}
].map(e => ({
...e,
iconPath: link(e.iconPath),
@@ -43,7 +43,7 @@ export default {
}
},
onLoad () {
onLoad() {
uni.$on('reload', () => {
if (this.currIndex === 0) {
this.$refs.list.reload()
@@ -54,7 +54,7 @@ export default {
},
methods: {
onChange (e) {
onChange(e) {
this.$emit('change', e)
}
},
@@ -68,7 +68,7 @@ export default {
</script>
<style lang="scss" scoped>
.form {
padding-bottom: 98px;
}
.form {
padding-bottom: 98px;
}
</style>

View File

@@ -1,39 +1,41 @@
<template>
<div class="emptyWrap">
<img class="emptyImg" src="https://cdn.cunwuyun.cn/dvcp/h5/Empty.png">
<div class="emptyText">{{description}}</div>
</div>
<div class="emptyWrap">
<img class="emptyImg" src="https://cdn.cunwuyun.cn/dvcp/h5/Empty.png">
<div class="emptyText">{{ description }}</div>
</div>
</template>
<script>
export default {
name:"emptyData",
props:{
description:{
default:'暂无相关信息',
type:String
}
export default {
name: "AiEmpty",
props: {
description: {
default: '暂无相关信息',
type: String
}
}
}
</script>
<style lang="scss" scoped>
.emptyWrap {
width: 100%;
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
.emptyImg{
width: 400rpx;
height: 240rpx;
margin-top: 112px;
}
.emptyText{
font-size:29rpx;
font-family:PingFangSC-Regular,PingFang SC;
font-weight:400;
color:rgba(183,183,183,1);
}
}
.emptyWrap {
width: 100%;
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
.emptyImg {
width: 400 rpx;
height: 240 rpx;
margin-top: 112px;
}
.emptyText {
font-size: 29 rpx;
font-family: PingFangSC-Regular, PingFang SC;
font-weight: 400;
color: rgba(183, 183, 183, 1);
}
}
</style>