|
@@ -141,8 +141,8 @@
|
|
|
<span v-else style="width: 100%">
|
|
|
<!-- <el-button class="text-overflow" type="primary" link @click="(showContractDialog(currentContract.contractId))">{{ currentContract.formNo }}</el-button> -->
|
|
|
<!-- {{ form.contractNo }} -->
|
|
|
- <el-link :underline="false" type="primary" @click="handleContract(form)">{{ form.contractNo
|
|
|
- }}</el-link>
|
|
|
+ <el-link v-if="auth.hasPermi('business:archive:order:cwview')" :underline="false" type="primary" @click="handleContract(form)">{{ form.contractNo }}</el-link>
|
|
|
+ <span v-else>{{form.contractNo}}</span>
|
|
|
</span>
|
|
|
</el-form-item>
|
|
|
</el-col>
|
|
@@ -416,6 +416,7 @@
|
|
|
import companyForm from "@/views/business/crm/company/formView.vue";
|
|
|
import contractForm from "@/views/business/crm/order/formView.vue";
|
|
|
import useUserStore from "@/store/modules/user";
|
|
|
+ import auth from "@/plugins/auth";
|
|
|
const { proxy } = getCurrentInstance();
|
|
|
const baseUrl = import.meta.env.VITE_APP_BASE_API;
|
|
|
|