yz3456
2024-05-14 c661c48ac71e093cab4a2f5b4900ae3bbc0fc24c
完成会议统计
3个文件已修改
60 ■■■■ 已修改文件
ruoyi-ui/src/api/meeting/index.js 10 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
ruoyi-ui/src/views/meeting/statistics.vue 4 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
ruoyi-ui/src/views/meeting/statisticsInfo.vue 46 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
ruoyi-ui/src/api/meeting/index.js
@@ -1,5 +1,6 @@
import request from '@/utils/request'
// 会议申请
// 查询所有会议
export function listMeeting(query) {
  return request({
@@ -102,6 +103,15 @@
  })
}
// 根据id查询所有会议详细信息
export function getMeetingInfo1(id) {
  return request({
    url: '/zMeetingStatistic/' + id,
    method: 'get',
  })
}
// 图形统计信息
export function listGraph(query) {
  return request({
ruoyi-ui/src/views/meeting/statistics.vue
@@ -62,10 +62,10 @@
        </el-table-column>
        <el-table-column label="状态" prop="status" sortable align="center">
          <template slot-scope="scope">{{ scope.row.status
        ? scope.row.status : '————' }}</template>
          <template slot-scope="scope">{{scope.row.status===1? '结案': '未结案'}}</template>
        </el-table-column>
        <el-table-column label="操作" align="center" width="200" class-name="small-padding fixed-width">
          <template slot-scope="scope" v-if="scope.row.roleId !== 1">
            <div class="button-container">
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() {