|  |  |  | 
|---|
|  |  |  | :options="organization" | 
|---|
|  |  |  | v-model="form.departmentId" | 
|---|
|  |  |  | placeholder="请选择" | 
|---|
|  |  |  | :props="{ label: 'name', value: 'id', checkStrictly: true }" | 
|---|
|  |  |  | :props="{ label: 'name', value: 'id', children: 'childList', checkStrictly: true }" | 
|---|
|  |  |  | clearable /> | 
|---|
|  |  |  | </el-form-item> | 
|---|
|  |  |  | <el-form-item label="抄送文件邮箱" prop="email"> | 
|---|
|  |  |  | 
|---|
|  |  |  | return | 
|---|
|  |  |  | } | 
|---|
|  |  |  | let obj = JSON.parse(JSON.stringify(this.form)) | 
|---|
|  |  |  | obj.departmentId = obj.departmentId[0] | 
|---|
|  |  |  | obj.departmentId = obj.departmentId[obj.departmentId.length - 1] | 
|---|
|  |  |  | // 调用新建接口 | 
|---|
|  |  |  | this.isWorking = true | 
|---|
|  |  |  | this.api.create(obj) | 
|---|
|  |  |  | 
|---|
|  |  |  | return | 
|---|
|  |  |  | } | 
|---|
|  |  |  | let obj = JSON.parse(JSON.stringify(this.form)) | 
|---|
|  |  |  | obj.departmentId = obj.departmentId[0] | 
|---|
|  |  |  | obj.departmentId = obj.departmentId[obj.departmentId.length - 1] | 
|---|
|  |  |  | // 调用新建接口 | 
|---|
|  |  |  | this.isWorking = true | 
|---|
|  |  |  | this.api.updateById(obj) | 
|---|