瀏覽代碼

添加字段,删除接口修改

asd26269546 1 年之前
父節點
當前提交
776b44f543
共有 2 個文件被更改,包括 10 次插入1 次删除
  1. 9 0
      src/views/customer/portrait/com/CustomerInfo.vue
  2. 1 1
      src/views/system/msg/index.vue

+ 9 - 0
src/views/customer/portrait/com/CustomerInfo.vue

@@ -1,5 +1,8 @@
 <template>
   <div class="content" v-loading="loading">
+    <div  class="user-name">
+      <i class="iconfont icon-icon_factory1" style="color:#0084ff;margin-right:10px;"></i>{{ detailsData.name }}
+    </div>
     <div class="line">
       <span class="title_" v-if="detailsData.customerCode">客户代码:<span style="color:#000">{{ detailsData.customerCode }}</span></span>
       <span class="title_" v-if="detailsData.customerCode && detailsData.status" style="margin: 0 6px">|</span>
@@ -320,6 +323,12 @@ const getPhone = (res) => {
 </script>
 
 <style lang="scss" scoped>
+.user-name{
+  font-weight: bold;
+  border-bottom:1px solid #dcdcdc;
+  line-height: 30px;
+  margin-bottom: 20px;
+}
 .content {
   font-size: 12px;
   padding: 10px;

+ 1 - 1
src/views/system/msg/index.vue

@@ -198,7 +198,7 @@ const config = computed(() => {
 								}
 							).then(() => {
 								proxy
-									.post('/sendMeg/delete', {
+									.post('/pushAnnouncement/delete', {
 										id: row.id,
 									})
 									.then(() => {