|
|
@@ -7,10 +7,8 @@
|
|
|
<el-button type="primary" size="small"
|
|
|
@click="showComponent('sign')">添加签约账户</el-button>
|
|
|
</template>
|
|
|
- <template v-if="[AuthStatus.Certified, AuthStatus.Submitted].includes(authStatus) && hasAQAuth">
|
|
|
- <el-button type="primary" size="small"
|
|
|
-
|
|
|
- @click="showComponent('protocol')">合同签署</el-button>
|
|
|
+ <template v-if="[AuthStatus.Certified, AuthStatus.Submitted].includes(authStatus) && (hasAQAuth && !hasSignContract) ">
|
|
|
+ <el-button type="primary" size="small" @click="showComponent('protocol')">协议签署</el-button>
|
|
|
</template>
|
|
|
<el-button type="warning" size="small" v-if="authStatus === AuthStatus.Uncertified"
|
|
|
@click="openComponent('certification-aq')">实名认证</el-button>
|
|
|
@@ -39,7 +37,7 @@
|
|
|
</template>
|
|
|
|
|
|
<script lang="ts" setup>
|
|
|
-import { shallowRef, defineAsyncComponent, onMounted, computed, ref } from 'vue'
|
|
|
+import { shallowRef, defineAsyncComponent, onMounted, computed } from 'vue'
|
|
|
import { ElMessageBox } from 'element-plus'
|
|
|
import { useComponent } from '@/hooks/component'
|
|
|
import { useComposeTable } from '@pc/components/base/table'
|