fix : 修复页面细节
This commit is contained in:
@@ -26,8 +26,8 @@
|
||||
<process-diagram-viewer mode="view" v-if="processDiagramViewer"/>
|
||||
</div>
|
||||
<div class="oper-page-btn">
|
||||
<el-button color="#DED0B2" @click="handleSubmit(fundForm)">提交</el-button>
|
||||
<el-button color="#DED0B2" @click="handleResubmit">重新提交</el-button>
|
||||
<el-button color="#DED0B2" v-if="routerName === 'Fund/add'" @click="handleSubmit(fundForm)">提交</el-button>
|
||||
<el-button color="#DED0B2" v-else @click="handleResubmit">重新提交</el-button>
|
||||
<el-button @click="handleBack">返回</el-button>
|
||||
</div>
|
||||
</div>
|
||||
@@ -40,6 +40,7 @@ import {useRouter} from "vue-router";
|
||||
import {useTagsView} from '@/stores/tagsview.js'
|
||||
|
||||
import {useProcessStore} from '@/stores/processStore.js';
|
||||
|
||||
const tagsViewStore = useTagsView()
|
||||
const router = useRouter()
|
||||
const route = useRoute()
|
||||
@@ -96,7 +97,7 @@ const tableConfig = reactive({
|
||||
}
|
||||
]
|
||||
})
|
||||
|
||||
const routerName = ref(router.currentRoute.value.name)
|
||||
const rules = reactive({
|
||||
name: [{required: true, message: '请输入专项资金名称', trigger: 'blur'}],
|
||||
fundAmount: [{required: true, message: '请输入金额', trigger: 'blur'}],
|
||||
@@ -104,9 +105,8 @@ const rules = reactive({
|
||||
})
|
||||
|
||||
const compositeParam = (item) => {
|
||||
let name=router.currentRoute.value.name
|
||||
let tag = ''
|
||||
if (name === 'Fund/add'||name === 'Fund/edit') {
|
||||
if (routerName.value === 'Fund/add' || routerName.value === 'Fund/edit') {
|
||||
tag = '专项资金'
|
||||
}
|
||||
return {
|
||||
|
||||
Reference in New Issue
Block a user