Commit eae2764a by Sxy

fix: 关闭原因备注

parent 34150cc2
......@@ -71,7 +71,7 @@ class BizoptDao extends Dao {
async updateStatusByDemandCode(qobj, t) {
var setobj = { "business_status": qobj.business_status };
if (qobj.close_reason && qobj.close_reason != 'undefined') {
setobj["close_reason"] = qobj.close_reason;
setobj["close_reason"] = `${qobj.close_reason}_${qobj.remarks}`;
} else {
setobj["close_reason"] = "";
}
......@@ -127,7 +127,7 @@ class BizoptDao extends Dao {
if (qobj.mobile && qobj.mobile != 'undefined') {
obj.business_info.contactsPhone = qobj.mobile;
}
if (qobj.area && qobj.area != 'undefined'){
if (qobj.area && qobj.area != 'undefined') {
obj.business_info.serviceName = qobj.area;
}
//bussiness_info END
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment