|
|
@ -1,21 +1,14 @@ |
|
|
|
<template> |
|
|
|
<div class="app-container"> |
|
|
|
<div v-show="viewState == 1"> |
|
|
|
<!-- 标题按钮部分开始 --> |
|
|
|
<div class="tab-header webtop"> |
|
|
|
<!-- 标题 --> |
|
|
|
<div>{{ viewTitle }}</div> |
|
|
|
<!-- start 添加修改按钮 --> |
|
|
|
<div> |
|
|
|
<el-button type="primary" size="small" :disabled="submitdisabled" @click="saveOrUpdate">保存</el-button> |
|
|
|
<el-button type="primary" size="small" :disabled="submitdisabled" @click="doSubmit">提交</el-button> |
|
|
|
<el-button type="info" size="small" @click="handleReturn()">关闭</el-button> |
|
|
|
</div> |
|
|
|
<!-- end 添加修改按钮 --> |
|
|
|
<!-- end 详情按钮 --> |
|
|
|
</div> |
|
|
|
<!-- 标题按钮部分结束 --> |
|
|
|
<!-- Start 新增修改部分 --> |
|
|
|
<div class="listconadd"> |
|
|
|
<div class="titwu">外采申请表</div> |
|
|
|
<el-form ref="form_obj" :model="formobj" :rules="rules" label-position="right" class="formadd"> |
|
|
@ -24,19 +17,19 @@ |
|
|
|
<el-col :span="3" class="tleftb"> |
|
|
|
<span>分公司名称</span> |
|
|
|
</el-col> |
|
|
|
<el-col :span="5" class="trightb"> |
|
|
|
<el-col :span="5"> |
|
|
|
<el-form-item prop="applicationCode">{{ formobj.useOrgName }}</el-form-item> |
|
|
|
</el-col> |
|
|
|
<el-col :span="3" class="tleftb"> |
|
|
|
<span>申请人</span> |
|
|
|
</el-col> |
|
|
|
<el-col :span="5" class="trightb"> |
|
|
|
<el-col :span="5"> |
|
|
|
<el-form-item prop="createByName">{{ formobj.createByName }}</el-form-item> |
|
|
|
</el-col> |
|
|
|
<el-col :span="3" class="tleftb"> |
|
|
|
<span>申请日期</span> |
|
|
|
</el-col> |
|
|
|
<el-col :span="5" class="trightb"> |
|
|
|
<el-col :span="5"> |
|
|
|
<el-form-item prop="applicationDate">{{ formobj.applicationDate }}</el-form-item> |
|
|
|
</el-col> |
|
|
|
</el-row> |
|
|
@ -44,27 +37,19 @@ |
|
|
|
<el-col :span="3" class="tleftb"> |
|
|
|
<span><span class="icon">*</span>外采类型</span> |
|
|
|
</el-col> |
|
|
|
<el-col :span="21" class="trightb" > |
|
|
|
<el-col :span="21" > |
|
|
|
<el-radio v-model="formobj.externalMiningTypeKey" label="1">直接外采</el-radio> |
|
|
|
<el-radio v-model="formobj.externalMiningTypeKey" label="2">政策外采</el-radio> |
|
|
|
</el-col> |
|
|
|
</el-row>--> |
|
|
|
<!--<el-row style="border-left: none; "> |
|
|
|
<el-col :span="3" class="tleftb"> |
|
|
|
<span><span class="icon">*</span>采购单位</span> |
|
|
|
</el-col> |
|
|
|
<el-col :span="21" class="trightb"> |
|
|
|
<el-form-item prop="purchasingUnitName"><el-input v-model="formobj.purchasingUnitName" placeholder="采购单位" class="addinputw" clearable /></el-form-item> |
|
|
|
</el-col> |
|
|
|
</el-row>--> |
|
|
|
<el-row> |
|
|
|
<el-col :span="3" class="tleftb"> |
|
|
|
<span><span class="icon">*</span>车型</span> |
|
|
|
</el-col> |
|
|
|
<el-col :span="19" class="trightb"> |
|
|
|
<el-col :span="19"> |
|
|
|
<el-form-item prop="modelName">{{ formobj.modelName }}</el-form-item> |
|
|
|
</el-col> |
|
|
|
<el-col :span="2" class="trightb"> |
|
|
|
<el-col :span="2"> |
|
|
|
<!--<button type="primary" size="small" @click="saveOrUpdate">选择</button>--> |
|
|
|
<el-form-item> |
|
|
|
<el-button type="primary" size="small" @click="selectModel">选择</el-button> |
|
|
@ -83,7 +68,7 @@ |
|
|
|
<el-col :span="3" class="tleftb"> |
|
|
|
<span>内部编码</span> |
|
|
|
</el-col> |
|
|
|
<el-col :span="5" class="trightb"> |
|
|
|
<el-col :span="5"> |
|
|
|
<el-form-item prop=""> |
|
|
|
<span>{{ formobj.insideCode }}</span> |
|
|
|
</el-form-item> |
|
|
@ -91,13 +76,13 @@ |
|
|
|
<el-col :span="3" class="tleftb"> |
|
|
|
<span>销售指导价</span> |
|
|
|
</el-col> |
|
|
|
<el-col :span="5" class="trightb"> |
|
|
|
<el-col :span="5"> |
|
|
|
<el-form-item prop="guidedPrice">{{ formobj.guidedPrice }}</el-form-item> |
|
|
|
</el-col> |
|
|
|
<el-col :span="3" class="tleftb"> |
|
|
|
<span>厂家合同价</span> |
|
|
|
</el-col> |
|
|
|
<el-col :span="5" class="trightb"> |
|
|
|
<el-col :span="5"> |
|
|
|
<el-form-item prop="manufactorSettlementPrice"> |
|
|
|
<el-input v-model="formobj.manufactorSettlementPrice" class="addinputw" clearable></el-input> |
|
|
|
</el-form-item> |
|
|
@ -109,13 +94,13 @@ |
|
|
|
</el-col> |
|
|
|
<el-col :span="13"> |
|
|
|
<el-form-item prop="purchasingUnitName"> |
|
|
|
<el-input v-model="formobj.purchasingUnitName" placeholder="采购单位" class="addinputw" clearable/> |
|
|
|
<el-input v-model="formobj.purchasingUnitName" placeholder="" class="addinputw" clearable/> |
|
|
|
</el-form-item> |
|
|
|
</el-col> |
|
|
|
<el-col :span="3" class="tleftb"> |
|
|
|
<span><span class="icon">*</span>是否先付车款</span> |
|
|
|
</el-col> |
|
|
|
<el-col :span="5" class="trightb"> |
|
|
|
<el-col :span="5"> |
|
|
|
<el-form-item prop="isBeforePayment"> |
|
|
|
<el-radio v-model="formobj.isBeforePayment" @change="changeRadio" label="1">是</el-radio> |
|
|
|
<el-radio v-model="formobj.isBeforePayment" @change="changeRadio" label="0">否</el-radio> |
|
|
@ -126,26 +111,26 @@ |
|
|
|
<el-col :span="3" class="tleftb"> |
|
|
|
<span><span class="icon">*</span>采购价格</span> |
|
|
|
</el-col> |
|
|
|
<el-col :span="5" class="trightb"> |
|
|
|
<el-col :span="5"> |
|
|
|
<el-form-item prop="purchasePrice"> |
|
|
|
<el-input v-model="formobj.purchasePrice" placeholder="采购价格" class="addinputw" clearable/> |
|
|
|
<el-input v-model="formobj.purchasePrice" placeholder="" class="addinputw" clearable/> |
|
|
|
</el-form-item> |
|
|
|
</el-col> |
|
|
|
<el-col :span="3" class="tleftb"> |
|
|
|
<span><span class="icon">*</span>台数</span> |
|
|
|
</el-col> |
|
|
|
<el-col :span="5" class="trightb"> |
|
|
|
<el-col :span="5"> |
|
|
|
<el-form-item v-show="formobj.externalMiningTypeKey==1" prop="num"> |
|
|
|
<el-input v-model="formobj.num" placeholder="台数" class="addinputw" clearable/> |
|
|
|
<el-input v-model="formobj.num" placeholder="" class="addinputw" clearable/> |
|
|
|
</el-form-item> |
|
|
|
<el-form-item v-show="formobj.externalMiningTypeKey==2" prop="num">{{ formobj.num }}</el-form-item> |
|
|
|
</el-col> |
|
|
|
<el-col :span="3" class="tleftb"> |
|
|
|
<span><span class="icon">*</span>订金</span> |
|
|
|
</el-col> |
|
|
|
<el-col :span="5" class="trightb"> |
|
|
|
<el-col :span="5"> |
|
|
|
<el-form-item prop="deposit"> |
|
|
|
<el-input style="height:10px;" :disabled="formobj.isBeforePayment === '1'" v-model="formobj.deposit" placeholder="订金" class="addinputw" clearable/> |
|
|
|
<el-input style="height:10px;" :disabled="formobj.isBeforePayment === '1'" v-model="formobj.deposit" placeholder="" class="addinputw" clearable/> |
|
|
|
</el-form-item> |
|
|
|
</el-col> |
|
|
|
</el-row> |
|
|
@ -153,7 +138,7 @@ |
|
|
|
<el-col :span="3" class="tleftb"> |
|
|
|
<span><span class="icon">*</span>车款账户名称</span> |
|
|
|
</el-col> |
|
|
|
<el-col :span="5" class="trightb"> |
|
|
|
<el-col :span="5"> |
|
|
|
<el-form-item prop="accountName"> |
|
|
|
<el-input v-model="formobj.accountName" placeholder="" class="addinputw" clearable/> |
|
|
|
</el-form-item> |
|
|
@ -161,7 +146,7 @@ |
|
|
|
<el-col :span="3" class="tleftb"> |
|
|
|
<span>开户行</span> |
|
|
|
</el-col> |
|
|
|
<el-col :span="5" class="trightb"> |
|
|
|
<el-col :span="5"> |
|
|
|
<el-form-item> |
|
|
|
<el-input v-model="formobj.depositBankName" placeholder="" class="addinputw" clearable/> |
|
|
|
</el-form-item> |
|
|
@ -169,7 +154,7 @@ |
|
|
|
<el-col :span="3" class="tleftb"> |
|
|
|
<span>银行账号</span> |
|
|
|
</el-col> |
|
|
|
<el-col :span="5" class="trightb"> |
|
|
|
<el-col :span="5"> |
|
|
|
<el-form-item> |
|
|
|
<el-input v-model="formobj.bankAccount" placeholder="" class="addinputw" clearable/> |
|
|
|
</el-form-item> |
|
|
@ -179,7 +164,7 @@ |
|
|
|
<el-col :span="3" class="tleftb"> |
|
|
|
<span>订金账户名称</span> |
|
|
|
</el-col> |
|
|
|
<el-col :span="5" class="trightb"> |
|
|
|
<el-col :span="5"> |
|
|
|
<el-form-item> |
|
|
|
<el-input v-model="formobj.modelAccountName" placeholder="" class="addinputw" clearable/> |
|
|
|
</el-form-item> |
|
|
@ -187,7 +172,7 @@ |
|
|
|
<el-col :span="3" class="tleftb"> |
|
|
|
<span>开户行</span> |
|
|
|
</el-col> |
|
|
|
<el-col :span="5" class="trightb"> |
|
|
|
<el-col :span="5"> |
|
|
|
<el-form-item> |
|
|
|
<el-input size="small" v-model="formobj.modelBankName" placeholder="" class="addinputw" clearable/> |
|
|
|
</el-form-item> |
|
|
@ -195,7 +180,7 @@ |
|
|
|
<el-col :span="3" class="tleftb"> |
|
|
|
<span>银行账号</span> |
|
|
|
</el-col> |
|
|
|
<el-col :span="5" class="trightb"> |
|
|
|
<el-col :span="5"> |
|
|
|
<el-form-item> |
|
|
|
<el-input v-model="formobj.modelBankAccount" placeholder="" class="addinputw" clearable/> |
|
|
|
</el-form-item> |
|
|
@ -205,17 +190,17 @@ |
|
|
|
<el-col :span="3" class="tleftb"> |
|
|
|
<span>其他费用名称</span> |
|
|
|
</el-col> |
|
|
|
<el-col :span="13" class="trightb"> |
|
|
|
<el-col :span="13"> |
|
|
|
<el-form-item prop="expenseName"> |
|
|
|
<el-input v-model="formobj.expenseName" placeholder="费用名称" class="addinputw" clearable/> |
|
|
|
<el-input v-model="formobj.expenseName" placeholder="" class="addinputw" clearable/> |
|
|
|
</el-form-item> |
|
|
|
</el-col> |
|
|
|
<el-col :span="3" class="tleftb"> |
|
|
|
<span>其他费用合计</span> |
|
|
|
</el-col> |
|
|
|
<el-col :span="5" class="trightb"> |
|
|
|
<el-col :span="5"> |
|
|
|
<el-form-item prop="totalExpenseAmount"> |
|
|
|
<el-input v-model="formobj.totalExpenseAmount" placeholder="费用金额合计" class="addinputw" clearable/> |
|
|
|
<el-input v-model="formobj.totalExpenseAmount" placeholder="" class="addinputw" clearable/> |
|
|
|
</el-form-item> |
|
|
|
</el-col> |
|
|
|
</el-row> |
|
|
@ -223,9 +208,9 @@ |
|
|
|
<el-col :span="3" class="tleftb"> |
|
|
|
<span>备注</span> |
|
|
|
</el-col> |
|
|
|
<el-col :span="21" class="trightb"> |
|
|
|
<el-col :span="21"> |
|
|
|
<el-form-item prop="remarks"> |
|
|
|
<el-input v-model="formobj.remarks" placeholder="备注" class="addinputw" clearable/> |
|
|
|
<el-input v-model="formobj.remarks" placeholder="" class="addinputw" clearable/> |
|
|
|
</el-form-item> |
|
|
|
</el-col> |
|
|
|
</el-row> |
|
|
@ -269,47 +254,11 @@ |
|
|
|
</div> |
|
|
|
</el-form> |
|
|
|
</div> |
|
|
|
</div><!-- End 添加修改部分 --> |
|
|
|
<!-- 选择待办人 --> |
|
|
|
<!-- <modellibrary @doback="resetState" v-show="viewState == 1.2" ref="chexingxuanze" @handleChexing="selectChexing"></modellibrary> |
|
|
|
--> |
|
|
|
|
|
|
|
<el-dialog title="填写审批意见" :visible.sync="nodeDialogVisible" width="80%"> |
|
|
|
<el-form label-position="right" class="formadd"> |
|
|
|
<el-row> |
|
|
|
<el-col :span="4" class="tleftb">当前环节</el-col> |
|
|
|
<el-col :span="20" class="trightb"> |
|
|
|
<!--当前环节指向下一环节--> |
|
|
|
<el-form-item prop="purchasingUnitName"><span>{{ firstNode.name }}->{{ nextNode.name }}</span> |
|
|
|
</el-form-item> |
|
|
|
</el-col> |
|
|
|
</el-row> |
|
|
|
<div style="text-align:center;margin-top: 20px;"> |
|
|
|
<el-button type="primary" size="mini" @click="agree">确 定</el-button> |
|
|
|
<el-button type="info " size="mini" @click="closeNodeDialog">取 消</el-button> |
|
|
|
</div> |
|
|
|
</el-form> |
|
|
|
</el-dialog> |
|
|
|
<!-- 选择用户 的弹出框--> |
|
|
|
<el-dialog title="选择用户" :visible.sync="nodeUserDialogVisible" width="80%"> |
|
|
|
<el-form label-position="right" class="formadd"> |
|
|
|
<div v-for="item in users"> |
|
|
|
<el-row> |
|
|
|
<el-col :span="24" class="tleftb" style="text-align: left">{{ item.dept }}</el-col> |
|
|
|
</el-row> |
|
|
|
<el-row> |
|
|
|
<el-col :span="24" class="trightb"> |
|
|
|
<el-radio-group v-model="userSid"> |
|
|
|
<el-radio v-for="item in item.users" :key="item.sid" :label="item.sid" @change="checkedUser(item)">{{ item.name }} |
|
|
|
</el-radio> |
|
|
|
</el-radio-group> |
|
|
|
</el-col> |
|
|
|
</el-row> |
|
|
|
</div> |
|
|
|
</el-form> |
|
|
|
</el-dialog> |
|
|
|
</div> |
|
|
|
<!-- End 添加修改部分 --> |
|
|
|
<!-- <modellibrary @doback="resetState" v-show="viewState == 1.2" ref="chexingxuanze" @handleChexing="selectChexing"></modellibrary>--> |
|
|
|
<!--选择车型和常用配置--> |
|
|
|
<configuration v-show="viewState == 1.2" ref="divconfiguration" @backData="selectChexing" @doback="closePage"/> |
|
|
|
<configuration v-show="viewState == 2" ref="divconfiguration" @backData="selectChexing" @doback="closePage"/> |
|
|
|
</div> |
|
|
|
</template> |
|
|
|
<script> |
|
|
@ -330,18 +279,8 @@ export default { |
|
|
|
accessToken: { |
|
|
|
token: getStorage() |
|
|
|
}, |
|
|
|
// 第一个环节 |
|
|
|
firstNode: {}, |
|
|
|
// 下一个环节 |
|
|
|
nextNode: {}, |
|
|
|
// 角色sid |
|
|
|
roleSid: '', |
|
|
|
// 可选择的下一环节的用户集合 |
|
|
|
users: [], |
|
|
|
// 点击提交按钮显示弹框 |
|
|
|
nodeDialogVisible: false, |
|
|
|
// 选择用户弹框 |
|
|
|
nodeUserDialogVisible: false, |
|
|
|
selectedSids: '', |
|
|
|
vehicleDialogVisible: false, |
|
|
|
dialogVisible: false, |
|
|
@ -401,7 +340,7 @@ export default { |
|
|
|
createByName: [{ required: true, message: '申请人姓名不能为空', trigger: 'blur' }], // 申请人姓名 |
|
|
|
externalMiningTypeKey: [{ required: true, message: '外采类型key不能为空', trigger: 'blur' }], // 外采类型key |
|
|
|
externalMiningTypeValue: [{ required: true, message: '外采类型value不能为空', trigger: 'blur' }], // 外采类型value |
|
|
|
purchasingUnitName: [{ required: true, message: '采购单位不能为空', trigger: 'blur' }], // 采购单位名称 |
|
|
|
purchasingUnitName: [{ required: true, message: '外采供应商不能为空', trigger: 'blur' }], // 采购单位名称 |
|
|
|
accountName: [{ required: true, message: '车款账户不能为空', trigger: 'blur' }], // 车款账户 |
|
|
|
depositBankName: [{ required: true, message: '车款开户银行不能为空', trigger: 'blur' }], // 采购单位名称 |
|
|
|
bankAccount: [{ required: true, message: '车款银行账号不能为空', trigger: 'blur' }], // 采购单位名称 |
|
|
@ -452,8 +391,7 @@ export default { |
|
|
|
getPathSid() { |
|
|
|
const userSid = window.sessionStorage.getItem('userSid') |
|
|
|
getPathSidByUserSid({ userSid: userSid }).then((res) => { |
|
|
|
if (res.code === '200') { |
|
|
|
// this.listQuery.params.createOrgSId = res.data |
|
|
|
if (res.success) { |
|
|
|
req.fetchOrgBySid(res.data).then((ress) => { |
|
|
|
this.formobj.useOrgName = ress.data.name |
|
|
|
}) |
|
|
@ -467,9 +405,6 @@ export default { |
|
|
|
fileSize: file.response.data.size |
|
|
|
} |
|
|
|
}, |
|
|
|
closeNodeDialog() { |
|
|
|
this.nodeDialogVisible = false |
|
|
|
}, |
|
|
|
quedingVehicle() { |
|
|
|
var obj = this.$refs['cheliang'].getSids() |
|
|
|
var length = obj.length |
|
|
@ -484,13 +419,10 @@ export default { |
|
|
|
}, |
|
|
|
resetState() { |
|
|
|
this.viewState = 1 |
|
|
|
this.handReset() |
|
|
|
}, |
|
|
|
selectModel() { |
|
|
|
this.viewState = '1.2' |
|
|
|
// this.viewState = 2 |
|
|
|
this.viewState = 2 |
|
|
|
this.$refs['divconfiguration'].showData(this.formobj.baseOutsourcingApplicationVehicleDtos) |
|
|
|
// this.$refs['chexingxuanze'].showChexing() |
|
|
|
}, |
|
|
|
selectChexing(info) { |
|
|
|
this.viewState = '1' |
|
|
@ -583,12 +515,6 @@ export default { |
|
|
|
url: vdata.contract.filePath |
|
|
|
}) |
|
|
|
} |
|
|
|
/* |
|
|
|
this.formobj.contract={ |
|
|
|
sourceFileName : vdata.contract.fileName , |
|
|
|
filePath: vdata.contract.filePath, |
|
|
|
fileSize: vdata.contract.fileSize |
|
|
|
}*/ |
|
|
|
this.formobj.contract = vdata.contract |
|
|
|
this.formobj.accountName = vdata.accountName |
|
|
|
this.formobj.remarks = vdata.remarks |
|
|
@ -626,8 +552,7 @@ export default { |
|
|
|
} else { |
|
|
|
// 根据resp.code进行异常情况处理 |
|
|
|
} |
|
|
|
}) |
|
|
|
.catch(e => { |
|
|
|
}).catch(e => { |
|
|
|
console.log(e) |
|
|
|
}) |
|
|
|
}, |
|
|
@ -646,25 +571,6 @@ export default { |
|
|
|
this.vehicleDialogVisible = false |
|
|
|
this.dialogVisible = false |
|
|
|
}, |
|
|
|
indexMethod(index) { |
|
|
|
/* var pagestart=(this.queryParams.current-1) * this.queryParams.size; |
|
|
|
var pageindex=index+1+pagestart; |
|
|
|
return pageindex;*/ |
|
|
|
}, |
|
|
|
// 打开选择用户的弹框,并且根据角色查询用户列表 |
|
|
|
/* selectUser() { |
|
|
|
this.nodeUserDialogVisible = true; |
|
|
|
req.getUsers( this.roleSid ).then(res => { |
|
|
|
this.users = res.data |
|
|
|
}) |
|
|
|
},*/ |
|
|
|
// 选择下一环节的用户 |
|
|
|
/* checkedUser(val) { |
|
|
|
|
|
|
|
this.userName = val.name |
|
|
|
this.formobj.nextUserSid =val.sid |
|
|
|
this.nodeUserDialogVisible = false |
|
|
|
},*/ |
|
|
|
doSubmit() { |
|
|
|
// var contract = this.formobj.contract |
|
|
|
// if (contract.fileName === '' || contract.fileName === null || contract.fileName === undefined) { |
|
|
@ -680,28 +586,6 @@ export default { |
|
|
|
this.formobj.userSid = window.sessionStorage.getItem('userSid') |
|
|
|
this.formobj.orgSid = this.$store.getters.orgSid |
|
|
|
// 查验下一环节要用到,流程定义的id |
|
|
|
|
|
|
|
this.agree() |
|
|
|
// req.getNextNodesForSubmit(this.formobj).then(resp=>{ |
|
|
|
// if (resp.success) { |
|
|
|
// //第一个环节 |
|
|
|
// this.firstNode=resp.data[0]; |
|
|
|
// //下一环节 |
|
|
|
// this.nextNode=resp.data[1]; |
|
|
|
// //环节上配置的角色 |
|
|
|
// var candidateGroups=this.nextNode.candidateGroups; |
|
|
|
// this.roleSid=candidateGroups[0]; |
|
|
|
// req.getNextUserSids( this.formobj.orgSid,this.roleSid ).then(res => { |
|
|
|
// /!*this.users = res.data*!/ |
|
|
|
// this.formobj.nextUserSid =res.data |
|
|
|
// }) |
|
|
|
// // this.nodeDialogVisible = true |
|
|
|
// } |
|
|
|
// this.submitdisabled = false |
|
|
|
// }) |
|
|
|
}, |
|
|
|
// 选择用户后点击确定/同意时向后台传递数据,启动流程,并从第一个环节流转到下一个环节 |
|
|
|
agree() { |
|
|
|
req.doSubmit(this.formobj).then(resp => { |
|
|
|
this.submitdisabled = false |
|
|
|
if (resp.success) { |
|
|
@ -716,7 +600,6 @@ export default { |
|
|
|
}) |
|
|
|
}, |
|
|
|
saveOrUpdate() { |
|
|
|
const _this = this |
|
|
|
this.formobj.userSid = window.sessionStorage.getItem('userSid') |
|
|
|
this.formobj.orgSid = this.$store.getters.orgSid |
|
|
|
if (this.formobj.externalMiningTypeKey == '1') { |
|
|
@ -730,8 +613,8 @@ export default { |
|
|
|
req.saveOrUpdate(this.formobj).then(resp => { |
|
|
|
this.submitdisabled = false |
|
|
|
if (resp.success) { |
|
|
|
_this.$message({ showClose: true, type: 'success', message: resp.msg }) |
|
|
|
_this.handleReturn('true') |
|
|
|
this.$message({ showClose: true, type: 'success', message: resp.msg }) |
|
|
|
this.handleReturn('true') |
|
|
|
} else { |
|
|
|
// 根据resp.code进行异常情况处理 |
|
|
|
} |
|
|
|