cfort пре 2 година
родитељ
комит
bcae1e3141
1 измењених фајлова са 1 додато и 1 уклоњено
  1. 1 1
      src/views/system/dashboard/page.vue

+ 1 - 1
src/views/system/dashboard/page.vue

@@ -556,7 +556,7 @@
             },
             getPeriodTask () {
                 const { userId } = this.$store.getters
-                const sql = `select * from t_zqswtxb where shi_fou_ti_shi_ = '是' and zhi_xing_ren_yuan like '%${userId}%' order by field(zhi_xing_zhou_qi_, '1次/天', '1次/周', '1次/月', '1次/季度', '1次/半年', '1次/年')`
+                const sql = `select * from t_zqswtxb where shi_fou_ti_xing_ = '是' and zhi_xing_ren_yuan like '%${userId}%' order by field(zhi_xing_zhou_qi_, '1次/天', '1次/周', '1次/月', '1次/季度', '1次/半年', '1次/年')`
                 curdPost('sql', sql).then(res => {
                     const { data = [] } = res.variables || {}
                     if (!data.length) {