fuliqi
2024-11-05 76ab72d2d4f443060448e20bb74230a8040b85f5
文件上传大小、工单审核后刷新
6个文件已修改
22 ■■■■ 已修改文件
src/api/platform/online-util.js 1 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/components/FileUpload/index.vue 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/components/WorkOrder/WorkOrderAuditing.vue 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/system/user/profile/index.vue 3 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/system/work-order/index.vue 8 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/tool/online/index.vue 6 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/api/platform/online-util.js
@@ -5,6 +5,7 @@
  return request({
    url: '/system/util/online',
    method: 'get',
    timeout: 30 * 1000,
    params: query
  })
}
src/components/FileUpload/index.vue
@@ -58,7 +58,7 @@
    // 大小限制(MB)
    fileSize: {
      type: Number,
      default: 5,
      default: 20,
    },
    // 文件类型, 例如['png', 'jpg', 'jpeg']
    fileType: {
src/components/WorkOrder/WorkOrderAuditing.vue
@@ -89,7 +89,7 @@
          auditing(this.auditingForm).then(res => {
            this.$emit('close', false);
            this.$modal.msgSuccess('操作成功')
            this.getList()
            this.$emit('getList', false);
          })
        }
      })
src/views/system/user/profile/index.vue
@@ -25,7 +25,8 @@
              </li>
              <li class="list-group-item">
                <svg-icon icon-class="tree" />所属部门
                <div class="pull-right" v-if="user.dept">{{ user.dept.deptName }} / {{ postGroup }}</div>
<!--                <div class="pull-right" v-if="user.dept">{{ user.dept.deptName }} / {{ postGroup }}</div>-->
                <div class="pull-right" v-if="user.dept">{{ user.dept.deptName }}</div>
              </li>
              <li class="list-group-item">
                <svg-icon icon-class="peoples" />所属角色
src/views/system/work-order/index.vue
@@ -55,7 +55,7 @@
          plain
          size="mini"
          @click="handleExport"
          v-hasPermi="['work:order:audit']"
          v-hasPermi="['work:order:export']"
        >导出
        </el-button>
      </el-col>
@@ -226,7 +226,7 @@
      </div>
    </el-dialog>
    <WorkOrderAuditing :auditingOpen="auditingOpen" :dataForm="auditingForm" :ywConditions="ywConditions" @close="closeAuditing"/>
    <WorkOrderAuditing :auditingOpen="auditingOpen" :dataForm="auditingForm" :ywConditions="ywConditions" @close="closeAuditing" @getList="getList"/>
<!--    <el-dialog title="工单审核" :visible.sync="auditingOpen" width="1000px" append-to-body>-->
<!--      <el-row :gutter="20">-->
<!--        <el-col :span="10">-->
@@ -272,7 +272,7 @@
<!--    </el-dialog>-->
    <el-dialog title="运维情况记录" :visible.sync="ywConditionOpen" width="500px" append-to-body>
      <el-form ref="form" :model="form" :rules="ywConditionRules" label-width="80px">
      <el-form ref="ywConditionForm" :model="form" :rules="ywConditionRules" label-width="80px">
        <el-form-item label="工单号" prop="workOrderNo">
          <el-input v-model="ywConditionForm.workOrderNo" disabled/>
        </el-form-item>
@@ -776,7 +776,7 @@
    },
    // 提交运维情况
    submitYwCondition() {
      this.$refs['form'].validate(valid => {
      this.$refs['ywConditionForm'].validate(valid => {
        if (valid) {
          ywCondition(this.form).then(res => {
            this.ywConditionOpen = false
src/views/tool/online/index.vue
@@ -7,15 +7,15 @@
            <el-input v-model="form.serialNumber"/>
          </el-form-item>
          <el-form-item>
            <el-button @click="check" type="primary">检测</el-button>
            <el-button  @click="check" type="primary">检测</el-button>
          </el-form-item>
        </el-form>
        <div v-loading="loading" v-if="result.status">
        <div v-loading="loading">
          <div class="row">
            <div>检测结果:</div>
            <div>{{ result.status }}</div>
          </div>
          <div style="margin-top: 100px">
          <div style="margin-top: 100px" v-if="result.status">
            <div v-if="result.img">
              <div>图片:</div>
              <div>