[update] 修改年度制修订标准化发起流程

This commit is contained in:
lideqin
2023-12-15 18:03:49 +08:00
parent bd20e122df
commit 712dfc58cc
@@ -32,8 +32,8 @@
<!-- 操作栏 --> <!-- 操作栏 -->
<div slot="action" slot-scope="{record, index}" class="action-span-cell"> <div slot="action" slot-scope="{record, index}" class="action-span-cell">
<a @click="handleEdit(record, index)" class="table-ope-btn">{{ $t('edit') }}</a> <a @click="handleEdit(record, index)" class="table-ope-btn">{{ $t('edit') }}</a>
<a-divider v-if="currentNode === 7" type="vertical" /> <a-divider v-if="currentNode === 9" type="vertical" />
<a v-if="currentNode === 7" @click="handleDelete(record.id, index)" class="table-ope-btn">{{ $t('delete') }}</a> <a v-if="currentNode === 9" @click="handleDelete(record.id, index)" class="table-ope-btn">{{ $t('delete') }}</a>
</div> </div>
</j-table> </j-table>
@@ -210,19 +210,12 @@ export default {
width: 200 width: 200
} }
], ],
dataSource: [ dataSource: [],
{
id: 1,
draftPlanFinishDate: '2022-01-09',
exposureDraftPlanFinishDate: '2022-01-09',
// planSubmissionDate: '2022-01-09'
}
],
editIndex: undefined // 编辑的下标 editIndex: undefined // 编辑的下标
} }
}, },
mounted () { mounted () {
if (this.currentNode === 6) { if (this.currentNode === 8) {
// 是主起草单位主管级领导批准节点,没有操作列 // 是主起草单位主管级领导批准节点,没有操作列
this.columns.pop() this.columns.pop()
} }
@@ -231,7 +224,7 @@ export default {
// 拿到外面传进来的数据初始化,因为套了几层就不在外层初始化数据了 // 拿到外面传进来的数据初始化,因为套了几层就不在外层初始化数据了
initData (data) { initData (data) {
// 给表格赋值 // 给表格赋值
this.dataSource = data.dataList this.dataSource = data
}, },
// 外层要获取数据 // 外层要获取数据
getData () { getData () {