| | |
| | | icon="el-icon-plus" |
| | | size="mini" |
| | | @click="handleAdd" |
| | | v-hasPermi="['oa:system:add']" |
| | | >新增 |
| | | </el-button> |
| | | </el-col> |
| | |
| | | size="mini" |
| | | :disabled="single" |
| | | @click="handleUpdate" |
| | | v-hasPermi="['oa:system:edit']" |
| | | >修改 |
| | | </el-button> |
| | | </el-col> |
| | |
| | | size="mini" |
| | | :disabled="multiple" |
| | | @click="handleDelete" |
| | | v-hasPermi="['oa:system:remove']" |
| | | >删除 |
| | | </el-button> |
| | | </el-col> |
| | |
| | | type="text" |
| | | icon="el-icon-edit" |
| | | @click="handleUpdate(scope.row)" |
| | | v-hasPermi="['oa:system:edit']" |
| | | >修改 |
| | | </el-button> |
| | | <el-button |
| | |
| | | class="del-btn" |
| | | icon="el-icon-delete" |
| | | @click="handleDelete(scope.row)" |
| | | v-hasPermi="['oa:system:remove']" |
| | | >删除 |
| | | </el-button> |
| | | </template> |
| | |
| | | </el-col> |
| | | </el-row> |
| | | <el-form-item label="功能描述" prop="functionDescription"> |
| | | <el-input v-model="form.functionDescription" :rows="8" maxlength="64" show-word-limit type="textarea" |
| | | <el-input v-model="form.functionDescription" :rows="8" maxlength="512" show-word-limit type="textarea" |
| | | placeholder="请输入内容"/> |
| | | </el-form-item> |
| | | <el-row> |
| | |
| | | </el-col> |
| | | </el-row> |
| | | <el-form-item label="备注" prop="remarks"> |
| | | <el-input v-model="form.remarks" type="textarea" placeholder="请输入内容"/> |
| | | <el-input v-model="form.remarks" :rows="8" maxlength="512" show-word-limit type="textarea" placeholder="请输入内容"/> |
| | | </el-form-item> |
| | | </el-form> |
| | | <div slot="footer" class="dialog-footer"> |
| | |
| | | /** 删除按钮操作 */ |
| | | handleDelete(row) { |
| | | const ids = row.id || this.ids; |
| | | this.$modal.confirm('是否确认删除软件系统编号为"' + ids + '"的数据项?').then(() => { |
| | | this.$modal.confirm('是否确认删除?').then(() => { |
| | | this.loading = true; |
| | | return delSystem(ids); |
| | | }).then(() => { |