| | |
| | | <div class="config_data_submit"> |
| | | <el-button |
| | | @click="onSubmit" |
| | | :loading="subLoading" |
| | | style="background: #435ebe" |
| | | type="primary" |
| | | >保存配置项</el-button |
| | |
| | | data () { |
| | | return { |
| | | activeType: '0', |
| | | subLoading: false, |
| | | apprList: [ |
| | | { remark: '审批人', active: false, type: '0', objIds: [] }, |
| | | { remark: '抄送人', active: false, type: '1', objIds: [] } |
| | |
| | | item.objIds = '' |
| | | } |
| | | }) |
| | | this.subLoading = true |
| | | approveTemplSave({ |
| | | type: activeType, |
| | | paramList: temp |
| | | }).then(res => { |
| | | // if (res.code === 200) { |
| | | this.$message.success('保存成功') |
| | | // } |
| | | this.subLoading = false |
| | | this.$tip.success('保存成功') |
| | | }, () => { |
| | | this.subLoading = false |
| | | }) |
| | | }, |
| | | handleDel () { |