Parcourir la source

通知公告详情添加活动具体时间

long il y a 3 ans
Parent
commit
91b916dd51

+ 3 - 4
operationSupport/src/components/common/treeHouse.vue

@@ -185,10 +185,9 @@ export default {
                 }
             }
             this.organList = data;
-            this.defaultSelectAll = data;
-            this.selectAllHouse();
-            this.clickCheckTree();
-            // this.$refs.tree.setCheckedNodes('C1栋');
+            // this.defaultSelectAll = data;
+            // this.selectAllHouse();
+            // this.clickCheckTree();
             console.log('this.$refs.tree.setCheckedNodes(this.organList);', this.organList);
         },
 

+ 5 - 1
operationSupport/src/views/propertyManagement/common/previeInform.vue

@@ -84,7 +84,11 @@
 
             <div class="prev-text">
                 <span class="files-text">通知类型: </span
-                ><span class="text-right">{{ dataDetail.type == 0 ? '物业通知' : dataDetail.type == 1 ? '社区活动' : '其他' }}</span>
+                ><span class="text-right">{{ dataDetail.type == 0 ? '物业通知' : dataDetail.type == 1 ? '社区活动' : '其他' }} </span>
+            </div>
+            <div class="prev-text" v-if="dataDetail.type == 1">
+                <span class="files-text">活动时间: </span
+                ><span class="text-right">{{ dataDetail.startTime }} - {{ dataDetail.endTime }}</span>
             </div>
             <div class="prev-text">
                 <span class="files-text"> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 标题:</span

+ 4 - 4
operationSupport/src/views/propertyManagement/inform.vue

@@ -570,10 +570,10 @@ export default {
                 .then(({ status, data, msg }) => {
                     if (status === 0 && data) {
                         this.$refs.selectTreeHouse.filterhouse(val, data);
-                        this.ruleForm.issueRoom.checkAll = true;
-                        this.ruleForm.issueRoom.radioRoom = '全部房间';
-                        this.ruleForm.issueRoom.radioStaff = '';
-                        this.ruleForm.issueRoom.staff = false;
+                        // this.ruleForm.issueRoom.checkAll = true;
+                        // this.ruleForm.issueRoom.radioRoom = '全部房间';
+                        // this.ruleForm.issueRoom.radioStaff = '';
+                        // this.ruleForm.issueRoom.staff = false;
                     } else {
                         this.$message.error('获取房间失败');
                     }

+ 8 - 8
operationSupport/vue.config.js

@@ -34,9 +34,9 @@ module.exports = {
                 viewportWidth: 1920 //传参
             });
 
-        // // 配置每次打包浏览器缓存文件名的随机性
-        const filename = path.posix.join('js', `${new Date().getTime()}_[name].js`);
-        config.mode('production').devtool(false).output.filename(filename).chunkFilename(filename);
+        // // // 配置每次打包浏览器缓存文件名的随机性
+        // const filename = path.posix.join('js', `${new Date().getTime()}_[name].js`);
+        // config.mode('production').devtool(false).output.filename(filename).chunkFilename(filename);
     },
     // 配置全局样式变量
     css: {
@@ -59,12 +59,12 @@ module.exports = {
             //         resources: path.relative(__dirname, '../src/assets/css/punlic-style.scss')
             //     }
             // })
-        },
-        extract: {
-            // 打包后css文件名称添加时间戳
-            filename: `css/[name].${new Date().getTime()}.css`,
-            chunkFilename: `css/chunk.[id].${new Date().getTime()}.css`
         }
+        // extract: {
+        //     // 打包后css文件名称添加时间戳
+        //     filename: `css/[name].${new Date().getTime()}.css`,
+        //     chunkFilename: `css/chunk.[id].${new Date().getTime()}.css`
+        // }
     },
     configureWebpack: {
         externals: {