yangbifan 2 роки тому
батько
коміт
3ab0a24865
1 змінених файлів з 11 додано та 2 видалено
  1. 11 2
      src/pages/main/onlineOffice/index.vue

+ 11 - 2
src/pages/main/onlineOffice/index.vue

@@ -1,6 +1,6 @@
 <template>
-    <div>
-        <el-button>新建</el-button>
+    <div class="flex-count">
+        <el-button @click="clickNewSave">新建</el-button>
         <fromList :list="firstTable" @clickDemand="clickDemand" />
         <div>
             <!-- <myUpload @uploadBack="uploadBack" :fileInfo="fileInfo" :fileList="fileInfo.fileList">
@@ -31,6 +31,7 @@ export default {
     },
     data() {
         return {
+            saveStatus:false,
             officeStatus: false,
             src: '',
             config: {},
@@ -90,6 +91,10 @@ export default {
         this.getLists()
     },
     methods: {
+        //新建在线编辑xxx
+        clickNewSave(){
+           this.saveStatus = true
+        },
         //点击工单状态跳转需求流程显示页面
         clickDemand(e, res) {
             if (e == '名称') {
@@ -175,4 +180,8 @@ export default {
 #DocEditor{
     height: 100%;
 }
+.flex-count{
+    height: 100%;
+    background:#fff;
+}
 </style>