Browse Source

no message

GeekFish 4 years ago
parent
commit
c08676671d
2 changed files with 9 additions and 6 deletions
  1. 4 4
      src/api/baseManage/issues.js
  2. 5 2
      src/views/baseManage/issues/index.vue

+ 4 - 4
src/api/baseManage/issues.js

@@ -28,11 +28,11 @@ export function updateInssues(data) {
 }
 
 //问题删除
-export function delInssues(query) {
+export function delInssues(data) {
   return request({
-    url: '/system/carbon/problem/del',
-    method: 'get',
-    params: query
+    url: '/system/carbon/problem',
+    method: 'delete',
+    params: data
   })
 }
 

+ 5 - 2
src/views/baseManage/issues/index.vue

@@ -12,8 +12,11 @@
           />
         </el-form-item>
         <el-form-item>
-          <el-select v-model="queryParams.state" placeholder="问题状态">
-              <el-option v-for="(item,index) in issuesSate" :label="item.label" :value="item.id" ></el-option>
+            <el-select v-model="queryParams.state" placeholder="问题状态" size="small">
+              <el-option 
+                  v-for="(item,index) in issuesSate" 
+                  :label="item.label" 
+                  :value="item.id" ></el-option>
             </el-select>
           </el-form-item>
         </el-form-item>