Commit 57fecd32 by zhangzhen

细节优化

parent fa318f50
...@@ -7,7 +7,7 @@ ...@@ -7,7 +7,7 @@
</view> </view>
</block> </block>
<block slot="content"> <block slot="content">
<text class="text-white">客户售后</text> <text class="text-white">售后服务</text>
</block> </block>
<block slot="right"> <block slot="right">
<view class="margin-right text-xxl" @tap="onPopOpen"> <view class="margin-right text-xxl" @tap="onPopOpen">
...@@ -116,7 +116,7 @@ ...@@ -116,7 +116,7 @@
</view> </view>
<view class="create_btn" @click="gotoSkip"> <view class="create_btn" @click="gotoSkip">
新建售后 新建售后
</view> </view>
<u-popup :show="show" mode="right" :closeOnClickOverlay="true" :zIndex="455" :safeAreaInsetBottom="true" <u-popup :show="show" mode="right" :closeOnClickOverlay="true" :zIndex="455" :safeAreaInsetBottom="true"
:safeAreaInsetTop="true" round="6" @close="onPopClose"> :safeAreaInsetTop="true" round="6" @close="onPopClose">
......
...@@ -285,7 +285,7 @@ ...@@ -285,7 +285,7 @@
}else{ }else{
let fileData = { let fileData = {
matId: this.dataInfo.id, matId: this.dataInfo.id,
bizType: 'HPYX010', bizType: 'YX010',
docId: this.fileList[i].id, docId: this.fileList[i].id,
docName:this.fileList[i].name, docName:this.fileList[i].name,
docSize:this.fileList[i].size, docSize:this.fileList[i].size,
......
...@@ -197,8 +197,9 @@ ...@@ -197,8 +197,9 @@
}) })
orderSave(this.formData).then(res => { orderSave(this.formData).then(res => {
if (res.data.__sys__.status === 0) { if (res.data.__sys__.status === 0) {
if (res.data.detail && this.fileList.length) { let list = toJsonData(res.data.__blocks__.result.rows, res.data.__blocks__.result.meta.columns)
this.dataInfo = res.data.detail; if (list && list.length && this.fileList.length) {
this.dataInfo = list[0];
this.onFileBindByRecord(0) this.onFileBindByRecord(0)
} else { } else {
this.onSaveSuccess() this.onSaveSuccess()
......
...@@ -7,7 +7,7 @@ ...@@ -7,7 +7,7 @@
</view> </view>
</block> </block>
<block slot="content"> <block slot="content">
<text class="text-white">营销业绩</text> <text class="text-white">销售业绩</text>
</block> </block>
<block slot="right"> <block slot="right">
<view class="margin-right text-xxl" @tap="onPopOpen"> <view class="margin-right text-xxl" @tap="onPopOpen">
......
...@@ -166,7 +166,7 @@ ...@@ -166,7 +166,7 @@
list.forEach(item => { list.forEach(item => {
if(['image','png','jpg','jpeg','webp'].includes(item.docType)){ if(['image','png','jpg','jpeg','webp'].includes(item.docType)){
this.fileList.push({ this.fileList.push({
img:this.assetsPath+"/hpjx/file/download/"+item.docId img:this.assetsPath+"/hggp/file/download/"+item.docId
}) })
} }
}) })
......
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