|
@@ -89,9 +89,9 @@
|
|
:scroll="{x: 1500}"
|
|
:scroll="{x: 1500}"
|
|
>
|
|
>
|
|
<span slot="currencyAction" slot-scope="text, record">
|
|
<span slot="currencyAction" slot-scope="text, record">
|
|
- <a @click="handleCurrencyEdit(record)">编辑</a>
|
|
|
|
|
|
+ <a :disabled="record.status === '已删除'" @click="handleCurrencyEdit(record)">编辑</a>
|
|
<a-divider type="vertical"/>
|
|
<a-divider type="vertical"/>
|
|
- <a @click="handleCurrencyDelete(record)">删除</a>
|
|
|
|
|
|
+ <a :disabled="record.status === '已删除'" @click="handleCurrencyDelete(record)">删除</a>
|
|
</span>
|
|
</span>
|
|
</a-table>
|
|
</a-table>
|
|
<a-pagination
|
|
<a-pagination
|
|
@@ -118,9 +118,9 @@
|
|
:scroll="{x: 1500}"
|
|
:scroll="{x: 1500}"
|
|
>
|
|
>
|
|
<span slot="appointAction" slot-scope="text, record">
|
|
<span slot="appointAction" slot-scope="text, record">
|
|
- <a @click="handleCurrencyEdit(record)">编辑</a>
|
|
|
|
|
|
+ <a :disabled="record.status === '已删除'" @click="handleCurrencyEdit(record)">编辑</a>
|
|
<a-divider type="vertical"/>
|
|
<a-divider type="vertical"/>
|
|
- <a @click="handleAppointDelete(record)">删除</a>
|
|
|
|
|
|
+ <a :disabled="record.status === '已删除'" @click="handleAppointDelete(record)">删除</a>
|
|
</span>
|
|
</span>
|
|
</a-table>
|
|
</a-table>
|
|
<a-pagination
|
|
<a-pagination
|
|
@@ -763,8 +763,8 @@ export default {
|
|
handleCurrencyDelete(data) {
|
|
handleCurrencyDelete(data) {
|
|
let that = this;
|
|
let that = this;
|
|
this.$confirm({
|
|
this.$confirm({
|
|
- title: '删除提示',
|
|
|
|
- content: '是否删除该条数据',
|
|
|
|
|
|
+ content: '确定是否删除该条文案',
|
|
|
|
+ iconType: 'exclamation-circle',
|
|
onOk() {
|
|
onOk() {
|
|
deleteAction(urlAcount + '/bytedance-api/advertiser/bytedanceGeneralCopywriter/delete', {id: data.id}).then(result => {
|
|
deleteAction(urlAcount + '/bytedance-api/advertiser/bytedanceGeneralCopywriter/delete', {id: data.id}).then(result => {
|
|
if (result.code === 0) {
|
|
if (result.code === 0) {
|
|
@@ -783,8 +783,8 @@ export default {
|
|
handleAppointDelete(data) {
|
|
handleAppointDelete(data) {
|
|
let that = this;
|
|
let that = this;
|
|
this.$confirm({
|
|
this.$confirm({
|
|
- title: '删除提示',
|
|
|
|
- content: '是否删除该条数据',
|
|
|
|
|
|
+ content: '确定是否删除该条文案',
|
|
|
|
+ iconType: 'exclamation-circle',
|
|
onOk() {
|
|
onOk() {
|
|
deleteAction(urlAcount + '/bytedance-api/ctop/bytedanceVideoSlogenInfo/deleteBySlogenAndProjectId', {
|
|
deleteAction(urlAcount + '/bytedance-api/ctop/bytedanceVideoSlogenInfo/deleteBySlogenAndProjectId', {
|
|
slogan: data.slogan,
|
|
slogan: data.slogan,
|