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

@ -27,17 +27,7 @@
dictCode="zy_cloths_component,parts_name,id" placeholder="请选择制衣模块类型" /> dictCode="zy_cloths_component,parts_name,id" placeholder="请选择制衣模块类型" />
</a-form-model-item> </a-form-model-item>
</a-col> </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-row>
</a-form-model> </a-form-model>
</j-form-container> </j-form-container>

Loading…
Cancel
Save