Showing
2 changed files
with
5 additions
and
4 deletions
@@ -10,7 +10,7 @@ | @@ -10,7 +10,7 @@ | ||
10 | <el-button :size="$global.elementConfig.size.button" type="primary" @click="getDataList()">查询</el-button> | 10 | <el-button :size="$global.elementConfig.size.button" type="primary" @click="getDataList()">查询</el-button> |
11 | </div> | 11 | </div> |
12 | </el-col> | 12 | </el-col> |
13 | - <el-col :span="1"> | 13 | + <el-col :span="1" style="padding-left: 6px;"> |
14 | <el-button :size="$global.elementConfig.size.button" @click="openAddFile()">新增</el-button> | 14 | <el-button :size="$global.elementConfig.size.button" @click="openAddFile()">新增</el-button> |
15 | </el-col> | 15 | </el-col> |
16 | </el-row> | 16 | </el-row> |
@@ -70,7 +70,7 @@ | @@ -70,7 +70,7 @@ | ||
70 | <el-form-item label="编码" prop="code"> | 70 | <el-form-item label="编码" prop="code"> |
71 | <el-input :size="$global.elementConfig.size.input" placeholder="请输入编码" clearable v-model="fileFrom.code"></el-input> | 71 | <el-input :size="$global.elementConfig.size.input" placeholder="请输入编码" clearable v-model="fileFrom.code"></el-input> |
72 | </el-form-item> | 72 | </el-form-item> |
73 | - <el-form-item label="分组" prop="group"> | 73 | + <el-form-item label="分组" prop="groupId"> |
74 | <el-input :size="$global.elementConfig.size.input" placeholder="请输入组Id" clearable v-model="fileFrom.groupId"></el-input> | 74 | <el-input :size="$global.elementConfig.size.input" placeholder="请输入组Id" clearable v-model="fileFrom.groupId"></el-input> |
75 | </el-form-item> | 75 | </el-form-item> |
76 | <el-form-item label="文件" prop="file" > | 76 | <el-form-item label="文件" prop="file" > |
@@ -16,7 +16,7 @@ export default { | @@ -16,7 +16,7 @@ export default { | ||
16 | message: '请填写编码!', | 16 | message: '请填写编码!', |
17 | trigger: 'blur' | 17 | trigger: 'blur' |
18 | }], | 18 | }], |
19 | - group: [{ | 19 | + groupId: [{ |
20 | required: true, | 20 | required: true, |
21 | message: '请填写组Id!', | 21 | message: '请填写组Id!', |
22 | trigger: 'blur' | 22 | trigger: 'blur' |
@@ -127,7 +127,7 @@ export default { | @@ -127,7 +127,7 @@ export default { | ||
127 | let param = { | 127 | let param = { |
128 | idList: row.id | 128 | idList: row.id |
129 | } | 129 | } |
130 | - proxy.$http.get(`/api-web/file/delete`, param, function (res) { | 130 | + proxy.$global.confirm('您确认删除该配置', function () {proxy.$http.get(`/api-web/file/delete`, param, function (res) { |
131 | if (res && res.success == true) { | 131 | if (res && res.success == true) { |
132 | proxy.$global.showMsg('删除成功','success'); | 132 | proxy.$global.showMsg('删除成功','success'); |
133 | getDataList(); | 133 | getDataList(); |
@@ -135,6 +135,7 @@ export default { | @@ -135,6 +135,7 @@ export default { | ||
135 | proxy.$global.showMsg('删除失败','warning'); | 135 | proxy.$global.showMsg('删除失败','warning'); |
136 | } | 136 | } |
137 | }) | 137 | }) |
138 | + }) | ||
138 | } | 139 | } |
139 | // 下载 | 140 | // 下载 |
140 | let download = (row) => { | 141 | let download = (row) => { |
-
Please register or login to post a comment