审批按钮优化
This commit is contained in:
@ -163,7 +163,7 @@
|
||||
</a-form-item>
|
||||
</a-col>
|
||||
<a-col :span="8">
|
||||
<a-form-item label="集团持股比例" name="rateShareGn">
|
||||
<a-form-item label="集团持股比例%" name="rateShareGn">
|
||||
<a-input-number v-model:value="formState.rateShareGn" :disabled="isDisable" style="width: 100%" :min="0" :max="100"></a-input-number>
|
||||
</a-form-item>
|
||||
</a-col>
|
||||
@ -188,6 +188,13 @@
|
||||
</a-radio-group>
|
||||
</a-form-item>
|
||||
</a-col>
|
||||
<a-col :span="8">
|
||||
<a-form-item label="基础设施使用方" name="facSign">
|
||||
<a-radio-group v-model:value="formState.facSign" :disabled="isDisable">
|
||||
<a-radio v-for="item in optionSelect.signList" :value="item.code">{{ item.name }}</a-radio>
|
||||
</a-radio-group>
|
||||
</a-form-item>
|
||||
</a-col>
|
||||
</a-row>
|
||||
<div style="display:flex">
|
||||
<h4>电厂业务信息</h4>
|
||||
|
||||
@ -15,9 +15,6 @@
|
||||
</template>
|
||||
</template>
|
||||
<template #bodyCell="{ column, record }">
|
||||
<template v-if="column.dataIndex === 'approCode'">
|
||||
{{ record.approName }}
|
||||
</template>
|
||||
<template v-if="column.dataIndex === 'action'">
|
||||
<TableAction :actions="getActions(record)" />
|
||||
</template>
|
||||
@ -405,7 +402,7 @@
|
||||
if (record.workflowData?.enabled) {
|
||||
//与工作流有关联的表单
|
||||
if (record.workflowData.status) {
|
||||
actionsList.unshift(setIndexFlowStatus(record.workflowData))
|
||||
// actionsList.unshift(setIndexFlowStatus(record.workflowData))
|
||||
} else {
|
||||
actionsList = actionsList.concat(editAndDelBtn);
|
||||
}
|
||||
@ -415,13 +412,6 @@
|
||||
actionsList = actionsList.concat(editAndDelBtn);
|
||||
}
|
||||
}
|
||||
// if (record.approCode === 'YSP' && record.valid!='有效') {
|
||||
// let idx = actionsList.findIndex(v =>v.tooltip == '作废')
|
||||
// idx>-1 && actionsList.splice(idx, 1)
|
||||
// } else {
|
||||
// let idx = actionsList.findIndex(v =>v.tooltip == '启用')
|
||||
// record.valid=='有效' && idx>-1 && actionsList.splice(idx, 1)
|
||||
// }
|
||||
|
||||
return actionsList;
|
||||
}
|
||||
|
||||
@ -331,7 +331,7 @@
|
||||
if (record.workflowData?.enabled) {
|
||||
//与工作流有关联的表单
|
||||
if (record.workflowData.status) {
|
||||
actionsList.unshift(setIndexFlowStatus(record.workflowData))
|
||||
// actionsList.unshift(setIndexFlowStatus(record.workflowData))
|
||||
} else {
|
||||
actionsList = actionsList.concat(editAndDelBtn);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user