调整错误
This commit is contained in:
File diff suppressed because it is too large
Load Diff
@@ -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('该表单已有数据,无法编辑!')
|
||||
}
|
||||
|
||||
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user