提交 653bb960 编写于 作者: changdi.hao's avatar changdi.hao

Merge branch 'dev-20210702' of...

Merge branch 'dev-20210702' of http://192.168.110.53/com.pica.cloud.education.frontend/pica-admin-consultation into dev-20210702
...@@ -17,17 +17,17 @@ ...@@ -17,17 +17,17 @@
<el-form-item v-if="bizType == 12" label="问诊方式" prop="audioCommissionType"> <el-form-item v-if="bizType == 12" label="问诊方式" prop="audioCommissionType">
<el-col :span="16"> <el-col :span="16">
<el-radio-group v-model="model.diagnoseChannel" size="small" style="line-height: 45px;"> <el-radio-group v-model="model.diagnoseChannel" size="small" style="line-height: 45px;">
<el-radio :label="1" >APP问诊(系统发起问诊)</el-radio> <el-radio :label="1">APP问诊(系统发起问诊)</el-radio>
<el-radio :label="2" >线下问诊(APP不会自动发起问诊)</el-radio> <el-radio :label="2">线下问诊(APP不会自动发起问诊)</el-radio>
</el-radio-group> </el-radio-group>
</el-col> </el-col>
</el-form-item> </el-form-item>
<el-form-item label="预约时间"> <el-form-item label="预约时间" class="required-label" prop="rangeTime">
<el-date-picker <el-date-picker
v-model="rangeTime" v-model="rangeTime"
type="daterange" type="datetimerange"
value-format="yyyy-MM-dd" value-format="yyyy-MM-dd HH:mm:ss"
range-separator="至" range-separator="至"
start-placeholder="开始日期" start-placeholder="开始日期"
end-placeholder="结束日期" end-placeholder="结束日期"
...@@ -47,22 +47,9 @@ ...@@ -47,22 +47,9 @@
<script> <script>
import {updateDiagnosis} from "../../utils/diagnosis"; import {updateDiagnosis} from "../../utils/diagnosis";
let vm = null; let vm = null;
export default { export default {
props: {
appointmentTimeVisible: {
type: Boolean,
default: false
},
diagnoseLogId: {
type: Number,
default: 0
},
bizType: {
type: Number,
default: 0
},
},
data() { data() {
return { return {
show: false, show: false,
...@@ -70,50 +57,79 @@ export default { ...@@ -70,50 +57,79 @@ export default {
confirmTxt: '确定', confirmTxt: '确定',
cancleTxt: '', cancleTxt: '',
_promise: null, _promise: null,
model:{ model: {
diagnoseChannel:'', diagnoseChannel: '',
appointBeginTime:"", appointBeginTime: "",
appointEndTime:"" appointEndTime: ""
}, },
rangeTime:'', rangeTime: '',
addRules:{ addRules: {
rangeTime: [
{
type: 'array',
required: true,
// message: "预约时间不能为空",
trigger: 'change',
fields: {
0: {required: true, type: 'date', message: "开始时间不能为空", trigger: 'change'},
1: {required: true, type: 'date', message: '结束时间不能为空', trigger: 'change'}
}
}
],
}, },
pickerOptions1: { pickerOptions1: {
disabledDate: time => { disabledDate: time => {
return ( return (
time.getTime() > new Date().getTime() time.getTime() < Date.now()-1 * 24 * 3600 * 1000
); //减去一天的时间代表可以选择同一天; ); //减去一天的时间代表可以选择同一天;
} }
}, },
} }
}, },
props: {
appointmentTimeVisible: {
type: Boolean,
default: false
},
diagnoseLogId: {
type: Number,
default: 0
},
bizType: {
type: Number,
default: 0
},
},
created() { created() {
vm = this; vm = this;
}, },
methods: { methods: {
confirm() { confirm() {
this.$refs.setForm.validate((valid) => { if(!(this.rangeTime != null && this.rangeTime.length > 0)){
if (valid) { vm.$message.warning("请选择预约时间");
return;
}
// this.$refs.setForm.validate((valid) => {
// if (valid) {
let req = null; let req = null;
if(this.bizType == 11){ if (this.bizType == 11) {
req = { req = {
id:this.diagnoseLogId, id: this.diagnoseLogId,
bizType:this.bizType, bizType: this.bizType,
appointBeginTime:this.rangeTime[0], appointBeginTime: this.rangeTime[0],
appointEndTime:this.rangeTime[1] appointEndTime: this.rangeTime[1]
} }
} } else if (this.bizType == 12) {
else if(this.bizType == 12){ req = {
req = { id: this.diagnoseLogId,
id:this.diagnoseLogId, bizType: this.bizType,
bizType:this.bizType,
diagnoseChannel: this.model.diagnoseChannel, diagnoseChannel: this.model.diagnoseChannel,
appointBeginTime:this.rangeTime[0], appointBeginTime: this.rangeTime[0],
appointEndTime:this.rangeTime[1] appointEndTime: this.rangeTime[1]
} }
} }
updateDiagnosis(req).then(function (res) { updateDiagnosis(req).then(function (res) {
if(res.code == "000000") { if (res.code == "000000") {
vm.cancel(); vm.cancel();
vm.$emit('search'); vm.$emit('search');
} else { } else {
...@@ -122,10 +138,10 @@ export default { ...@@ -122,10 +138,10 @@ export default {
}).catch(function (error) { }).catch(function (error) {
vm.$message.error(res.message); vm.$message.error(res.message);
}); });
} // }
}) // })
}, },
cancel(){ cancel() {
this.$emit('update:appointmentTimeVisible', false); this.$emit('update:appointmentTimeVisible', false);
} }
} }
......
...@@ -13,9 +13,9 @@ ...@@ -13,9 +13,9 @@
size="mini" size="mini"
style="width: 100%;"> style="width: 100%;">
<el-form-item label="备注" class="required-label"> <el-form-item label="备注">
<el-col :span="15"> <el-col :span="15">
<el-input type="textarea" v-model="model.coordinatedRemark" style="width: 90%;" size="small" minlength="2" maxlength="500" placeholder="请输入备注"></el-input> <el-input type="textarea" v-model="model.coordinatedRemark" style="width: 90%;" size="small" minlength="2" maxlength="500" placeholder="(选填)请输入备注信息"></el-input>
</el-col> </el-col>
</el-form-item> </el-form-item>
......
...@@ -15,7 +15,7 @@ ...@@ -15,7 +15,7 @@
<el-form-item label="接诊医生" prop="receptionName"> <el-form-item label="接诊医生" prop="receptionName">
<!-- <el-input v-model="formData.doctorName" placeholder="请选择接诊医生" class="set-width" disabled></el-input>--> <!-- <el-input v-model="formData.doctorName" placeholder="请选择接诊医生" class="set-width" disabled></el-input>-->
<el-select @change="doctorChanged($event)" filterable v-model="formData.receptionName" placeholder="请选择接诊医生" class="set-width"> <el-select @change="doctorChanged($event)" filterable v-model="formData.receptionId" placeholder="请选择接诊医生" class="set-width">
<el-option v-for="item of doctorList" :key="item.doctorId" :label="item.doctorName" :value="item.doctorId"></el-option> <el-option v-for="item of doctorList" :key="item.doctorId" :label="item.doctorName" :value="item.doctorId"></el-option>
</el-select> </el-select>
</el-form-item> </el-form-item>
...@@ -45,11 +45,11 @@ ...@@ -45,11 +45,11 @@
<!-- <el-option v-for="item of doctorSourceList" :key="item.value" :label="item.label" :value="item.value" ></el-option>--> <!-- <el-option v-for="item of doctorSourceList" :key="item.value" :label="item.label" :value="item.value" ></el-option>-->
<!-- </el-select>--> <!-- </el-select>-->
<!-- </el-form-item>--> <!-- </el-form-item>-->
<el-form-item label="接诊意向时间"> <el-form-item label="接诊意向时间" class="required-label" prop="rangeTime">
<el-date-picker <el-date-picker
v-model="rangeTime" v-model="rangeTime"
type="daterange" type="datetimerange"
value-format="yyyy-MM-dd" value-format="yyyy-MM-dd HH:mm:ss"
range-separator="至" range-separator="至"
start-placeholder="开始日期" start-placeholder="开始日期"
end-placeholder="结束日期" end-placeholder="结束日期"
...@@ -84,6 +84,10 @@ export default { ...@@ -84,6 +84,10 @@ export default {
type: Number, type: Number,
default: 0 default: 0
}, },
doctorId: {
type: Number,
default: 0
},
}, },
data() { data() {
return { return {
...@@ -93,7 +97,7 @@ export default { ...@@ -93,7 +97,7 @@ export default {
cancleTxt: '', cancleTxt: '',
_promise: null, _promise: null,
formData:{ formData:{
receptionId:"", receptionId:this.doctorId,
receptionName:"", receptionName:"",
doctorTitle:"", doctorTitle:"",
doctorHospital:"", doctorHospital:"",
...@@ -108,6 +112,20 @@ export default { ...@@ -108,6 +112,20 @@ export default {
addRules:{ addRules:{
receptionName: [ receptionName: [
{required: true, message: "请选择接诊医生", trigger: 'blur'} {required: true, message: "请选择接诊医生", trigger: 'blur'}
],
rangeTime: [
// {type: 'array',required: true, validator: checkDate, trigger: 'blur,change'}
{
type: 'array',
required: true,
// message: "预约时间不能为空",
// validator: checkDate,
trigger: 'change',
fields: {
0: {required: true, type: 'date', message: "开始时间不能为空"},
1: {required: true, type: 'date', message: '结束时间不能为空'}
}
}
] ]
}, },
pickerOptions1: { pickerOptions1: {
......
...@@ -13,11 +13,11 @@ ...@@ -13,11 +13,11 @@
size="mini" size="mini"
style="width: 100%;"> style="width: 100%;">
<el-form-item label="助诊意向时间" class="required-label"> <el-form-item label="助诊意向时间" class="required-label" prop="rangeTime">
<el-date-picker <el-date-picker
v-model="rangeTime" v-model="rangeTime"
type="daterange" type="datetimerange"
value-format="yyyy-MM-dd" value-format="yyyy-MM-dd HH:mm:ss"
range-separator="至" range-separator="至"
start-placeholder="开始日期" start-placeholder="开始日期"
end-placeholder="结束日期" end-placeholder="结束日期"
...@@ -25,7 +25,7 @@ ...@@ -25,7 +25,7 @@
</el-date-picker> </el-date-picker>
</el-form-item> </el-form-item>
<el-form-item label="备注" class="required-label"> <el-form-item label="备注">
<el-col :span="15"> <el-col :span="15">
<el-input type="textarea" v-model="model.assistantRemark" style="width: 90%;" size="small" minlength="2" <el-input type="textarea" v-model="model.assistantRemark" style="width: 90%;" size="small" minlength="2"
maxlength="500" placeholder="请输入备注"></el-input> maxlength="500" placeholder="请输入备注"></el-input>
...@@ -60,6 +60,13 @@ export default { ...@@ -60,6 +60,13 @@ export default {
}, },
}, },
data() { data() {
let checkDate = (rule, value, callback) => {
if(!value) {
callback(new Error("请选择助诊意向时间"));
} else {
callback();
}
}
return { return {
show: false, show: false,
title: '设置预约时间(问诊时间)', title: '设置预约时间(问诊时间)',
...@@ -72,13 +79,24 @@ export default { ...@@ -72,13 +79,24 @@ export default {
rangeTime: '', rangeTime: '',
addRules: { addRules: {
rangeTime: [ rangeTime: [
{required: true, message: "请选择助诊意向时间", trigger: 'blur'} // {type: 'array',required: true, validator: checkDate, trigger: 'blur,change'}
{
type: 'array',
required: true,
// message: "预约时间不能为空",
// validator: checkDate,
trigger: 'change',
fields: {
0: {required: true, type: 'date', message: "开始时间不能为空"},
1: {required: true, type: 'date', message: '结束时间不能为空'}
}
}
] ]
}, },
pickerOptions1: { pickerOptions1: {
disabledDate: time => { disabledDate: time => {
return ( return (
time.getTime() > new Date().getTime() time.getTime() < Date.now()-1 * 24 * 3600 * 1000
); //减去一天的时间代表可以选择同一天; ); //减去一天的时间代表可以选择同一天;
} }
}, },
...@@ -89,8 +107,12 @@ export default { ...@@ -89,8 +107,12 @@ export default {
}, },
methods: { methods: {
confirm() { confirm() {
this.$refs.setForm.validate((valid) => { // this.$refs.setForm.validate((valid) => {
if (valid) { // if (valid) {
if(!(this.rangeTime != null && this.rangeTime.length > 0)){
vm.$message.warning("请选择助诊意向时间");
return;
}
let req = { let req = {
id:this.diagnoseLogId, id:this.diagnoseLogId,
bizType:this.bizType, bizType:this.bizType,
...@@ -108,8 +130,8 @@ export default { ...@@ -108,8 +130,8 @@ export default {
}).catch(function (error) { }).catch(function (error) {
vm.$message.error(res.message); vm.$message.error(res.message);
}); });
} // }
}) // })
}, },
cancel() { cancel() {
this.$emit('update:diagnosisTimeVisible', false); this.$emit('update:diagnosisTimeVisible', false);
......
...@@ -4,7 +4,7 @@ ...@@ -4,7 +4,7 @@
:title="title" :title="title"
:visible.sync="matchVisible"> :visible.sync="matchVisible">
<!-- <el-row :gutter="30" class="row search" type="flex" style="margin-bottom:0;">--> <!-- <el-row :gutter="30" class="row search" type="flex" style="margin-bottom:0;">-->
<el-form ref="setPriceForm" <el-form ref="setForm"
:rules="addRules" :rules="addRules"
:model="model" :model="model"
label-width="250px" label-width="250px"
...@@ -13,9 +13,8 @@ ...@@ -13,9 +13,8 @@
size="mini" size="mini"
style="width: 100%;"> style="width: 100%;">
<el-form-item label="运营名称" class="required-label" prop="operatorName"> <el-form-item label="运营名称" class="required-label" prop="operatorId">
<el-col :span="15"> <el-col :span="15">
<el-select <el-select
v-model="model.operatorId" v-model="model.operatorId"
placeholder="请选择运营名称" placeholder="请选择运营名称"
...@@ -80,8 +79,8 @@ export default { ...@@ -80,8 +79,8 @@ export default {
}, },
adminList:'', adminList:'',
addRules:{ addRules:{
operatorName: [ operatorId: [
{required: true, message: "请输入运营名称", trigger: 'blur'} {required: true, message: "请选择运营人员", trigger: 'change'}
] ]
} }
} }
...@@ -95,49 +94,53 @@ export default { ...@@ -95,49 +94,53 @@ export default {
}, },
methods: { methods: {
confirm() { confirm() {
// 单个设置运营 this.$refs.setForm.validate((valid) => {
if (!this.batchFlag) { if (valid) {
let req = { // 单个设置运营
id: this.diagnoseLogId, if (!this.batchFlag) {
bizType: 1, let req = {
operatorId: this.model.operatorId, id: this.diagnoseLogId,
operatorName: this.model.operatorName bizType: 1,
} operatorId: this.model.operatorId,
updateDiagnosis(req).then(function (res) { operatorName: this.model.operatorName
if (res.code == "000000") { }
vm.cancel(); updateDiagnosis(req).then(function (res) {
vm.$emit('search'); if (res.code == "000000") {
} else { vm.cancel();
vm.$message.error(res.message); vm.$emit('search');
} } else {
}).catch(function (error) { vm.$message.error(res.message);
vm.$message.error(error); }
}); }).catch(function (error) {
} vm.$message.error(error);
// 批量设置运营 });
else {
let ids = [];
if(this.multipleSelection.length > 0){
for (let i=0;i < this.multipleSelection.length; i++){
ids.push(this.multipleSelection[i].diagnoseLogId);
} }
} // 批量设置运营
let req = { else {
ids: ids, let ids = [];
operatorId: this.model.operatorId, if (this.multipleSelection.length > 0) {
operatorName: this.model.operatorName for (let i = 0; i < this.multipleSelection.length; i++) {
} ids.push(this.multipleSelection[i].diagnoseLogId);
batchSetOperator(req).then(function (res) { }
if (res.code == "000000") { }
vm.cancel(); let req = {
vm.$emit('search'); ids: ids,
} else { operatorId: this.model.operatorId,
vm.$message.error(res.message); operatorName: this.model.operatorName
}
batchSetOperator(req).then(function (res) {
if (res.code == "000000") {
vm.cancel();
vm.$emit('search');
} else {
vm.$message.error(res.message);
}
}).catch(function (error) {
vm.$message.error(error);
});
} }
}).catch(function (error) { }
vm.$message.error(error); })
});
}
}, },
cancel(){ cancel(){
......
...@@ -75,7 +75,6 @@ export default { ...@@ -75,7 +75,6 @@ export default {
triageDepartmentId: "", triageDepartmentId: "",
triageDepartment:"" triageDepartment:""
}, },
commissionTypeList: [],
addRules: {} addRules: {}
} }
}, },
...@@ -95,27 +94,6 @@ export default { ...@@ -95,27 +94,6 @@ export default {
vm.$message.error(res.message); vm.$message.error(res.message);
}); });
}, },
reset() {
this.title = ''
this.confirmTxt = '确定'
this.cancleTxt = ''
this._promise = null
},
init(obj = {}) {
Object.assign(this, obj)
this.show = true
return new Promise((resolve, reject) => {
this._promise = {
resolve,
reject
};
})
},
async cancle() {
this.show = false
await this._promise.reject && this._promise.reject()
this.reset()
},
confirm() { confirm() {
this.$refs.setForm.validate((valid) => { this.$refs.setForm.validate((valid) => {
if (valid) { if (valid) {
......
...@@ -68,21 +68,25 @@ export default { ...@@ -68,21 +68,25 @@ export default {
}, },
methods: { methods: {
confirm() { confirm() {
let req = { this.$refs.setForm.validate((valid) => {
id:this.diagnoseLogId, if (valid) {
bizType:2, let req = {
refundReason:this.model.refundReason id: this.diagnoseLogId,
} bizType: 2,
updateDiagnosis(req).then(function (res) { refundReason: this.model.refundReason
if(res.code == "000000") { }
vm.cancel(); updateDiagnosis(req).then(function (res) {
vm.$emit('search'); if (res.code == "000000") {
} else { vm.cancel();
vm.$message.error(res.message); vm.$emit('search');
} else {
vm.$message.error(res.message);
}
}).catch(function (error) {
vm.$message.error(res.message);
});
} }
}).catch(function (error) { })
vm.$message.error(res.message);
});
}, },
cancel(){ cancel(){
this.$emit('update:refundVisible', false); this.$emit('update:refundVisible', false);
......
...@@ -224,16 +224,17 @@ ...@@ -224,16 +224,17 @@
<refund-component @search="search" :refundVisible.sync="refundVisible" :diagnoseLogId="diagnoseLogId"></refund-component> <refund-component @search="search" :refundVisible.sync="refundVisible" :diagnoseLogId="diagnoseLogId"></refund-component>
<followup-component @search="search" :followupVisible.sync="followupVisible" :diagnoseLogId="diagnoseLogId"></followup-component> <followup-component @search="search" :followupVisible.sync="followupVisible" :diagnoseLogId="diagnoseLogId"></followup-component>
<matching-doctor @search="search" :doctorVisible.sync="doctorVisible" :diagnoseLogId="diagnoseLogId"></matching-doctor> <matching-doctor @search="search" :doctorVisible.sync="doctorVisible" :diagnoseLogId="diagnoseLogId"></matching-doctor>
<diagnosis-component :diagnosisVisible.sync="diagnosisVisible" :diagnoseLogId="diagnoseLogId"></diagnosis-component> <diagnosis-component @search="search" :diagnosisVisible.sync="diagnosisVisible" :diagnoseLogId="diagnoseLogId"></diagnosis-component>
<coordinating-doctor :coordinatingVisible.sync="coordinatingVisible" :diagnoseLogId="diagnoseLogId" :bizType="bizType" ></coordinating-doctor> <coordinating-doctor @search="search" :coordinatingVisible.sync="coordinatingVisible" :diagnoseLogId="diagnoseLogId" :bizType="bizType" ></coordinating-doctor>
<diagnosis-doctor :diagnosisDoctorVisible.sync="diagnosisDoctorVisible" :diagnoseLogId="diagnoseLogId" :diagnoseType="diagnoseType"></diagnosis-doctor> <diagnosis-doctor @search="search" :diagnosisDoctorVisible.sync="diagnosisDoctorVisible" :diagnoseLogId="diagnoseLogId" :diagnoseType="diagnoseType" :doctorId="doctorId"></diagnosis-doctor>
<appointment-time :appointmentTimeVisible.sync="appointmentTimeVisible" :diagnoseLogId="diagnoseLogId" :bizType="bizType"></appointment-time> <appointment-time @search="search" :appointmentTimeVisible.sync="appointmentTimeVisible" :diagnoseLogId="diagnoseLogId" :bizType="bizType"></appointment-time>
<diagnosis-time :diagnosisTimeVisible.sync="diagnosisTimeVisible" :diagnoseLogId="diagnoseLogId" :bizType="bizType"></diagnosis-time> <diagnosis-time @search="search" :diagnosisTimeVisible.sync="diagnosisTimeVisible" :diagnoseLogId="diagnoseLogId" :bizType="bizType"></diagnosis-time>
</div> </div>
<a class="target" href="" target="_blank" ref="target"></a> <a class="target" href="" target="_blank" ref="target"></a>
</div> </div>
</template> </template>
<script> <script>
let vm = null;
import {updateDiagnosis} from "../../../utils/diagnosis"; import {updateDiagnosis} from "../../../utils/diagnosis";
const DOWN_URL= '/diagnose/admin/diagnose/export'; const DOWN_URL= '/diagnose/admin/diagnose/export';
const LIST_URL= '/diagnose/admin/diagnose/list'; const LIST_URL= '/diagnose/admin/diagnose/list';
...@@ -323,6 +324,7 @@ export default { ...@@ -323,6 +324,7 @@ export default {
batchFlag:false, batchFlag:false,
bizType:0, bizType:0,
diagnoseType:0, diagnoseType:0,
doctorId:"",
pickerOptions1: { pickerOptions1: {
disabledDate: (time) => { disabledDate: (time) => {
return time.getTime() > new Date().getTime(); //减去一天的时间代表可以选择同一天; return time.getTime() > new Date().getTime(); //减去一天的时间代表可以选择同一天;
...@@ -336,19 +338,20 @@ export default { ...@@ -336,19 +338,20 @@ export default {
fromType: 0, //1或不传为为预约单列表 2为运营预约单列表 3为分诊台 4为接诊台 fromType: 0, //1或不传为为预约单列表 2为运营预约单列表 3为分诊台 4为接诊台
}; };
}, },
watch: { watch: {
'$route': { '$route': {
handler(newVal, oldVal) { handler(newVal, oldVal) {
if (newVal) { if (newVal) {
this.init() this.init()
this.reset() this.reset()
} }
}, },
deep: true, deep: true,
immediate: true, immediate: true,
} }
}, },
created() { created() {
vm = this;
this.getDep() this.getDep()
}, },
mounted() { mounted() {
...@@ -360,7 +363,7 @@ export default { ...@@ -360,7 +363,7 @@ export default {
this.activeName = "99"; this.activeName = "99";
this.searchParam.status = ''; this.searchParam.status = '';
this.setTable(); this.setTable();
}, },
// 不同也main切换不同的tab // 不同也main切换不同的tab
setTable() { setTable() {
let tabs = ALL_TAB_LIST; let tabs = ALL_TAB_LIST;
...@@ -582,12 +585,12 @@ export default { ...@@ -582,12 +585,12 @@ export default {
updateDiagnosis(req).then(function (res) { updateDiagnosis(req).then(function (res) {
if (res.code == "000000") { if (res.code == "000000") {
// this.cancel(); // this.cancel();
this.search(); vm.search();
} else { } else {
this.$message.error(res.message); vm.$message.error(res.message);
} }
}).catch(function (error) { }).catch(function (error) {
this.$message.error(error); vm.$message.error(error);
}); });
}) })
...@@ -609,6 +612,7 @@ export default { ...@@ -609,6 +612,7 @@ export default {
this.diagnosisDoctorVisible = true; this.diagnosisDoctorVisible = true;
this.diagnoseLogId = row.diagnoseLogId; this.diagnoseLogId = row.diagnoseLogId;
this.diagnoseType = row.diagnoseType; this.diagnoseType = row.diagnoseType;
this.doctorId = row.doctorId;
}, },
//重新匹配医生 //重新匹配医生
reMatchDot(row) { reMatchDot(row) {
...@@ -647,12 +651,12 @@ export default { ...@@ -647,12 +651,12 @@ export default {
updateDiagnosis(req).then(function (res) { updateDiagnosis(req).then(function (res) {
if (res.code == "000000") { if (res.code == "000000") {
// this.cancel(); // this.cancel();
this.search(); vm.search();
} else { } else {
this.$message.error(res.message); vm.$message.error(res.message);
} }
}).catch(function (error) { }).catch(function (error) {
this.$message.error(error); vm.$message.error(error);
}); });
}) })
......
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册