瀏覽代碼

5.14 修改url

lyn7568 4 年之前
父節點
當前提交
98edd913fb

+ 1 - 1
src/main.js

@ -24,7 +24,7 @@ Vue.prototype.$http = httpRequest // ajax请求方法
24 24
Vue.prototype.isAuth = isAuth     // 权限方法
25 25
Vue.prototype.meetingMenu = false     // 会议目录
26 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 29
// 保存整站vuex本地储存初始状态
30 30
window.SITE_CONFIG['storeState'] = cloneDeep(store.state)

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

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

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

@ -89,22 +89,6 @@ export default {
89 89
        truename: [
90 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 92
        phone: [
109 93
          { required: true, message: "联系电话不能为空", trigger: "blur" }
110 94
        ],

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

@ -100,13 +100,7 @@ export default {
100 100
        createTime: [
101 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 105
      options: [],
112 106
      meetingId: 0,

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

@ -81,7 +81,6 @@ export default {
81 81
    },
82 82
    demo(){
83 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,7 +174,6 @@ export default {
174 174
    },
175 175
    handleExceed(files, fileList) {
176 176
      //上传限制
177
      window.console.log(files, fileList);
178 177
      this.$message.warning(`只能上传 1 个文件`);
179 178
    }
180 179
  }

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

@ -183,8 +183,8 @@ export default {
183 183
    exportList(res) {
184 184
      if (res && !res.paperurl == "") {
185 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 188
        a.click();
189 189
      } else {
190 190
        this.$message.error("未上传投稿文件");