Browse Source

修改

master_hella_20240701
zhaoxuebing 7 months ago
parent
commit
63417765bd
  1. 10
      src/views/wms/agvManage/interfaceInfo/index.vue
  2. 30
      src/views/wms/agvManage/interfaceInfo/interfaceInfo.data.ts

10
src/views/wms/agvManage/interfaceInfo/index.vue

@ -27,9 +27,9 @@
v-model:currentPage="tableObject.currentPage"
v-model:sort="tableObject.sort"
>
<template #code="{row}">
<el-button type="primary" link @click="openDetail(row, '代码', row.code)">
<span>{{ row.code }}</span>
<template #number="{row}">
<el-button type="primary" link @click="openDetail(row, '序号', row.number)">
<span>{{ row.number }}</span>
</el-button>
</template>
<template #action="{ row }">
@ -134,8 +134,8 @@ const buttonBaseClick = (val, item) => {
// -
const butttondata = [
defaultButtons.mainListEditBtn({hasPermi:'wms:interfaceInfo:update'}), //
defaultButtons.mainListDeleteBtn({hasPermi:'wms:interfaceInfo:delete'}), //
defaultButtons.mainListEditBtn(null), //
// defaultButtons.mainListDeleteBtn({hasPermi:'wms:interfaceInfo:delete'}), //
]
// -

30
src/views/wms/agvManage/interfaceInfo/interfaceInfo.data.ts

@ -11,6 +11,11 @@ export const InterfaceInfo = useCrudSchemas(reactive<CrudSchema[]>([
label: '序号',
field: 'number',
sort: 'custom',
isSearch: true,
table: {
width: 300,
fixed: 'left'
},
},
{
label: '接口类型',
@ -20,12 +25,19 @@ export const InterfaceInfo = useCrudSchemas(reactive<CrudSchema[]>([
form: {
component: 'SelectV2'
},
table: {
width: 180,
fixed: 'left'
},
},
{
label: '接口名称',
field: 'interfaceName',
sort: 'custom',
isSearch: true,
table: {
width: 180,
},
},
{
label: '状态',
@ -36,27 +48,42 @@ export const InterfaceInfo = useCrudSchemas(reactive<CrudSchema[]>([
form: {
component: 'Radio'
},
table: {
width: 180,
},
isSearch: true,
},
{
label: '请求地址',
field: 'url',
sort: 'custom',
table: {
width: 180,
},
},
{
label: '请求参数',
field: 'reqBody',
sort: 'custom',
table: {
width: 180,
},
},
{
label: '返回结果',
field: 'respBody',
sort: 'custom',
table: {
width: 180,
},
},
{
label: '错误信息',
field: 'errorMsg',
sort: 'custom',
table: {
width: 180,
},
},
{
label: '创建时间',
@ -73,6 +100,9 @@ export const InterfaceInfo = useCrudSchemas(reactive<CrudSchema[]>([
}
},
isForm: false,
table: {
width: 180,
},
},
{
label: '扩展属性',

Loading…
Cancel
Save