Pārlūkot izejas kodu

政企、新首页

hujunwei@agilestar.cn 1 gadu atpakaļ
vecāks
revīzija
bc68511713

+ 86 - 9
src/components/onlyoffice-editor/onlyoffice-editor.vue

@@ -1,6 +1,6 @@
 
 <template>
-  <div :id="editorId"></div>
+  <div  :id="editorId"></div>
 </template>
 
 <script>
@@ -54,7 +54,7 @@ export default {
       required: true
     }
   },
-  data () {
+  data() {
     return {
       // 编辑器配置项,完整配置项参见:https://api.onlyoffice.com/editors/config/
       editorConfig: {
@@ -78,6 +78,14 @@ export default {
             print: true,
             // 启用预览
             review: true
+            // changeReview: true,
+            // comment: false,
+            // dealWithReview: true,
+            // dealWithReviewOnly: false,
+            // download: true,
+            // edit: true,
+            // print: true,
+            // review: true,
           }
         },
         editorConfig: {
@@ -94,6 +102,68 @@ export default {
               spellcheck: false
             }
           }
+          // "customization": {
+          //   "anonymous": {
+          //     "request": false,
+          //     "label": "Guest"
+          //   },
+          //   "comments": false,
+          //   "compactHeader": false,
+          //   "compactToolbar": false,
+          //   "compatibleFeatures": false,
+          //   "customer": {
+          //     "address": "My City, 123a-45",
+          //     "info": "Some additional information",
+          //     "logo": "https://example.com/logo-big.png",
+          //     "logoDark": "https://example.com/dark-logo-big.png",
+          //     "mail": "john@example.com",
+          //     "name": "John Smith and Co.",
+          //     "phone": "123456789",
+          //     "www": "example.com"
+          //   },
+          //   "features": {
+          //     "spellcheck": {
+          //       "mode": false,
+          //     }
+          //   },
+          //   "feedback": {
+          //     "url": "https://example.com",
+          //     "visible": false
+          //   },
+          //   "forcesave": false,
+          //   "goback": {
+          //     "blank": false,
+          //     "requestClose": false,
+          //     "text": "Open file location",
+          //     "url": "https://example.com"
+          //   },
+          //   "help": false,
+          //   "hideNotes": false,
+          //   "hideRightMenu": false,
+          //   "hideRulers": false,
+          //   "integrationMode": "embed",
+          //   "logo": {
+          //     "image": "https://example.com/logo.png",
+          //     "imageDark": "https://example.com/dark-logo.png",
+          //     "url": "https://www.onlyoffice.com"
+          //   },
+          //   "macros": false,
+          //   "macrosMode": "warn",
+          //   "mentionShare": false,
+          //   "plugins": false,
+          //   "review": {
+          //     "hideReviewDisplay": false,
+          //     "showReviewChanges": false,
+          //     "reviewDisplay": "original",
+          //     "trackChanges": false,
+          //     "hoverMode": false
+          //   },
+          //   "toolbarHideFileName": false,
+          //   "toolbarNoTabs": false,
+          //   "uiTheme": "theme-dark",
+          //   "unit": "cm",
+          //   "zoom": 100
+          // },
         }
       },
       scriptId,
@@ -102,19 +172,19 @@ export default {
   },
   watch: {
     config: {
-      handler () {
+      handler() {
         this.initEditor()
       },
       deep: true
     },
-    src () {
+    src() {
       this.initEditor()
     }
   },
-  mounted () {
+  mounted() {
     this.initEditor()
   },
-  beforeDestroy () {
+  beforeDestroy() {
     // 组件销毁前销毁编辑器
     if (this.editor) {
       this.editor.destroyEditor()
@@ -123,18 +193,25 @@ export default {
   },
   methods: {
     // 初始化编辑器
-    initEditor () {
+    initEditor() {
       loadScript(this.src).then(this.createEditor)
     },
     // 创建编辑器
-    createEditor () {
+    createEditor() {
       if (this.editor) {
         this.editor.destroyEditor()
         this.editor = null
       }
       this.editor = new window.DocsAPI.DocEditor(this.editorId, merge({}, this.editorConfig, this.config))
       this.$emit('ready', this.editor)
-    }
+    },
+    
   }
 }
 </script>
+<style lang="scss">
+::v-deep .toolbar .tabs li {
+  display: none;
+}
+</style>
+

+ 3 - 3
src/pages/main/leader/index.vue

@@ -13,15 +13,15 @@
               </div>
             </el-col>
             <el-col :span="13" style="padding-right: 8px">
-              <div v-if="indexstatus == 'IT'">
+              <!-- <div v-if="indexstatus == 'IT'">
                 <rli></rli>
               </div>
               <div v-if="indexstatus == 'default'">
                 <rlinet></rlinet>
               </div>
-              <div v-if="indexstatus == 'ZQ'">
+              <div v-if="indexstatus == 'ZQ'"> -->
                 <rliZQ></rliZQ>
-              </div>
+              <!-- </div> -->
             </el-col>
             <el-col :span="6">
               <div class="car-line-knowledge">

+ 107 - 115
src/pages/main/leader/rliZQ.vue

@@ -42,16 +42,21 @@
                     </span>
                 </li>
             </ul>
-            <div style="padding: 10px 0px;" @click="addnewr">
+            <div style="padding: 10px 0px;" @click="addnewr" v-loading="loading">
                 <div class="rlitable" v-if="tableData.length > 0">
-                    <span v-for="(item, index) in tableData" :key="index"
-                        :style="'color:' + item.textColor + ';padding:12px;display:inline-block;'">
-                        <span @click.stop="handleEventClick(item)" style="cursor:;">{{ item.title }}</span>
+                    <span v-for="(item, index) in tableData" :key="index" class="rlitit"
+                        @click.stop="handleEventClick(item)">
+                        <span class="rlitit2">{{ item.startTime }}~{{ item.endTime }}</span>
+                        <span class="rlitit3">
+                            <span class="rlitit4">{{ item.name }}</span>
+                            <span class="rlitit4">{{ item.remark }}</span>
+                        </span>
+
                     </span>
                 </div>
                 <div v-else class="rlitable2">
                     <div style="padding:10px;text-align: center;">
-                        暂无日程
+                        点击此处可添加日程
                     </div>
 
                 </div>
@@ -69,28 +74,11 @@
             </el-pagination> -->
             <!--日程新增弹窗start-->
             <el-dialog :title="titleNew" :visible.sync="dialogVisible" :before-close="close" :modal="false" width="45%">
-                <el-form :model="form" :rules="rules" ref="form" label-width="120px" size="small" class="demo-ruleForm">
-                    <el-form-item label="日程名称" prop="title">
-                        <el-input v-model="form.title"></el-input>
-                    </el-form-item>
-                    <!-- <el-form-item label="参会角色" prop="orgId">
-                        <el-select v-model="form.orgId" style="width: 70%; overflow: hidden" clearable filterable
-                            placeholder="参会角色" multiple>
-                            <el-option v-for="item in roleNameList" :key="item.userId" :label="item.name"
-                                :value="item.userId">
-                            </el-option>
-                        </el-select>
-                    </el-form-item>
-                    <el-form-item label="是否是党会" prop="isParty">
-                        <el-select v-model="form.isParty" clearable style="width: 70%" filterable placeholder="是否是党会">
-                            <el-option v-for="item in isParrty" :key="item.is_party" :label="item.name"
-                                :value="item.is_party">
-                            </el-option>
-                        </el-select>
+                <el-form :model="form" :rules="rules" ref="form" label-width="120px" size="small" class="demo-ruleForm"
+                    v-if="dialogVisible">
+                    <el-form-item label="日程名称" prop="name">
+                        <el-input v-model="form.name"></el-input>
                     </el-form-item>
-                    <el-form-item label="发起科室" prop="leaderName">
-                        <el-input v-model="form.leaderName"></el-input>
-                    </el-form-item> -->
                     <el-form-item label="日程开始时间" required>
                         <el-col :span="11">
                             <el-form-item prop="begindate" style="margin-bottom: 0">
@@ -128,10 +116,10 @@
                         </el-col>
                     </el-form-item>
                     <el-form-item label="日程备注" prop="remark">
-                        <el-input type="textarea" v-model="form.remark"></el-input>
+                        <el-input type="textarea" v-model="form.remark" maxlength="1000" show-word-limit></el-input>
                     </el-form-item>
                     <el-form-item>
-                        <el-button v-if="form.id" type="danger">删除</el-button>
+                        <el-button v-if="form.id" type="danger" @click="delForm()">删除</el-button>
                         <el-button @click="resetForm('form')">取消</el-button>
                         <el-button type="primary" @click="submitForm('form')">提交</el-button>
                     </el-form-item>
@@ -208,7 +196,7 @@ export default {
             dialogVisible: false,
             titleNew: "",
             form: {
-                title: "",
+                name: "",
                 userId: "",
                 begindate: "",
                 startTime: "",
@@ -226,10 +214,10 @@ export default {
                 // orgIds: "[2,3]",
             },
             rules: {
-                title: [{ required: true, message: "请输入日程主题", trigger: "blur" }],
-                userid: [
-                    { required: true, message: "请选择日程室使用人", trigger: "change" },
-                ],
+                name: [{ required: true, message: "请输入日程主题", trigger: "blur" }],
+                // userid: [
+                //     { required: true, message: "请选择日程室使用人", trigger: "change" },
+                // ],
                 begindate: [
                     { required: true, message: "请选择开始日期", trigger: "change" },
                 ],
@@ -245,10 +233,10 @@ export default {
                 remark: [
                     { required: true, message: "请填写日程备注", trigger: "blur" },
                 ],
-                leaderName: [{ required: true, message: "发起科室", trigger: "blur" }],
-                isParty: [{ required: true, message: "是否是党会", trigger: "change" }],
+                // leaderName: [{ required: true, message: "发起科室", trigger: "blur" }],
+                // isParty: [{ required: true, message: "是否是党会", trigger: "change" }],
                 // roleName:[{required: true, message: '参会角色', trigger: 'change'}],
-                orgId: [{ required: true, message: "参会角色", trigger: "change" }],
+                // orgId: [{ required: true, message: "参会角色", trigger: "change" }],
                 // orgIds: [{required: true, message: '参会角色', trigger: 'change'}]
             },
             // 时间选项
@@ -324,7 +312,33 @@ export default {
             this.dialogVisible = false;
             this.$refs[formName].resetFields();
         },
-
+        //删除数据
+        delForm(e) {
+            this.$http({
+                url: "/market/HomePageSchedule/del",
+                method: "post",
+                headers: {
+                    "Content-Type": "application/json",
+                },
+                data: this.form,
+            }).then((res) => {
+                // console.log(res);
+                this.dialogVisible = false;
+                if (res.data.result === 1) {
+                    this.$message({
+                        message: res.data.desc,
+                        type: "error",
+                    });
+                } else {
+                    this.$message({
+                        message: "成功",
+                        type: "success",
+                    });
+                    // location.reload();
+                    this.getList();
+                }
+            });
+        },
         // 提交数据
         submitForm(formName) {
             this.$refs[formName].validate((valid) => {
@@ -343,10 +357,7 @@ export default {
                         });
                     } else {
                         this.$http({
-                            url:
-                                this.form.id === ""
-                                    ? "/market/calendarnet/add"
-                                    : "/market/calendarnet/update",
+                            url: this.form.id ? "/market/HomePageSchedule/update" : "/market/HomePageSchedule/add",
                             method: "post",
                             headers: {
                                 "Content-Type": "application/json",
@@ -380,43 +391,29 @@ export default {
         handleEventClick(e) {
             this.titleNew = "日程修改";
             this.dialogVisible = true;
-            let id = e.id;
-            let info = this.subList.filter((item) => {
-                return item.id == id;
-            });
-            this.$nextTick(() => {
-                this.form = _.cloneDeep(info[0]);
-                // 处理时间回显
-                this.getShowTime(this.form.begindate, this.form.enddate);
-                // this.gitPeople(this.form.roleName);
-                this.orgId = this.form.roleName;
-                // this.orgIds=this.form.roleName
-                // this.roleNameList.userId=info[0].roleName
-            });
-        },
-        getShowTime(beginDate, endDate) {
-            this.form.begindate = this.dealWithTime(beginDate);
-            this.form.startTime = this.getHoursMin(beginDate);
-            this.form.enddate = this.dealWithTime(endDate);
-            this.form.endTime = this.getHoursMin(endDate);
-            // console.log(this.form);
-            // this.$forceUpdate()
-            this.form = { ...this.form };
+            this.form = e
+            this.form.begindate = this.nowdata
+            this.form.enddate = this.nowdata
         },
         //新增日程
         addnewr() {
             console.log(11);
-            this.form = {}
-            this.form.orgId = [];
-            this.form.isParty = "";
+            this.form = {
+                begindate: this.nowdata,//开始时间
+                enddate: this.nowdata, //结束时间
+                loginNo: JSON.parse(window.sessionStorage.userInfo).loginNo,
+                day: this.nowdata
+            }
+            // this.form.orgId = [];
+            // this.form.isParty = "";
             this.titleNew = "日程新增";
             // if (!this.auth) {
             //     return;
             // }
             //开始时间
-            this.form.begindate = this.nowdata;
-            //结束时间
-            this.form.enddate = this.nowdata;
+            // this.form.begindate = this.nowdata;
+            // //结束时间
+            // this.form.enddate = this.nowdata;
 
             this.dialogVisible = true;
         },
@@ -427,62 +424,25 @@ export default {
         },
         // 获取日程信息
         getList() {
+            this.loading = true
             this.$http({
-                url: "/market/calendarnet/queryList",
+                url: "/market/HomePageSchedule/queryList",//queryPage带分页
                 method: "post",
                 headers: {
                     "Content-Type": "application/json",
                 },
                 data: {
-                    isFile: "0",
-                    data: this.nowdata
+                    day: this.nowdata
                 },
             }).then((res) => {
                 console.log("res", res);
-                if (res.data && res.data.length > 0) {
-                    this.array = res.data;
-                    // this.getReservationList(this.array.scheduleList0);
-                    this.getReservationList(this.array);
-                }
+                this.tableData = res.data;
+                this.loading = false
+                // this.array = res.data;
+                // // this.getReservationList(this.array.scheduleList0);
+                // this.getReservationList(this.array);
             });
         },
-        getReservationList(arrayData) {
-            let newArr = [];
-            let newAr2r = [];
-            this.subList = arrayData;
-            arrayData.forEach((item) => {
-                newArr.push({
-                    newBeginTime: item.begindate.split(" ")[1].substr(0, 5),
-                    newEndTime: item.enddate.split(" ")[1].substr(0, 5),
-                    start: this.dealWithTime(item.begindate),
-                    end: this.addDate(this.dealWithTime(item.enddate), 1),
-                    textColor: item.roleColor,
-                    id: item.id,
-                    title: `${this.getTitle(
-                        item.begindate,
-                        item.enddate,
-                        item.isParty
-                    )}   ${item.title}    ${"召集人:" + item.leaderName}`,
-                });
-            });
-            console.log(newArr);
-            console.log(this.nowdata);
-            newArr.map((item) => {
-                if (item.start == this.nowdata) {
-                    newAr2r.push(item)
-                }
-            })
-            this.tableData = newAr2r;
-        },
-        // 获取时分时间
-        getHoursMin(value) {
-            return value.substring(11, 16);
-        },
-        // 处理日程时间格式
-        dealWithTime(date) {
-            let newDate = /\d{4}-\d{1,2}-\d{1,2}/g.exec(date)[0];
-            return newDate;
-        },
         // 获取日程事件title
         getTitle(date1, date2, isParty) {
             let start =
@@ -655,10 +615,42 @@ export default {
     flex-direction: column;
     max-height: 161px;
     overflow-y: auto;
-    padding-left: 20%;
+    padding-top: 5px;
+    padding-left: 5%;
+    padding-right: 5%;
     height: 161px;
     background-color: #d8eaf6;
     border-radius: 10px;
+
+}
+
+.rlitit {
+    padding: 12px;
+    line-height: 0px;
+    display: inline-block;
+    text-overflow: ellipsis;
+    overflow: hidden;
+    white-space: nowrap;
+    cursor: pointer;
+}
+
+.rlitit2 {
+    padding: 5px;
+    text-overflow: ellipsis;
+    white-space: nowrap;
+    width: 110px;
+}
+
+.rlitit3 {
+    padding: 5px;
+}
+
+.rlitit4 {
+    padding: 5px;
+}
+
+.rlitit:hover {
+    background-color: #ffffff;
 }
 
 .rlitable2 {

+ 427 - 409
src/pages/main/noticec/index.vue

@@ -15,13 +15,13 @@
                     <el-table-column label="公告内容">
                         <template slot-scope="scope">
                             <el-tooltip class="item" effect="light" :content="scope.row.noticeContent" placement="bottom">
-                                <span class="tab-long">{{scope.row.noticeContent}}</span>
+                                <span class="tab-long">{{ scope.row.noticeContent }}</span>
                             </el-tooltip>
                         </template>
                     </el-table-column>
                     <el-table-column prop="opName" label="发布姓名" width="100">
                         <template slot-scope="scope">
-                            <span>{{$desensitization(scope.row.opName,1)}}</span>
+                            <span>{{ $desensitization(scope.row.opName, 1) }}</span>
                         </template>
                     </el-table-column>
                     <el-table-column prop="deptName" label="发布部门">
@@ -34,16 +34,16 @@
                     </el-table-column>
                     <el-table-column prop="auditName" label="审核姓名">
                         <template slot-scope="scope">
-                            <span>{{$desensitization(scope.row.auditName,1)}}</span>
+                            <span>{{ $desensitization(scope.row.auditName, 1) }}</span>
                         </template>
                     </el-table-column>
-                    <el-table-column label="审核备注">
+                    <!-- <el-table-column label="审核备注">
                         <template slot-scope="scope">
                             <el-tooltip class="item" effect="light" :content="scope.row.auditRemark" placement="bottom">
                                 <span class="tab-long">{{scope.row.auditRemark}}</span>
                             </el-tooltip>
                         </template>
-                    </el-table-column>
+                    </el-table-column> -->
                     <el-table-column prop="auditResultDesc" label="审核结果">
                     </el-table-column>
                     <el-table-column prop="auditTime" label="审核时间" width="140">
@@ -51,9 +51,11 @@
 
                     <el-table-column label="操作" width="160px" align="center" fixed="right">
                         <template slot-scope="scope">
-                            <el-button size="mini" type="primary" @click="dialogCheck(2,scope.row)">查看</el-button>
-                            <el-button size="mini" v-if="scope.row.sts != 2" type="primary" @click="dialogCheck(3,scope.row)">修改</el-button>
-                            <el-button size="mini" v-if="scope.row.sts != 2" type="danger" @click="delLine(scope.row)">删除</el-button>
+                            <el-button size="mini" type="primary" @click="dialogCheck(2, scope.row)">查看</el-button>
+                            <el-button size="mini" v-if="scope.row.sts != 2" type="primary"
+                                @click="dialogCheck(3, scope.row)">修改</el-button>
+                            <el-button size="mini" v-if="scope.row.sts != 2" type="danger"
+                                @click="delLine(scope.row)">删除</el-button>
                         </template>
                     </el-table-column>
                 </el-table>
@@ -69,7 +71,8 @@
                         <div class="info-line">
                             <el-form-item prop="noticeTitle">
                                 <span>公告标题</span>
-                                <el-input v-model="infolist.noticeTitle" placeholder="标题" :disabled="disableStatus"></el-input>
+                                <el-input v-model="infolist.noticeTitle" placeholder="标题"
+                                    :disabled="disableStatus"></el-input>
                             </el-form-item>
                             <el-form-item prop="opName">
                                 <span>发布姓名</span>
@@ -88,14 +91,17 @@
                         </div>
                         <el-form-item prop="visiblec" class="info-line online">
                             <span>可见部门</span>
-                            <deptTree class="tree" @treeCheck="treeCheck" :defaultList="defaultList" :type="depttype"></deptTree>
+                            <deptTree class="tree" @treeCheck="treeCheck" :defaultList="defaultList" :type="depttype">
+                            </deptTree>
                         </el-form-item>
                         <el-form-item class="info-line online">
                             <span>发布内容</span>
-                            <el-input :disabled="disableStatus" v-model="infolist.noticeContent" placeholder="发布内容" type="textarea" :rows="3"></el-input>
+                            <el-input :disabled="disableStatus" v-model="infolist.noticeContent" placeholder="发布内容"
+                                type="textarea" :rows="3"></el-input>
                         </el-form-item>
                         <div style="padding-left: 80px" v-if="!disableStatus">
-                            <myUpload @uploadBack="uploadBack" :fileInfo="fileInfo" :fileList="fileInfo.fileList"></myUpload>
+                            <myUpload @uploadBack="uploadBack" :fileInfo="fileInfo" :fileList="fileInfo.fileList">
+                            </myUpload>
                         </div>
                         <div style="padding:0 20px 0 100px" v-if="disableStatus">
                             <uploadDown :datalist="datalist" :dialogStatus="uploadstatus"></uploadDown>
@@ -110,8 +116,8 @@
                 </div>
             </el-dialog>
 
-            <el-dialog title="公告查看" :visible.sync="dialogInfo" width="70%" :close-on-press-escape="false"
-                :show-close="true" :before-close="closedia" :destroy-on-close="true" :modal-append-to-body="false"
+            <el-dialog title="公告查看" :visible.sync="dialogInfo" width="70%" :close-on-press-escape="false" :show-close="true"
+                :before-close="closedia" :destroy-on-close="true" :modal-append-to-body="false"
                 :close-on-click-modal="false" :fullscreen="true">
                 <div style="height: calc(100vh - 180px);overflow-y: scroll;">
                     <notiCheck :infolist="infolist" :datalist="datalist" :dialogInfo="dialogInfo"></notiCheck>
@@ -123,318 +129,288 @@
             </el-dialog>
 
         </div>
-        <myMessage :messTit='messTit' @closeMessage="closeMessage" :centerDialogVisible="centerDialogVisible" v-if="centerDialogVisible"></myMessage>
+        <myMessage :messTit='messTit' @closeMessage="closeMessage" :centerDialogVisible="centerDialogVisible"
+            v-if="centerDialogVisible"></myMessage>
     </fullscreen>
 </template>
 <script>
-    import myUpload from '../../../components/upload'
-    import uploadDown from '../../../components/uploadDown'
-    import mySearch from '../../../components/search'
-    import toolList from '../../../components/toolList'
-    import myMessage from "../../../components/myMessage.vue"
-    import deptTree from "../../../components/deptTree.vue"
-    import notiCheck from "../../../components/notiCheck.vue"
+import myUpload from '../../../components/upload'
+import uploadDown from '../../../components/uploadDown'
+import mySearch from '../../../components/search'
+import toolList from '../../../components/toolList'
+import myMessage from "../../../components/myMessage.vue"
+import deptTree from "../../../components/deptTree.vue"
+import notiCheck from "../../../components/notiCheck.vue"
 
-    export default {
-        components: {
-            myUpload,
-            uploadDown,
-            mySearch,
-            toolList,
-            myMessage,
-            deptTree,
-            notiCheck
-        },
-        data() {
-            const noticeTitle = (rule, value, callback) => {
-                if (!this.infolist.noticeTitle) {
-                    callback(new Error('不能为空'))
-                } else {
-                    callback()
-                }
+export default {
+    components: {
+        myUpload,
+        uploadDown,
+        mySearch,
+        toolList,
+        myMessage,
+        deptTree,
+        notiCheck
+    },
+    data() {
+        const noticeTitle = (rule, value, callback) => {
+            if (!this.infolist.noticeTitle) {
+                callback(new Error('不能为空'))
+            } else {
+                callback()
             }
-            const opName = (rule, value, callback) => {
-                if (!this.infolist.opName) {
-                    callback(new Error('不能为空'))
-                } else {
-                    callback()
-                }
-            }
-            return {
-                rules: {
-                    noticeTitle: [{
-                        required: true,
-                        trigger: 'blur',
-                        validator: noticeTitle
-                    }],
-                    opName: [{
-                        required: true,
-                        trigger: 'blur',
-                        validator: opName
-                    }],
-                },
-                tooltit: '公告管理',
-                fullscreen: false,
-                total: 0,
-                pageSize: 1,
-                tableData: [{}],
-                dialogStatus: false,
-                infolist: {},
-                typeOptions: [],
-                titname: '',
-                disableStatus: false,
-                fileList: [],
-                visiblec: [],
-                visibleList: [],
-                attList: [],
-                fileInfo: {
-                    limit: 10,
-                    url: '/sysmgr/noticeatt/upload',
-                    fileList: []
-                },
-                datalist: {
-                    url: '/sysmgr/noticeatt/downfile',
-                    type: 2,
-                    attList:[]
-                },
-                uploadstatus: false,
-                userInfo: {},
-                searchList: [{
-                        type: 'input',
-                        tit: '请输入标题',
-                        value: '',
-                        width: '32%'
-                    },
-                    {
-                        type: 'date',
-                        tit: '开始时间',
-                        value: '',
-                        width: '32%',
-                    },
-                    {
-                        type: 'date',
-                        tit: '结束时间',
-                        value: '',
-                        width: '32%',
-                    },
-                ],
-                params: {},
-                centerDialogVisible: false,
-                messTit: '',
-                delid: '',
-                loading:false,
-                treeList: [],
-                defaultList:[],
-				depttype:0,
-                dialogInfo:false
+        }
+        const opName = (rule, value, callback) => {
+            if (!this.infolist.opName) {
+                callback(new Error('不能为空'))
+            } else {
+                callback()
             }
-        },
-        methods: {
-            treeCheck(v){
-                this.treeList = v;
+        }
+        return {
+            rules: {
+                noticeTitle: [{
+                    required: true,
+                    trigger: 'blur',
+                    validator: noticeTitle
+                }],
+                opName: [{
+                    required: true,
+                    trigger: 'blur',
+                    validator: opName
+                }],
             },
-            closedia() {
-                this.infolist = {};
-                this.dialogCli(2);
-                this.dialogStatus = false;
-                this.defaultList = [];
-                 this.dialogInfo = false;
-				this.depttype = 0;
+            tooltit: '公告管理',
+            fullscreen: false,
+            total: 0,
+            pageSize: 1,
+            tableData: [{}],
+            dialogStatus: false,
+            infolist: {},
+            typeOptions: [],
+            titname: '',
+            disableStatus: false,
+            fileList: [],
+            visiblec: [],
+            visibleList: [],
+            attList: [],
+            fileInfo: {
+                limit: 10,
+                url: '/market/waf/uploadByMinio',
+                fileList: []
             },
-            //搜索数据
-            searchInfo(v) {
-                this.params = {};
-                v[0] ? this.params.noticeTitle = v[0] : '';
-                v[1] ? this.params.opTimeFrom = this.$formatDate(v[1], "YYYY-MM-DD") : '';
-                v[2] ? this.params.opTimeTo = this.$formatDate(v[2], "YYYY-MM-DD") : '';
-                this.getList(this.params, this.pageSize);
+            datalist: {
+                url: '/market/waf/downFileByMinio',
+                type: 2,
+                attList: []
             },
-            //获取列表
-            getList(v, n) {
-                this.pageSize = n;
-                let _this = this;
-                this.tableData = [];
-                this.loading = true;
-                this.$http({
-                    url: "/sysmgr/cnotice/queryListByDept",
-                    method: "post",
-                    headers: {
-                        "Content-Type": "application/json",
-                        "page": '{"pageNo":"' + n + '","pageSize":"10"}'
-                    },
-                    data: v,
-                }).then((res) => {
-                    this.tableData = res.data.data;
-                    this.total = res.data.totalRecord;
-                    this.loading = false;
-                });
+            uploadstatus: false,
+            userInfo: {},
+            searchList: [{
+                type: 'input',
+                tit: '请输入标题',
+                value: '',
+                width: '32%'
             },
-            // 分页
-            currchange(v) {
-                this.pageSize = v;
-                this.getList(this.params, this.pageSize);
+            {
+                type: 'date',
+                tit: '开始时间',
+                value: '',
+                width: '32%',
             },
-            //查看 修改 新增
-            dialogCheck(v, n) {
-                this.visiblec = [];
-                this.infolist = {};
-                this.defaultList = [];
-                if (v === 1) {
-                    this.titname = '新建';
-                    this.getUser();
-                    this.depttype = 1;
-                    this.dialogStatus = true;
-                    this.disableStatus = false;
-                    return
-                } else if (v === 2) {
-                    this.titname = '查看';
-                } else if (v === 3) {
-                    this.dialogStatus = true;
-                    this.disableStatus = false;
-                    this.titname = '修改';
-                    this.loading = true;
-                }
-                this.infolist = Object.assign({}, n); //拷贝
-                this.infolist.opName = this.$desensitization(this.infolist.opName,1);
-                this.infolist.phoneNo = this.$desensitization(this.infolist.phoneNo,2);
-                this.$http({
-                    url: "/sysmgr/cnotice/queryInfo",
-                    method: "post",
-                    headers: {
-                        "Content-Type": "application/json",
-                    },
-                    data: {
-                        noticeId: n.noticeId
-                    },
-                }).then((res) => {
-                    this.datalist.attList = res.data.attList;
-                    this.uploadstatus = true;
-                    this.infolist.attList = res.data.attList;
-                    this.fileInfo.fileList = [];
-                    this.attList = [];
-                    this.treeList = res.data.deptList;
-                    if (v === 2) {
-                        this.dialogInfo = true;
-                    }
-                    if (res.data.attList) {
-                        res.data.attList.forEach(item => {
-                            this.fileInfo.fileList.push({
-                                name: item.fileName,
-                                url: '',
-                                id: item.id,
-                                fileName: item.fileName
-                            });
-                            this.attList.push({
-                                name: item.fileName,
-                                url: '',
-                                id: item.id,
-                                fileName: item.fileName
-                            });
-                        })
-                    }
-                    if (res.data.deptList) {
-                        res.data.deptList.forEach(item => {
-                            this.defaultList.push(item.deptCode);
-                        })
-                    }
-					this.depttype = 1;
-                    this.loading = false;
-                });
+            {
+                type: 'date',
+                tit: '结束时间',
+                value: '',
+                width: '32%',
             },
-            dialogCli(v) {
-                this.datalist.attList = [];
-                this.uploadstatus = false;
+            ],
+            params: {},
+            centerDialogVisible: false,
+            messTit: '',
+            delid: '',
+            loading: false,
+            treeList: [],
+            defaultList: [],
+            depttype: 0,
+            dialogInfo: false
+        }
+    },
+    methods: {
+        treeCheck(v) {
+            this.treeList = v;
+        },
+        closedia() {
+            this.infolist = {};
+            this.dialogCli(2);
+            this.dialogStatus = false;
+            this.defaultList = [];
+            this.dialogInfo = false;
+            this.depttype = 0;
+        },
+        //搜索数据
+        searchInfo(v) {
+            this.params = {};
+            v[0] ? this.params.noticeTitle = v[0] : '';
+            v[1] ? this.params.opTimeFrom = this.$formatDate(v[1], "YYYY-MM-DD") : '';
+            v[2] ? this.params.opTimeTo = this.$formatDate(v[2], "YYYY-MM-DD") : '';
+            this.getList(this.params, this.pageSize);
+        },
+        //获取列表
+        getList(v, n) {
+            this.pageSize = n;
+            let _this = this;
+            this.tableData = [];
+            this.loading = true;
+            this.$http({
+                url: "/sysmgr/cnotice/queryListByDept",
+                method: "post",
+                headers: {
+                    "Content-Type": "application/json",
+                    "page": '{"pageNo":"' + n + '","pageSize":"10"}'
+                },
+                data: v,
+            }).then((res) => {
+                this.tableData = res.data.data;
+                this.total = res.data.totalRecord;
+                this.loading = false;
+            });
+        },
+        // 分页
+        currchange(v) {
+            this.pageSize = v;
+            this.getList(this.params, this.pageSize);
+        },
+        //查看 修改 新增
+        dialogCheck(v, n) {
+            this.visiblec = [];
+            this.infolist = {};
+            this.defaultList = [];
+            if (v === 1) {
+                this.titname = '新建';
+                this.getUser();
+                this.depttype = 1;
+                this.dialogStatus = true;
+                this.disableStatus = false;
+                return
+            } else if (v === 2) {
+                this.titname = '查看';
+            } else if (v === 3) {
+                this.dialogStatus = true;
+                this.disableStatus = false;
+                this.titname = '修改';
+                this.loading = true;
+            }
+            this.infolist = Object.assign({}, n); //拷贝
+            this.infolist.opName = this.$desensitization(this.infolist.opName, 1);
+            this.infolist.phoneNo = this.$desensitization(this.infolist.phoneNo, 2);
+            this.$http({
+                url: "/sysmgr/cnotice/queryInfo",
+                method: "post",
+                headers: {
+                    "Content-Type": "application/json",
+                },
+                data: {
+                    noticeId: n.noticeId
+                },
+            }).then((res) => {
+                this.datalist.attList = res.data.attList;
+                this.uploadstatus = true;
+                this.infolist.attList = res.data.attList;
+                this.fileInfo.fileList = [];
+                this.attList = [];
+                this.treeList = res.data.deptList;
                 if (v === 2) {
-                    this.fileInfo.fileList = [];
-                    this.infolist = {};
-                    this.dialogStatus = false;
-					this.defaultList = [];
-					this.depttype = 0;
-                    return
+                    this.dialogInfo = true;
                 }
-                this.infolist.pubTime = this.$formatDate(new Date(), "YYYY-MM-DD");
-                this.infolist.opTime = this.infolist.pubTime;
-                if (this.titname === '新建') {
-                    this.submitInfo("/sysmgr/cnotice/save", v);
-                } else if (this.titname === '修改') {
-                    this.submitInfo("/sysmgr/cnotice/update", v);
+                if (res.data.attList) {
+                    res.data.attList.forEach(item => {
+                        this.fileInfo.fileList.push({
+                            name: item.fileName,
+                            url: '',
+                            id: item.id,
+                            fileName: item.fileName
+                        });
+                        this.attList.push({
+                            name: item.fileName,
+                            url: '',
+                            id: item.id,
+                            fileName: item.fileName
+                        });
+                    })
                 }
-            },
-            submitInfo(u, v) {
-                let _this = this;
-                this.$refs.infolist.validate(valid => {
-                    if (valid) {
-                        this.infolist.sts = "0";
-                        this.infolist.stsDesc = "草稿";
-                        this.infolist.opNo = this.userInfo.loginNo;
-                        this.infolist.opName = this.userInfo.loginName;
-                        this.infolist.phoneNo = this.userInfo.phoneNo;
-                        if (v === 3) {
-                            this.infolist.sts = "1";
-                            this.infolist.stsDesc = "待审核";
-                        }
-                        let attList = [];
-                        for (let i = 0; i < this.attList.length; i++) {
-                            attList.push({
-								id: this.attList[i].id,
-								fileCode: this.attList[i].fileCode,
-								fileName: this.attList[i].fileName,
-								opName: this.attList[i].opName,
-								opNo: this.attList[i].opNo,
-								opTime: this.attList[i].opTime,
-                                noticeId: this.infolist.noticeId
-                            });
-                        }
-                        let list = [];
-                        this.$http({
-                            url: u,
-                            method: "post",
-                            headers: {
-                                "Content-Type": "application/json",
-                            },
-                            data: {
-                                noticeInfo: this.infolist,
-                                attList: attList,
-                                deptList: this.treeList
-                            },
-                        }).then((res) => {
-                            if (res.data.result === 1) {
-                                _this.$message({
-                                    message: res.data.desc,
-                                    type: 'error'
-                                });
-                            } else {
-                                _this.$message({
-                                    message: '成功',
-                                    type: 'success'
-                                });
-                                _this.fileInfo.fileList = [];
-                                _this.infolist = {};
-                                _this.dialogStatus = false;
-                                _this.getList(this.params, this.pageSize);
-                                _this.defaultList = [];
-								_this.depttype = 0;
-                            }
-
+                if (res.data.deptList) {
+                    res.data.deptList.forEach(item => {
+                        this.defaultList.push(item.deptCode);
+                    })
+                }
+                this.depttype = 1;
+                this.loading = false;
+            });
+        },
+        dialogCli(v) {
+            this.datalist.attList = [];
+            this.uploadstatus = false;
+            if (v === 2) {
+                this.fileInfo.fileList = [];
+                this.infolist = {};
+                this.dialogStatus = false;
+                this.defaultList = [];
+                this.depttype = 0;
+                return
+            }
+            this.infolist.pubTime = this.$formatDate(new Date(), "YYYY-MM-DD");
+            this.infolist.opTime = this.infolist.pubTime;
+            if (this.titname === '新建') {
+                this.submitInfo("/sysmgr/cnotice/save", v);
+            } else if (this.titname === '修改') {
+                this.submitInfo("/sysmgr/cnotice/update", v);
+            }
+        },
+        submitInfo(u, v) {
+            let _this = this;
+            this.$refs.infolist.validate(valid => {
+                if (valid) {
+                    if (this.treeList.length == 0) {
+                        _this.$message({
+                            message: '可见部门不能为空',
+                            type: 'error'
                         });
+                        return false
                     }
-                })
-            },
-            closeMessage(v) {
-                this.centerDialogVisible = false;
-                let _this = this;
-                if (v === 1) {
-                    _this.$http({
-                        url: "/sysmgr/cnotice/del",
+                    this.infolist.sts = "0";
+                    this.infolist.stsDesc = "草稿";
+                    this.infolist.opNo = this.userInfo.loginNo;
+                    this.infolist.opName = this.userInfo.loginName;
+                    this.infolist.phoneNo = this.userInfo.phoneNo;
+                    if (v === 3) {
+                        this.infolist.sts = "1";
+                        this.infolist.stsDesc = "待审核";
+                    }
+                    let attList = [];
+                    for (let i = 0; i < this.attList.length; i++) {
+                        attList.push({
+                            id: this.attList[i].id,
+                            fileCode: this.attList[i].fileCode,
+                            fileName: this.attList[i].fileName,
+                            opName: this.attList[i].opName,
+                            opNo: this.attList[i].opNo,
+                            opTime: this.attList[i].opTime,
+                            noticeId: this.infolist.noticeId
+                        });
+                    }
+                    let list = [];
+                    this.$http({
+                        url: u,
                         method: "post",
                         headers: {
                             "Content-Type": "application/json",
                         },
                         data: {
-                            noticeInfo: {
-                                noticeId: this.delid
-                            }
-                        }
+                            noticeInfo: this.infolist,
+                            attList: attList,
+                            deptList: this.treeList
+                        },
                     }).then((res) => {
                         if (res.data.result === 1) {
                             _this.$message({
@@ -443,148 +419,190 @@
                             });
                         } else {
                             _this.$message({
-                                message: '删除成功',
+                                message: '成功',
                                 type: 'success'
                             });
+                            _this.fileInfo.fileList = [];
+                            _this.infolist = {};
+                            _this.dialogStatus = false;
                             _this.getList(this.params, this.pageSize);
+                            _this.defaultList = [];
+                            _this.depttype = 0;
                         }
+
                     });
                 }
-            },
-            //删除
-            delLine(v) {
-                this.centerDialogVisible = true;
-                this.messTit = '即将删除此条数据, 是否删除?';
-                this.delid = v.noticeId;
-            },
-            //文件返回值
-            uploadBack(v) {
-                this.attList = v;
-            },
-            //功能栏
-            iconCli(v) {
-                if (v === 1) {
-                    this.getList(this.params, this.pageSize);
-                }
-                if (v === 2) {
-                    this.fullscreen = !this.fullscreen
-                }
-            },
-            //获取部门
-            getDepot() {
-                this.$http({
-                    url: "/sysmgr/sysdept/queryList",
+            })
+        },
+        closeMessage(v) {
+            this.centerDialogVisible = false;
+            let _this = this;
+            if (v === 1) {
+                _this.$http({
+                    url: "/sysmgr/cnotice/del",
                     method: "post",
                     headers: {
                         "Content-Type": "application/json",
                     },
-                    data: {},
+                    data: {
+                        noticeInfo: {
+                            noticeId: this.delid
+                        }
+                    }
                 }).then((res) => {
-                    this.typeOptions = res.data;
+                    if (res.data.result === 1) {
+                        _this.$message({
+                            message: res.data.desc,
+                            type: 'error'
+                        });
+                    } else {
+                        _this.$message({
+                            message: '删除成功',
+                            type: 'success'
+                        });
+                        _this.getList(this.params, this.pageSize);
+                    }
                 });
-            },
-            getUser() {
-                this.userInfo = JSON.parse(window.sessionStorage.userInfo);
-                this.infolist = {};
-                this.infolist.opNo = this.userInfo.loginNo;
-                this.infolist.opName = this.userInfo.loginName;
             }
         },
-        mounted() {
-            this.getList(this.params, this.pageSize);
-            this.getDepot();
-            this.getUser();
+        //删除
+        delLine(v) {
+            this.centerDialogVisible = true;
+            this.messTit = '即将删除此条数据, 是否删除?';
+            this.delid = v.noticeId;
         },
-        created() {
-
+        //文件返回值
+        uploadBack(v) {
+            this.attList = v;
+        },
+        //功能栏
+        iconCli(v) {
+            if (v === 1) {
+                this.getList(this.params, this.pageSize);
+            }
+            if (v === 2) {
+                this.fullscreen = !this.fullscreen
+            }
+        },
+        //获取部门
+        getDepot() {
+            this.$http({
+                url: "/sysmgr/sysdept/queryList",
+                method: "post",
+                headers: {
+                    "Content-Type": "application/json",
+                },
+                data: {},
+            }).then((res) => {
+                this.typeOptions = res.data;
+            });
+        },
+        getUser() {
+            this.userInfo = JSON.parse(window.sessionStorage.userInfo);
+            this.infolist = {};
+            this.infolist.opNo = this.userInfo.loginNo;
+            this.infolist.opName = this.userInfo.loginName;
         }
+    },
+    mounted() {
+        this.getList(this.params, this.pageSize);
+        this.getDepot();
+        this.getUser();
+    },
+    created() {
+
     }
+}
 </script>
 <style scoped lang="scss">
-    @import "../../../assets/style";
+@import "../../../assets/style";
 
-    .tab-long {
-        height: 22px;
-        float: left;
-        overflow: hidden;
-        text-overflow: ellipsis;
-        display: -webkit-box;
-        /* 将对象作为弹性伸缩盒子模型显示 */
-        -webkit-line-clamp: 1;
-        /* 控制最多显示几行 */
-        -webkit-box-orient: vertical;
-        /* 设置或检索伸缩盒对象的子元素的排列方式 */
-    }
+.tab-long {
+    height: 22px;
+    float: left;
+    overflow: hidden;
+    text-overflow: ellipsis;
+    display: -webkit-box;
+    /* 将对象作为弹性伸缩盒子模型显示 */
+    -webkit-line-clamp: 1;
+    /* 控制最多显示几行 */
+    -webkit-box-orient: vertical;
+    /* 设置或检索伸缩盒对象的子元素的排列方式 */
+}
 
-    .titbox {
-        div {
-            float: right;
+.titbox {
+    div {
+        float: right;
 
-            i {
-                font-size: 22px;
-                margin-left: 20px;
-                cursor: pointer;
-            }
+        i {
+            font-size: 22px;
+            margin-left: 20px;
+            cursor: pointer;
         }
     }
+}
 
-    .tabbox {
-        margin-top: 16px;
-        font-size: 14px !important;
-    }
+.tabbox {
+    margin-top: 16px;
+    font-size: 14px !important;
+}
 
-    .pageBox {
-        text-align: right;
-        margin-top: 10px;
-    }
+.pageBox {
+    text-align: right;
+    margin-top: 10px;
+}
 
-    .info-line {
-        width: 100%;
-        display: block;
-        padding-left: 20px;
+.info-line {
+    width: 100%;
+    display: block;
+    padding-left: 20px;
 
-        div {
-            width: 50%;
-            display: inline-block;
-        }
+    div {
+        width: 50%;
+        display: inline-block;
+    }
 
-        span {
-            width: 80px;
-            display: inline-block;
-            text-align: left;
+    span {
+        width: 80px;
+        display: inline-block;
+        text-align: left;
 
-            i {
-                color: red;
-                display: inline-block;
-                padding-right: 5px;
-            }
+        i {
+            color: red;
+            display: inline-block;
+            padding-right: 5px;
         }
+    }
 
-        .el-select,
-        .el-input {
-            width: calc(100% - 100px);
-        }
-        .tree{
-            width: calc(100% - 100px);
-        }
+    .el-select,
+    .el-input {
+        width: calc(100% - 100px);
     }
 
-    .online {
-        width: 100%;
+    .tree {
+        width: calc(100% - 100px);
+    }
+}
 
-        .el-select {
-            width: calc(100% - 100px);
-        }
+.online {
+    width: 100%;
 
-        span {
-            vertical-align: top;
-        }
+    .el-select {
+        width: calc(100% - 100px);
+    }
 
-        .el-textarea {
-            width: calc(100% - 100px);
-        }
+    span {
+        vertical-align: top;
     }
-    ::v-deep .el-table--mini, .el-table--small, .el-table__expand-icon{
-        font-size: 14px;
+
+    .el-textarea {
+        width: calc(100% - 100px);
     }
+}
+
+::v-deep .el-table--mini,
+.el-table--small,
+.el-table__expand-icon {
+    font-size: 14px;
+}
 </style>

+ 2 - 2
src/pages/main/noticec/journal.vue

@@ -134,11 +134,11 @@
                 dialogStatus: false,
                 fileInfo: {
                     limit: 5,
-                    url: 'satisfy/cknowledgeatt/upload',
+                    url: '/market/waf/uploadByMinio',
                     fileList: []
                 },
                 datalist: {
-                    url: '/sysmgr/noticeatt/downfile',
+                    url: '/market/waf/downFileByMinio',
                     type: 2
                 },
                 uploadstatus: false,

+ 4 - 4
src/pages/main/noticec/noticExamine.vue

@@ -36,13 +36,13 @@
                             <span>{{$desensitization(scope.row.auditName,1)}}</span>
                         </template>
                     </el-table-column>
-                    <el-table-column label="审核备注">
+                    <!-- <el-table-column label="审核备注">
                         <template slot-scope="scope">
                             <el-tooltip class="item" effect="light" :content="scope.row.auditRemark" placement="bottom">
                                 <span class="tab-long">{{scope.row.auditRemark}}</span>
                             </el-tooltip>
                         </template>
-                    </el-table-column>
+                    </el-table-column> -->
                     <el-table-column prop="auditResultDesc" label="审核结果">
                     </el-table-column>
                     <el-table-column prop="auditTime" label="审核时间" width="140">
@@ -109,11 +109,11 @@
                 attList: [],
                 fileInfo: {
                     limit: 1,
-                    url: '/sysmgr/noticeatt/upload',
+                    url: '/market/waf/uploadByMinio',
                     fileList: []
                 },
                 datalist: {
-                    url: '/sysmgr/noticeatt/downfile',
+                    url: '/market/waf/downFileByMinio',
                     type: 2
                 },
                 uploadstatus: false,

+ 43 - 42
src/pages/main/onlineOfficeExcel/index.vue

@@ -179,54 +179,55 @@
                             <p style="margin-left: 20px;margin-top: 10px">在线文档</p>
                         </div>
                         <div style="width: 85px;display: inline-block;margin-left: 70px;cursor: pointer">
-                            <myUpload style="" @uploadBack="uploadBack" :fileInfo="fileInfo2" :fileList="fileInfo2.fileList"
-                                :filenowFolder="nowFolder">
+                            <myUpload style="" @uploadBack=" uploadBack " :fileInfo=" fileInfo2 "
+                                :fileList=" fileInfo2.fileList " :filenowFolder=" nowFolder ">
                             </myUpload>
                         </div>
                         <div style="width: 85px;display: inline-block;margin-left: 70px;cursor: pointer"
-                            @click="addFolderStatus = true">
+                            @click=" addFolderStatus = true ">
                             <span class="iconfont icon-wenjianjia" style="font-size: 80px;color: dodgerblue"></span>
                             <p style="margin-left: 20px;margin-top: 10px">文件夹</p>
                         </div>
                     </div>
                 </div>
             </el-dialog>
-            <el-dialog :title="'新增文件夹'" :visible.sync="addFolderStatus" width="50%" :destroy-on-close="true"
-                :modal-append-to-body="false" :close-on-click-modal="false">
-                <div v-loading="loading">
-                    <el-form :model="infolist" ref="infolist">
+            <el-dialog :title=" '新增文件夹' " :visible.sync=" addFolderStatus " width="50%" :destroy-on-close=" true "
+                :modal-append-to-body=" false " :close-on-click-modal=" false ">
+                <div v-loading=" loading ">
+                    <el-form :model=" infolist " ref="infolist">
                         <div class="online">
                             <el-form-item prop="name">
                                 <span>文件夹名称</span>
-                                <el-input v-model="infolist.name" placeholder="文件夹名称" :disabled="disableStatus"></el-input>
+                                <el-input v-model=" infolist.name " placeholder="文件夹名称"
+                                    :disabled=" disableStatus "></el-input>
                             </el-form-item>
                         </div>
                     </el-form>
                     <div slot="footer" class="dialog-footer myfooter">
-                        <el-button type="primary" @click="addNewFolder()">确 定</el-button>
-                        <el-button @click="addFolderStatus = false">取 消</el-button>
+                        <el-button type="primary" @click=" addNewFolder() ">确 定</el-button>
+                        <el-button @click=" addFolderStatus = false ">取 消</el-button>
                     </div>
                 </div>
             </el-dialog>
-            <el-dialog :title="'分享选项'" :visible.sync="shareStatus" width="450px" :destroy-on-close="true"
-                :modal-append-to-body="false" :close-on-click-modal="false">
-                <div style="margin-left: 30px;padding-bottom: 20px" v-loading='shareLoading'>
+            <el-dialog :title=" '分享选项' " :visible.sync=" shareStatus " width="450px" :destroy-on-close=" true "
+                :modal-append-to-body=" false " :close-on-click-modal=" false ">
+                <div style="margin-left: 30px;padding-bottom: 20px" v-loading=' shareLoading '>
                     <!-- <el-button type="primary" @click="processExcelShare(1)" plain>仅我可编辑</el-button> -->
-                    <el-button type="primary" @click="openOADialog(2)" plain>部门内所有人可编辑</el-button>
-                    <el-button type="primary" @click="checkexa = true" plain>指定人可编辑</el-button>
+                    <el-button type="primary" @click=" openOADialog(2) " plain>部门内所有人可编辑</el-button>
+                    <el-button type="primary" @click=" checkexa = true " plain>指定人可编辑</el-button>
                 </div>
             </el-dialog>
-            <el-dialog title="选择填报人" :visible.sync="checkexa" width="100%" :destroy-on-close="true"
-                :modal-append-to-body="false" :close-on-click-modal="false" v-loading="shareLoading">
+            <el-dialog title="选择填报人" :visible.sync=" checkexa " width="100%" :destroy-on-close=" true "
+                :modal-append-to-body=" false " :close-on-click-modal=" false " v-loading=" shareLoading ">
                 <div>
-                    <el-form :model="exaList" ref="addInfoList">
+                    <el-form :model=" exaList " ref="addInfoList">
                         <el-form-item prop="processUserId" class="info-line online">
                             <!-- <span style="width: 80px;margin-right: 20px">审批人员</span> -->
                             <div style="max-height:500px ;">
                                 <!-- <deptTreeUserNew class="tree" @treeCheck="treeCheckonly" :defaultList="defaultList"
                                 :type="depttype" :closeList="closeList"></deptTreeUserNew> -->
-                                <deptTreeOnly @treeCheck="treeCheckonly" :defaultList="defaultList" :type="depttype"
-                                    :closeList="closeList">
+                                <deptTreeOnly @treeCheck=" treeCheckonly " :defaultList=" defaultList " :type=" depttype "
+                                    :closeList=" closeList ">
                                 </deptTreeOnly>
                             </div>
                             <!-- <div class="tree treeUser">
@@ -238,49 +239,50 @@
                     </el-form>
 
                     <div slot="footer" style="text-align: right;padding-bottom: 20px">
-                        <el-button type="primary" @click="checkProcessUser(3)">确 定</el-button>
-                        <el-button @click="checkexa = false">取 消</el-button>
+                        <el-button type="primary" @click=" checkProcessUser(3) ">确 定</el-button>
+                        <el-button @click=" checkexa = false ">取 消</el-button>
                     </div>
                 </div>
             </el-dialog>
-            <el-dialog title="移动到" :visible.sync="moveStatus" width="500px" :destroy-on-close="true"
-                :modal-append-to-body="false" :close-on-click-modal="false">
+            <el-dialog title="移动到" :visible.sync=" moveStatus " width="500px" :destroy-on-close=" true "
+                :modal-append-to-body=" false " :close-on-click-modal=" false ">
                 <div>
-                    <el-tree ref="tree" class="tree-line" :expand-on-click-node="false" :auto-expand-parent="true"
-                        :default-expand-all="true" :default-checked-keys="checkedMenu" :data="moveMenuList"
-                        @check="checkChange" @node-click="folderNodeClick" node-key="functionCode"
-                        @expand-on-click-node="false">
+                    <el-tree ref="tree" class="tree-line" :expand-on-click-node=" false " :auto-expand-parent=" true "
+                        :default-expand-all=" true " :default-checked-keys=" checkedMenu " :data=" moveMenuList "
+                        @check=" checkChange " @node-click=" folderNodeClick " node-key="functionCode"
+                        @expand-on-click-node=" false ">
                         <span class="custom-tree-node" slot-scope="{ node }">
                             <span>
-                                <span v-if="node.data.type == 4" style="color: #009cff"
+                                <span v-if=" node.data.type == 4 " style="color: #009cff"
                                     class="iconfont icon-wenjianjia"></span>
                                 <span v-else style="color: #fdb441" class="iconfont icon-wenjian"></span>
                                 <span
-                                    :style="node.data.hasOwnProperty('parent') ? 'font-size:14px;padding-left:5px' : 'font-size:12px;padding-left:5px'">{{
-                                        node.data.functionName
+                                    :style=" node.data.hasOwnProperty('parent') ? 'font-size:14px;padding-left:5px' : 'font-size:12px;padding-left:5px' ">{{
+                                    node.data.functionName
                                     }}</span>
                             </span>
                         </span>
                     </el-tree>
                     <div slot="footer" style="text-align: right;padding-bottom: 20px">
-                        <el-button type="primary" @click="addFolderStatus = true" style="margin-right: 100px"
+                        <el-button type="primary" @click=" addFolderStatus = true " style="margin-right: 100px"
                             icon="el-icon-plus">新建文件夹
                         </el-button>
-                        <el-button type="primary" @click="moveExcel()">确 定</el-button>
-                        <el-button @click="moveStatus = false">取 消</el-button>
+                        <el-button type="primary" @click=" moveExcel() ">确 定</el-button>
+                        <el-button @click=" moveStatus = false ">取 消</el-button>
                     </div>
                 </div>
             </el-dialog>
-            <el-dialog :modal="false" :title="officetitle" :visible.sync="officeStatus" style="height:100% ;"
-                :fullscreen="true" width="100%" height="100%" center>
-                <div id="DocEditor" v-if="officeStatus">
-                    <onlyoffice-editor editorId="DocEditor" :src="src" :config="config" @ready="onReady" />
+            <el-dialog :modal=" false " :title=" officetitle " :visible.sync=" officeStatus " style="height:100% ;"
+                :fullscreen=" true " width="100%" height="100%" center>
+                <div id="DocEditor" v-if=" officeStatus ">
+                    <onlyoffice-editor editorId="DocEditor" :src=" src " :config=" config " @ready=" onReady " />
                 </div>
             </el-dialog>
-            <myMessage :messTit='messTit' @closeMessage="processDel" :centerDialogVisible="delVisible" v-if="delVisible">
+            <myMessage :messTit=' messTit ' @closeMessage=" processDel " :centerDialogVisible=" delVisible "
+                v-if=" delVisible ">
             </myMessage>
-            <myMessageRadio :messTit='oaTitle' @closeMessage="processOa" :centerDialogVisible="oaVisible" v-if="oaVisible"
-                yesBtnName="是" noBtnName="否" ok-btn-name="提交"></myMessageRadio>
+            <myMessageRadio :messTit=' oaTitle ' @closeMessage=" processOa " :centerDialogVisible=" oaVisible "
+                v-if=" oaVisible " yesBtnName="是" noBtnName="否" ok-btn-name="提交"></myMessageRadio>
         </div>
     </fullscreen>
 </template>
@@ -685,7 +687,6 @@ export default {
                     console.log(this.config);
                 }
 
-
             });
         },
         //新建excel