|
@@ -556,7 +556,7 @@
|
|
|
},
|
|
},
|
|
|
getPeriodTask () {
|
|
getPeriodTask () {
|
|
|
const { userId } = this.$store.getters
|
|
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 => {
|
|
curdPost('sql', sql).then(res => {
|
|
|
const { data = [] } = res.variables || {}
|
|
const { data = [] } = res.variables || {}
|
|
|
if (!data.length) {
|
|
if (!data.length) {
|