| | |
| | | <template> |
| | | <win-md :title="setting.title" @close="close" :width="'800px'"> |
| | | <win-md :title="setting.title" @close="close" :width="'800px'" :loading="loading"> |
| | | <div class="section-container"> |
| | | <div class="section-left"> |
| | | <div class="header-row"><span class="title">选择人员:</span></div> |
| | |
| | | }, |
| | | data() { |
| | | return { |
| | | loading:true, |
| | | loadingText:'加载中', |
| | | selectdSections: [], |
| | | treeData: [], |
| | | formData: {}, |
| | |
| | | }, |
| | | computed: { |
| | | checkedKeys() { |
| | | console.log( |
| | | 1111, |
| | | this.selectdSections.map((v) => v.id), |
| | | ); |
| | | return this.selectdSections.map((v) => v.id); |
| | | }, |
| | | }, |
| | | created() { |
| | | console.log(this.setting); |
| | | if (this.setting.info) { |
| | | this.formData = Object.assign({}, JSON.parse(this.setting.info)); |
| | | } |
| | |
| | | return item; |
| | | }); |
| | | this.key = Math.random(); |
| | | this.loading = false |
| | | }); |
| | | }, |
| | | methods: { |
| | |
| | | managerName: item.name, |
| | | }); |
| | | }); |
| | | debugger; |
| | | warehouseManagerAdd(params).then((res) => { |
| | | setTimeout(()=>{ |
| | | this.$message.success('保存成功!'); |
| | | this.close(); |
| | | this.$emit('search'); |
| | | }); |
| | | },6000) |
| | | // warehouseManagerAdd(params).then((res) => { |
| | | // this.$message.success('保存成功!'); |
| | | // this.close(); |
| | | // this.$emit('search'); |
| | | // }); |
| | | }, |
| | | }, |
| | | }; |