zerp 2 年 前
コミット
cffcac9850
3 ファイル変更8 行追加10 行削除
  1. 1 1
      src/App.vue
  2. 6 5
      src/views/bid/index.vue
  3. 1 4
      src/views/tender/index.vue

+ 1 - 1
src/App.vue

@@ -18,7 +18,7 @@ export default {
 }
 
 ::-webkit-scrollbar-thumb {
-  /* background-color: #0f5ef080; */
+  background-color: #9999;
   /* background: linear-gradient(to left,#32e4c663,#0c6ceb71); */
   border-radius: 5px;
   box-shadow: 0 2px 12px 0 rgba(204, 201, 201, 0.1)

+ 6 - 5
src/views/bid/index.vue

@@ -194,9 +194,9 @@
       <el-table-column prop="userName" label=" 投标帐号" align="center"/>
       <el-table-column prop="status" label=" 投标结果" align="center" >
          <template slot-scope="scope">
-          <span v-if="scope.row.status == 0">已提交</span>
-          <span v-if="scope.row.status == 1">中标</span>
-          <span v-if="scope.row.status == 2">未中标</span>
+           <el-tag type="success" v-if="scope.row.status == 0">已提交</el-tag>
+          <el-tag type="success" v-if="scope.row.status == 2">已中标</el-tag>
+          <el-tag type="danger" v-if="scope.row.status == 3">未中标</el-tag>
         </template>
       </el-table-column>
 
@@ -246,6 +246,7 @@ export default {
       dialog:false,
       delLoading:false,
       viewDialog:false,
+      loading:false,
       isAdd:false,
       currentPage: 1,
       pageSize: 10,
@@ -314,7 +315,7 @@ console.log(this.bidDate)
         this.currentPage = 1
       this.getDictData()
     },
-    // 获取字典详情
+    // 获取详情
     getDictData: function() {
       this.loading = true
       // const params = new URLSearchParams()
@@ -468,7 +469,7 @@ console.log(this.bidDate)
       }
       getQueryDelete(data).then(res => {
         if (res.data.code === 200) {
-          this.$message({ message: '删除成功', type: 'success' })
+          this.$message({ message: '已作废', type: 'success' })
           this.getDictData()
         }
       }).catch(err => {

+ 1 - 4
src/views/tender/index.vue

@@ -201,6 +201,7 @@ export default {
       },
       data:[],
       dialog:false,
+      loading:false,
       delLoading:false,
       viewDialog:false,
       isAdd:false,
@@ -218,10 +219,6 @@ export default {
            { validator: checkTel, trigger: 'blur' }
         ]
       },
-      queryTypeOptions: [
-        { key: 'name', display_name: '字典名称' },
-        { key: 'remark', display_name: '描述' }
-      ],
       query: {
         type: '',
         value: ''