Commit 2d59494b authored by Mac's avatar Mac

1

parent dc8c5e16
......@@ -153,7 +153,7 @@
childrenKey="ChildList"
strategy="leaf"
:treeData="state.dataTree"
@select_t="getdpt"
@select="getdpt"
/>
</div>
</template>
......@@ -165,7 +165,6 @@ import departmentStaff from '@/components/common/departmentStaff.vue'
import customerService2 from '@/api/customer2'
import { useQuasar } from 'quasar'
import { xorWith } from 'lodash'
export default defineComponent({
......@@ -367,9 +366,10 @@ export default defineComponent({
}
state.defaultArray= []
state.addMsg.DeptEmpList.forEach(x => {
x.Id = x.Id+'-'+x.Type
state.defaultArray.push(x.Id+'-'+x.Type)
x.Id = x.Type+'-'+x.Id
state.defaultArray.push(x.Id)
})
console.log(state.defaultArray)
}
})
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment