创建自家项目
This commit is contained in:
@@ -50,30 +50,20 @@
|
|||||||
<el-row>
|
<el-row>
|
||||||
<el-col style="width: 680px">
|
<el-col style="width: 680px">
|
||||||
<el-card>
|
<el-card>
|
||||||
<el-table
|
<el-table v-loading="listLoading" :data="tableData1" :row-key="getRowKeys" :expand-row-keys="expands" style="width: 100%" height="700" border stripe size="mini" @row-click="selectMachine">
|
||||||
v-loading="listLoading"
|
<el-table-column align="center" label="合同编号" prop="合同编号" width="120px">
|
||||||
:data="tableData1"
|
|
||||||
:row-key="getRowKeys"
|
|
||||||
:expand-row-keys="expands"
|
|
||||||
style="width: 100%"
|
|
||||||
height="700"
|
|
||||||
border
|
|
||||||
stripe
|
|
||||||
size="mini"
|
|
||||||
@row-click="selectMachine">
|
|
||||||
<el-table-column align="center" label="合同编号" prop="合同编号" width="130px">
|
|
||||||
<template slot-scope="scope">
|
<template slot-scope="scope">
|
||||||
<template>
|
<template>
|
||||||
{{ scope.row.合同编号 }}
|
{{ scope.row.合同编号 }}
|
||||||
</template>
|
</template>
|
||||||
</template>
|
</template>
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
<el-table-column align="center" label="项目名称" prop="项目名称" width="140px" show-overflow-tooltip>
|
<el-table-column align="center" label="项目名称" prop="项目名称" width="130px" show-overflow-tooltip>
|
||||||
<template slot-scope="scope">
|
<template slot-scope="scope">
|
||||||
{{ scope.row.项目名称 }}
|
{{ scope.row.项目名称 }}
|
||||||
</template>
|
</template>
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
<el-table-column align="center" label="项目下达日期" prop="合同签订日期" width="100px">
|
<el-table-column align="center" label="项目下达日期" prop="合同签订日期" width="120px">
|
||||||
<template slot-scope="scope">
|
<template slot-scope="scope">
|
||||||
{{ scope.row.合同签订日期.substring(0,10) }}
|
{{ scope.row.合同签订日期.substring(0,10) }}
|
||||||
</template>
|
</template>
|
||||||
@@ -85,24 +75,9 @@
|
|||||||
</el-table-column>
|
</el-table-column>
|
||||||
<el-table-column label="操作" align="center" width="130px">
|
<el-table-column label="操作" align="center" width="130px">
|
||||||
<template slot-scope="scope">
|
<template slot-scope="scope">
|
||||||
<el-button
|
<el-button style="margin-left: 5px" size="mini" type="text" icon="el-icon-circle-plus-outline" @click.stop="addMachine(scope.row);flag = 1">机床</el-button>
|
||||||
style="margin-left: 5px"
|
<el-button style="margin-left: 5px" size="mini" type="text" icon="el-icon-edit" @click.stop="handleEdit(scope.row)"/>
|
||||||
size="mini"
|
<el-button style="margin-left: 5px;margin-right: 5px" size="mini" type="text" icon="el-icon-delete" @click.stop="handleDelete(scope.row)"/>
|
||||||
type="text"
|
|
||||||
icon="el-icon-circle-plus-outline"
|
|
||||||
@click.stop="addMachine(scope.row);flag = 1">机床</el-button>
|
|
||||||
<el-button
|
|
||||||
style="margin-left: 5px"
|
|
||||||
size="mini"
|
|
||||||
type="text"
|
|
||||||
icon="el-icon-edit"
|
|
||||||
@click.stop="handleEdit(scope.row)"/>
|
|
||||||
<el-button
|
|
||||||
style="margin-left: 5px;margin-right: 5px"
|
|
||||||
size="mini"
|
|
||||||
type="text"
|
|
||||||
icon="el-icon-delete"
|
|
||||||
@click.stop="handleDelete(scope.row)"/>
|
|
||||||
</template>
|
</template>
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
</el-table>
|
</el-table>
|
||||||
@@ -139,18 +114,8 @@
|
|||||||
</el-table-column>
|
</el-table-column>
|
||||||
<el-table-column label="操作" width="80" align="center">
|
<el-table-column label="操作" width="80" align="center">
|
||||||
<template slot-scope="scope">
|
<template slot-scope="scope">
|
||||||
<el-button
|
<el-button style="margin-left: 5px" size="mini" type="text" icon="el-icon-edit" @click="editMachine(scope.row);flag = 2"/>
|
||||||
style="margin-left: 5px"
|
<el-button style="margin-left: 5px" size="mini" type="text" icon="el-icon-delete" @click="deleteMachine(scope.row)"/>
|
||||||
size="mini"
|
|
||||||
type="text"
|
|
||||||
icon="el-icon-edit"
|
|
||||||
@click="editMachine(scope.row);flag = 2"/>
|
|
||||||
<el-button
|
|
||||||
style="margin-left: 5px"
|
|
||||||
size="mini"
|
|
||||||
type="text"
|
|
||||||
icon="el-icon-delete"
|
|
||||||
@click="deleteMachine(scope.row)"/>
|
|
||||||
</template>
|
</template>
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
</el-table>
|
</el-table>
|
||||||
|
|||||||
Reference in New Issue
Block a user