|  |  |  | @ -2,8 +2,9 @@ | 
			
		
	
		
			
				
					|  |  |  |  |   <div> | 
			
		
	
		
			
				
					|  |  |  |  |     <el-card> | 
			
		
	
		
			
				
					|  |  |  |  |       <el-form v-if="queryList && queryList.length > 0 && showSearch" :model="filterQuery" class="query-form" | 
			
		
	
		
			
				
					|  |  |  |  |                size="mini" label-width="100px"> | 
			
		
	
		
			
				
					|  |  |  |  |           <el-col :span="20"> | 
			
		
	
		
			
				
					|  |  |  |  |                size="mini" label-width="100px" | 
			
		
	
		
			
				
					|  |  |  |  |       > | 
			
		
	
		
			
				
					|  |  |  |  |         <el-col :span="20"> | 
			
		
	
		
			
				
					|  |  |  |  |           <el-form-item prop="code" label="扫描追溯码:"> | 
			
		
	
		
			
				
					|  |  |  |  |             <el-input | 
			
		
	
		
			
				
					|  |  |  |  |               ref="inputRef" | 
			
		
	
	
		
			
				
					|  |  |  | @ -15,85 +16,93 @@ | 
			
		
	
		
			
				
					|  |  |  |  |               clearable | 
			
		
	
		
			
				
					|  |  |  |  |             ></el-input> | 
			
		
	
		
			
				
					|  |  |  |  |           </el-form-item> | 
			
		
	
		
			
				
					|  |  |  |  |           </el-col> | 
			
		
	
		
			
				
					|  |  |  |  |           <template v-for="(item, index) in queryList"> | 
			
		
	
		
			
				
					|  |  |  |  |             <el-form-item v-if="item.columnType == 'input' && executeEval(row,item.expression,true)" | 
			
		
	
		
			
				
					|  |  |  |  |                           class="query-form-item" | 
			
		
	
		
			
				
					|  |  |  |  |                           :label="item.columnDesc+`:`" :key="item.id"> | 
			
		
	
		
			
				
					|  |  |  |  |               <el-input | 
			
		
	
		
			
				
					|  |  |  |  |                 v-model="filterQuery[item.columnName]" | 
			
		
	
		
			
				
					|  |  |  |  |                 :placeholder="item.columnDesc" | 
			
		
	
		
			
				
					|  |  |  |  |                 :disabled="executeEval(null,item.disabledFuc,false)" | 
			
		
	
		
			
				
					|  |  |  |  |                 @keyup.enter.native="executeFuc($event,'5',item.clickFuc)" | 
			
		
	
		
			
				
					|  |  |  |  |                 clearable | 
			
		
	
		
			
				
					|  |  |  |  |               ></el-input> | 
			
		
	
		
			
				
					|  |  |  |  |             </el-form-item> | 
			
		
	
		
			
				
					|  |  |  |  |             <el-form-item v-if="item.columnType == 'select' && executeEval(row,item.expression,true)" | 
			
		
	
		
			
				
					|  |  |  |  |                           class="query-form-item" | 
			
		
	
		
			
				
					|  |  |  |  |                           :label="item.columnDesc+`:`"> | 
			
		
	
		
			
				
					|  |  |  |  |               <el-select v-model="filterQuery[item.columnName]" | 
			
		
	
		
			
				
					|  |  |  |  |                          :placeholder="item.columnDesc" | 
			
		
	
		
			
				
					|  |  |  |  |                          :disabled="executeEval(null,item.disabledFuc,false)" | 
			
		
	
		
			
				
					|  |  |  |  |                          clearable> | 
			
		
	
		
			
				
					|  |  |  |  |                 <el-option | 
			
		
	
		
			
				
					|  |  |  |  |                   v-for="dict in item.lableRuleObj" | 
			
		
	
		
			
				
					|  |  |  |  |                   :key="dict.value" | 
			
		
	
		
			
				
					|  |  |  |  |                   :label="dict.label" | 
			
		
	
		
			
				
					|  |  |  |  |                   :value="dict.value" | 
			
		
	
		
			
				
					|  |  |  |  |                 /> | 
			
		
	
		
			
				
					|  |  |  |  |               </el-select> | 
			
		
	
		
			
				
					|  |  |  |  |             </el-form-item> | 
			
		
	
		
			
				
					|  |  |  |  |             <el-form-item v-if="item.columnType == 'selectServer' && executeEval(row,item.expression,true)" | 
			
		
	
		
			
				
					|  |  |  |  |                           class="query-form-item" | 
			
		
	
		
			
				
					|  |  |  |  |                           :label="item.columnDesc+`:`"> | 
			
		
	
		
			
				
					|  |  |  |  |               <el-select | 
			
		
	
		
			
				
					|  |  |  |  |                 v-model="filterQuery[item.columnName]" | 
			
		
	
		
			
				
					|  |  |  |  |                 :placeholder="item.columnDesc" | 
			
		
	
		
			
				
					|  |  |  |  |                 @change="executeFuc($event,'5',item.checkRules)" | 
			
		
	
		
			
				
					|  |  |  |  |                 :disabled="executeEval(null,item.disabledFuc,false)" | 
			
		
	
		
			
				
					|  |  |  |  |                 filterable | 
			
		
	
		
			
				
					|  |  |  |  |                 remote | 
			
		
	
		
			
				
					|  |  |  |  |                 :remote-method="(query) => executeFuc(query,'5',item.clickFuc)" | 
			
		
	
		
			
				
					|  |  |  |  |                 clearable> | 
			
		
	
		
			
				
					|  |  |  |  |                 <el-option | 
			
		
	
		
			
				
					|  |  |  |  |                   v-for="item in options[item.clickFuc]" | 
			
		
	
		
			
				
					|  |  |  |  |                   :key="item.code" | 
			
		
	
		
			
				
					|  |  |  |  |                   :label="item.label" | 
			
		
	
		
			
				
					|  |  |  |  |                   :value="item.code" | 
			
		
	
		
			
				
					|  |  |  |  |                 /> | 
			
		
	
		
			
				
					|  |  |  |  |               </el-select> | 
			
		
	
		
			
				
					|  |  |  |  |             </el-form-item> | 
			
		
	
		
			
				
					|  |  |  |  |             <el-form-item v-if="item.columnType == 'datePicker' && executeEval(row,item.expression,true)" | 
			
		
	
		
			
				
					|  |  |  |  |                           class="query-form-item" | 
			
		
	
		
			
				
					|  |  |  |  |                           :label="item.columnDesc+`:`"> | 
			
		
	
		
			
				
					|  |  |  |  |               <el-date-picker | 
			
		
	
		
			
				
					|  |  |  |  |                 :picker-options="pickerOptions" | 
			
		
	
		
			
				
					|  |  |  |  |                 v-model="actDateRange" | 
			
		
	
		
			
				
					|  |  |  |  |                 type="daterange" | 
			
		
	
		
			
				
					|  |  |  |  |                 format="yyyy 年 MM 月 dd 日" | 
			
		
	
		
			
				
					|  |  |  |  |                 value-format="yyyy-MM-dd" | 
			
		
	
		
			
				
					|  |  |  |  |                 range-separator="至" | 
			
		
	
		
			
				
					|  |  |  |  |                 start-placeholder="开始日期" | 
			
		
	
		
			
				
					|  |  |  |  |                 end-placeholder="结束日期" | 
			
		
	
		
			
				
					|  |  |  |  |               ></el-date-picker> | 
			
		
	
		
			
				
					|  |  |  |  |             </el-form-item> | 
			
		
	
		
			
				
					|  |  |  |  |             <el-form-item v-if="item.columnType == 'date' && executeEval(row,item.expression,true)" | 
			
		
	
		
			
				
					|  |  |  |  |                           class="query-form-item" | 
			
		
	
		
			
				
					|  |  |  |  |                           :label="item.columnDesc+`:`"> | 
			
		
	
		
			
				
					|  |  |  |  |               <el-date-picker | 
			
		
	
		
			
				
					|  |  |  |  |                 v-model="filterQuery[item.columnName]" | 
			
		
	
		
			
				
					|  |  |  |  |                 :style="`width:${item.width+'px'}`" | 
			
		
	
		
			
				
					|  |  |  |  |                 value-format="yyyy-MM-dd" | 
			
		
	
		
			
				
					|  |  |  |  |                 :disabled="executeEval(null,item.disabledFuc,false)" | 
			
		
	
		
			
				
					|  |  |  |  |                 type="date" | 
			
		
	
		
			
				
					|  |  |  |  |                 :placeholder="item.columnDesc" | 
			
		
	
		
			
				
					|  |  |  |  |               ></el-date-picker> | 
			
		
	
		
			
				
					|  |  |  |  |             </el-form-item> | 
			
		
	
		
			
				
					|  |  |  |  |           </template> | 
			
		
	
		
			
				
					|  |  |  |  |         </el-col> | 
			
		
	
		
			
				
					|  |  |  |  |         <template v-for="(item, index) in queryList"> | 
			
		
	
		
			
				
					|  |  |  |  |           <el-form-item v-if="item.columnType == 'input' && executeEval(row,item.expression,true)" | 
			
		
	
		
			
				
					|  |  |  |  |                         class="query-form-item" | 
			
		
	
		
			
				
					|  |  |  |  |                         :label="item.columnDesc+`:`" :key="item.id" | 
			
		
	
		
			
				
					|  |  |  |  |           > | 
			
		
	
		
			
				
					|  |  |  |  |             <el-input | 
			
		
	
		
			
				
					|  |  |  |  |               v-model="filterQuery[item.columnName]" | 
			
		
	
		
			
				
					|  |  |  |  |               :placeholder="item.columnDesc" | 
			
		
	
		
			
				
					|  |  |  |  |               :disabled="executeEval(null,item.disabledFuc,false)" | 
			
		
	
		
			
				
					|  |  |  |  |               @keyup.enter.native="executeFuc($event,'5',item.clickFuc)" | 
			
		
	
		
			
				
					|  |  |  |  |               clearable | 
			
		
	
		
			
				
					|  |  |  |  |             ></el-input> | 
			
		
	
		
			
				
					|  |  |  |  |           </el-form-item> | 
			
		
	
		
			
				
					|  |  |  |  |           <el-form-item v-if="item.columnType == 'select' && executeEval(row,item.expression,true)" | 
			
		
	
		
			
				
					|  |  |  |  |                         class="query-form-item" | 
			
		
	
		
			
				
					|  |  |  |  |                         :label="item.columnDesc+`:`" | 
			
		
	
		
			
				
					|  |  |  |  |           > | 
			
		
	
		
			
				
					|  |  |  |  |             <el-select v-model="filterQuery[item.columnName]" | 
			
		
	
		
			
				
					|  |  |  |  |                        :placeholder="item.columnDesc" | 
			
		
	
		
			
				
					|  |  |  |  |                        :disabled="executeEval(null,item.disabledFuc,false)" | 
			
		
	
		
			
				
					|  |  |  |  |                        clearable | 
			
		
	
		
			
				
					|  |  |  |  |             > | 
			
		
	
		
			
				
					|  |  |  |  |               <el-option | 
			
		
	
		
			
				
					|  |  |  |  |                 v-for="dict in item.lableRuleObj" | 
			
		
	
		
			
				
					|  |  |  |  |                 :key="dict.value" | 
			
		
	
		
			
				
					|  |  |  |  |                 :label="dict.label" | 
			
		
	
		
			
				
					|  |  |  |  |                 :value="dict.value" | 
			
		
	
		
			
				
					|  |  |  |  |               /> | 
			
		
	
		
			
				
					|  |  |  |  |             </el-select> | 
			
		
	
		
			
				
					|  |  |  |  |           </el-form-item> | 
			
		
	
		
			
				
					|  |  |  |  |           <el-form-item v-if="item.columnType == 'selectServer' && executeEval(row,item.expression,true)" | 
			
		
	
		
			
				
					|  |  |  |  |                         class="query-form-item" | 
			
		
	
		
			
				
					|  |  |  |  |                         :label="item.columnDesc+`:`" | 
			
		
	
		
			
				
					|  |  |  |  |           > | 
			
		
	
		
			
				
					|  |  |  |  |             <el-select | 
			
		
	
		
			
				
					|  |  |  |  |               v-model="filterQuery[item.columnName]" | 
			
		
	
		
			
				
					|  |  |  |  |               :placeholder="item.columnDesc" | 
			
		
	
		
			
				
					|  |  |  |  |               @change="executeFuc($event,'5',item.checkRules)" | 
			
		
	
		
			
				
					|  |  |  |  |               :disabled="executeEval(null,item.disabledFuc,false)" | 
			
		
	
		
			
				
					|  |  |  |  |               filterable | 
			
		
	
		
			
				
					|  |  |  |  |               remote | 
			
		
	
		
			
				
					|  |  |  |  |               :remote-method="(query) => executeFuc(query,'5',item.clickFuc)" | 
			
		
	
		
			
				
					|  |  |  |  |               clearable | 
			
		
	
		
			
				
					|  |  |  |  |             > | 
			
		
	
		
			
				
					|  |  |  |  |               <el-option | 
			
		
	
		
			
				
					|  |  |  |  |                 v-for="item in options[item.clickFuc]" | 
			
		
	
		
			
				
					|  |  |  |  |                 :key="item.code" | 
			
		
	
		
			
				
					|  |  |  |  |                 :label="item.label" | 
			
		
	
		
			
				
					|  |  |  |  |                 :value="item.code" | 
			
		
	
		
			
				
					|  |  |  |  |               /> | 
			
		
	
		
			
				
					|  |  |  |  |             </el-select> | 
			
		
	
		
			
				
					|  |  |  |  |           </el-form-item> | 
			
		
	
		
			
				
					|  |  |  |  |           <el-form-item v-if="item.columnType == 'datePicker' && executeEval(row,item.expression,true)" | 
			
		
	
		
			
				
					|  |  |  |  |                         class="query-form-item" | 
			
		
	
		
			
				
					|  |  |  |  |                         :label="item.columnDesc+`:`" | 
			
		
	
		
			
				
					|  |  |  |  |           > | 
			
		
	
		
			
				
					|  |  |  |  |             <el-date-picker | 
			
		
	
		
			
				
					|  |  |  |  |               :picker-options="pickerOptions" | 
			
		
	
		
			
				
					|  |  |  |  |               v-model="actDateRange" | 
			
		
	
		
			
				
					|  |  |  |  |               type="daterange" | 
			
		
	
		
			
				
					|  |  |  |  |               format="yyyy 年 MM 月 dd 日" | 
			
		
	
		
			
				
					|  |  |  |  |               value-format="yyyy-MM-dd" | 
			
		
	
		
			
				
					|  |  |  |  |               range-separator="至" | 
			
		
	
		
			
				
					|  |  |  |  |               start-placeholder="开始日期" | 
			
		
	
		
			
				
					|  |  |  |  |               end-placeholder="结束日期" | 
			
		
	
		
			
				
					|  |  |  |  |             ></el-date-picker> | 
			
		
	
		
			
				
					|  |  |  |  |           </el-form-item> | 
			
		
	
		
			
				
					|  |  |  |  |           <el-form-item v-if="item.columnType == 'date' && executeEval(row,item.expression,true)" | 
			
		
	
		
			
				
					|  |  |  |  |                         class="query-form-item" | 
			
		
	
		
			
				
					|  |  |  |  |                         :label="item.columnDesc+`:`" | 
			
		
	
		
			
				
					|  |  |  |  |           > | 
			
		
	
		
			
				
					|  |  |  |  |             <el-date-picker | 
			
		
	
		
			
				
					|  |  |  |  |               v-model="filterQuery[item.columnName]" | 
			
		
	
		
			
				
					|  |  |  |  |               :style="`width:${item.width+'px'}`" | 
			
		
	
		
			
				
					|  |  |  |  |               value-format="yyyy-MM-dd" | 
			
		
	
		
			
				
					|  |  |  |  |               :disabled="executeEval(null,item.disabledFuc,false)" | 
			
		
	
		
			
				
					|  |  |  |  |               type="date" | 
			
		
	
		
			
				
					|  |  |  |  |               :placeholder="item.columnDesc" | 
			
		
	
		
			
				
					|  |  |  |  |             ></el-date-picker> | 
			
		
	
		
			
				
					|  |  |  |  |           </el-form-item> | 
			
		
	
		
			
				
					|  |  |  |  |         </template> | 
			
		
	
		
			
				
					|  |  |  |  | 
 | 
			
		
	
		
			
				
					|  |  |  |  |       </el-form> | 
			
		
	
		
			
				
					|  |  |  |  |       <div class="top-right-btn"> | 
			
		
	
		
			
				
					|  |  |  |  |         <el-button-group> | 
			
		
	
		
			
				
					|  |  |  |  |           <el-button icon="el-icon-view" type="primary" @click="hideSearch">显示/隐藏搜索栏</el-button> | 
			
		
	
		
			
				
					|  |  |  |  |           <!--<el-button icon="el-icon-view" type="primary" @click="hideSearch">显示/隐藏搜索栏</el-button>--> | 
			
		
	
		
			
				
					|  |  |  |  |           <el-button | 
			
		
	
		
			
				
					|  |  |  |  |             type="primary" | 
			
		
	
		
			
				
					|  |  |  |  |             icon="el-icon-refresh" | 
			
		
	
	
		
			
				
					|  |  |  | @ -106,117 +115,123 @@ | 
			
		
	
		
			
				
					|  |  |  |  |           > | 
			
		
	
		
			
				
					|  |  |  |  |         </el-button-group> | 
			
		
	
		
			
				
					|  |  |  |  |       </div> | 
			
		
	
		
			
				
					|  |  |  |  | 
 | 
			
		
	
		
			
				
					|  |  |  |  |       <el-divider style="margin: 15px"></el-divider> | 
			
		
	
		
			
				
					|  |  |  |  | 
 | 
			
		
	
		
			
				
					|  |  |  |  |       <el-table v-loading="loading" :data="list" style="width: 100%;" border highlight-current-row | 
			
		
	
		
			
				
					|  |  |  |  |                 @row-click="(row) => executeFuc(row,'0',tableObj.handleChangeFuc)" ref="multipleTable" | 
			
		
	
		
			
				
					|  |  |  |  |                 :default-sort="defaultSort" | 
			
		
	
		
			
				
					|  |  |  |  |                 :row-style="{ height: '32px' }" | 
			
		
	
		
			
				
					|  |  |  |  |                 @selection-change="handleSelectionChange" | 
			
		
	
		
			
				
					|  |  |  |  |                 @sort-change="handleSortChange"> | 
			
		
	
		
			
				
					|  |  |  |  |         <template v-for="(item, index) in tableHeader"> | 
			
		
	
		
			
				
					|  |  |  |  |           <el-table-column | 
			
		
	
		
			
				
					|  |  |  |  |             v-if="item.columnType == 'id' && executeEval(row,item.expression,true)" | 
			
		
	
		
			
				
					|  |  |  |  |             type="index" :label="item.columnDesc"></el-table-column> | 
			
		
	
		
			
				
					|  |  |  |  |           <el-table-column | 
			
		
	
		
			
				
					|  |  |  |  |             v-if="item.columnType == 'selection'" | 
			
		
	
		
			
				
					|  |  |  |  |             type="selection" | 
			
		
	
		
			
				
					|  |  |  |  |             :width="item.width" | 
			
		
	
		
			
				
					|  |  |  |  |             :selectable="(row,number) => executeFuc(row,'3',item.clickFuc)" | 
			
		
	
		
			
				
					|  |  |  |  |           ></el-table-column> | 
			
		
	
		
			
				
					|  |  |  |  |       <div v-if="false"> | 
			
		
	
		
			
				
					|  |  |  |  |         <el-table v-loading="loading" :data="list" style="width: 100%;" border highlight-current-row | 
			
		
	
		
			
				
					|  |  |  |  |                   @row-click="(row) => executeFuc(row,'0',tableObj.handleChangeFuc)" ref="multipleTable" | 
			
		
	
		
			
				
					|  |  |  |  |                   :default-sort="defaultSort" | 
			
		
	
		
			
				
					|  |  |  |  |                   :row-style="{ height: '32px' }" | 
			
		
	
		
			
				
					|  |  |  |  |                   @selection-change="handleSelectionChange" | 
			
		
	
		
			
				
					|  |  |  |  |                   @sort-change="handleSortChange" | 
			
		
	
		
			
				
					|  |  |  |  |         > | 
			
		
	
		
			
				
					|  |  |  |  |           <template v-for="(item, index) in tableHeader"> | 
			
		
	
		
			
				
					|  |  |  |  |             <el-table-column | 
			
		
	
		
			
				
					|  |  |  |  |               v-if="item.columnType == 'id' && executeEval(row,item.expression,true)" | 
			
		
	
		
			
				
					|  |  |  |  |               type="index" :label="item.columnDesc" | 
			
		
	
		
			
				
					|  |  |  |  |             ></el-table-column> | 
			
		
	
		
			
				
					|  |  |  |  |             <el-table-column | 
			
		
	
		
			
				
					|  |  |  |  |               v-if="item.columnType == 'selection'" | 
			
		
	
		
			
				
					|  |  |  |  |               type="selection" | 
			
		
	
		
			
				
					|  |  |  |  |               :width="item.width" | 
			
		
	
		
			
				
					|  |  |  |  |               :selectable="(row,number) => executeFuc(row,'3',item.clickFuc)" | 
			
		
	
		
			
				
					|  |  |  |  |             ></el-table-column> | 
			
		
	
		
			
				
					|  |  |  |  | 
 | 
			
		
	
		
			
				
					|  |  |  |  |           <el-table-column | 
			
		
	
		
			
				
					|  |  |  |  |             v-if="item.columnType == 'radio' && executeEval(row,item.expression,true)" | 
			
		
	
		
			
				
					|  |  |  |  |             :prop="item.columnName" | 
			
		
	
		
			
				
					|  |  |  |  |             :label="item.columnDesc" | 
			
		
	
		
			
				
					|  |  |  |  |             :sortable="item.sort" | 
			
		
	
		
			
				
					|  |  |  |  |             :width="item.width" | 
			
		
	
		
			
				
					|  |  |  |  |             :show-overflow-tooltip="item.tooltip" | 
			
		
	
		
			
				
					|  |  |  |  |             :key="item.columnName" | 
			
		
	
		
			
				
					|  |  |  |  |           > | 
			
		
	
		
			
				
					|  |  |  |  |             <template slot-scope="scope"> | 
			
		
	
		
			
				
					|  |  |  |  |               <el-radio :label="scope.row.id" v-model="radioCheck"><span></span></el-radio> | 
			
		
	
		
			
				
					|  |  |  |  |             </template> | 
			
		
	
		
			
				
					|  |  |  |  |           </el-table-column> | 
			
		
	
		
			
				
					|  |  |  |  |           <el-table-column | 
			
		
	
		
			
				
					|  |  |  |  |             v-if="item.columnType == 'laber' && executeEval(row,item.expression,true)" | 
			
		
	
		
			
				
					|  |  |  |  |             :prop="item.columnName" | 
			
		
	
		
			
				
					|  |  |  |  |             :label="item.columnDesc" | 
			
		
	
		
			
				
					|  |  |  |  |             :sortable="item.sort" | 
			
		
	
		
			
				
					|  |  |  |  |             :width="item.width" | 
			
		
	
		
			
				
					|  |  |  |  |             :show-overflow-tooltip="item.tooltip" | 
			
		
	
		
			
				
					|  |  |  |  |             :key="item.columnName" | 
			
		
	
		
			
				
					|  |  |  |  |           > | 
			
		
	
		
			
				
					|  |  |  |  |             <template slot-scope="scope"> | 
			
		
	
		
			
				
					|  |  |  |  |             <el-table-column | 
			
		
	
		
			
				
					|  |  |  |  |               v-if="item.columnType == 'radio' && executeEval(row,item.expression,true)" | 
			
		
	
		
			
				
					|  |  |  |  |               :prop="item.columnName" | 
			
		
	
		
			
				
					|  |  |  |  |               :label="item.columnDesc" | 
			
		
	
		
			
				
					|  |  |  |  |               :sortable="item.sort" | 
			
		
	
		
			
				
					|  |  |  |  |               :width="item.width" | 
			
		
	
		
			
				
					|  |  |  |  |               :show-overflow-tooltip="item.tooltip" | 
			
		
	
		
			
				
					|  |  |  |  |               :key="item.columnName" | 
			
		
	
		
			
				
					|  |  |  |  |             > | 
			
		
	
		
			
				
					|  |  |  |  |               <template slot-scope="scope"> | 
			
		
	
		
			
				
					|  |  |  |  |                 <el-radio :label="scope.row.id" v-model="radioCheck"><span></span></el-radio> | 
			
		
	
		
			
				
					|  |  |  |  |               </template> | 
			
		
	
		
			
				
					|  |  |  |  |             </el-table-column> | 
			
		
	
		
			
				
					|  |  |  |  |             <el-table-column | 
			
		
	
		
			
				
					|  |  |  |  |               v-if="item.columnType == 'laber' && executeEval(row,item.expression,true)" | 
			
		
	
		
			
				
					|  |  |  |  |               :prop="item.columnName" | 
			
		
	
		
			
				
					|  |  |  |  |               :label="item.columnDesc" | 
			
		
	
		
			
				
					|  |  |  |  |               :sortable="item.sort" | 
			
		
	
		
			
				
					|  |  |  |  |               :width="item.width" | 
			
		
	
		
			
				
					|  |  |  |  |               :show-overflow-tooltip="item.tooltip" | 
			
		
	
		
			
				
					|  |  |  |  |               :key="item.columnName" | 
			
		
	
		
			
				
					|  |  |  |  |             > | 
			
		
	
		
			
				
					|  |  |  |  |               <template slot-scope="scope"> | 
			
		
	
		
			
				
					|  |  |  |  |             <span :style="{color: executeFuc(scope.row,'4',item.lableRuleObj[scope.row[item.columnName]])}">{{ | 
			
		
	
		
			
				
					|  |  |  |  |                 item.lableRuleObj[scope.row[item.columnName]] | 
			
		
	
		
			
				
					|  |  |  |  |               }}</span> | 
			
		
	
		
			
				
					|  |  |  |  |             </template> | 
			
		
	
		
			
				
					|  |  |  |  |           </el-table-column> | 
			
		
	
		
			
				
					|  |  |  |  |           <el-table-column | 
			
		
	
		
			
				
					|  |  |  |  |             v-if="item.columnType == 'eltag' && executeEval(row,item.expression,true)" | 
			
		
	
		
			
				
					|  |  |  |  |             :prop="item.columnName" | 
			
		
	
		
			
				
					|  |  |  |  |             :label="item.columnDesc" | 
			
		
	
		
			
				
					|  |  |  |  |             :sortable="item.sort" | 
			
		
	
		
			
				
					|  |  |  |  |             :width="item.width" | 
			
		
	
		
			
				
					|  |  |  |  |             :show-overflow-tooltip="item.tooltip" | 
			
		
	
		
			
				
					|  |  |  |  |             :key="item.columnName" | 
			
		
	
		
			
				
					|  |  |  |  |           > | 
			
		
	
		
			
				
					|  |  |  |  |             <template slot-scope="scope"> | 
			
		
	
		
			
				
					|  |  |  |  |               <el-tag | 
			
		
	
		
			
				
					|  |  |  |  |                 :type="executeFuc(scope.row,'4',item,item.lableRuleObj?item.lableRuleObj[scope.row[item.columnName]]:scope.row[item.columnName])"> | 
			
		
	
		
			
				
					|  |  |  |  |               </template> | 
			
		
	
		
			
				
					|  |  |  |  |             </el-table-column> | 
			
		
	
		
			
				
					|  |  |  |  |             <el-table-column | 
			
		
	
		
			
				
					|  |  |  |  |               v-if="item.columnType == 'eltag' && executeEval(row,item.expression,true)" | 
			
		
	
		
			
				
					|  |  |  |  |               :prop="item.columnName" | 
			
		
	
		
			
				
					|  |  |  |  |               :label="item.columnDesc" | 
			
		
	
		
			
				
					|  |  |  |  |               :sortable="item.sort" | 
			
		
	
		
			
				
					|  |  |  |  |               :width="item.width" | 
			
		
	
		
			
				
					|  |  |  |  |               :show-overflow-tooltip="item.tooltip" | 
			
		
	
		
			
				
					|  |  |  |  |               :key="item.columnName" | 
			
		
	
		
			
				
					|  |  |  |  |             > | 
			
		
	
		
			
				
					|  |  |  |  |               <template slot-scope="scope"> | 
			
		
	
		
			
				
					|  |  |  |  |                 <el-tag | 
			
		
	
		
			
				
					|  |  |  |  |                   :type="executeFuc(scope.row,'4',item,item.lableRuleObj?item.lableRuleObj[scope.row[item.columnName]]:scope.row[item.columnName])" | 
			
		
	
		
			
				
					|  |  |  |  |                 > | 
			
		
	
		
			
				
					|  |  |  |  |               <span>{{ | 
			
		
	
		
			
				
					|  |  |  |  |                   item.lableRuleObj ? item.lableRuleObj[scope.row[item.columnName]] : scope.row[item.columnName] | 
			
		
	
		
			
				
					|  |  |  |  |                 }}</span> | 
			
		
	
		
			
				
					|  |  |  |  |               </el-tag> | 
			
		
	
		
			
				
					|  |  |  |  |             </template> | 
			
		
	
		
			
				
					|  |  |  |  |           </el-table-column> | 
			
		
	
		
			
				
					|  |  |  |  |           <el-table-column | 
			
		
	
		
			
				
					|  |  |  |  |             v-if="item.columnType == 'button' && executeEval(row,item.expression,true)" | 
			
		
	
		
			
				
					|  |  |  |  |             :prop="item.columnName" | 
			
		
	
		
			
				
					|  |  |  |  |             :label="item.columnDesc" | 
			
		
	
		
			
				
					|  |  |  |  |             :width="item.width" | 
			
		
	
		
			
				
					|  |  |  |  |             :key="item.columnName" | 
			
		
	
		
			
				
					|  |  |  |  |             fixed="right" | 
			
		
	
		
			
				
					|  |  |  |  |           > | 
			
		
	
		
			
				
					|  |  |  |  |             <template slot-scope="scope"> | 
			
		
	
		
			
				
					|  |  |  |  |               <el-button v-for="(buttonItem, buttonIndex) in item.buttonRulObj" | 
			
		
	
		
			
				
					|  |  |  |  |                          :type="buttonItem.type" | 
			
		
	
		
			
				
					|  |  |  |  |                          :size="buttonItem.size" | 
			
		
	
		
			
				
					|  |  |  |  |                          :style="buttonItem.style" | 
			
		
	
		
			
				
					|  |  |  |  |                          :key="buttonItem" | 
			
		
	
		
			
				
					|  |  |  |  |                          v-if="executeEval(scope.row,buttonItem.hasPermi,true)" | 
			
		
	
		
			
				
					|  |  |  |  |                          :disabled="executeEval(scope.row,buttonItem.disabledFuc,false)" | 
			
		
	
		
			
				
					|  |  |  |  |                          @click.native.stop="executeFuc(scope.row,'1',buttonItem.clickFuc)" | 
			
		
	
		
			
				
					|  |  |  |  |               >{{ buttonItem.name }} | 
			
		
	
		
			
				
					|  |  |  |  |               </el-button> | 
			
		
	
		
			
				
					|  |  |  |  |             </template> | 
			
		
	
		
			
				
					|  |  |  |  |           </el-table-column> | 
			
		
	
		
			
				
					|  |  |  |  |           <el-table-column | 
			
		
	
		
			
				
					|  |  |  |  |             v-if="item.columnType == 'text' && executeEval(row,item.expression,true)" | 
			
		
	
		
			
				
					|  |  |  |  |             :prop="item.columnName" | 
			
		
	
		
			
				
					|  |  |  |  |             :label="item.columnDesc" | 
			
		
	
		
			
				
					|  |  |  |  |             :sortable="item.sort" | 
			
		
	
		
			
				
					|  |  |  |  |             :width="item.width" | 
			
		
	
		
			
				
					|  |  |  |  |             :show-overflow-tooltip="item.tooltip" | 
			
		
	
		
			
				
					|  |  |  |  |             :key="item.columnName" | 
			
		
	
		
			
				
					|  |  |  |  |           > | 
			
		
	
		
			
				
					|  |  |  |  |             <template slot-scope="scope"> | 
			
		
	
		
			
				
					|  |  |  |  |                 </el-tag> | 
			
		
	
		
			
				
					|  |  |  |  |               </template> | 
			
		
	
		
			
				
					|  |  |  |  |             </el-table-column> | 
			
		
	
		
			
				
					|  |  |  |  |             <el-table-column | 
			
		
	
		
			
				
					|  |  |  |  |               v-if="item.columnType == 'button' && executeEval(row,item.expression,true)" | 
			
		
	
		
			
				
					|  |  |  |  |               :prop="item.columnName" | 
			
		
	
		
			
				
					|  |  |  |  |               :label="item.columnDesc" | 
			
		
	
		
			
				
					|  |  |  |  |               :width="item.width" | 
			
		
	
		
			
				
					|  |  |  |  |               :key="item.columnName" | 
			
		
	
		
			
				
					|  |  |  |  |               fixed="right" | 
			
		
	
		
			
				
					|  |  |  |  |             > | 
			
		
	
		
			
				
					|  |  |  |  |               <template slot-scope="scope"> | 
			
		
	
		
			
				
					|  |  |  |  |                 <el-button v-for="(buttonItem, buttonIndex) in item.buttonRulObj" | 
			
		
	
		
			
				
					|  |  |  |  |                            :type="buttonItem.type" | 
			
		
	
		
			
				
					|  |  |  |  |                            :size="buttonItem.size" | 
			
		
	
		
			
				
					|  |  |  |  |                            :style="buttonItem.style" | 
			
		
	
		
			
				
					|  |  |  |  |                            :key="buttonItem" | 
			
		
	
		
			
				
					|  |  |  |  |                            v-if="executeEval(scope.row,buttonItem.hasPermi,true)" | 
			
		
	
		
			
				
					|  |  |  |  |                            :disabled="executeEval(scope.row,buttonItem.disabledFuc,false)" | 
			
		
	
		
			
				
					|  |  |  |  |                            @click.native.stop="executeFuc(scope.row,'1',buttonItem.clickFuc)" | 
			
		
	
		
			
				
					|  |  |  |  |                 >{{ buttonItem.name }} | 
			
		
	
		
			
				
					|  |  |  |  |                 </el-button> | 
			
		
	
		
			
				
					|  |  |  |  |               </template> | 
			
		
	
		
			
				
					|  |  |  |  |             </el-table-column> | 
			
		
	
		
			
				
					|  |  |  |  |             <el-table-column | 
			
		
	
		
			
				
					|  |  |  |  |               v-if="item.columnType == 'text' && executeEval(row,item.expression,true)" | 
			
		
	
		
			
				
					|  |  |  |  |               :prop="item.columnName" | 
			
		
	
		
			
				
					|  |  |  |  |               :label="item.columnDesc" | 
			
		
	
		
			
				
					|  |  |  |  |               :sortable="item.sort" | 
			
		
	
		
			
				
					|  |  |  |  |               :width="item.width" | 
			
		
	
		
			
				
					|  |  |  |  |               :show-overflow-tooltip="item.tooltip" | 
			
		
	
		
			
				
					|  |  |  |  |               :key="item.columnName" | 
			
		
	
		
			
				
					|  |  |  |  |             > | 
			
		
	
		
			
				
					|  |  |  |  |               <template slot-scope="scope"> | 
			
		
	
		
			
				
					|  |  |  |  |             <span :style="{color: executeFuc(scope.row,'4',item,scope.row[item.columnName])}">{{ | 
			
		
	
		
			
				
					|  |  |  |  |                 scope.row[item.columnName] | 
			
		
	
		
			
				
					|  |  |  |  |               }}</span> | 
			
		
	
		
			
				
					|  |  |  |  |             </template> | 
			
		
	
		
			
				
					|  |  |  |  |           </el-table-column> | 
			
		
	
		
			
				
					|  |  |  |  |         </template> | 
			
		
	
		
			
				
					|  |  |  |  |       </el-table> | 
			
		
	
		
			
				
					|  |  |  |  |               </template> | 
			
		
	
		
			
				
					|  |  |  |  |             </el-table-column> | 
			
		
	
		
			
				
					|  |  |  |  |           </template> | 
			
		
	
		
			
				
					|  |  |  |  |         </el-table> | 
			
		
	
		
			
				
					|  |  |  |  | 
 | 
			
		
	
		
			
				
					|  |  |  |  |       <pagination | 
			
		
	
		
			
				
					|  |  |  |  |         v-show="total>0" | 
			
		
	
		
			
				
					|  |  |  |  |         :total="total" | 
			
		
	
		
			
				
					|  |  |  |  |         :limit.sync="filterQuery.limit" | 
			
		
	
		
			
				
					|  |  |  |  |         :page.sync="filterQuery.page" | 
			
		
	
		
			
				
					|  |  |  |  |         @pagination="handleCurrentChange" | 
			
		
	
		
			
				
					|  |  |  |  |       ></pagination> | 
			
		
	
		
			
				
					|  |  |  |  |         <pagination | 
			
		
	
		
			
				
					|  |  |  |  |           v-show="total>0" | 
			
		
	
		
			
				
					|  |  |  |  |           :total="total" | 
			
		
	
		
			
				
					|  |  |  |  |           :limit.sync="filterQuery.limit" | 
			
		
	
		
			
				
					|  |  |  |  |           :page.sync="filterQuery.page" | 
			
		
	
		
			
				
					|  |  |  |  |           @pagination="handleCurrentChange" | 
			
		
	
		
			
				
					|  |  |  |  |         ></pagination> | 
			
		
	
		
			
				
					|  |  |  |  |       </div> | 
			
		
	
		
			
				
					|  |  |  |  |     </el-card> | 
			
		
	
		
			
				
					|  |  |  |  | 
 | 
			
		
	
		
			
				
					|  |  |  |  |     <el-dialog | 
			
		
	
	
		
			
				
					|  |  |  | @ -234,14 +249,15 @@ | 
			
		
	
		
			
				
					|  |  |  |  | </template> | 
			
		
	
		
			
				
					|  |  |  |  | 
 | 
			
		
	
		
			
				
					|  |  |  |  | <script> | 
			
		
	
		
			
				
					|  |  |  |  | import {executeFuc, getHead} from "@/utils/customConfig"; | 
			
		
	
		
			
				
					|  |  |  |  | import {convertDate} from "@/utils/date";; | 
			
		
	
		
			
				
					|  |  |  |  | import {deleteByOrder, orderPage} from "@/api/collect/collectOrder"; | 
			
		
	
		
			
				
					|  |  |  |  | import { executeFuc, getHead } from '@/utils/customConfig' | 
			
		
	
		
			
				
					|  |  |  |  | import { convertDate } from '@/utils/date' | 
			
		
	
		
			
				
					|  |  |  |  | 
 | 
			
		
	
		
			
				
					|  |  |  |  | import { deleteByOrder, orderPage } from '@/api/collect/collectOrder' | 
			
		
	
		
			
				
					|  |  |  |  | import { filterWorkOptimize } from '@/api/basic/workPlace/sysWorkplaceManage' | 
			
		
	
		
			
				
					|  |  |  |  | import { IoCollectCodePage } from '@/api/collect/IoCollectCodeSelect' | 
			
		
	
		
			
				
					|  |  |  |  | 
 | 
			
		
	
		
			
				
					|  |  |  |  | export default { | 
			
		
	
		
			
				
					|  |  |  |  |   name: "IoCollectCodeSelect", | 
			
		
	
		
			
				
					|  |  |  |  |   name: 'IoCollectCodeSelect', | 
			
		
	
		
			
				
					|  |  |  |  |   data() { | 
			
		
	
		
			
				
					|  |  |  |  |     return { | 
			
		
	
		
			
				
					|  |  |  |  |       //界面配置相关 | 
			
		
	
	
		
			
				
					|  |  |  | @ -256,9 +272,9 @@ export default { | 
			
		
	
		
			
				
					|  |  |  |  |       showSearch: true, | 
			
		
	
		
			
				
					|  |  |  |  |       filterQuery: { | 
			
		
	
		
			
				
					|  |  |  |  |         page: 1, | 
			
		
	
		
			
				
					|  |  |  |  |         limit: 10, | 
			
		
	
		
			
				
					|  |  |  |  |         limit: 10 | 
			
		
	
		
			
				
					|  |  |  |  |       }, | 
			
		
	
		
			
				
					|  |  |  |  |       defaultSort: {prop: 'createTime', order: 'desc'}, | 
			
		
	
		
			
				
					|  |  |  |  |       defaultSort: { prop: 'createTime', order: 'desc' }, | 
			
		
	
		
			
				
					|  |  |  |  |       loading: false, | 
			
		
	
		
			
				
					|  |  |  |  |       list: [], | 
			
		
	
		
			
				
					|  |  |  |  |       total: 0, | 
			
		
	
	
		
			
				
					|  |  |  | @ -269,7 +285,7 @@ export default { | 
			
		
	
		
			
				
					|  |  |  |  |       preQuery: { | 
			
		
	
		
			
				
					|  |  |  |  |         prescribeCode: null, | 
			
		
	
		
			
				
					|  |  |  |  |         page: 1, | 
			
		
	
		
			
				
					|  |  |  |  |         limit: 10, | 
			
		
	
		
			
				
					|  |  |  |  |         limit: 10 | 
			
		
	
		
			
				
					|  |  |  |  |       }, | 
			
		
	
		
			
				
					|  |  |  |  | 
 | 
			
		
	
		
			
				
					|  |  |  |  |       preDiLoading: false, | 
			
		
	
	
		
			
				
					|  |  |  | @ -278,7 +294,7 @@ export default { | 
			
		
	
		
			
				
					|  |  |  |  |       preDiQuery: { | 
			
		
	
		
			
				
					|  |  |  |  |         prescribeCode: null, | 
			
		
	
		
			
				
					|  |  |  |  |         page: 1, | 
			
		
	
		
			
				
					|  |  |  |  |         limit: 10, | 
			
		
	
		
			
				
					|  |  |  |  |         limit: 10 | 
			
		
	
		
			
				
					|  |  |  |  |       }, | 
			
		
	
		
			
				
					|  |  |  |  | 
 | 
			
		
	
		
			
				
					|  |  |  |  |       curRow: null, | 
			
		
	
	
		
			
				
					|  |  |  | @ -286,32 +302,32 @@ export default { | 
			
		
	
		
			
				
					|  |  |  |  |       multiplePreSelection: [], | 
			
		
	
		
			
				
					|  |  |  |  |       timer: null, // 定时器 | 
			
		
	
		
			
				
					|  |  |  |  |       options: { | 
			
		
	
		
			
				
					|  |  |  |  |         findWorkPlace: [], | 
			
		
	
		
			
				
					|  |  |  |  |         findWorkPlace: [] | 
			
		
	
		
			
				
					|  |  |  |  |       }, | 
			
		
	
		
			
				
					|  |  |  |  |       checkDetailVisible: false | 
			
		
	
		
			
				
					|  |  |  |  |     } | 
			
		
	
		
			
				
					|  |  |  |  |   }, | 
			
		
	
		
			
				
					|  |  |  |  |   methods: { | 
			
		
	
		
			
				
					|  |  |  |  |     //启动定时器 | 
			
		
	
		
			
				
					|  |  |  |  |     timerAuto() { | 
			
		
	
		
			
				
					|  |  |  |  |       //启动定时器 | 
			
		
	
		
			
				
					|  |  |  |  |       this.timer = setInterval(() => { | 
			
		
	
		
			
				
					|  |  |  |  |         //查询订单是否支付成功 | 
			
		
	
		
			
				
					|  |  |  |  |         this.getList() | 
			
		
	
		
			
				
					|  |  |  |  |       }, 10000) | 
			
		
	
		
			
				
					|  |  |  |  | 
 | 
			
		
	
		
			
				
					|  |  |  |  |       //清楚定时器的方法 | 
			
		
	
		
			
				
					|  |  |  |  |       // clearInterval(this.timer) | 
			
		
	
		
			
				
					|  |  |  |  |     }, | 
			
		
	
		
			
				
					|  |  |  |  |     // timerAuto() { | 
			
		
	
		
			
				
					|  |  |  |  |     //   //启动定时器 | 
			
		
	
		
			
				
					|  |  |  |  |     //   this.timer = setInterval(() => { | 
			
		
	
		
			
				
					|  |  |  |  |     //     //查询订单是否支付成功 | 
			
		
	
		
			
				
					|  |  |  |  |     //     this.getList() | 
			
		
	
		
			
				
					|  |  |  |  |     //   }, 10000) | 
			
		
	
		
			
				
					|  |  |  |  |     // | 
			
		
	
		
			
				
					|  |  |  |  |     //   //清楚定时器的方法 | 
			
		
	
		
			
				
					|  |  |  |  |     //   // clearInterval(this.timer) | 
			
		
	
		
			
				
					|  |  |  |  |     // }, | 
			
		
	
		
			
				
					|  |  |  |  |     //界面配置相关------------ | 
			
		
	
		
			
				
					|  |  |  |  |     executeFuc(row, type, clickFuc, value) { | 
			
		
	
		
			
				
					|  |  |  |  |       return executeFuc(this, row, type, clickFuc, value); | 
			
		
	
		
			
				
					|  |  |  |  |       return executeFuc(this, row, type, clickFuc, value) | 
			
		
	
		
			
				
					|  |  |  |  |     }, | 
			
		
	
		
			
				
					|  |  |  |  |     executeEval(row, expression, defaultRet) { | 
			
		
	
		
			
				
					|  |  |  |  |       if (expression) { | 
			
		
	
		
			
				
					|  |  |  |  |         return eval(expression); | 
			
		
	
		
			
				
					|  |  |  |  |         return eval(expression) | 
			
		
	
		
			
				
					|  |  |  |  |       } | 
			
		
	
		
			
				
					|  |  |  |  |       return defaultRet; | 
			
		
	
		
			
				
					|  |  |  |  |       return defaultRet | 
			
		
	
		
			
				
					|  |  |  |  |     }, | 
			
		
	
		
			
				
					|  |  |  |  |     handleSortChange(column, prop, order) { | 
			
		
	
		
			
				
					|  |  |  |  |       if (column.order === 'descending') { | 
			
		
	
	
		
			
				
					|  |  |  | @ -319,30 +335,31 @@ export default { | 
			
		
	
		
			
				
					|  |  |  |  |       } else { | 
			
		
	
		
			
				
					|  |  |  |  |         this.query.sort = 'asc' | 
			
		
	
		
			
				
					|  |  |  |  |       } | 
			
		
	
		
			
				
					|  |  |  |  |       this.query.orderBy = column.prop; | 
			
		
	
		
			
				
					|  |  |  |  |       this.getList(); | 
			
		
	
		
			
				
					|  |  |  |  |       this.query.orderBy = column.prop | 
			
		
	
		
			
				
					|  |  |  |  |       this.getList() | 
			
		
	
		
			
				
					|  |  |  |  |     }, | 
			
		
	
		
			
				
					|  |  |  |  |     ///界面配置相关------------end | 
			
		
	
		
			
				
					|  |  |  |  | 
 | 
			
		
	
		
			
				
					|  |  |  |  |     hideSearch() { | 
			
		
	
		
			
				
					|  |  |  |  |       this.showSearch = !this.showSearch; | 
			
		
	
		
			
				
					|  |  |  |  |       this.showSearch = !this.showSearch | 
			
		
	
		
			
				
					|  |  |  |  |     }, | 
			
		
	
		
			
				
					|  |  |  |  |     onReset() { | 
			
		
	
		
			
				
					|  |  |  |  |       this.filterQuery = {}; | 
			
		
	
		
			
				
					|  |  |  |  |       this.actDateRange = []; | 
			
		
	
		
			
				
					|  |  |  |  |       this.getList(); | 
			
		
	
		
			
				
					|  |  |  |  |       this.filterQuery = {} | 
			
		
	
		
			
				
					|  |  |  |  |       this.actDateRange = [] | 
			
		
	
		
			
				
					|  |  |  |  |       this.getList() | 
			
		
	
		
			
				
					|  |  |  |  |     }, | 
			
		
	
		
			
				
					|  |  |  |  |     closeDialog() { | 
			
		
	
		
			
				
					|  |  |  |  |       this.bindWorkPlaceVisible = false; | 
			
		
	
		
			
				
					|  |  |  |  |       this.getList(); | 
			
		
	
		
			
				
					|  |  |  |  |       this.bindWorkPlaceVisible = false | 
			
		
	
		
			
				
					|  |  |  |  |       this.getList() | 
			
		
	
		
			
				
					|  |  |  |  |     }, | 
			
		
	
		
			
				
					|  |  |  |  |     onSubmit() { | 
			
		
	
		
			
				
					|  |  |  |  |       this.filterQuery.page = 1; | 
			
		
	
		
			
				
					|  |  |  |  |       this.getList(); | 
			
		
	
		
			
				
					|  |  |  |  |       this.filterQuery.page = 1 | 
			
		
	
		
			
				
					|  |  |  |  |       // let h  = this.hasOtherProperties(this.filterQuery) | 
			
		
	
		
			
				
					|  |  |  |  |       this.getList() | 
			
		
	
		
			
				
					|  |  |  |  |     }, | 
			
		
	
		
			
				
					|  |  |  |  | 
 | 
			
		
	
		
			
				
					|  |  |  |  |     getList() { | 
			
		
	
		
			
				
					|  |  |  |  |       this.loading = true; | 
			
		
	
		
			
				
					|  |  |  |  |       this.loading = true | 
			
		
	
		
			
				
					|  |  |  |  |       IoCollectCodePage(this.filterQuery).then(res => { | 
			
		
	
		
			
				
					|  |  |  |  |         this.loading = false | 
			
		
	
		
			
				
					|  |  |  |  |         this.list = res.data.list || [] | 
			
		
	
	
		
			
				
					|  |  |  | @ -354,26 +371,26 @@ export default { | 
			
		
	
		
			
				
					|  |  |  |  |       }) | 
			
		
	
		
			
				
					|  |  |  |  |     }, | 
			
		
	
		
			
				
					|  |  |  |  |     handleCurrentChange(val) { | 
			
		
	
		
			
				
					|  |  |  |  |       this.filterQuery.page = val.page; | 
			
		
	
		
			
				
					|  |  |  |  |       this.getList(); | 
			
		
	
		
			
				
					|  |  |  |  |       this.filterQuery.page = val.page | 
			
		
	
		
			
				
					|  |  |  |  |       this.getList() | 
			
		
	
		
			
				
					|  |  |  |  |     }, | 
			
		
	
		
			
				
					|  |  |  |  | 
 | 
			
		
	
		
			
				
					|  |  |  |  |     deleteDialog(_this, row) { | 
			
		
	
		
			
				
					|  |  |  |  |       _this.$confirm("此操作将永久删除该订单, 是否继续?", "提示", { | 
			
		
	
		
			
				
					|  |  |  |  |         confirmButtonText: "确定", | 
			
		
	
		
			
				
					|  |  |  |  |         cancelButtonText: "取消", | 
			
		
	
		
			
				
					|  |  |  |  |         type: "warning", | 
			
		
	
		
			
				
					|  |  |  |  |       _this.$confirm('此操作将永久删除该订单, 是否继续?', '提示', { | 
			
		
	
		
			
				
					|  |  |  |  |         confirmButtonText: '确定', | 
			
		
	
		
			
				
					|  |  |  |  |         cancelButtonText: '取消', | 
			
		
	
		
			
				
					|  |  |  |  |         type: 'warning' | 
			
		
	
		
			
				
					|  |  |  |  |       }) | 
			
		
	
		
			
				
					|  |  |  |  |         .then(() => { | 
			
		
	
		
			
				
					|  |  |  |  |         }) | 
			
		
	
		
			
				
					|  |  |  |  |         .catch(() => { | 
			
		
	
		
			
				
					|  |  |  |  |         }); | 
			
		
	
		
			
				
					|  |  |  |  |         }) | 
			
		
	
		
			
				
					|  |  |  |  |     }, | 
			
		
	
		
			
				
					|  |  |  |  |     handleCheckDetail(_this, row){ | 
			
		
	
		
			
				
					|  |  |  |  |     handleCheckDetail(_this, row) { | 
			
		
	
		
			
				
					|  |  |  |  |       _this.checkDetailVisible = true | 
			
		
	
		
			
				
					|  |  |  |  |     }, | 
			
		
	
		
			
				
					|  |  |  |  |     handleSelectionChange(val) { | 
			
		
	
		
			
				
					|  |  |  |  |       this.multiplePreSelection = val; | 
			
		
	
		
			
				
					|  |  |  |  |       this.multiplePreSelection = val | 
			
		
	
		
			
				
					|  |  |  |  |     }, | 
			
		
	
		
			
				
					|  |  |  |  | 
 | 
			
		
	
		
			
				
					|  |  |  |  |     findWorkPlace(_this, val) { | 
			
		
	
	
		
			
				
					|  |  |  | @ -381,47 +398,58 @@ export default { | 
			
		
	
		
			
				
					|  |  |  |  |         chargeUser: _this.$store.getters.adminId, | 
			
		
	
		
			
				
					|  |  |  |  |         key: val, | 
			
		
	
		
			
				
					|  |  |  |  |         page: 1, | 
			
		
	
		
			
				
					|  |  |  |  |         limit: 10, | 
			
		
	
		
			
				
					|  |  |  |  |         limit: 10 | 
			
		
	
		
			
				
					|  |  |  |  |       } | 
			
		
	
		
			
				
					|  |  |  |  |       filterWorkOptimize(query) | 
			
		
	
		
			
				
					|  |  |  |  |         .then((response) => { | 
			
		
	
		
			
				
					|  |  |  |  |           _this.loading = false; | 
			
		
	
		
			
				
					|  |  |  |  |           _this.options.findWorkPlace = response.data || []; | 
			
		
	
		
			
				
					|  |  |  |  |           if (_this.options.findWorkPlace .length == 1){ | 
			
		
	
		
			
				
					|  |  |  |  |             _this.filterQuery.workPlaceCode = _this.options.findWorkPlace[0].code; | 
			
		
	
		
			
				
					|  |  |  |  |           _this.loading = false | 
			
		
	
		
			
				
					|  |  |  |  |           _this.options.findWorkPlace = response.data || [] | 
			
		
	
		
			
				
					|  |  |  |  |           if (_this.options.findWorkPlace.length == 1) { | 
			
		
	
		
			
				
					|  |  |  |  |             _this.filterQuery.workPlaceCode = _this.options.findWorkPlace[0].code | 
			
		
	
		
			
				
					|  |  |  |  |           } | 
			
		
	
		
			
				
					|  |  |  |  |         }) | 
			
		
	
		
			
				
					|  |  |  |  |         .catch(() => { | 
			
		
	
		
			
				
					|  |  |  |  |           _this.loading = false; | 
			
		
	
		
			
				
					|  |  |  |  |           _this.options.findWorkPlace = []; | 
			
		
	
		
			
				
					|  |  |  |  |         }); | 
			
		
	
		
			
				
					|  |  |  |  |           _this.loading = false | 
			
		
	
		
			
				
					|  |  |  |  |           _this.options.findWorkPlace = [] | 
			
		
	
		
			
				
					|  |  |  |  |         }) | 
			
		
	
		
			
				
					|  |  |  |  |     }, | 
			
		
	
		
			
				
					|  |  |  |  | 
 | 
			
		
	
		
			
				
					|  |  |  |  |     getInputFocus(event) { | 
			
		
	
		
			
				
					|  |  |  |  |       event.currentTarget.select(); | 
			
		
	
		
			
				
					|  |  |  |  |       event.currentTarget.select() | 
			
		
	
		
			
				
					|  |  |  |  |     }, | 
			
		
	
		
			
				
					|  |  |  |  |     enterKey(event) { | 
			
		
	
		
			
				
					|  |  |  |  |       this.getList() | 
			
		
	
		
			
				
					|  |  |  |  |       this.$refs.inputRef.select(); | 
			
		
	
		
			
				
					|  |  |  |  |       this.$refs.inputRef.select() | 
			
		
	
		
			
				
					|  |  |  |  |     }, | 
			
		
	
		
			
				
					|  |  |  |  | 
 | 
			
		
	
		
			
				
					|  |  |  |  |     hasOtherProperties(filterQuery) { | 
			
		
	
		
			
				
					|  |  |  |  |       // 获取对象的所有键 | 
			
		
	
		
			
				
					|  |  |  |  |       const keys = Object.keys(filterQuery) | 
			
		
	
		
			
				
					|  |  |  |  |       // 排除已知的键 | 
			
		
	
		
			
				
					|  |  |  |  |       const knownKeys = ['page', 'limit'] | 
			
		
	
		
			
				
					|  |  |  |  |       // 过滤出除了已知键之外的其他键 | 
			
		
	
		
			
				
					|  |  |  |  |       const otherKeys = keys.filter(key => !knownKeys.includes(key)) | 
			
		
	
		
			
				
					|  |  |  |  |       // 如果有其他键,返回true,否则返回false | 
			
		
	
		
			
				
					|  |  |  |  |       return otherKeys.length > 0 | 
			
		
	
		
			
				
					|  |  |  |  |     } | 
			
		
	
		
			
				
					|  |  |  |  |   }, | 
			
		
	
		
			
				
					|  |  |  |  |   mounted() { | 
			
		
	
		
			
				
					|  |  |  |  |   }, | 
			
		
	
		
			
				
					|  |  |  |  |   created() { | 
			
		
	
		
			
				
					|  |  |  |  |     getHead("IoCollectCodeSelect", "1").then((re) => { | 
			
		
	
		
			
				
					|  |  |  |  |     getHead('IoCollectCodeSelect', '1').then((re) => { | 
			
		
	
		
			
				
					|  |  |  |  |       // 处理返回的数据 | 
			
		
	
		
			
				
					|  |  |  |  |       this.tableObj = re.data; | 
			
		
	
		
			
				
					|  |  |  |  |       this.tableHeader = re.data.tableList; | 
			
		
	
		
			
				
					|  |  |  |  |       this.queryList = re.data.queryList; | 
			
		
	
		
			
				
					|  |  |  |  |       this.fromList = re.data.fromList; | 
			
		
	
		
			
				
					|  |  |  |  |       this.getList(); | 
			
		
	
		
			
				
					|  |  |  |  |       this.findWorkPlace(this,""); | 
			
		
	
		
			
				
					|  |  |  |  |     }); | 
			
		
	
		
			
				
					|  |  |  |  |     this.timerAuto() | 
			
		
	
		
			
				
					|  |  |  |  |       this.tableObj = re.data | 
			
		
	
		
			
				
					|  |  |  |  |       this.tableHeader = re.data.tableList | 
			
		
	
		
			
				
					|  |  |  |  |       this.queryList = re.data.queryList | 
			
		
	
		
			
				
					|  |  |  |  |       this.fromList = re.data.fromList | 
			
		
	
		
			
				
					|  |  |  |  |       // this.getList() | 
			
		
	
		
			
				
					|  |  |  |  |       this.findWorkPlace(this, '') | 
			
		
	
		
			
				
					|  |  |  |  |     }) | 
			
		
	
		
			
				
					|  |  |  |  |     // this.timerAuto() | 
			
		
	
		
			
				
					|  |  |  |  |   }, | 
			
		
	
		
			
				
					|  |  |  |  |   destroyed() { | 
			
		
	
		
			
				
					|  |  |  |  |     clearInterval(this.timer) | 
			
		
	
		
			
				
					|  |  |  |  |   }, | 
			
		
	
		
			
				
					|  |  |  |  |   } | 
			
		
	
		
			
				
					|  |  |  |  | 
 | 
			
		
	
		
			
				
					|  |  |  |  | } | 
			
		
	
		
			
				
					|  |  |  |  | </script> | 
			
		
	
	
		
			
				
					|  |  |  | 
 |