2024.5.11 后台优化
This commit is contained in:
		
							parent
							
								
									d3766b6eca
								
							
						
					
					
						commit
						f421c6a49d
					
				| @ -48,7 +48,6 @@ Vue.prototype.selectDictLabel = selectDictLabel | |||||||
| Vue.prototype.selectDictLabels = selectDictLabels | Vue.prototype.selectDictLabels = selectDictLabels | ||||||
| Vue.prototype.download = download | Vue.prototype.download = download | ||||||
| Vue.prototype.handleTree = handleTree | Vue.prototype.handleTree = handleTree | ||||||
| 
 |  | ||||||
| // 全局组件挂载
 | // 全局组件挂载
 | ||||||
| Vue.component('DictTag', DictTag) | Vue.component('DictTag', DictTag) | ||||||
| Vue.component('Pagination', Pagination) | Vue.component('Pagination', Pagination) | ||||||
|  | |||||||
										
											
												File diff suppressed because it is too large
												Load Diff
											
										
									
								
							| @ -274,38 +274,38 @@ | |||||||
|           v-hasPermi="['system:article:add']" |           v-hasPermi="['system:article:add']" | ||||||
|         >新增</el-button> |         >新增</el-button> | ||||||
|       </el-col> |       </el-col> | ||||||
|       <el-col :span="1.5"> | <!--      <el-col :span="1.5">--> | ||||||
|         <el-button | <!--        <el-button--> | ||||||
|           type="success" | <!--          type="success"--> | ||||||
|           plain | <!--          plain--> | ||||||
|           icon="el-icon-edit" | <!--          icon="el-icon-edit"--> | ||||||
|           size="mini" | <!--          size="mini"--> | ||||||
|           :disabled="single" | <!--          :disabled="single"--> | ||||||
|           @click="handleUpdate" | <!--          @click="handleUpdate"--> | ||||||
|           v-hasPermi="['system:article:edit']" | <!--          v-hasPermi="['system:article:edit']"--> | ||||||
|         >修改</el-button> | <!--        >修改</el-button>--> | ||||||
|       </el-col> | <!--      </el-col>--> | ||||||
|       <el-col :span="1.5"> | <!--      <el-col :span="1.5">--> | ||||||
|         <el-button | <!--        <el-button--> | ||||||
|           type="danger" | <!--          type="danger"--> | ||||||
|           plain | <!--          plain--> | ||||||
|           icon="el-icon-delete" | <!--          icon="el-icon-delete"--> | ||||||
|           size="mini" | <!--          size="mini"--> | ||||||
|           :disabled="multiple" | <!--          :disabled="multiple"--> | ||||||
|           @click="handleDelete" | <!--          @click="handleDelete"--> | ||||||
|           v-hasPermi="['system:article:remove']" | <!--          v-hasPermi="['system:article:remove']"--> | ||||||
|         >删除</el-button> | <!--        >删除</el-button>--> | ||||||
|       </el-col> | <!--      </el-col>--> | ||||||
|       <el-col :span="1.5"> | <!--      <el-col :span="1.5">--> | ||||||
|         <el-button | <!--        <el-button--> | ||||||
|           type="warning" | <!--          type="warning"--> | ||||||
|           plain | <!--          plain--> | ||||||
|           icon="el-icon-download" | <!--          icon="el-icon-download"--> | ||||||
|           size="mini" | <!--          size="mini"--> | ||||||
|           @click="handleExport" | <!--          @click="handleExport"--> | ||||||
|           v-hasPermi="['system:article:export']" | <!--          v-hasPermi="['system:article:export']"--> | ||||||
|         >导出</el-button> | <!--        >导出</el-button>--> | ||||||
|       </el-col> | <!--      </el-col>--> | ||||||
|       <right-toolbar :showSearch.sync="showSearch" @queryTable="getList"></right-toolbar> |       <right-toolbar :showSearch.sync="showSearch" @queryTable="getList"></right-toolbar> | ||||||
|     </el-row> |     </el-row> | ||||||
| 
 | 
 | ||||||
| @ -655,6 +655,7 @@ export default { | |||||||
|     }, |     }, | ||||||
|     /** 提交按钮 */ |     /** 提交按钮 */ | ||||||
|     submitForm() { |     submitForm() { | ||||||
|  |       this.form.content=Base64.encode(this.form.content) | ||||||
|       this.$refs["form"].validate(valid => { |       this.$refs["form"].validate(valid => { | ||||||
|         if (valid) { |         if (valid) { | ||||||
|           if (this.form.id != null) { |           if (this.form.id != null) { | ||||||
|  | |||||||
| @ -156,9 +156,9 @@ | |||||||
|         <el-form-item label="排序" prop="sort"> |         <el-form-item label="排序" prop="sort"> | ||||||
|           <el-input v-model="form.sort" placeholder="请输入排序" /> |           <el-input v-model="form.sort" placeholder="请输入排序" /> | ||||||
|         </el-form-item> |         </el-form-item> | ||||||
|         <el-form-item label="创建人用户ID" prop="userId"> | <!--        <el-form-item label="创建人用户ID" prop="userId">--> | ||||||
|           <el-input v-model="form.userId" placeholder="请输入创建人用户ID" /> | <!--          <el-input v-model="form.userId" placeholder="请输入创建人用户ID" />--> | ||||||
|         </el-form-item> | <!--        </el-form-item>--> | ||||||
|       </el-form> |       </el-form> | ||||||
|       <div slot="footer" class="dialog-footer"> |       <div slot="footer" class="dialog-footer"> | ||||||
|         <el-button type="primary" @click="submitForm">确 定</el-button> |         <el-button type="primary" @click="submitForm">确 定</el-button> | ||||||
|  | |||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user