From 8b5bfdeb201b2653fb648f742b6d4ff5ff05ff6c Mon Sep 17 00:00:00 2001 From: lixiangyu <lixiangyu@xalxzn.com> Date: 星期三, 27 八月 2025 17:59:29 +0800 Subject: [PATCH] refactor(刀具管理): 重构刀具管理相关组件结构 --- src/views/cms/modules/CuttingToolModal.vue | 152 +++++++++++++++++++++++++------------------------- 1 files changed, 76 insertions(+), 76 deletions(-) diff --git a/src/views/cms/modules/CuttingToolModal.vue b/src/views/cms/modules/CuttingToolModal.vue index dcec493..2da4777 100644 --- a/src/views/cms/modules/CuttingToolModal.vue +++ b/src/views/cms/modules/CuttingToolModal.vue @@ -76,94 +76,94 @@ </a-col> </a-row> <!-- 瀛愯〃鏍间俊鎭�--> - <a-tabs defaultActiveKey="1"> - <a-tab-pane - tab="鍒�鍏锋槑缁�" - key="1" - > +<!-- <a-tabs defaultActiveKey="1">--> +<!-- <a-tab-pane--> +<!-- tab="鍒�鍏锋槑缁�"--> +<!-- key="1"--> +<!-- >--> - <a-table - ref="table" - bordered - size="middle" - rowKey="id" - :columns="columns" - :dataSource="dataSource" - :pagination=false - > +<!-- <a-table--> +<!-- ref="table"--> +<!-- bordered--> +<!-- size="middle"--> +<!-- rowKey="id"--> +<!-- :columns="columns"--> +<!-- :dataSource="dataSource"--> +<!-- :pagination=false--> +<!-- >--> - <template - v-for="col in columns" - :slot="col.dataIndex" - slot-scope='text, record, index' - > - <div :key="col.dataIndex"> +<!-- <template--> +<!-- v-for="col in columns"--> +<!-- :slot="col.dataIndex"--> +<!-- slot-scope='text, record, index'--> +<!-- >--> +<!-- <div :key="col.dataIndex">--> - <a-input - :value="text" - :disabled="disableSubmit" - v-if="col.dataIndex == 'propertyCode'" - @change="(e)=>handleChange(e.target.value, record.key, col, index)" - /> +<!-- <a-input--> +<!-- :value="text"--> +<!-- :disabled="disableSubmit"--> +<!-- v-if="col.dataIndex == 'propertyCode'"--> +<!-- @change="(e)=>handleChange(e.target.value, record.key, col, index)"--> +<!-- />--> - <a-input - :value="text" - :disabled="disableSubmit" - v-else-if="col.dataIndex == 'propertyName'" - @change="(e)=>handleChange(e.target.value, record.key, col, index)" - /> +<!-- <a-input--> +<!-- :value="text"--> +<!-- :disabled="disableSubmit"--> +<!-- v-else-if="col.dataIndex == 'propertyName'"--> +<!-- @change="(e)=>handleChange(e.target.value, record.key, col, index)"--> +<!-- />--> - <a-input - :value="text" - :disabled="disableSubmit" - v-else-if="col.dataIndex == 'propertyUnit'" - @change="(e)=>handleChange(e.target.value, record.key, col, index)" - /> +<!-- <a-input--> +<!-- :value="text"--> +<!-- :disabled="disableSubmit"--> +<!-- v-else-if="col.dataIndex == 'propertyUnit'"--> +<!-- @change="(e)=>handleChange(e.target.value, record.key, col, index)"--> +<!-- />--> - <a-input - :value="text" - :disabled="disableSubmit" - v-else-if="col.dataIndex == 'propertyValue'" - @change="(e)=>handleChange(e.target.value, record.key, col, index)" - /> +<!-- <a-input--> +<!-- :value="text"--> +<!-- :disabled="disableSubmit"--> +<!-- v-else-if="col.dataIndex == 'propertyValue'"--> +<!-- @change="(e)=>handleChange(e.target.value, record.key, col, index)"--> +<!-- />--> - </div> - </template> +<!-- </div>--> +<!-- </template>--> - <template - slot="action" - slot-scope="text,record,index" - > - <a-popconfirm - title="鏄惁瑕佸垹闄ゆ琛岋紵" - @confirm="handleDelete(text,record,index)" - > - <Tooltip - placement="top" - title="鍒犻櫎" - > - <!-- shape="circle" --> - <a-button - :disabled="disableSubmit" - icon="delete" - /> - </Tooltip> - </a-popconfirm> - </template> +<!-- <template--> +<!-- slot="action"--> +<!-- slot-scope="text,record,index"--> +<!-- >--> +<!-- <a-popconfirm--> +<!-- title="鏄惁瑕佸垹闄ゆ琛岋紵"--> +<!-- @confirm="handleDelete(text,record,index)"--> +<!-- >--> +<!-- <Tooltip--> +<!-- placement="top"--> +<!-- title="鍒犻櫎"--> +<!-- >--> +<!-- <!– shape="circle" –>--> +<!-- <a-button--> +<!-- :disabled="disableSubmit"--> +<!-- icon="delete"--> +<!-- />--> +<!-- </Tooltip>--> +<!-- </a-popconfirm>--> +<!-- </template>--> - </a-table> +<!-- </a-table>--> - <a-button - :disabled="disableSubmit" - style="width: 100%; margin-top: 16px; margin-bottom: 8px" - type="dashed" - icon="plus" - @click="addPropertiesList" - >娣诲姞鎵╁睍灞炴��</a-button> - </a-tab-pane> - </a-tabs> +<!-- <a-button--> +<!-- :disabled="disableSubmit"--> +<!-- style="width: 100%; margin-top: 16px; margin-bottom: 8px"--> +<!-- type="dashed"--> +<!-- icon="plus"--> +<!-- @click="addPropertiesList"--> +<!-- >娣诲姞鎵╁睍灞炴��</a-button>--> +<!-- </a-tab-pane>--> +<!-- </a-tabs>--> <!-- 瀛愯〃鏍间俊鎭粨鏉�--> </a-form> </a-spin> -- Gitblit v1.9.3