This commit is contained in:
zk
2023-12-15 18:33:04 +08:00
parent d614f10bb5
commit 2cc8886c2d
31 changed files with 820 additions and 582 deletions
+7 -4
View File
@@ -25,6 +25,7 @@
class="type-select"
:options="option"
:field-names="fieldNames"
@change="orgChange"
></a-select>
<!-- <a-cascader v-model:value="treeValue" :options="treeOption" placeholder="选择单位" :open="true" :changeOnSelect="true" />-->
<a-select placeholder="选择时间范围" v-model:value="type" class="type-select" :options="timeRangeOption"></a-select>
@@ -72,11 +73,13 @@
router.go(-1);
}
const { orgCode: treeValue, treeOption } = useTree();
watch(treeValue, (n) => {
console.log('n', n);
});
const { orgCode, option, fieldNames } = useDepart({});
function orgChange(val, option) {
console.log('val', val);
console.log('option', option);
}
const { type, timeRangeOption } = useTimeType('week');
</script>
<style lang="less" scoped>