许成详 6 years ago
parent
commit
d7947dce22

+ 1
- 1
src/pages/system/cardAndCouponManager/bodyBuildingCardManager/index.vue View File

82
               size="mini"
82
               size="mini"
83
               type="danger"
83
               type="danger"
84
               @click="sendCard(scope.$index, scope.row)">赠送客户</el-button>
84
               @click="sendCard(scope.$index, scope.row)">赠送客户</el-button>
85
-            <a class="copyBtn" :data-clipboard-text="'www.baidu.com'" :ref="'copy' + scope.$index" @click="toCopy(scope.$index, scope.row)">点击复制链接</a>
85
+            <a v-if="scope.row.SendType === 'channel'" class="copyBtn" :data-clipboard-text="'www.baidu.com'" :ref="'copy' + scope.$index" @click="toCopy(scope.$index, scope.row)">点击复制链接</a>
86
           </template>
86
           </template>
87
         </el-table-column>
87
         </el-table-column>
88
       </el-table>
88
       </el-table>

+ 1
- 1
src/pages/system/cardAndCouponManager/cardManager/index.vue View File

87
               size="mini"
87
               size="mini"
88
               type="danger"
88
               type="danger"
89
               @click="sendCard(scope.$index, scope.row)">赠送客户</el-button>
89
               @click="sendCard(scope.$index, scope.row)">赠送客户</el-button>
90
-            <a class="copyBtn" :data-clipboard-text="'www.baidu.com'" :ref="'copy' + scope.$index" @click="toCopy(scope.$index, scope.row)">点击复制链接</a>
90
+            <a v-if="scope.row.SendType === 'channel'" class="copyBtn" :data-clipboard-text="'www.baidu.com'" :ref="'copy' + scope.$index" @click="toCopy(scope.$index, scope.row)">点击复制链接</a>
91
           </template>
91
           </template>
92
         </el-table-column>
92
         </el-table-column>
93
       </el-table>
93
       </el-table>

+ 1
- 0
src/pages/system/cardAndCouponManager/couponManager/index.vue View File

89
               type="danger"
89
               type="danger"
90
               @click="sendCoupon(scope.$index, scope.row)">赠送客户</el-button>
90
               @click="sendCoupon(scope.$index, scope.row)">赠送客户</el-button>
91
             <el-button
91
             <el-button
92
+              v-if="scope.row.SendType === 'channel'"
92
               size="mini"
93
               size="mini"
93
               type="success"
94
               type="success"
94
               @click="handleDelete(scope.$index, scope.row)">点击复制链接</el-button>
95
               @click="handleDelete(scope.$index, scope.row)">点击复制链接</el-button>