| | |
| | | :options="options" |
| | | ref="processconfiguration" |
| | | > |
| | | <template #toolbar> |
| | | <el-button type="primary" |
| | | @click="">新增</el-button> |
| | | <!-- <el-dropdown style="margin-left: 20px;" @command="handleCommand"> |
| | | <el-button > |
| | | 状态变更<i class="el-icon-arrow-down el-icon--right"></i> |
| | | </el-button> |
| | | <el-dropdown-menu slot="dropdown"> |
| | | <el-dropdown-item :key="index" |
| | | :command="item.label" |
| | | v-for="(item,index) in taskTypeArr" |
| | | >{{ item.label }}</el-dropdown-item |
| | | > |
| | | </el-dropdown-menu> |
| | | </el-dropdown> --> |
| | | </template> |
| | | <template #toolbar></template> |
| | | </ttable> |
| | | </basic-container> |
| | | <table-form |
| | | v-if="true" |
| | | ></table-form> |
| | | </div> |
| | | </template> |
| | | |
| | | <script> |
| | | import ttable from '@/views/common/ztt-table.vue' |
| | | import { fetchList, } from '@/api/quality/finishedDelivery' |
| | | |
| | | import { page, } from '@/api/equipment/mould' |
| | | import TableForm from './mould-from.vue' |
| | | export default { |
| | | data(){ |
| | | return { |
| | | ajaxFun: fetchList, |
| | | ajaxFun: page, |
| | | prelang: 'operation', |
| | | dataListLoading: false, |
| | | addOrUpdateVisible: false, |
| | | options: { |
| | | height: 300, // 默认高度-为了表头固定 |
| | | stripe: true, // 是否为斑马纹 table |
| | |
| | | isTrue: true, |
| | | isSearch: true, |
| | | searchInfoType: 'text', |
| | | |
| | | }, |
| | | { |
| | | minWidth: '140', |
| | |
| | | searchInfoType: 'text', |
| | | }, |
| | | ], |
| | | toolbar: [], |
| | | toolbar: [{ |
| | | text: '新增', |
| | | type: 'primary', |
| | | fun: this.addOrUpdateHandle |
| | | }], |
| | | operator: [{ |
| | | text: '删除', |
| | | type: 'text', |
| | |
| | | // ...mapGetters(['permissions']) |
| | | // }, |
| | | components: { |
| | | ttable |
| | | ttable, |
| | | TableForm |
| | | }, |
| | | medthods: { |
| | | formatDateTime(row, column, cellValue) { |
| | | return cellValue ? fecha.format(new Date(cellValue), 'yyyy-MM-dd') : '' |
| | | methods: { |
| | | addOrUpdateHandle() { |
| | | this.addOrUpdateVisible = true |
| | | console.log(this.addOrUpdateVisible,"--=--"); |
| | | }, |
| | | }, |
| | | } |