diff --git a/src/components/XyTable/index.vue b/src/components/XyTable/index.vue index 08ace0f..481b442 100644 --- a/src/components/XyTable/index.vue +++ b/src/components/XyTable/index.vue @@ -231,8 +231,10 @@ export default { ['select']: selectClick, ['cell-click']: cellClick, ['select-all']: selectAllClick}}> - - + + { tableItem.map((item, index) => { //自定义表格内容 @@ -501,4 +503,3 @@ export default { } } - diff --git a/src/views/order/component/actions.vue b/src/views/order/component/actions.vue index 4f44e25..0abb2f3 100644 --- a/src/views/order/component/actions.vue +++ b/src/views/order/component/actions.vue @@ -56,12 +56,8 @@ export default {
产品名称
{this.content.vo?.order?.order_name}
- - { - this.action === 'follow' ? - (
-
请输入跟进内容
+
请输入内容
- ) : - '' - } + ) }, @@ -96,18 +90,12 @@ export default { actionClick(){ let data ; switch (this.action){ - case 'follow': - data = { + default: + data = { item_id:this.row.id, action:this.action, remark:this.form.follow.content } - break; - default: - data = { - item_id:this.row.id, - action:this.action - } } itemAction(data).then(res => { console.log(res)