编辑
@@ -124,6 +124,7 @@ export default {
name:"tabFour",
data() {
return {
+ roles: this.$store.state.user.roles,
formInline:{
startTime:"",
endTime:"",
diff --git a/src/views/infoMaintain/index.vue b/src/views/infoMaintain/index.vue
index b83c008..14fe547 100644
--- a/src/views/infoMaintain/index.vue
+++ b/src/views/infoMaintain/index.vue
@@ -176,12 +176,12 @@ export default {
mounted() {
this.cancalDebounce();
window.addEventListener('resize', this.cancalDebounce);
- if(this.userType == "01") {
- this.pagination.enterpriseCode = this.name;
- this.pagination.enterpriseName = this.nickName;
- this.formInline.enterpriseCode = this.name;
- this.formInline.enterpriseName = this.nickName;
- }
+ // if(this.userType == "01") {
+ // this.pagination.enterpriseCode = this.name;
+ // this.pagination.enterpriseName = this.nickName;
+ // this.formInline.enterpriseCode = this.name;
+ // this.formInline.enterpriseName = this.nickName;
+ // }
this.getList();
},
destroyed() {
diff --git a/src/views/onlineDeclaration/enterpriseDirectory/index.vue b/src/views/onlineDeclaration/enterpriseDirectory/index.vue
index a919ad9..5a283bf 100644
--- a/src/views/onlineDeclaration/enterpriseDirectory/index.vue
+++ b/src/views/onlineDeclaration/enterpriseDirectory/index.vue
@@ -80,18 +80,18 @@
-->
-
+
{{ scope.row.startTime }}~{{ scope.row.endTime }}
长期有效
-
+
-
+
{{ parseTime(scope.row.createTime, '{y}-{m}-{d}') }}
@@ -847,11 +847,11 @@ export default {
frontDownload() {
var a = document.createElement("a"); //创建一个标签
// 测试环境下载地址
- a.href = "/demo/JinJiHu/static/企业名录模板.xlsx";
+ // a.href = "/demo/JinJiHu/static/企业名录模板.xlsx";
// 脱敏三方测试用下载地址
// a.href = "/demo/JinJiHuTest/static/企业名录模板.xlsx";
// 正式环境下载地址
- // a.href = "./static/企业名录模板.xlsx";
+ a.href = "./static/企业名录模板.xlsx";
//给a标签的href属性值加上地址,注意,这里是绝对路径,不用加 点.
a.download ="企业名录模板.xlsx";
//设置下载文件文件名,这里加上.xlsx指定文件类型,pdf文件就指定.fpd即可
diff --git a/src/views/project/projectInfo/components/tabFive/index.vue b/src/views/project/projectInfo/components/tabFive/index.vue
index fcca6aa..6a420c8 100644
--- a/src/views/project/projectInfo/components/tabFive/index.vue
+++ b/src/views/project/projectInfo/components/tabFive/index.vue
@@ -3,7 +3,7 @@
@@ -119,6 +119,7 @@ export default {
},
data() {
return {
+ roles: this.$store.state.user.roles,
remindData:{
rulesName: "",
alertRecipients: 2,
diff --git a/src/views/project/projectInfo/components/tabFour/index.vue b/src/views/project/projectInfo/components/tabFour/index.vue
index 4565896..defde35 100644
--- a/src/views/project/projectInfo/components/tabFour/index.vue
+++ b/src/views/project/projectInfo/components/tabFour/index.vue
@@ -46,7 +46,7 @@
{{ item.name }}
{{ item.createTime }}
-
+
编辑
@@ -124,6 +124,7 @@ export default {
name:"tabFour",
data() {
return {
+ roles: this.$store.state.user.roles,
formInline:{
startTime:"",
endTime:"",