|  |  | @ -5,10 +5,9 @@ | 
			
		
	
		
			
				
					|  |  |  |         <el-form-item> | 
			
		
	
		
			
				
					|  |  |  |           <el-input v-model="input" placeholder="关键词" class="input-with-select" clearable> | 
			
		
	
		
			
				
					|  |  |  |             <el-select slot="prepend" v-model="select" placeholder="请选择"> | 
			
		
	
		
			
				
					|  |  |  |               <el-option label="用户名" value="username" /> | 
			
		
	
		
			
				
					|  |  |  |               <el-option label="用户姓名" value="realName" /> | 
			
		
	
		
			
				
					|  |  |  |               <el-option label="用户操作" value="action" /> | 
			
		
	
		
			
				
					|  |  |  |               <el-option label="IP地址" value="ip" /> | 
			
		
	
		
			
				
					|  |  |  |               <el-option label="工号" value="operateUserJobNumber" /> | 
			
		
	
		
			
				
					|  |  |  |               <el-option label="用户姓名" value="operateUserName" /> | 
			
		
	
		
			
				
					|  |  |  |               <el-option label="用户操作" value="operateInfo" /> | 
			
		
	
		
			
				
					|  |  |  |             </el-select> | 
			
		
	
		
			
				
					|  |  |  |             <el-button slot="append" icon="el-icon-search" @click="getDataList()">{{ $t('query') }}</el-button> | 
			
		
	
		
			
				
					|  |  |  |           </el-input> | 
			
		
	
	
		
			
				
					|  |  | @ -21,14 +20,12 @@ | 
			
		
	
		
			
				
					|  |  |  |         style="width: 100%;" | 
			
		
	
		
			
				
					|  |  |  |         @sort-change="dataListSortChangeHandle" | 
			
		
	
		
			
				
					|  |  |  |       > | 
			
		
	
		
			
				
					|  |  |  |         <el-table-column prop="creatorName" :label="'账号'" header-align="center" align="center" width="120" /> | 
			
		
	
		
			
				
					|  |  |  |         <el-table-column prop="realName" :label="'用户姓名'" header-align="center" align="center" width="120" /> | 
			
		
	
		
			
				
					|  |  |  |         <el-table-column prop="operation" :label="'用户操作'" /> | 
			
		
	
		
			
				
					|  |  |  |         <!-- <el-table-column prop="projectName" :label="'课题'" header-align="center" align="center" show-overflow-tooltip /> --> | 
			
		
	
		
			
				
					|  |  |  |         <el-table-column prop="ip" :label="'操作IP'" width="125" header-align="center" /> | 
			
		
	
		
			
				
					|  |  |  |         <el-table-column prop="createDate" :label="'操作时间'" header-align="center" sortable="custom" width="160" /> | 
			
		
	
		
			
				
					|  |  |  |         <el-table-column prop="operateUserJobNumber" :label="'工号'" header-align="center" align="center" width="120" /> | 
			
		
	
		
			
				
					|  |  |  |         <el-table-column prop="operateUserName" :label="'用户姓名'" header-align="center" align="center" width="120" /> | 
			
		
	
		
			
				
					|  |  |  |         <el-table-column prop="operateInfo" :label="'用户操作'" /> | 
			
		
	
		
			
				
					|  |  |  |         <el-table-column prop="projectName" :label="'课题'" header-align="center" align="center" show-overflow-tooltip /> | 
			
		
	
		
			
				
					|  |  |  |         <el-table-column prop="operateTime" :label="'操作时间'" header-align="center" sortable="custom" width="180" /> | 
			
		
	
		
			
				
					|  |  |  |       </el-table> | 
			
		
	
		
			
				
					|  |  |  | 
 | 
			
		
	
		
			
				
					|  |  |  |       <!-- 分页 --> | 
			
		
	
		
			
				
					|  |  |  |       <el-pagination | 
			
		
	
		
			
				
					|  |  |  |         :current-page="page" | 
			
		
	
	
		
			
				
					|  |  | @ -50,16 +47,16 @@ export default { | 
			
		
	
		
			
				
					|  |  |  |   data() { | 
			
		
	
		
			
				
					|  |  |  |     return { | 
			
		
	
		
			
				
					|  |  |  |       mixinViewModuleOptions: { | 
			
		
	
		
			
				
					|  |  |  |         getDataListURL: '/sys/log/operation/page4User', | 
			
		
	
		
			
				
					|  |  |  |         getDataListURL: '/operate/log/page', | 
			
		
	
		
			
				
					|  |  |  |         getDataListIsPage: true | 
			
		
	
		
			
				
					|  |  |  |       }, | 
			
		
	
		
			
				
					|  |  |  |       select: 'action', | 
			
		
	
		
			
				
					|  |  |  |       select: 'operateInfo', | 
			
		
	
		
			
				
					|  |  |  |       input: '', | 
			
		
	
		
			
				
					|  |  |  |       dataForm: { | 
			
		
	
		
			
				
					|  |  |  |         username: '', | 
			
		
	
		
			
				
					|  |  |  |         realName: '', | 
			
		
	
		
			
				
					|  |  |  |         action: '', | 
			
		
	
		
			
				
					|  |  |  |         ip: '' | 
			
		
	
		
			
				
					|  |  |  |         projectId: this.$route.query.projectId, | 
			
		
	
		
			
				
					|  |  |  |         operateUserJobNumber: '', | 
			
		
	
		
			
				
					|  |  |  |         operateUserName: '', | 
			
		
	
		
			
				
					|  |  |  |         operateInfo: '', | 
			
		
	
		
			
				
					|  |  |  |       } | 
			
		
	
		
			
				
					|  |  |  |     } | 
			
		
	
		
			
				
					|  |  |  |   }, | 
			
		
	
	
		
			
				
					|  |  | @ -71,14 +68,20 @@ export default { | 
			
		
	
		
			
				
					|  |  |  |     dataFormHandle() { | 
			
		
	
		
			
				
					|  |  |  |       const inputValue = !(this.input) ? null : this.input | 
			
		
	
		
			
				
					|  |  |  |       switch (this.select) { | 
			
		
	
		
			
				
					|  |  |  |         case 'realName': | 
			
		
	
		
			
				
					|  |  |  |           this.dataForm.realName = inputValue | 
			
		
	
		
			
				
					|  |  |  |         case 'operateUserName': | 
			
		
	
		
			
				
					|  |  |  |           this.dataForm.operateUserName = inputValue | 
			
		
	
		
			
				
					|  |  |  |           this.dataForm.operateUserJobNumber = '' | 
			
		
	
		
			
				
					|  |  |  |           this.dataForm.operateInfo = '' | 
			
		
	
		
			
				
					|  |  |  |           break | 
			
		
	
		
			
				
					|  |  |  |         case 'action': | 
			
		
	
		
			
				
					|  |  |  |           this.dataForm.action = inputValue | 
			
		
	
		
			
				
					|  |  |  |         case 'operateUserJobNumber': | 
			
		
	
		
			
				
					|  |  |  |           this.dataForm.operateUserJobNumber = inputValue | 
			
		
	
		
			
				
					|  |  |  |           this.dataForm.operateUserName = '' | 
			
		
	
		
			
				
					|  |  |  |           this.dataForm.operateInfo = '' | 
			
		
	
		
			
				
					|  |  |  |           break | 
			
		
	
		
			
				
					|  |  |  |         case 'ip': | 
			
		
	
		
			
				
					|  |  |  |           this.dataForm.ip = inputValue | 
			
		
	
		
			
				
					|  |  |  |         case 'operateInfo': | 
			
		
	
		
			
				
					|  |  |  |           this.dataForm.operateInfo = inputValue | 
			
		
	
		
			
				
					|  |  |  |           this.dataForm.operateUserJobNumber = '' | 
			
		
	
		
			
				
					|  |  |  |           this.dataForm.operateUserName = '' | 
			
		
	
		
			
				
					|  |  |  |           break | 
			
		
	
		
			
				
					|  |  |  |       } | 
			
		
	
		
			
				
					|  |  |  |     } | 
			
		
	
	
		
			
				
					|  |  | 
 |