Browse Source

发布通知公告点击发布显示树

long 3 years ago
parent
commit
5d7b4df51d

+ 5 - 6
operationSupport/src/views/propertyManagement/index.vue

@@ -160,6 +160,7 @@
                                 :placeholder="rowData.handleStatus | filterComplaintStatus"
                                 v-model="mixins_query.complaintStatus"
                                 clearable
+                                :disabled="rowData.handleStatus == 2"
                             >
                                 <el-option v-for="(item, index) in complaintStatus" :key="index" :label="item.label" :value="item.status">{{
                                     item.label
@@ -167,7 +168,7 @@
                             </el-select>
                         </div>
                     </div>
-                    <el-form :model="replayForm" ref="replayForm" label-width="80px" class="demo-ruleForm">
+                    <el-form :model="replayForm" ref="replayForm" label-width="80px" class="demo-ruleForm" v-if="rowData.handleStatus != 2">
                         <el-form-item
                             label="物业回复"
                             prop="replay"
@@ -205,8 +206,6 @@ export default {
         return {
             // 处理记录
             recordData: [],
-            // 投诉人
-            complaintName: '',
             // 视频获得焦点
             videoControls: false,
             mediaList: [],
@@ -453,10 +452,10 @@ export default {
                 if (res.status === 0) {
                     this.rowData = res.data;
                     this.centerDialogVisible = true;
-                    this.complaintName = row.userName;
-                    this.mediaList = res.data.imageUrl.split(',');
+                    if (res.data.imageUrl.length > 0) {
+                        this.mediaList = res.data.imageUrl.split(',');
+                    }
                 } else {
-                    this.rowData = row;
                     this.$message.error(msg);
                 }
             });

+ 1 - 0
operationSupport/src/views/propertyManagement/inform.vue

@@ -684,6 +684,7 @@ export default {
             this.contentHtml = '';
             this.setContent = '';
             this.$refs.endit.setContent('');
+            this.$refs.selectTreeHouse.endBtn();
             this.$refs['ruleForm'].resetFields();
         },
         /**添加按钮 */

+ 1 - 0
operationSupport/src/views/propertyManagement/style.scss

@@ -192,6 +192,7 @@ $fontSizeSmall: 14px;
             padding-top: 6px;
             width: 9%;
             margin-right: 10px;
+            min-width: 60px;
         }
         .changeStatus-right {
             width: 88%;

+ 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: {