yanghao пре 1 недеља
родитељ
комит
d91478d4c7
3 измењених фајлова са 22 додато и 4 уклоњено
  1. 1 1
      .env.local
  2. 4 1
      src/views/pms/qhse/kanban/index.vue
  3. 17 2
      src/views/pms/qhse/safety/index.vue

+ 1 - 1
.env.local

@@ -4,7 +4,7 @@ NODE_ENV=development
 VITE_DEV=true
 
 # 请求路径  http://192.168.188.79:48080  https://iot.deepoil.cc  http://172.26.0.56:48080
-VITE_BASE_URL='http://172.26.0.56:48080'
+VITE_BASE_URL='https://iot.deepoil.cc'
 
 # 文件上传类型:server - 后端上传, client - 前端直连上传,仅支持 S3 服务
 VITE_UPLOAD_TYPE=server

+ 4 - 1
src/views/pms/qhse/kanban/index.vue

@@ -660,6 +660,9 @@ function destroySocChart() {
 
 .summary-panel {
   padding-bottom: 22px;
+  padding-left: 10px;
+  padding-right: 10px;
+  height: 220px;
 }
 
 .summary-grid {
@@ -709,7 +712,7 @@ function destroySocChart() {
   display: grid;
   grid-template-columns: 1.02fr 1fr 0.98fr;
   gap: 28px;
-  margin-top: 24px;
+  margin-top: 18px;
 }
 
 .left-column,

+ 17 - 2
src/views/pms/qhse/safety/index.vue

@@ -10,12 +10,26 @@
             <el-input placeholder="请输入地址" v-model="queryParams.address" />
           </el-form-item>
 
+          <el-form-item label="来源" prop="source">
+            <el-select
+              v-model="queryParams.source"
+              placeholder="请选择来源"
+              clearable
+              style="width: 150px">
+              <el-option
+                v-for="dict in getStrDictOptions(DICT_TYPE.QHSE_HAZARD_SOURCE)"
+                :key="dict.value"
+                :label="dict.label"
+                :value="dict.value" />
+            </el-select>
+          </el-form-item>
+
           <el-form-item label="状态" prop="status">
             <el-select
               v-model="queryParams.status"
               placeholder="请选择状态"
               clearable
-              style="width: 180px">
+              style="width: 150px">
               <el-option
                 v-for="dict in getStrDictOptions(DICT_TYPE.QHSE_HAZARD_STATUS)"
                 :key="dict.value"
@@ -317,7 +331,8 @@ const queryParams = reactive({
   pageSize: 10,
   status: '',
   deptId: '',
-  address: ''
+  address: '',
+  source: ''
 })
 const queryFormRef = ref(null) // 搜索的表单