Quellcode durchsuchen

投稿管理下载功能完成,优化部分搜索input框

lyn7568 vor 4 Jahren
Ursprung
Commit
b24d7e7711

+ 1 - 1
src/views/modules/admin/adminmenu.vue

@ -144,7 +144,7 @@ export default {
144 144
            return item.menuId;
145 145
          });
146 146
      this.$confirm(
147
        `确定对[id=${ids.join(",")}]进行[${id ? "删除" : "批量删除"}]操作?`,
147
        `确定删除?`,
148 148
        "提示",
149 149
        {
150 150
          confirmButtonText: "确定",

+ 1 - 5
src/views/modules/admin/attenders-add-or-update.vue

@ -303,11 +303,7 @@ export default {
303 303
              note: this.dataForm.note,
304 304
              account: this.dataForm.account,
305 305
              emailLx: this.dataForm.emailLx,
306
              regflag: this.dataForm.regflag,
307
              createTime: this.dataForm.createTime,
308
              modifyTime: this.dataForm.modifyTime,
309
              creater: this.dataForm.creater,
310
              modifier: this.dataForm.modifier
306
            
311 307
            })
312 308
          }).then(({ data }) => {
313 309
            if (data && data.code === 0) {

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

@ -2,7 +2,7 @@
2 2
  <div class="mod-config">
3 3
    <el-form :inline="true" :model="dataForm" @keyup.enter.native="getDataList()">
4 4
      <el-form-item>
5
        <el-input v-model="dataForm.key" placeholder="参数名" clearable></el-input>
5
        <el-input v-model="dataForm.key" placeholder="姓名/所属机构" clearable></el-input>
6 6
      </el-form-item>
7 7
      <el-form-item>
8 8
        <el-button @click="getDataList()">查询</el-button>
@ -210,7 +210,7 @@ export default {
210 210
            return item.id;
211 211
          });
212 212
      this.$confirm(
213
        `确定对[id=${ids.join(",")}]进行[${id ? "删除" : "批量删除"}]操作?`,
213
        `确定删除?`,
214 214
        "提示",
215 215
        {
216 216
          confirmButtonText: "确定",

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

@ -145,7 +145,7 @@ export default {
145 145
            return item.id;
146 146
          });
147 147
      this.$confirm(
148
        `确定对[id=${ids.join(",")}]进行[${id ? "删除" : "批量删除"}]操作?`,
148
        `确定删除?`,
149 149
        "提示",
150 150
        {
151 151
          confirmButtonText: "确定",

+ 1 - 1
src/views/modules/admin/employee.vue

@ -143,7 +143,7 @@ export default {
143 143
            return item.id;
144 144
          });
145 145
      this.$confirm(
146
        `确定对[id=${ids.join(",")}]进行[${id ? "删除" : "批量删除"}]操作?`,
146
        `确定操作?`,
147 147
        "提示",
148 148
        {
149 149
          confirmButtonText: "确定",

+ 1 - 1
src/views/modules/admin/lecture.vue

@ -135,7 +135,7 @@ export default {
135 135
            return item.id;
136 136
          });
137 137
      this.$confirm(
138
        `确定对[id=${ids.join(",")}]进行[${id ? "删除" : "批量删除"}]操作?`,
138
        `确定删除?`,
139 139
        "提示",
140 140
        {
141 141
          confirmButtonText: "确定",

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

@ -93,7 +93,7 @@ export default {
93 93
      margin: 0 auto;
94 94
    }
95 95
    .introduction {
96
      width: 300px;
96
      width: 400px;
97 97
    }
98 98
  }
99 99
}

+ 2 - 3
src/views/modules/admin/member-add-or-update.vue

@ -45,7 +45,7 @@
45 45
      <el-form-item label="职称" prop="jobTitle">
46 46
        <el-input v-model="dataForm.jobTitle" placeholder="职称"></el-input>
47 47
      </el-form-item>
48
     
48
49 49
      <el-form-item label="电话" prop="phone">
50 50
        <el-input v-model="dataForm.phone" placeholder="电话"></el-input>
51 51
      </el-form-item>
@ -204,8 +204,7 @@ export default {
204 204
              phone: this.dataForm.phone,
205 205
              email: this.dataForm.email,
206 206
              createTime: this.dataForm.createTime,
207
              modifyTime: this.dataForm.modifyTime,
208
            
207
              modifyTime: this.dataForm.modifyTime
209 208
            })
210 209
          }).then(({ data }) => {
211 210
            if (data && data.code === 0) {

+ 1 - 1
src/views/modules/admin/member.vue

@ -175,7 +175,7 @@ export default {
175 175
            return item.id;
176 176
          });
177 177
      this.$confirm(
178
        `确定对[id=${ids.join(",")}]进行[${id ? "删除" : "批量删除"}]操作?`,
178
        `确定删除?`,
179 179
        "提示",
180 180
        {
181 181
          confirmButtonText: "确定",

+ 25 - 11
src/views/modules/admin/paper.vue

@ -2,7 +2,7 @@
2 2
  <div class="mod-config">
3 3
    <el-form :inline="true" :model="dataForm" @keyup.enter.native="getDataList()">
4 4
      <el-form-item>
5
        <el-input v-model="dataForm.key" placeholder="参数名" clearable></el-input>
5
        <el-input v-model="dataForm.key" placeholder="投稿人/论文题目" clearable></el-input>
6 6
      </el-form-item>
7 7
      <el-form-item>
8 8
        <el-button @click="getDataList()">查询</el-button>
@ -33,7 +33,7 @@
33 33
      <el-table-column prop="create_time" header-align="center" align="center" label="投稿时间"></el-table-column>
34 34
      <el-table-column header-align="center" align="center" label="下载">
35 35
        <template slot-scope="scope">
36
          <el-button type="text" size="small" @click="addOrUpdateHandle(scope.row.id)">下载</el-button>
36
          <el-button type="text" size="small" @click="exportList(scope.row)">下载</el-button>
37 37
        </template>
38 38
      </el-table-column>
39 39
      <el-table-column fixed="right" header-align="center" align="center" width="150" label="操作">
@ -167,15 +167,11 @@ export default {
167 167
        : this.dataListSelections.map(item => {
168 168
            return item.id;
169 169
          });
170
      this.$confirm(
171
        `确定对[id=${ids.join(",")}]进行[${id ? "删除" : "批量删除"}]操作?`,
172
        "提示",
173
        {
174
          confirmButtonText: "确定",
175
          cancelButtonText: "取消",
176
          type: "warning"
177
        }
178
      ).then(() => {
170
      this.$confirm(`确定删除?`, "提示", {
171
        confirmButtonText: "确定",
172
        cancelButtonText: "取消",
173
        type: "warning"
174
      }).then(() => {
179 175
        this.$http({
180 176
          url: this.$http.adornUrl("/admin/paper/delete"),
181 177
          method: "post",
@ -211,6 +207,24 @@ export default {
211 207
          this.$message.error(res.data.msg);
212 208
        }
213 209
      });
210
    },
211
    // 导出数据表
212
    exportList(res) {
213
      if (res && !res.paperurl == "") {
214
        const a = document.createElement("a");
215
        a.setAttribute(
216
          "download",
217
          `http://121.42.53.174:9008${res.paperurl}`
218
        );
219
        a.setAttribute(
220
          "href",
221
          `http://121.42.53.174:9008${res.paperurl}`
222
        );
223
        a.click();
224
      }else{
225
        this.$message.error('未上传投稿文件')
226
      }
227
      
214 228
    }
215 229
  }
216 230
};

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

@ -2,7 +2,7 @@
2 2
  <div class="mod-config">
3 3
    <el-form :inline="true" :model="dataForm" @keyup.enter.native="getDataList()">
4 4
      <el-form-item>
5
        <el-input v-model="dataForm.key" placeholder="参数名" clearable></el-input>
5
        <el-input v-model="dataForm.key" placeholder="订单编号/付款人" clearable></el-input>
6 6
      </el-form-item>
7 7
      <el-form-item>
8 8
        <el-button @click="getDataList()">查询</el-button>
@ -151,7 +151,7 @@ export default {
151 151
            return item.id;
152 152
          });
153 153
      this.$confirm(
154
        `确定对[id=${ids.join(",")}]进行[${id ? "删除" : "批量删除"}]操作?`,
154
        `确定删除?`,
155 155
        "提示",
156 156
        {
157 157
          confirmButtonText: "确定",

+ 15 - 14
src/views/modules/admin/sign.vue

@ -27,17 +27,22 @@
27 27
      <el-table-column prop="typeAttenders" header-align="center" align="center" label="用户参会类型"></el-table-column>
28 28
      <el-table-column prop="isPay" header-align="center" align="center" label="是否已缴费">
29 29
        <template slot-scope="scope">
30
          <span v-if="scope.row.isPay === 1">是</span>
31
          <span v-else>否</span>
30
          <el-tag v-if="scope.row.isPay === 1">是</el-tag>
31
          <el-tag v-else type="danger">否</el-tag>
32 32
        </template>
33 33
      </el-table-column>
34 34
      <el-table-column prop="status" header-align="center" align="center" label="签到状态">
35 35
        <template slot-scope="scope">
36
          <span v-if="scope.row.status === 1">已签到</span>
37
          <span v-else>否</span>
36
          <el-tag v-if="scope.row.status === 1">是</el-tag>
37
          <el-tag v-else type="danger">否</el-tag>
38
        </template>
39
      </el-table-column>
40
      <el-table-column prop="badge" header-align="center" align="center" label="胸卡">
41
        <template slot-scope="scope">
42
          <el-tag v-if="scope.row.badge === 1">是</el-tag>
43
          <el-tag v-else type="danger">否</el-tag>
38 44
        </template>
39 45
      </el-table-column>
40
      <el-table-column prop="badge" header-align="center" align="center" label="胸卡"></el-table-column>
41 46
      <el-table-column prop="servername" header-align="center" align="center" label="负责人"></el-table-column>
42 47
      <el-table-column prop="lastTime" header-align="center" align="center" label="最后签到时间"></el-table-column>
43 48
      <el-table-column fixed="right" header-align="center" align="center" width="100" label="操作">
@ -136,15 +141,11 @@ export default {
136 141
        : this.dataListSelections.map(item => {
137 142
            return item.id;
138 143
          });
139
      this.$confirm(
140
        `确定对[id=${ids.join(",")}]进行[${id ? "删除" : "批量删除"}]操作?`,
141
        "提示",
142
        {
143
          confirmButtonText: "确定",
144
          cancelButtonText: "取消",
145
          type: "warning"
146
        }
147
      ).then(() => {
144
      this.$confirm(`确定删除?`, "提示", {
145
        confirmButtonText: "确定",
146
        cancelButtonText: "取消",
147
        type: "warning"
148
      }).then(() => {
148 149
        this.$http({
149 150
          url: this.$http.adornUrl("/admin/signinfo/delete"),
150 151
          method: "post",

+ 1 - 1
src/views/modules/admin/signinfo.vue

@ -152,7 +152,7 @@ export default {
152 152
            return item.id;
153 153
          });
154 154
      this.$confirm(
155
        `确定对[id=${ids.join(",")}]进行[${id ? "删除" : "批量删除"}]操作?`,
155
        `确定删除?`,
156 156
        "提示",
157 157
        {
158 158
          confirmButtonText: "确定",

+ 1 - 1
src/views/modules/admin/typesoffee.vue

@ -139,7 +139,7 @@ export default {
139 139
            return item.id;
140 140
          });
141 141
      this.$confirm(
142
        `确定对[id=${ids.join(",")}]进行[${id ? "删除" : "批量删除"}]操作?`,
142
        `确定删除?`,
143 143
        "提示",
144 144
        {
145 145
          confirmButtonText: "确定",