数据备份去掉编辑,添加固定四条数据
This commit is contained in:
		
							parent
							
								
									7bdaafe779
								
							
						
					
					
						commit
						fc65e1f036
					
				|  | @ -31,14 +31,15 @@ | ||||||
|           <span style="color:black;" v-if="text === 1">原始库</span> |           <span style="color:black;" v-if="text === 1">原始库</span> | ||||||
|           <span style="color:darkorange;" v-if="text === 2">标准库</span> |           <span style="color:darkorange;" v-if="text === 2">标准库</span> | ||||||
|           <span style="color:#87d068;" v-if="text === 3">专题库</span> |           <span style="color:#87d068;" v-if="text === 3">专题库</span> | ||||||
|  |           <span style="color:#87d068;" v-if="text === 4">系统库</span> | ||||||
|         </template> |         </template> | ||||||
|         <template slot="backupStatus" slot-scope="text"> |         <template slot="backupStatus" slot-scope="text"> | ||||||
|           <span style="color:black;" v-if="text === 0">未启用</span> |           <span style="color:black;" v-if="text === 0">未启用</span> | ||||||
|           <span style="color:#87d068;" v-if="text === 1">启用</span> |           <span style="color:#87d068;" v-if="text === 1">启用</span> | ||||||
|         </template> |         </template> | ||||||
|         <span slot="action" slot-scope="text, record"> |         <span slot="action" slot-scope="text, record"> | ||||||
|           <a @click="handleEdit(record)">编辑</a> | <!--          <a @click="handleEdit(record)">编辑</a>--> | ||||||
|           <a-divider type="vertical" /> | <!--          <a-divider type="vertical" />--> | ||||||
|           <a v-if="record.backupStatus === 0" @click="handleStartStop(record.id,1)">启动</a> |           <a v-if="record.backupStatus === 0" @click="handleStartStop(record.id,1)">启动</a> | ||||||
|           <a v-if="record.backupStatus === 1" @click="handleStartStop(record.id,0)">暂停</a> |           <a v-if="record.backupStatus === 1" @click="handleStartStop(record.id,0)">暂停</a> | ||||||
|           <a-divider type="vertical" /> |           <a-divider type="vertical" /> | ||||||
|  |  | ||||||
|  | @ -6,7 +6,7 @@ | ||||||
|                 <a-row :gutter="24"> |                 <a-row :gutter="24"> | ||||||
|                     <a-col :md="4" :sm="8"> |                     <a-col :md="4" :sm="8"> | ||||||
|                         <a-form-item label="操作人员"> |                         <a-form-item label="操作人员"> | ||||||
|                             <a-input placeholder="请输入" v-model="queryParam.keyWord"></a-input> |                             <a-input placeholder="请输入" v-model="queryParam.username"></a-input> | ||||||
|                         </a-form-item> |                         </a-form-item> | ||||||
|                     </a-col> |                     </a-col> | ||||||
|                     <a-col :md="4" :sm="8"> |                     <a-col :md="4" :sm="8"> | ||||||
|  |  | ||||||
		Loading…
	
		Reference in New Issue
	
	Block a user
	 hekaiyu
						hekaiyu