Commit 05fa27d3 authored by 王启林's avatar 王启林

parent 595e7d05
...@@ -11,8 +11,8 @@ html * { ...@@ -11,8 +11,8 @@ html * {
} }
html, html,
body { body {
height: 100%; /* height: 100%; */
min-height: 100%; /* min-height: 100%; */
font-family: "Microsoft Yahei", "Helvetica Neue", Helvetica, STHeiTi, Arial, sans-serif; font-family: "Microsoft Yahei", "Helvetica Neue", Helvetica, STHeiTi, Arial, sans-serif;
} }
body { body {
......
...@@ -13,13 +13,13 @@ html * { ...@@ -13,13 +13,13 @@ html * {
html, html,
body { body {
height: 100%; // height: 100vh;
min-height: 100%; // min-height: 100%;
font-family: "Microsoft Yahei", "Helvetica Neue", Helvetica, STHeiTi, Arial, font-family: "Microsoft Yahei", "Helvetica Neue", Helvetica, STHeiTi, Arial,
sans-serif; sans-serif;
} }
body { body {
overflow-y: scroll; // overflow-y: scroll;
} }
body, body,
div, div,
......
...@@ -330,7 +330,7 @@ export default { ...@@ -330,7 +330,7 @@ export default {
}, },
// 格式化单元格数据 // 格式化单元格数据
formatterDate(row, column) { formatterDate(row, column) {
console.log("date:",row,column) // console.log("date:",row,column)
return formatterDate(row, column); return formatterDate(row, column);
}, },
// 格式化单元格数据 只要年月日 // 格式化单元格数据 只要年月日
...@@ -565,7 +565,7 @@ export default { ...@@ -565,7 +565,7 @@ export default {
}, },
// 查看 // 查看
toView(row, query) { toView(row, query) {
console.log(this.pageInfo.view); // console.log(this.pageInfo.view);
this.$router.push({ this.$router.push({
path: this.pageInfo.view, path: this.pageInfo.view,
query: Object.assign({}, { id: row.id }, query), query: Object.assign({}, { id: row.id }, query),
......
...@@ -13,7 +13,6 @@ ...@@ -13,7 +13,6 @@
:empty-text="emptytxt ? emptytxt : emptyText" :empty-text="emptytxt ? emptytxt : emptyText"
border border
style="width: 100%" style="width: 100%"
height="530"
> >
<el-table-column <el-table-column
v-for="column in columns" v-for="column in columns"
......
...@@ -8,7 +8,6 @@ ...@@ -8,7 +8,6 @@
:row-class-name="tableRowClassName" :row-class-name="tableRowClassName"
:default-expand-all="expand" :default-expand-all="expand"
:tree-props="{ children: 'children', hasChildren: 'hasChildren' }" :tree-props="{ children: 'children', hasChildren: 'hasChildren' }"
height="520"
> >
<el-table-column <el-table-column
......
...@@ -9,7 +9,7 @@ ...@@ -9,7 +9,7 @@
:isOpen="isOpen" :isOpen="isOpen"
v-if="menuPage === 'left'" v-if="menuPage === 'left'"
/> />
<div style="padding:15px"> <div class="layout">
<router-view :class="{ active: !isOpen }" /> <router-view :class="{ active: !isOpen }" />
</div> </div>
</div> </div>
...@@ -57,6 +57,10 @@ export default { ...@@ -57,6 +57,10 @@ export default {
</script> </script>
<style lang="less"> <style lang="less">
.layout{
padding: 15px 15px 0 15px ;
box-sizing: border-box;
}
.page { .page {
min-height: calc(100vh - 100px); min-height: calc(100vh - 100px);
width: 100%; width: 100%;
......
...@@ -4,6 +4,7 @@ ...@@ -4,6 +4,7 @@
<el-button class="backBtn" size="small" @click="$router.back()">返回上一级</el-button> <el-button class="backBtn" size="small" @click="$router.back()">返回上一级</el-button>
<el-tabs v-model="tabs"> <el-tabs v-model="tabs">
<el-tab-pane label="设计问卷" name="1"> <el-tab-pane label="设计问卷" name="1">
<!-- 步骤1 填写问卷名称 -->
<div style="width: 800px;margin: 100px auto;" v-show="step"> <div style="width: 800px;margin: 100px auto;" v-show="step">
<el-form :model="titleForm" :rules="titleRules" ref="titleForm"> <el-form :model="titleForm" :rules="titleRules" ref="titleForm">
<el-form-item label="问卷名称:" prop="title" label-width="125px"> <el-form-item label="问卷名称:" prop="title" label-width="125px">
...@@ -20,20 +21,22 @@ ...@@ -20,20 +21,22 @@
</div> </div>
</el-form> </el-form>
</div> </div>
<!-- 动态表单配置 -->
<div v-show="!step"> <div v-show="!step">
<fc-designer style="height: 79vh;" ref="designer"> <fc-designer style="height: 79vh;" ref="designer">
<template slot="handle"> <template slot="handle">
<ElButton style="margin-left: 10px;" icon="el-icon-upload" type="primary" size="small" <ElButton style="margin-left: 10px;" icon="el-icon-upload" type="primary" size="small"
@click="issueBtn" round>问卷发布 @click="issueBtn" round>问卷发布
</ElButton> </ElButton>
<!-- <ElButton style="margin-left: 10px;" icon="el-icon-upload" type="primary" size="small" <ElButton style="margin-left: 10px;" icon="el-icon-position" type="warning" size="small"
@click="issueBtn" round>外部链接 @click="issueBtn" round>外部链接
</ElButton> --> </ElButton>
<ElButton icon="el-icon-view" type="success" size="small" @click="showDrawer" round>手机模拟预览 <ElButton icon="el-icon-view" type="success" size="small" @click="showDrawer" round>手机预览
</ElButton> </ElButton>
</template> </template>
</fc-designer> </fc-designer>
</div> </div>
<!-- 手机模拟预览 -->
<el-drawer :visible.sync="drawer" title="预览"> <el-drawer :visible.sync="drawer" title="预览">
<div class="showPhone"> <div class="showPhone">
<div class="phone"> <div class="phone">
...@@ -44,7 +47,7 @@ ...@@ -44,7 +47,7 @@
</div> </div>
</div> </div>
</el-drawer> </el-drawer>
<!-- 问卷发布弹出框 -->
<el-dialog title="问卷发布" :visible.sync="issueDialog" width="30%" top="25vh"> <el-dialog title="问卷发布" :visible.sync="issueDialog" width="30%" top="25vh">
<el-form :model="issueForm" :rules="issueRules" ref="issueForm"> <el-form :model="issueForm" :rules="issueRules" ref="issueForm">
<el-form-item label="问卷封面:" label-width="125px"> <el-form-item label="问卷封面:" label-width="125px">
...@@ -75,8 +78,8 @@ ...@@ -75,8 +78,8 @@
</div> </div>
</el-form> </el-form>
</el-dialog> </el-dialog>
<!-- 人员选择弹出框 -->
<el-dialog title="人员选择" :visible.sync="treeDialog"> <el-dialog title="人员选择" :visible.sync="treeDialog" width="40%">
<div class="treeDialog"> <div class="treeDialog">
<el-tree class="treeCss" :data="treeData" node-key="id" :props="defaultProps" <el-tree class="treeCss" :data="treeData" node-key="id" :props="defaultProps"
@node-click="handleNodeClick"></el-tree> @node-click="handleNodeClick"></el-tree>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment