d770ca905d659e50cb3efb7290043a35dd2ea379..f1e0fec80bcdc0dc913754a41c6bc8818a47f906
2025-01-09 fuliqi
点位管理增加用户名密码编辑
f1e0fe 对比 | 目录
2025-01-08 fuliqi
osd导出
8dbbe4 对比 | 目录
3个文件已修改
35 ■■■■ 已修改文件
src/views/system/data-manage/data-detail/index.vue 28 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/system/data-manage/data-detail/list.js 1 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/system/point/index.vue 6 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/system/data-manage/data-detail/index.vue
@@ -102,8 +102,14 @@
                     :columns="showList"></right-toolbar>
    </div>
    <div  v-show="exportUrl" style="margin-bottom: 5px">
      <el-button  slot="reference" type="primary" size="mini" @click="handleExport(exportUrl)" plain
                 v-hasPermi="['platform:platform:export']">导出
      </el-button>
    </div>
    <div v-show="index === 'image_resource_security'" style="margin-bottom: 5px">
        <el-button type="primary" plain icon="el-icon-upload" size="mini" @click="handleExport"
        <el-button type="primary" plain icon="el-icon-upload" size="mini" @click="handleImport"
                   v-hasPermi="['platform:platform:export']">导入
        </el-button>
      <right-toolbar :showSearch.sync="showSearch" @queryTable="getList"></right-toolbar>
@@ -269,7 +275,8 @@
      showList: [],
      tableHead: [],
      cardList: [],
      index: null
      index: null,
      exportUrl: null,
    };
  },
@@ -288,17 +295,16 @@
    // 拼接成 yyyy-MM-dd 格式
    this.queryParams.date = `${year}-${month}-${day}`;
    this.index = this.$route.query.index;
    if (this.$route.query.type === '1') {
      let data = videoData.table.filter(item => item.index === this.$route.query.index)[0]
      // if(this.index = 'monitor_qualification'){
      //
      // }
      this.tableHead = data.columns;
      this.cardList = data.card;
      this.showList = data.showList;
      this.optionsStatus = data.optionsStatus;
      this.options = data.options;
      this.optionsName = data.optionsName;
      this.exportUrl = data.exportUrl
    }
    if (this.$route.query.type === '2') {
      let data = carData.table.filter(item => item.index === this.$route.query.index)[0]
@@ -308,6 +314,7 @@
      this.optionsStatus = data.optionsStatus;
      this.options = data.options;
      this.optionsName = data.optionsName;
      this.exportUrl = data.exportUrl
    }
    if (this.$route.query.type === '3') {
      let data = faceData.table.filter(item => item.index === this.$route.query.index)[0]
@@ -317,6 +324,7 @@
      this.optionsStatus = data.optionsStatus;
      this.options = data.options;
      this.optionsName = data.optionsName;
      this.exportUrl = data.exportUrl
    }
    if (this.$route.query.type === '4') {
      let data = equipment.table.filter(item => item.index === this.$route.query.index)[0]
@@ -326,6 +334,7 @@
      this.optionsStatus = data.optionsStatus;
      this.options = data.options;
      this.optionsName = data.optionsName;
      this.exportUrl = data.exportUrl
    }
    this.getList();
  },
@@ -427,10 +436,17 @@
      this.handleQuery();
    },
    /** 导入按钮操作 */
    handleExport() {
    handleImport() {
      this.upload.title = "数据导入";
      this.upload.open = true;
    },
    handleExport(url) {
      this.download(url, {
        ...this.queryParams,
      }, this.$route.query.ruleName+`_${new Date().getTime()}.xlsx`, {
        timeout: 60000
      })
    },
    /** 下载模板 */
    importTemplate() {
      this.download('platform/resourceSecurity/importTemplate', {
src/views/system/data-manage/data-detail/list.js
@@ -1350,6 +1350,7 @@
    },
    {
      title: '重点点位标注正确率',
      exportUrl: '/data/center/videoImportantPointLabelingAccuracy/export',
      index: 'key_annotation_accuracy',
      columns: [
        {
src/views/system/point/index.vue
@@ -173,6 +173,12 @@
                end-placeholder="运维结束时间">
              </el-date-picker>
            </el-form-item>
            <el-form-item label="用户名" prop="remark">
              <el-input  v-model="form.username"/>
            </el-form-item>
            <el-form-item label="密码" prop="remark">
              <el-input v-model="form.password"/>
            </el-form-item>
            <el-form-item label="点位备注" prop="remark">
              <el-input type="textarea" v-model="form.remark"/>
            </el-form-item>