<!--
 * @Author: 倚楼听风雨 18408246387@163.com
 * @Date: 2022-09-22 13:44:58
 * @LastEditors: 倚楼听风雨 18408246387@163.com
 * @LastEditTime: 2022-09-22 13:49:38
 * @FilePath: \cool-admin-3.x\cool-admin-vue-vue3-ts-vite\src\cool\modules\shuyou\components\query-is_expire.vue
 * @Description: 这是默认设置,请设置`customMade`, 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
-->
<template>
	<cl-query field="is_expire" :list="list" />
	<!--未完成红点提示-->
	<!-- <el-badge class="item" is-dot type="danger">
		<span style="font-size: 10px">未完成</span>
	</el-badge> -->
</template>

<script lang="ts">
import { QueryList } from "cl-admin-crud-vue3/types";
import { defineComponent, ref } from "vue";

export default defineComponent({
	setup() {
		const list = ref<QueryList[]>([
			{
				label: "在租期中",
				value: 0
			},
			{
				label: "到期未续",
				value: 1
			},
			{
				label: "即将到期",
				value: 2
			}
		]);

		return {
			list
		};
	}
});
</script>
