yz3456
2024-05-14 c661c48ac71e093cab4a2f5b4900ae3bbc0fc24c
ruoyi-ui/src/views/meeting/statisticsInfo.vue
@@ -21,15 +21,12 @@
            </el-cow>
            <el-cow>
              <el-form-item label="使用时间" prop="useTime" label-width="80px"
              <el-form-item label="使用时间" prop="useTime" label-width="90px"
                style="background: #FAD1E0;border-radius: 7px 7px 7px 7px;opacity: 1;">
                <el-date-picker v-model="formData.useTime" type="datetime" placeholder="选择日期时间" align="right"
                  :picker-options="pickerOptions" :style="{width: '100%'}" :disabled="dsb">
                </el-date-picker>
                <el-input v-model="formData.useTime" placeholder="请输入使用时间" clearable :style="{width: '100%'}" :disabled="dsb">
                </el-input>
              </el-form-item>
            </el-cow>
            <el-cow>
              <el-form-item label="会议室名称" prop="conferenceRoom" label-width="90px"
@@ -89,6 +86,11 @@
</template>
<script>
import {addRole, updateRole} from "@/api/system/role";
import {blobValidate} from "@/utils/ruoyi";
import errorCode from "@/utils/errorCode";
import {Message} from "element-ui";
import {getMeetingInfo1} from "@/api/meeting/index";
  export default {
    components: {},
    props: [],
@@ -155,7 +157,37 @@
      }
      let _this = this
    },
        this.loading = true;
        getMeetingInfo1(id).then((response) => {
          console.log(response.data,'123123123')
          this.formData = response.data;
          // let paths = this.formData.url.split(",");
       //    for(let i = 0; i < paths.length; i++)
       //    {
       //      if(paths[i]!="") {
       //        let pth = paths[i].substr(paths[i].length - 4, paths[i].length)
       //        if (_this.fot.includes(pth) === true)
         // {
         //    if(paths[i][0]=="/")
       //          _this.fileList.push({name:paths[i],url: process.env.VUE_APP_BASE_TRUE_API+paths[i].substr(1),res:false})
         //   else
         //      _this.fileList.push({name:paths[i],url: process.env.VUE_APP_BASE_TRUE_API+paths[i],res:false})
         //   }
       //        else {
       //          let nms = paths[i].split("\/")
       //          let nm = nms[nms.length - 1]
         //   if(paths[i][0]=="/")
       //          _this.fileListOther.push({name:nm, url: process.env.VUE_APP_BASE_TRUE_API+paths[i].substr(1),res:false})
         //    else
         //    _this.fileListOther.push({name:nm, url: process.env.VUE_APP_BASE_TRUE_API+paths[i],res:false})
         // }
       //      }
       //    }
          this.loading = false;
        });
      },
    mounted() {},
    methods: {
      submitForm() {