Browse Source

5.14 修改url

lyn7568 4 years ago
parent
commit
98edd913fb

+ 1 - 1
src/main.js

24
Vue.prototype.isAuth = isAuth     // 权限方法
24
Vue.prototype.isAuth = isAuth     // 权限方法
25
Vue.prototype.meetingMenu = false     // 会议目录
25
Vue.prototype.meetingMenu = false     // 会议目录
26
Vue.prototype.meetingMenuId = 0     // 会议目录
26
Vue.prototype.meetingMenuId = 0     // 会议目录
27
Vue.prototype.imageUrl = 'http://121.42.53.174:9008/static'
27
Vue.prototype.imageUrl = 'http://192.168.3.233'
28
28
29
// 保存整站vuex本地储存初始状态
29
// 保存整站vuex本地储存初始状态
30
window.SITE_CONFIG['storeState'] = cloneDeep(store.state)
30
window.SITE_CONFIG['storeState'] = cloneDeep(store.state)

+ 0 - 1
src/views/modules/admin/company.vue

130
    },
130
    },
131
    // 新增 / 修改
131
    // 新增 / 修改
132
    addOrUpdateHandle(id) {
132
    addOrUpdateHandle(id) {
133
      console.log(id + "===========");
134
      this.addOrUpdateVisible = true;
133
      this.addOrUpdateVisible = true;
135
      this.$nextTick(() => {
134
      this.$nextTick(() => {
136
        this.$refs.addOrUpdate.init(id);
135
        this.$refs.addOrUpdate.init(id);

+ 0 - 16
src/views/modules/admin/employee-add-or-update.vue

89
        truename: [
89
        truename: [
90
          { required: true, message: "姓名不能为空", trigger: "blur" }
90
          { required: true, message: "姓名不能为空", trigger: "blur" }
91
        ],
91
        ],
92
        // companyId: [
93
        //   { required: true, message: "单位id不能为空", trigger: "blur" }
94
        // ],
95
        // roleId: [
96
        //   {
97
        //     required: true,
98
        //     message: "角色id(控制权限)不能为空",
99
        //     trigger: "blur"
100
        //   }
101
        // ],
102
        // departmentId: [
103
        //   { required: true, message: "部门id不能为空", trigger: "blur" }
104
        // ],
105
        // positionId: [
106
        //   { required: true, message: "职位id不能为空", trigger: "blur" }
107
        // ],
108
        phone: [
92
        phone: [
109
          { required: true, message: "联系电话不能为空", trigger: "blur" }
93
          { required: true, message: "联系电话不能为空", trigger: "blur" }
110
        ],
94
        ],

+ 1 - 7
src/views/modules/admin/lecture-add-or-update.vue

100
        createTime: [
100
        createTime: [
101
          { required: true, message: "創建時間不能为空", trigger: "blur" }
101
          { required: true, message: "創建時間不能为空", trigger: "blur" }
102
        ],
102
        ],
103
        isDel: [
104
          {
105
            required: true,
106
            message: "是否被删除 状态  0:正常   1:删除不能为空",
107
            trigger: "blur"
108
          }
109
        ]
103
       
110
      },
104
      },
111
      options: [],
105
      options: [],
112
      meetingId: 0,
106
      meetingId: 0,

+ 0 - 1
src/views/modules/admin/meeting.vue

81
    },
81
    },
82
    demo(){
82
    demo(){
83
      let ll = set(this.subjectsList)
83
      let ll = set(this.subjectsList)
84
      window.console.log(ll)
85
    }
84
    }
86
  }
85
  }
87
};
86
};

+ 0 - 1
src/views/modules/admin/paper-add-or-update.vue

174
    },
174
    },
175
    handleExceed(files, fileList) {
175
    handleExceed(files, fileList) {
176
      //上传限制
176
      //上传限制
177
      window.console.log(files, fileList);
178
      this.$message.warning(`只能上传 1 个文件`);
177
      this.$message.warning(`只能上传 1 个文件`);
179
    }
178
    }
180
  }
179
  }

+ 2 - 2
src/views/modules/admin/paper.vue

183
    exportList(res) {
183
    exportList(res) {
184
      if (res && !res.paperurl == "") {
184
      if (res && !res.paperurl == "") {
185
        const a = document.createElement("a");
185
        const a = document.createElement("a");
186
        a.setAttribute("download", `http://121.42.53.174:9008${res.paperurl}`);
187
        a.setAttribute("href", `http://121.42.53.174:9008${res.paperurl}`);
186
        a.setAttribute("download", `${res.paperurl}`);
187
        a.setAttribute("href", `${res.paperurl}`);
188
        a.click();
188
        a.click();
189
      } else {
189
      } else {
190
        this.$message.error("未上传投稿文件");
190
        this.$message.error("未上传投稿文件");