2
3
فهرست منبع

前端: 待评价合同提示样式

baichengfei 4 سال پیش
والد
کامیت
752f47576f
1فایلهای تغییر یافته به همراه4 افزوده شده و 12 حذف شده
  1. 4 12
      src/dashoo.cn/frontend_web/src/pages/index.vue

+ 4 - 12
src/dashoo.cn/frontend_web/src/pages/index.vue

@@ -594,19 +594,11 @@
                 console.log('未评价数量', res.data.items)
                 if (res.status === 200 && res.data.items !== null) {
                   contractNum = res.data.currentItemCount
-                  this.$confirm('您有 ' + contractNum + ' 份合同评价待处理,请及时评价!', '提示', {
-                    confirmButtonText: '确定',
-                    cancelButtonText: '取消',
+                  this.$notify({
+                    title: '提醒',
+                    message: '您有 ' + contractNum + ' 份合同评价待处理,请及时评价!',
                     type: 'warning',
-                    showCancelButton: false,
-                    showConfirmButton: false,
-                    center: true
-                  }).then(() => {
-                    console.log('')
-                  }).catch(() => {
-                    if (process.client) {
-                      window.localStorage.setItem('firstContractInfoParams', '2') // 初次登录弹框
-                    }
+                    duration: 3000
                   })
                   if (process.client) {
                     window.localStorage.setItem('firstContractInfoParams', '2') // 初次登录弹框