update
This commit is contained in:
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user