feat mark 改为remark
All checks were successful
Build image / build (push) Successful in 31s

This commit is contained in:
timerzz 2024-08-27 19:38:20 +08:00
parent 0058b098ed
commit cd6ef161b9
2 changed files with 16 additions and 16 deletions

View File

@ -11,8 +11,8 @@
<a-spin :spinning="loading" :indicator="indicator">
<a-table :dataSource="data.list" :columns="columns" :pagination="false">
<template #bodyCell="{ column, record }">
<template v-if="column.dataIndex === 'mark'">
<span>{{record.mark || '-'}}</span>
<template v-if="column.dataIndex === 'remark'">
<span>{{record.remark || '-'}}</span>
</template>
<template v-else-if="column.dataIndex === 'name'">
</template>
@ -66,8 +66,8 @@
</div>
</div>
</a-form-item>
<a-form-item label="备注" name="mark">
<a-textarea v-model:value="addModal.data.mark" />
<a-form-item label="备注" name="remark">
<a-textarea v-model:value="addModal.data.remark" />
</a-form-item>
</a-form>
</a-spin>
@ -120,7 +120,7 @@ const addModal = reactive({
data: {
providerId: '',
name: '',
mark: '',
remark: '',
config: {
ticker: '03:00',
exchangeRate: 7.2,
@ -137,7 +137,7 @@ const cleanAddModal=()=>{
addModal.data = {
providerId: '',
name: '',
mark: '',
remark: '',
config: {
ticker: '03:00',
exchangeRate: 7.2,
@ -199,8 +199,8 @@ const columns = [
},
{
title: '备注',
dataIndex: 'mark',
key: 'mark',
dataIndex: 'remark',
key: 'remark',
},
{
title: '操作',

View File

@ -11,8 +11,8 @@
<a-spin :spinning="loading" :indicator="indicator">
<a-table :dataSource="data.list" :columns="columns" :pagination="false">
<template #bodyCell="{ column, record }">
<template v-if="column.dataIndex === 'mark'">
<span>{{record.mark || '-'}}</span>
<template v-if="column.dataIndex === 'remark'">
<span>{{record.remark || '-'}}</span>
</template>
<template v-else-if="column.dataIndex === 'name'">
</template>
@ -60,8 +60,8 @@
</div>
</div>
</a-form-item>
<a-form-item label="备注" name="mark">
<a-textarea v-model:value="addModal.data.mark" />
<a-form-item label="备注" name="remark">
<a-textarea v-model:value="addModal.data.remark" />
</a-form-item>
</a-form>
</a-spin>
@ -114,7 +114,7 @@ const addModal = reactive({
data: {
sellerId: '',
name: '',
mark: '',
remark: '',
config: {
ticker: '03:00',
},
@ -129,7 +129,7 @@ const cleanAddModal=()=>{
addModal.data = {
sellerId: '',
name: '',
mark: '',
remark: '',
config: {
ticker: '03:00',
},
@ -189,8 +189,8 @@ const columns = [
},
{
title: '备注',
dataIndex: 'mark',
key: 'mark',
dataIndex: 'remark',
key: 'remark',
},
{
title: '操作',