WXL (wul)
3 天以前 09abeae851f72a25f105030e37c6a0c9f3189378
src/views/followvisit/tasklist/index.vue
@@ -184,8 +184,26 @@
          key="longTask"
          prop="longTask"
        >
          <template slot-scope="scope">
          <!-- <template slot-scope="scope">
            <span>{{ scope.row.longTask ? "长期任务" : "非长期" }}</span>
          </template> -->
           <template slot-scope="scope">
              <div v-if="scope.row.longTask == 0">
                <el-tag type="primary" :disable-transitions="false"
                  >自定义周期任务</el-tag
                >
              </div>
              <div v-if="scope.row.longTask == 1">
                <el-tag type="success" :disable-transitions="false"
                  >长期任务</el-tag
                >
              </div>
              <div v-if="scope.row.longTask == 2">
                <el-tag type="success" :disable-transitions="false"
                  >固定任务</el-tag
                >
              </div>
          </template>
        </el-table-column>