zhc4dev
赵玉瑞 2 years ago
parent d214356dd0
commit 3db2f6b37d
  1. 73
      ant-design-vue-jeecg/src/views/process/ZyClothsModularCompentList.vue
  2. 10
      ant-design-vue-jeecg/src/views/process/modules/ZyClothsModularCompentForm.vue

@ -1,5 +1,5 @@
<template>
<!-- <a-card :bordered="false">-->
<!-- <a-card :bordered="false">-->
<a-modal
width="70%"
title="评分项管理"
@ -9,12 +9,12 @@
@cancel="handleCancel"
>
<!-- 查询区域 -->
<!-- <div class="table-page-search-wrapper">-->
<!-- <a-form layout="inline" @keyup.enter.native="searchQuery">-->
<!-- <a-row :gutter="24">-->
<!-- </a-row>-->
<!-- </a-form>-->
<!-- </div>-->
<!-- <div class="table-page-search-wrapper">-->
<!-- <a-form layout="inline" @keyup.enter.native="searchQuery">-->
<!-- <a-row :gutter="24">-->
<!-- </a-row>-->
<!-- </a-form>-->
<!-- </div>-->
<!-- 查询区域-END -->
<!-- 操作按钮区域 -->
@ -84,9 +84,6 @@
</a-button>
</template>
<!-- <span slot="action2" slot-scope="text, record">-->
<!-- <a @click="viewVid(record)">查看</a>-->
<!-- </span>-->
<span slot="action" slot-scope="text, record">
<a @click="handleEdit(record)">编辑</a>
@ -96,26 +93,14 @@
<a-popconfirm title="确定删除吗?" @confirm="() => handleDelete(record.id)">
<a>删除</a>
</a-popconfirm>
<!-- <a-dropdown>
<a class="ant-dropdown-link">更多 <a-icon type="down" /></a>
<a-menu slot="overlay">
<a-menu-item>
<a @click="handleDetail(record)">详情</a>
</a-menu-item>
<a-menu-item>
<a-popconfirm title="确定删除吗?" @confirm="() => handleDelete(record.id)">
<a>删除</a>
</a-popconfirm>
</a-menu-item>
</a-menu>
</a-dropdown>-->
</span>
</a-table>
</div>
<zy-cloths-modular-compent-modal ref="modalForm" @ok="modalFormOk"></zy-cloths-modular-compent-modal>
<!-- <ZyClothsMccList ref="ZyClothsMccList"></ZyClothsMccList>-->
</a-modal>
</template>
@ -125,7 +110,7 @@ import '@/assets/less/TableExpand.less'
import {mixinDevice} from '@/utils/mixin'
import {JeecgListMixin} from '@/mixins/JeecgListMixin'
import ZyClothsModularCompentModal from './modules/ZyClothsModularCompentModal'
import ZyClothsMccList from "@views/process/ZyClothsMccList";
export default {
name: 'ZyClothsModularCompentList',
@ -138,7 +123,7 @@ export default {
description: '制衣模块部件中间表管理页面',
visible: false,
confirmLoading: false,
yid:'',
yid: '',
//
columns: [
{
@ -156,26 +141,6 @@ export default {
align: "center",
dataIndex: 'nums'
},
// {
// title: '',
// align: "center",
// dataIndex: 'modularType_dictText'
// },
// {
// title:'',
// align:"center",
// dataIndex: 'modularType_dictText'
// },
// {
// title: '',
// align: "center",
// dataIndex: 'partsName'
// },
// {
// title:'id',
// align:"center",
// dataIndex: 'componentId'
// },
{
title: '模块名称',
@ -192,13 +157,7 @@ export default {
align: "center",
dataIndex: 'createTime'
},
// {
// title: '',
// dataIndex: 'action2',
// align: "center",
// width: "100",
// scopedSlots: {customRender: 'action2'}
// },
{
title: '操作',
dataIndex: 'action',
@ -235,7 +194,7 @@ export default {
//console.log(topicid);
this.yid = this.model.id;
this.queryParam.modularId = this.model.id;
console.log( "aaaaaaa "+this.queryParam.modularId);
console.log("aaaaaaa " + this.queryParam.modularId);
this.loadData();
this.visible = true;
},
@ -254,11 +213,7 @@ export default {
console.log('Clicked cancel button');
this.visible = false;
},
// viewVid(record){
// this.$refs.ZyClothsMccList.showModal();
// this.$refs.ZyClothsMccList.edit(record);
// this.$refs.ZyClothsMccList.disableSubmit = false;
// },
initDictConfig() {
},
getSuperFieldList() {

@ -27,17 +27,7 @@
dictCode="zy_cloths_component,parts_name,id" placeholder="请选择制衣模块类型" />
</a-form-model-item>
</a-col>
<!-- <a-col :span="24">
<a-form-model-item label="制衣模块类型" :labelCol="labelCol" :wrapperCol="wrapperCol" prop="modularType">
<a-input v-model="model.modularType" placeholder="请输入制衣模块类型" ></a-input>
</a-form-model-item>
</a-col>-->
<!-- <a-col :span="24">
<a-form-model-item label="部件id" :labelCol="labelCol" :wrapperCol="wrapperCol" prop="componentId">
<a-input v-model="model.componentId" placeholder="请输入部件id" ></a-input>
</a-form-model-item>
</a-col>-->
</a-row>
</a-form-model>
</j-form-container>

Loading…
Cancel
Save