src/icons/svg/doubleDown.svg
¶Ô±ÈÐÂÎļþ @@ -0,0 +1 @@ <?xml version="1.0" standalone="no"?><!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd"><svg t="1664324697600" class="icon" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="10072" xmlns:xlink="http://www.w3.org/1999/xlink" width="128" height="128"><path d="M510.919389 801.24466c-4.403287 0-8.809643-1.282203-12.622482-3.846608L73.471338 511.923252c-10.370185-6.971785-13.130042-21.032012-6.158257-31.406291 6.971785-10.375302 21.032012-13.135158 31.406291-6.163373l412.200016 276.993638 412.19797-276.993638c10.370185-6.971785 24.429389-4.217045 31.406291 6.163373 6.971785 10.374278 4.211928 24.434505-6.161327 31.406291L523.535731 797.398052C519.722892 799.963481 515.320629 801.24466 510.919389 801.24466L510.919389 801.24466zM510.919389 547.405371c-4.403287 0-8.809643-1.283226-12.622482-3.846608L73.471338 258.081916c-10.370185-6.971785-13.130042-21.030989-6.158257-31.406291 6.971785-10.379395 21.032012-13.133112 31.406291-6.161327l412.200016 276.992615 412.19797-276.992615c10.370185-6.976902 24.429389-4.211928 31.406291 6.161327 6.971785 10.375302 4.211928 24.434505-6.161327 31.406291L523.535731 543.558763C519.722892 546.122145 515.320629 547.405371 510.919389 547.405371L510.919389 547.405371zM510.919389 547.405371" p-id="10073" fill="#42b983"></path></svg> src/icons/svg/doubleDown3.svg
¶Ô±ÈÐÂÎļþ @@ -0,0 +1 @@ <?xml version="1.0" standalone="no"?><!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd"><svg t="1664270645822" class="icon" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="8200" xmlns:xlink="http://www.w3.org/1999/xlink" width="128" height="128"><path d="M510.919389 801.24466c-4.403287 0-8.809643-1.282203-12.622482-3.846608L73.471338 511.923252c-10.370185-6.971785-13.130042-21.032012-6.158257-31.406291 6.971785-10.375302 21.032012-13.135158 31.406291-6.163373l412.200016 276.993638 412.19797-276.993638c10.370185-6.971785 24.429389-4.217045 31.406291 6.163373 6.971785 10.374278 4.211928 24.434505-6.161327 31.406291L523.535731 797.398052C519.722892 799.963481 515.320629 801.24466 510.919389 801.24466L510.919389 801.24466zM510.919389 547.405371c-4.403287 0-8.809643-1.283226-12.622482-3.846608L73.471338 258.081916c-10.370185-6.971785-13.130042-21.030989-6.158257-31.406291 6.971785-10.379395 21.032012-13.133112 31.406291-6.161327l412.200016 276.992615 412.19797-276.992615c10.370185-6.976902 24.429389-4.211928 31.406291 6.161327 6.971785 10.375302 4.211928 24.434505-6.161327 31.406291L523.535731 543.558763C519.722892 546.122145 515.320629 547.405371 510.919389 547.405371L510.919389 547.405371zM510.919389 547.405371" p-id="8201" fill="#bfbfbf"></path></svg> src/icons/svg/doubleUp.svg
¶Ô±ÈÐÂÎļþ @@ -0,0 +1 @@ <?xml version="1.0" standalone="no"?><!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd"><svg t="1664270690920" class="icon" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="9151" xmlns:xlink="http://www.w3.org/1999/xlink" width="128" height="128"><path d="M511.061628 215.650525c-4.399193 0-8.80248 1.281179-12.612249 3.843538L73.975828 504.733503c-10.361999 6.965645-13.118785 21.014616-6.15314 31.380708 6.960529 10.366092 21.014616 13.123902 31.380708 6.158257l411.859255-276.764418 411.857209 276.764418c10.361999 6.965645 24.408923 4.213975 31.380708-6.158257 6.965645-10.365068 4.208858-24.414039-6.15621-31.380708L523.672854 219.494063C519.858992 216.930681 515.460822 215.650525 511.061628 215.650525L511.061628 215.650525zM511.061628 469.280036c-4.399193 0-8.80248 1.282203-12.612249 3.843538L73.975828 758.36506c-10.361999 6.965645-13.118785 21.013593-6.15314 31.380708 6.960529 10.365068 21.014616 13.122879 31.380708 6.15621l411.859255-276.763394 411.857209 276.763394c10.361999 6.970762 24.408923 4.208858 31.380708-6.15621 6.965645-10.366092 4.208858-24.414039-6.15621-31.380708L523.672854 473.123574C519.858992 470.562239 515.460822 469.280036 511.061628 469.280036L511.061628 469.280036zM511.061628 469.280036" p-id="9152" fill="#42b983"></path></svg> src/icons/svg/doubleUp3.svg
¶Ô±ÈÐÂÎļþ @@ -0,0 +1 @@ <?xml version="1.0" standalone="no"?><!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd"><svg t="1664270690920" class="icon" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="9151" xmlns:xlink="http://www.w3.org/1999/xlink" width="128" height="128"><path d="M511.061628 215.650525c-4.399193 0-8.80248 1.281179-12.612249 3.843538L73.975828 504.733503c-10.361999 6.965645-13.118785 21.014616-6.15314 31.380708 6.960529 10.366092 21.014616 13.123902 31.380708 6.158257l411.859255-276.764418 411.857209 276.764418c10.361999 6.965645 24.408923 4.213975 31.380708-6.158257 6.965645-10.365068 4.208858-24.414039-6.15621-31.380708L523.672854 219.494063C519.858992 216.930681 515.460822 215.650525 511.061628 215.650525L511.061628 215.650525zM511.061628 469.280036c-4.399193 0-8.80248 1.282203-12.612249 3.843538L73.975828 758.36506c-10.361999 6.965645-13.118785 21.013593-6.15314 31.380708 6.960529 10.365068 21.014616 13.122879 31.380708 6.15621l411.859255-276.763394 411.857209 276.763394c10.361999 6.970762 24.408923 4.208858 31.380708-6.15621 6.965645-10.366092 4.208858-24.414039-6.15621-31.380708L523.672854 473.123574C519.858992 470.562239 515.460822 469.280036 511.061628 469.280036L511.061628 469.280036zM511.061628 469.280036" p-id="9152" fill="#bfbfbf"></path></svg> src/styles/global.css
@@ -36,26 +36,42 @@ /*头é¨è¡¨åç»æ ·å¼*/ .bodyTopFormGroup { background-color: #f8f8fa; padding: 10px; padding: 10px 10px 0 10px; display: flex; flex-direction: column; } .bodySearchReset { display: flex; align-items: start; margin-top: 3px; /*margin-left: 5%;*/ /*margin-left: 10%;*/ } .bodyTopFormExpand { display: flex; justify-content: center; align-items: center; background-color: #eee; cursor: pointer; display: block; text-align: center; margin-top: 5px; /*justify-content: center;*/ /*align-items: center;*/ /*background-color: #eee;*/ /*cursor: pointer;*/ } .bodyTopFormExpand:hover{ color: #00ff8b !important; } .svg-icon:hover{ color: #00ff8b !important; /*background-color: #00ff8b !important;*/ } .elForm { display: flex; justify-content: flex-start; /*justify-content: flex-start;*/ justify-content: space-between; width: 100%; flex-wrap: wrap; } src/views/bbgl/blmx.vue
@@ -9,12 +9,12 @@ <el-form ref="form" :model="form" label-width="80px" label-width="100px" inline style="display: flex;justify-content: space-between" > <div class="elForm"> <el-form-item label="å·¥åç¼å·" style=" display: flex;"> <el-form-item label="å·¥åç¼å·" label-width="70px" style=" display: flex;"> <el-input v-model="form.wocode" placeholder="请è¾å ¥" style="width: 200px" /> </el-form-item> <el-form-item label="产åç¼ç " style=" display: flex;"> @@ -26,7 +26,7 @@ <el-form-item label="è§æ ¼åå·" style=" display: flex;"> <el-input v-model="form.partspec" style="width: 200px" placeholder="请è¾å ¥" /> </el-form-item> <el-form-item label="å·¥åºåç§°" style=" display: flex;"> <el-form-item v-show="isExpandForm" label="å·¥åºåç§°" label-width="70px" style=" display: flex;"> <el-input v-model="form.stepname" style="width: 200px" placeholder="请è¾å ¥" /> </el-form-item> <el-form-item v-show="isExpandForm" label="缺é·ä»£ç " style=" display: flex;"> @@ -38,7 +38,7 @@ <el-form-item v-show="isExpandForm" label="æ¥å·¥äººå" style=" display: flex;"> <el-input v-model="form.reportname" style="width: 200px" placeholder="请è¾å ¥" /> </el-form-item> <el-form-item v-show="isExpandForm" label="æ¥å·¥æ¶é´" style="display: flex;align-items: center"> <el-form-item v-show="isExpandForm" label-width="70px" label="æ¥å·¥æ¶é´" style="display: flex;align-items: center"> <el-date-picker v-model="form.reportdate" type="daterange" @@ -55,31 +55,39 @@ </el-form-item> </div> <div class="bodySearchReset"> <div class="bodySearchReset" :style="{marginLeft:$store.state.app.sidebar.opened?'5%':'10%'}"> <el-button type="primary" icon="el-icon-search" @click="search">æ¥è¯¢</el-button> <el-button type="info" icon="el-icon-refresh" @click="reset">éç½®</el-button> </div> </el-form> <div class="bodyTopFormExpand" > <svg-icon v-show="mouseHoverType==='mouseout'" style="cursor: pointer" :icon-class="!isExpandForm?'doubleDown3':'doubleUp3'" @mouseenter="mouseHoverType=$event.type" /> <svg-icon v-show="mouseHoverType==='mouseenter'" style="cursor: pointer" :icon-class="!isExpandForm?'doubleDown':'doubleUp'" @click="isExpandForm=!isExpandForm" @mouseout="mouseHoverType=$event.type" /> </div> </div> <div class="bodyTopFormExpand" @click="isExpandForm=!isExpandForm" > <i :class="!isExpandForm?'el-icon-arrow-down':'el-icon-arrow-up'" :style="{color:'#42B983'}" /></div> <div class="elTableDiv" style="margin-top: 0"> <div class="elTableDiv"> <el-table ref="tableDataRef" class="tableFixed" :data="tableData" :height="isExpandForm?tableHeight:(tableHeight+40)+'px'" :height="isExpandForm?tableHeight:(tableHeight+80)+'px'" border :row-class-name="tableRowClassName" :style="{width: 100+'%',height:isExpandForm?tableHeight:(tableHeight+40)+'px',}" :style="{width: 100+'%',height:isExpandForm?tableHeight:(tableHeight+80)+'px',}" highlight-current-row :header-cell-style="this.$headerCellStyle" :cell-style="this.$cellStyle" @@ -114,6 +122,7 @@ <el-table-column prop="partspec" label="产åè§æ ¼" width="160" show-tooltip-when-overflow sortable="custom" > @@ -258,6 +267,7 @@ }, data() { return { mouseHoverType: 'mouseout', isExpandForm: false, mainHeight: 0, tableHeight: 0, @@ -498,7 +508,7 @@ getHeight() { this.$nextTick(() => { this.mainHeight = window.innerHeight - 85 this.tableHeight = this.mainHeight - 245 this.tableHeight = this.mainHeight - 295 this.$refs.tableDataRef.doLayout() }) }, src/views/bbgl/bzgz.vue
@@ -9,12 +9,12 @@ <el-form ref="form" :model="form" label-width="80px" label-width="100px" inline style="display: flex;justify-content: space-between" > <div class="elForm"> <el-form-item label="å·¥åç¼å·" style=" display: flex;"> <el-form-item label="å·¥åç¼å·" style=" display: flex;" label-width="70px"> <el-input v-model="form.wocode" placeholder="请è¾å ¥" style="width: 200px" /> </el-form-item> <el-form-item label="产åç¼ç " style=" display: flex;"> @@ -26,7 +26,7 @@ <el-form-item label="è§æ ¼åå·" style=" display: flex;"> <el-input v-model="form.partspec" style="width: 200px" placeholder="请è¾å ¥" /> </el-form-item> <el-form-item label="å·¥åºåç§°" style=" display: flex;"> <el-form-item v-show="isExpandForm" label="å·¥åºåç§°" label-width="70px" style="display: flex;"> <el-input v-model="form.stepname" style="width: 200px" placeholder="请è¾å ¥" /> </el-form-item> <el-form-item v-show="isExpandForm" label="ç产çç»" style=" display: flex;"> @@ -59,23 +59,33 @@ </el-form-item> </div> <div class="bodySearchReset"> <div class="bodySearchReset" :style="{marginLeft:$store.state.app.sidebar.opened?'5%':'10%'}"> <el-button type="primary" icon="el-icon-search" @click="search">æ¥è¯¢</el-button> <el-button type="info" icon="el-icon-refresh" @click="reset">éç½®</el-button> </div> </el-form> <div class="bodyTopFormExpand" > <svg-icon v-show="mouseHoverType==='mouseout'" style="cursor: pointer" :icon-class="!isExpandForm?'doubleDown3':'doubleUp3'" @mouseenter="mouseHoverType=$event.type" /> <svg-icon v-show="mouseHoverType==='mouseenter'" style="cursor: pointer" :icon-class="!isExpandForm?'doubleDown':'doubleUp'" @click="isExpandForm=!isExpandForm" @mouseout="mouseHoverType=$event.type" /> </div> </div> <div class="bodyTopFormExpand" @click="isExpandForm=!isExpandForm" > <i :class="!isExpandForm?'el-icon-arrow-down':'el-icon-arrow-up'" :style="{color:'#42B983'}" /></div> <div class="elTableDiv" style="margin-top: 0"> <div class="elTableDiv"> <el-table ref="tableDataRef" class="tableFixed" @@ -118,6 +128,7 @@ <el-table-column prop="partspec" label="产åè§æ ¼" width="150" show-tooltip-when-overflow sortable="custom" > @@ -273,8 +284,7 @@ import { GroupSalaryReportExcelSearch, GroupSalaryReportSearch, GroupSalaryReportSearchUser, OutSourceReportExcelSearch GroupSalaryReportSearchUser } from '@/api/bbgl' import { MesOrderStepReportSelectUserGroup } from '@/api/scgl' @@ -285,6 +295,7 @@ }, data() { return { mouseHoverType: 'mouseout', isExpandForm: false, mainHeight: 0, tableHeight: 0, @@ -522,7 +533,7 @@ getHeight() { this.$nextTick(() => { this.mainHeight = window.innerHeight - 85 this.tableHeight = this.mainHeight - 245 this.tableHeight = this.mainHeight - 255 this.$refs.tableDataRef.doLayout() }) }, @@ -653,11 +664,13 @@ align-items: center; justify-content: center; } .tableFixed{ ::v-deep .el-table__fixed-right{ .tableFixed { ::v-deep .el-table__fixed-right { height: 100% !important; } ::v-deep .el-table__fixed{ ::v-deep .el-table__fixed { height: 100% !important; } } src/views/bbgl/bzgz_back.vue
¶Ô±ÈÐÂÎļþ @@ -0,0 +1,670 @@ <template> <div> <div class="body" :style="{height:mainHeight+'px'}"> <div class="bodyTopButtonGroup"> <el-button type="primary" icon="el-icon-download" @click="download">导åº</el-button> </div> <div class="bodyTopFormGroup"> <el-form ref="form" :model="form" label-width="80px" inline style="display: flex;justify-content: space-between" > <div class="elForm"> <el-form-item label="å·¥åç¼å·" style=" display: flex;"> <el-input v-model="form.wocode" placeholder="请è¾å ¥" style="width: 200px" /> </el-form-item> <el-form-item label="产åç¼ç " style=" display: flex;"> <el-input v-model="form.partcode" placeholder="请è¾å ¥" style="width: 200px" /> </el-form-item> <el-form-item label="产ååç§°" style=" display: flex;"> <el-input v-model="form.partname" style="width: 200px" placeholder="请è¾å ¥" /> </el-form-item> <el-form-item label="è§æ ¼åå·" style=" display: flex;"> <el-input v-model="form.partspec" style="width: 200px" placeholder="请è¾å ¥" /> </el-form-item> <el-form-item label="å·¥åºåç§°" style=" display: flex;"> <el-input v-model="form.stepname" style="width: 200px" placeholder="请è¾å ¥" /> </el-form-item> <el-form-item v-show="isExpandForm" label="ç产çç»" style=" display: flex;"> <el-select v-model="form.groupcode" style="width: 200px" placeholder="è¯·éæ©"> <el-option v-for="item in groupArr" :key="item.group_code" :label="item.group_name" :value="item.group_code" /> </el-select> </el-form-item> <el-form-item v-show="isExpandForm" label="æä½äººå" style=" display: flex;"> <el-input v-model="form.username" style="width: 200px" placeholder="请è¾å ¥" /> </el-form-item> <el-form-item v-show="isExpandForm" label="æä½æ¶é´" style="display: flex;align-items: center"> <el-date-picker v-model="form.operdate" type="daterange" range-separator="~" class="timeMini" size="mini" style="width: 200px;display: flex;line-height: 34px;height: 34px;" :clearable="false" start-placeholder="å¼å§æ¥æ" end-placeholder="ç»ææ¥æ" /> <!-- font-size: 14px!important;--> <!-- :picker-options="expireTimeOption"--> </el-form-item> </div> <div class="bodySearchReset"> <el-button type="primary" icon="el-icon-search" @click="search">æ¥è¯¢</el-button> <el-button type="info" icon="el-icon-refresh" @click="reset">éç½®</el-button> </div> </el-form> </div> <div class="bodyTopFormExpand" @click="isExpandForm=!isExpandForm" > <i :class="!isExpandForm?'el-icon-arrow-down':'el-icon-arrow-up'" :style="{color:'#42B983'}" /></div> <div class="elTableDiv" style="margin-top: 0"> <el-table ref="tableDataRef" class="tableFixed" :data="tableData" :height="isExpandForm?tableHeight:(tableHeight+40)+'px'" border :row-class-name="tableRowClassName" :style="{width: 100+'%',height:isExpandForm?tableHeight:(tableHeight+40)+'px',}" highlight-current-row :header-cell-style="this.$headerCellStyle" :cell-style="this.$cellStyle" @sort-change="sortChange" > <el-table-column prop="RowNum" width="50" fixed label="åºå·" /> <el-table-column prop="wo_code" label="å·¥åç¼å·" width="160" sortable="custom" /> <el-table-column prop="partcode" label="产åç¼ç " width="160" show-tooltip-when-overflow sortable="custom" /> <el-table-column prop="partname" label="产ååç§°" width="160" show-tooltip-when-overflow sortable="custom" /> <el-table-column prop="partspec" label="产åè§æ ¼" show-tooltip-when-overflow sortable="custom" > <template slot-scope="{row}"> <div v-if="row.partspec">{{ row.partspec }}</div> <div v-else>/</div> </template> </el-table-column> <el-table-column prop="stepcode" label="å·¥åºç¼ç " width="110" show-tooltip-when-overflow sortable="custom" /> <el-table-column prop="stepname" label="å·¥åºåç§°" width="110" show-tooltip-when-overflow sortable="custom" /> <el-table-column prop="task_qty" label="任塿°é" width="110" show-tooltip-when-overflow sortable="custom" /> <el-table-column prop="group_name" label="ç产çç»" width="110" show-tooltip-when-overflow sortable="custom" /> <el-table-column prop="good_qty" label="æ¥å·¥æ°é" width="110" sortable="custom" /> <el-table-column prop="unprice" label="å·¥åºåä»·" width="110" sortable="custom" > <template slot-scope="{row}"> <div v-if="row.unprice">{{ row.unprice }}å </div> <div v-else>/</div> </template> </el-table-column> <el-table-column prop="usermoney" label="è®°ä»¶å·¥èµ" width="110" sortable="custom" > <template slot-scope="{row}"> <div v-if="row.usermoney">{{ row.usermoney }}å </div> <div v-else>/</div> </template> </el-table-column> <el-table-column prop="lm_user" label="æä½äººå" width="110" sortable="custom" /> <el-table-column label="æ¥çæç»" width="120" fixed="right" > <template slot-scope="{row}"> <div class="operationClass"> <el-tooltip class="item" effect="dark" content="人åæç»" placement="top"> <!-- <i class="el-icon-edit-outline" @click="edit('edit',row)" />--> <i class="el-icon-tickets" style="cursor: pointer;color: #42b983;margin-right: 15px" @click="edit('edit',row)" /> </el-tooltip> <!-- <el-tooltip v-del-tab-index class="item" effect="dark" content="å é¤" placement="top">--> <!-- <i class="el-icon-delete" @click="del(row)" />--> <!-- </el-tooltip>--> </div> </template> </el-table-column> </el-table> </div> <!--å页--> <pagination :total="total" :page.sync="form.page" :limit.sync="form.rows" align="right" layout="total,prev, pager, next,sizes" popper-class="select_bottom" @pagination="getGroupSalaryReportSearch" /> </div> <el-dialog :title="operation==='add'?'æ°å¢':'人åæç»'" :visible.sync="dialogVisible" width="800px" :close-on-click-modal="false" top="15vh" @closed="handleClose" @close="handleClose" > <div style="height: 300px;width: 100%;background-color: aliceblue;padding:20px"> <el-tag v-for="tag in tagArr" :key="tag.name" type="success" style="margin-right: 15px;min-width: 80px;text-align: center" > {{ tag }} </el-tag> </div> <span slot="footer" class="dialog-footer"> <div class="footerButton"> <el-button @click="dialogVisible=false">è¿ å</el-button> <!-- <el-button @click="dialogVisibleCancel">å æ¶</el-button>--> <!-- <el-button type="primary" @click="dialogVisibleConfirm">ç¡® å®</el-button>--> </div> </span> </el-dialog> <!--å¯¼å ¥ç»ä»¶--> <import-picker ref="importPickerFunc" class="importPickerClass" :shows.sync="shows" :title="title_value" :colos="colos" :code="code" /> </div> </template> <script> import Pagination from '@/components/Pagination' import { getCookie } from '@/utils/auth' import ImportPicker from '@/components/ImportPicker' import { handleDatetime, validateCode } from '@/utils/global' import { GroupSalaryReportExcelSearch, GroupSalaryReportSearch, GroupSalaryReportSearchUser, OutSourceReportExcelSearch } from '@/api/bbgl' import { MesOrderStepReportSelectUserGroup } from '@/api/scgl' export default { name: 'Zzjg', components: { Pagination, ImportPicker }, data() { return { isExpandForm: false, mainHeight: 0, tableHeight: 0, form: { wocode: '', // å·¥åç¼å· partcode: '', // 产åç¼ç partname: '', // 产ååç§° partspec: '', // è§æ ¼åå· stepname: '', // å·¥åºåç§° groupcode: '', // ç产çç» username: '', // æä½äººå operdate: '', // æä½æ¶é´ prop: 'lm_date', // æåºå段 order: 'desc', // æåºå段 page: 1, // 第å 页 rows: 20 // æ¯é¡µå¤å°æ¡ }, groupArr: [], total: 10, tableData: [], dialogVisible: false, tagArr: [], // dialogForm: { OrgType: '', OrgCode: '', OrgName: '', SupUnit: ''// ä¸çº§åä½ }, operation: '', dialogFormRules: { OrgType: [ { required: true, message: '请è¾å ¥éæ©ç±»å', trigger: ['blur', 'change'] } ], OrgCode: [ { required: true, validator: validateCode, trigger: ['blur', 'change'] } ], OrgName: [ { required: true, message: '请è¾å ¥åç§°', trigger: ['blur', 'change'] } ] }, title_value: 'æ°æ®å¯¼å ¥ / ç¹æ£é¨ä½', code: '4', shows: false } }, watch: { shows() { if (!this.shows) { this.getGroupSalaryReportSearch() } } }, created() { this.handleRequest() }, mounted() { window.addEventListener('resize', this.getHeight) this.getHeight() }, methods: { handleRequest() { this.getGroupSalaryReportSearch().then(res => { if (res.code === '200') { this.getMesOrderStepReportSelectUserGroup() } }) }, async getGroupSalaryReportSearch() { let tempDate = this.form.operdate if (tempDate.length > 0) { tempDate = handleDatetime(tempDate[0]) + '~' + handleDatetime(tempDate[1]) } const data = { wocode: this.form.wocode, partcode: this.form.partcode, partname: this.form.partname, partspec: this.form.partspec, stepname: this.form.stepname, groupcode: this.form.groupcode, username: this.form.username, operdate: tempDate, prop: this.form.prop, order: this.form.order, page: this.form.page, rows: this.form.rows } console.log(data, 1) const res = await GroupSalaryReportSearch(data) this.tableData = res.data this.total = res.count return { code: res.code } }, async getMesOrderStepReportSelectUserGroup() { const { data: res } = await MesOrderStepReportSelectUserGroup() this.groupArr = res }, // æåºæ¹åæ¶ sortChange({ column, prop, order }) { if (order === 'descending') { order = 'desc' } else if (order === 'ascending') { order = 'asc' } else { order = 'desc' } this.form.order = order this.form.prop = prop this.getGroupSalaryReportSearch() }, async download() { let tempDate = this.form.operdate if (tempDate.length > 0) { tempDate = handleDatetime(tempDate[0]) + '~' + handleDatetime(tempDate[1]) } const data = { wocode: this.form.wocode, partcode: this.form.partcode, partname: this.form.partname, partspec: this.form.partspec, stepname: this.form.stepname, groupcode: this.form.groupcode, username: this.form.username, operdate: tempDate } const { data: res } = await GroupSalaryReportExcelSearch(data) window.location.href = res }, // æ¥è¯¢ search() { this.getGroupSalaryReportSearch() }, // å¯¼å ¥æé® upload() { this.shows = true this.$refs.importPickerFunc.newDataFunc() }, colos() { this.shows = false }, // éç½® reset() { this.form.wocode = '' this.form.partcode = '' this.form.partname = '' this.form.partspec = '' this.form.stepname = '' this.form.groupcode = '' this.form.username = '' this.form.operdate = '' this.getGroupSalaryReportSearch() }, // æ°å¢æé® add(operation) { this.operation = operation this.dialogVisible = true }, // ä¿®æ¹æé® async edit(operation, row) { this.operation = operation this.dialogVisible = true const res = await GroupSalaryReportSearchUser({ id: row.id }) this.tagArr = res.data.map(r => r.username) // this.tagArr = ['楼æä¿', 'å¼ ä¸', 'æå'] // this.$nextTick(() => { // this.dialogForm.OrgCode = row.org_code // this.dialogForm.OrgName = row.org_name // this.dialogForm.SupUnit = row.parent_id // }) }, // å é¤æé® async del(row) { // this.$confirm('æ¯å¦ç¡®è®¤å é¤?', 'æç¤º', { // confirmButtonText: 'ç¡®å®', // cancelButtonText: 'åæ¶', // type: 'warning' // }).then(() => { // DeleteOrganization({ orgid: row.code }).then(res => { // if (res.code === '200') { // this.$message.success('å 餿å!') // if (this.form.page > 1 && this.tableData.length === 1) { // this.form.page-- // } // this.getGroupSalaryReportSearch() // } // }) // }).catch(() => { // this.$message.info('已忶å é¤') // }) }, // å¯¹è¯æ¡å ³éäºä»¶ handleClose() { this.dialogForm.OrgType = '' this.dialogForm.OrgCode = '' this.dialogForm.OrgName = '' this.dialogForm.SupUnit = '' this.$refs.dialogForm.clearValidate() }, // å¯¹è¯æ¡åæ¶ dialogVisibleCancel() { this.dialogVisible = false }, // å¯¹è¯æ¡ç¡®è®¤ dialogVisibleConfirm() { this.$refs.dialogForm.validate(valid => { if (valid) { const data = { OrganCode: this.dialogForm.OrgCode, OrganName: this.dialogForm.OrgName, OperType: this.operation === 'add' ? 'Add' : 'Update', Operator: getCookie('admin') } // AddUpdateOrganization(data).then(res => { // if (res.code === '200') { // this.$message.success(this.operation === 'add' ? 'æ·»å æåï¼' : 'ä¿®æ¹æåï¼') // this.dialogVisible = false // this.getGroupSalaryReportSearch() // } else { // this.$message.error(this.operation === 'add' ? 'æ·»å 失败ï¼' : 'ä¿®æ¹å¤±è´¥ï¼') // } // }) } }) }, // è·å页é¢é«åº¦ getHeight() { this.$nextTick(() => { this.mainHeight = window.innerHeight - 85 this.tableHeight = this.mainHeight - 245 this.$refs.tableDataRef.doLayout() }) }, tableRowClassName({ row, rowIndex }) { return 'custom-row' } } } </script> <!--å ¬å ±é¡µé¢æ ·å¼--> <style lang="scss" scoped> $main_color: #42b983; ::v-deep .el-range__icon { line-height: 28px !important; } ::v-deep .el-range-separator { line-height: 28px !important; } ::v-deep .el-range-input { font-size: 14px; } ::v-deep .el-range-separator { display: flex; justify-content: center; align-items: center; } ::v-deep .el-button--text { font-size: 14px; cursor: pointer; } .el-icon-share, .el-icon-delete, .el-icon-edit-outline { color: $main_color; cursor: pointer; } .el-icon-edit-outline { margin-right: 15px; } ::v-deep .el-button--primary, .el-button--default, .el-button--info { height: 34px; display: flex; align-items: center; padding: 0 15px; } ::v-deep .el-button--primary { //background-color: $main_color !important; } ::v-deep .el-button--default { background-color: #f8f8fa; border: none; } ::v-deep .el-input__inner { height: 34px; line-height: 34px; //color: #a7a7a7; } ::v-deep .el-dialog__body { //padding: 20px 100px !important; padding: 20px 20px !important; } ::v-deep .dialogVisibleRoles .el-dialog__body { padding: 20px 20px !important; } ::v-deep .importPickerClass .el-dialog__body { padding: 20px 20px !important; } ::v-deep .el-dialog__footer { display: flex; justify-content: flex-end; } ::v-deep .el-table .caret-wrapper { transform: scale(0.8); } ::v-deep .cell { display: flex; align-items: center; justify-content: space-between; } ::v-deep .el-table::before { height: 0; } ::v-deep .el-table__body-wrapper { background-color: #f8f8fa; } ::v-deep .el-table__body .el-table__row.hover-row td { background-color: #eaecef; } ::v-deep .el-form--inline .el-form-item__label { color: #a7a7a7; } .body ::v-deep .el-divider { border: 1px solid #eee; width: 99%; margin: 10px auto; } .body ::v-deep .el-form-item { margin-bottom: 0; } .userDialogVisible ::v-deep .el-form-item { margin-bottom: 0; } ::v-deep .el-select__caret { display: flex; align-items: center; justify-content: center; } .tableFixed{ ::v-deep .el-table__fixed-right{ height: 100% !important; } ::v-deep .el-table__fixed{ height: 100% !important; } } </style> <style> .el-table .custom-row { background: #f8f8fa; } </style> src/views/bbgl/rygz.vue
@@ -9,12 +9,12 @@ <el-form ref="form" :model="form" label-width="80px" label-width="100px" inline style="display: flex;justify-content: space-between" > <div class="elForm"> <el-form-item label="å·¥åç¼å·" style=" display: flex;"> <el-form-item label="å·¥åç¼å·" style=" display: flex;" label-width="70px"> <el-input v-model="form.wocode" placeholder="请è¾å ¥" style="width: 200px" /> </el-form-item> <el-form-item label="产åç¼ç " style=" display: flex;"> @@ -26,7 +26,7 @@ <el-form-item label="è§æ ¼åå·" style=" display: flex;"> <el-input v-model="form.partspec" style="width: 200px" placeholder="请è¾å ¥" /> </el-form-item> <el-form-item label="å·¥åºåç§°" style=" display: flex;"> <el-form-item v-show="isExpandForm" label-width="70px" label="å·¥åºåç§°" style=" display: flex;"> <el-input v-model="form.stepname" style="width: 200px" placeholder="请è¾å ¥" /> </el-form-item> <el-form-item v-show="isExpandForm" label="ç产çç»" style=" display: flex;"> @@ -59,23 +59,31 @@ </el-form-item> </div> <div class="bodySearchReset"> <div class="bodySearchReset" :style="{marginLeft:$store.state.app.sidebar.opened?'5%':'10%'}"> <el-button type="primary" icon="el-icon-search" @click="search">æ¥è¯¢</el-button> <el-button type="info" icon="el-icon-refresh" @click="reset">éç½®</el-button> </div> </el-form> <div class="bodyTopFormExpand" > <svg-icon v-show="mouseHoverType==='mouseout'" style="cursor: pointer" :icon-class="!isExpandForm?'doubleDown3':'doubleUp3'" @mouseenter="mouseHoverType=$event.type" /> <svg-icon v-show="mouseHoverType==='mouseenter'" style="cursor: pointer" :icon-class="!isExpandForm?'doubleDown':'doubleUp'" @click="isExpandForm=!isExpandForm" @mouseout="mouseHoverType=$event.type" /> </div> </div> <div class="bodyTopFormExpand" @click="isExpandForm=!isExpandForm" > <i :class="!isExpandForm?'el-icon-arrow-down':'el-icon-arrow-up'" :style="{color:'#42B983'}" /></div> <div class="elTableDiv" style="margin-top: 0"> <div class="elTableDiv"> <el-table ref="tableDataRef" class="tableFixed" @@ -199,7 +207,6 @@ label="æ¥å·¥æ¶é´" width="160" sortable="custom" fixed="right" /> </el-table> @@ -274,6 +281,7 @@ }, data() { return { mouseHoverType: 'mouseout', isExpandForm: false, mainHeight: 0, tableHeight: 0, @@ -511,7 +519,7 @@ getHeight() { this.$nextTick(() => { this.mainHeight = window.innerHeight - 85 this.tableHeight = this.mainHeight - 245 this.tableHeight = this.mainHeight - 255 this.$refs.tableDataRef.doLayout() }) }, src/views/bbgl/wwgx.vue
@@ -9,12 +9,12 @@ <el-form ref="form" :model="form" label-width="80px" label-width="100px" inline style="display: flex;justify-content: space-between" > <div class="elForm"> <el-form-item label="å·¥åç¼å·" style=" display: flex;"> <el-form-item label="å·¥åç¼å·" label-width="70px" style=" display: flex;"> <el-input v-model="form.wocode" placeholder="请è¾å ¥" style="width: 200px" /> </el-form-item> <el-form-item label="产åç¼ç " style=" display: flex;"> @@ -26,7 +26,7 @@ <el-form-item label="è§æ ¼åå·" style=" display: flex;"> <el-input v-model="form.partspec" style="width: 200px" placeholder="请è¾å ¥" /> </el-form-item> <el-form-item label="å·¥åºåç§°" style=" display: flex;"> <el-form-item v-show="isExpandForm" label="å·¥åºåç§°" label-width="70px" style=" display: flex;"> <el-input v-model="form.stepname" style="width: 200px" placeholder="请è¾å ¥" /> </el-form-item> <el-form-item v-show="isExpandForm" label="便¹åç§°" style=" display: flex;"> @@ -64,23 +64,31 @@ </el-form-item> </div> <div class="bodySearchReset"> <div class="bodySearchReset" :style="{marginLeft:$store.state.app.sidebar.opened?'5%':'10%'}"> <el-button type="primary" icon="el-icon-search" @click="search">æ¥è¯¢</el-button> <el-button type="info" icon="el-icon-refresh" @click="reset">éç½®</el-button> </div> </el-form> <div class="bodyTopFormExpand" > <svg-icon v-show="mouseHoverType==='mouseout'" style="cursor: pointer" :icon-class="!isExpandForm?'doubleDown3':'doubleUp3'" @mouseenter="mouseHoverType=$event.type" /> <svg-icon v-show="mouseHoverType==='mouseenter'" style="cursor: pointer" :icon-class="!isExpandForm?'doubleDown':'doubleUp'" @click="isExpandForm=!isExpandForm" @mouseout="mouseHoverType=$event.type" /> </div> </div> <div class="bodyTopFormExpand" @click="isExpandForm=!isExpandForm" > <i :class="!isExpandForm?'el-icon-arrow-down':'el-icon-arrow-up'" :style="{color:'#42B983'}" /></div> <div class="elTableDiv" style="margin-top: 0"> <div class="elTableDiv"> <el-table ref="tableDataRef" class="tableFixed" @@ -317,6 +325,7 @@ }, data() { return { mouseHoverType: 'mouseout', isExpandForm: false, mainHeight: 0, tableHeight: 0, @@ -540,7 +549,7 @@ getHeight() { this.$nextTick(() => { this.mainHeight = window.innerHeight - 85 this.tableHeight = this.mainHeight - 245 this.tableHeight = this.mainHeight - 255 this.$refs.tableDataRef.doLayout() }) }, src/views/bbgl/wxmx.vue
@@ -9,12 +9,12 @@ <el-form ref="form" :model="form" label-width="80px" label-width="100px" inline style="display: flex;justify-content: space-between" > <div class="elForm"> <el-form-item label="å·¥åç¼å·" style=" display: flex;"> <el-form-item label="å·¥åç¼å·" style=" display: flex;" label-width="70"> <el-input v-model="form.wocode" placeholder="请è¾å ¥" style="width: 200px" /> </el-form-item> <el-form-item label="产åç¼ç " style=" display: flex;"> @@ -26,7 +26,7 @@ <el-form-item label="è§æ ¼åå·" style=" display: flex;"> <el-input v-model="form.partspec" style="width: 200px" placeholder="请è¾å ¥" /> </el-form-item> <el-form-item label="å·¥åºåç§°" style=" display: flex;"> <el-form-item v-show="isExpandForm" label="å·¥åºåç§°" label-width="70" style=" display: flex;"> <el-input v-model="form.stepname" style="width: 200px" placeholder="请è¾å ¥" /> </el-form-item> <el-form-item v-show="isExpandForm" label="æä½ç±»å" style=" display: flex;"> @@ -46,7 +46,7 @@ <el-form-item v-show="isExpandForm" label="æ¥å·¥äººå" style=" display: flex;"> <el-input v-model="form.repairname" style="width: 200px" placeholder="请è¾å ¥" /> </el-form-item> <el-form-item v-show="isExpandForm" label="æ¥å·¥æ¶é´" style="display: flex;align-items: center"> <el-form-item v-show="isExpandForm" label-width="70" label="æ¥å·¥æ¶é´" style="display: flex;align-items: center"> <el-date-picker v-model="form.repairdate" type="daterange" @@ -63,31 +63,39 @@ </el-form-item> </div> <div class="bodySearchReset"> <div class="bodySearchReset" :style="{marginLeft:$store.state.app.sidebar.opened?'5%':'10%'}"> <el-button type="primary" icon="el-icon-search" @click="search">æ¥è¯¢</el-button> <el-button type="info" icon="el-icon-refresh" @click="reset">éç½®</el-button> </div> </el-form> <div class="bodyTopFormExpand" > <svg-icon v-show="mouseHoverType==='mouseout'" style="cursor: pointer" :icon-class="!isExpandForm?'doubleDown3':'doubleUp3'" @mouseenter="mouseHoverType=$event.type" /> <svg-icon v-show="mouseHoverType==='mouseenter'" style="cursor: pointer" :icon-class="!isExpandForm?'doubleDown':'doubleUp'" @click="isExpandForm=!isExpandForm" @mouseout="mouseHoverType=$event.type" /> </div> </div> <div class="bodyTopFormExpand" @click="isExpandForm=!isExpandForm" > <i :class="!isExpandForm?'el-icon-arrow-down':'el-icon-arrow-up'" :style="{color:'#42B983'}" /></div> <div class="elTableDiv" style="margin-top: 0"> <div class="elTableDiv"> <el-table ref="tableDataRef" class="tableFixed" :data="tableData" :height="isExpandForm?tableHeight:(tableHeight+40)+'px'" :height="isExpandForm?tableHeight:(tableHeight+80)+'px'" border :row-class-name="tableRowClassName" :style="{width: 100+'%',height:isExpandForm?tableHeight:(tableHeight+40)+'px',}" :style="{width: 100+'%',height:isExpandForm?tableHeight:(tableHeight+80)+'px',}" highlight-current-row :header-cell-style="this.$headerCellStyle" :cell-style="this.$cellStyle" @@ -193,7 +201,6 @@ prop="lm_date" label="æä½æ¶é´" width="160" fixed="right" sortable="custom" /> @@ -268,6 +275,7 @@ }, data() { return { mouseHoverType: 'mouseout', isExpandForm: false, mainHeight: 0, tableHeight: 0, @@ -512,7 +520,7 @@ getHeight() { this.$nextTick(() => { this.mainHeight = window.innerHeight - 85 this.tableHeight = this.mainHeight - 245 this.tableHeight = this.mainHeight - 295 this.$refs.tableDataRef.doLayout() }) }, src/views/jcsz/jsqd.vue
@@ -15,12 +15,12 @@ <el-form ref="form" :model="form" label-width="80px" label-width="100px" inline style="display: flex;justify-content: space-between" > <div class="elForm"> <el-form-item label="è§è²ç¼ç " style=" display: flex;"> <el-form-item label-width="70px" label="è§è²ç¼ç " style=" display: flex;"> <el-input v-model="form.RoleCode" placeholder="请è¾å ¥" style="width: 200px" /> </el-form-item> <el-form-item label="è§è²åç§°" style=" display: flex;"> @@ -47,11 +47,14 @@ <el-input v-model="form.UserName" style="width: 200px" placeholder="请è¾å ¥" /> </el-form-item> </div> <div class="bodySearchReset"> <div class="bodySearchReset" :style="{marginLeft:$store.state.app.sidebar.opened?'5%':'10%'}"> <el-button type="primary" icon="el-icon-search" @click="search">æ¥è¯¢</el-button> <el-button type="info" icon="el-icon-refresh" @click="reset">éç½®</el-button> </div> </el-form> <div class="bodyTopFormExpand" /> </div> <div class="elTableDiv"> @@ -877,7 +880,7 @@ this.$nextTick(() => { this.$refs.tableDataRef.doLayout() this.mainHeight = window.innerHeight - 85 this.tableHeight = this.mainHeight - 200 this.tableHeight = this.mainHeight - 195 if (window.innerHeight < 769) { this.tableHeight = this.tableHeight - 40 } src/views/jcsz/wldw.vue
@@ -18,12 +18,12 @@ <el-form ref="form" :model="form" label-width="80px" label-width="100px" inline style="display: flex;justify-content: space-between" > <div class="elForm"> <el-form-item label="åä½ç¼ç " style=" display: flex;"> <el-form-item label-width="70px" label="åä½ç¼ç " style=" display: flex;"> <el-input v-model="form.CuntUnitCode" placeholder="请è¾å ¥" style="width: 200px" /> </el-form-item> <el-form-item label="åä½åç§°" style=" display: flex;"> @@ -49,11 +49,14 @@ <el-input v-model="form.CreateUser" style="width: 200px" placeholder="请è¾å ¥" /> </el-form-item> </div> <div class="bodySearchReset"> <div class="bodySearchReset" :style="{marginLeft:$store.state.app.sidebar.opened?'5%':'10%'}"> <el-button type="primary" icon="el-icon-search" @click="search">æ¥è¯¢</el-button> <el-button type="info" icon="el-icon-refresh" @click="reset">éç½®</el-button> </div> </el-form> <div class="bodyTopFormExpand" /> </div> <div class="elTableDiv"> @@ -544,7 +547,7 @@ getHeight() { this.$nextTick(() => { this.mainHeight = window.innerHeight - 85 this.tableHeight = this.mainHeight - 200 this.tableHeight = this.mainHeight - 195 if (window.innerHeight < 769) { this.tableHeight = this.tableHeight - 40 } src/views/jcsz/yhqd.vue
@@ -15,12 +15,12 @@ <el-form ref="form" :model="form" label-width="80px" label-width="100px" inline style="display: flex;justify-content: space-between" > <div class="elForm"> <el-form-item label="ç¨æ·ç¼ç " style=" display: flex;"> <el-form-item label-width="70px" label="ç¨æ·ç¼ç " style=" display: flex;"> <el-input v-model="form.UserCode" placeholder="请è¾å ¥" style="width: 200px" /> </el-form-item> <el-form-item label="ç¨æ·åç§°" style=" display: flex;"> @@ -54,7 +54,7 @@ /> </el-select> </el-form-item> <el-form-item label="å¨èç¶æ" style=" display: flex;"> <el-form-item v-show="isExpandForm" label-width="70px" label="å¨èç¶æ" style=" display: flex;"> <el-select v-model="form.Enable" :popper-append-to-body="false" @@ -71,11 +71,28 @@ </el-select> </el-form-item> </div> <div class="bodySearchReset"> <div class="bodySearchReset" :style="{marginLeft:$store.state.app.sidebar.opened?'5%':'10%'}"> <el-button type="primary" icon="el-icon-search" @click="search">æ¥è¯¢</el-button> <el-button type="info" icon="el-icon-refresh" @click="reset">éç½®</el-button> </div> </el-form> <div class="bodyTopFormExpand" > <svg-icon v-show="mouseHoverType==='mouseout'" style="cursor: pointer" :icon-class="!isExpandForm?'doubleDown3':'doubleUp3'" @mouseenter="mouseHoverType=$event.type" /> <svg-icon v-show="mouseHoverType==='mouseenter'" style="cursor: pointer" :icon-class="!isExpandForm?'doubleDown':'doubleUp'" @click="isExpandForm=!isExpandForm" @mouseout="mouseHoverType=$event.type" /> </div> </div> <div class="elTableDiv"> @@ -83,9 +100,9 @@ ref="tableDataRef" :data="tableData" class="tableFixed" :height="tableHeight+'px'" :height="isExpandForm?tableHeight:(tableHeight+40)+'px'" highlight-current-row :style="{width: 100+'%',height:tableHeight+'px'}" :style="{width: 100+'%',height:isExpandForm?tableHeight:(tableHeight+40)+'px',}" :header-cell-style="this.$headerCellStyle" :row-class-name="tableRowClassName" :cell-style="this.$cellStyle" @@ -575,6 +592,8 @@ } } return { mouseHoverType: 'mouseout', isExpandForm: false, isIpad: false, mainHeight: 0, tableHeight: 0, @@ -876,7 +895,7 @@ this.$nextTick(() => { // this.mainHeight = window.innerHeight - 250 this.mainHeight = window.innerHeight - 85 this.tableHeight = this.mainHeight - 200 this.tableHeight = this.mainHeight - 255 if (window.innerHeight < 769) { this.tableHeight = this.tableHeight - 40 } src/views/jcsz/zzjg.vue
@@ -10,12 +10,12 @@ <el-form ref="form" :model="form" label-width="80px" label-width="100px" inline style="display: flex;justify-content: space-between" > <div class="elForm"> <el-form-item label="ç»ç»ç¼ç " style=" display: flex;"> <el-form-item label-width="70px" label="ç»ç»ç¼ç " style=" display: flex;"> <el-input v-model="form.OrgCode" placeholder="请è¾å ¥" style="width: 200px" /> </el-form-item> <el-form-item label="ç»ç»åç§°" style=" display: flex;"> @@ -41,11 +41,14 @@ <el-input v-model="form.UserName" style="width: 200px" placeholder="请è¾å ¥" /> </el-form-item> </div> <div class="bodySearchReset"> <div class="bodySearchReset" :style="{marginLeft:$store.state.app.sidebar.opened?'5%':'10%'}"> <el-button type="primary" icon="el-icon-search" @click="search">æ¥è¯¢</el-button> <el-button type="info" icon="el-icon-refresh" @click="reset">éç½®</el-button> </div> </el-form> <div class="bodyTopFormExpand" /> </div> <div class="elTableDiv"> <el-table @@ -463,7 +466,7 @@ getHeight() { this.$nextTick(() => { this.mainHeight = window.innerHeight - 85 this.tableHeight = this.mainHeight - 200 this.tableHeight = this.mainHeight - 195 if (window.innerHeight < 769) { this.tableHeight = this.tableHeight - 40 } src/views/sbgl/bybw.vue
@@ -10,12 +10,12 @@ <el-form ref="form" :model="form" label-width="80px" label-width="100px" inline style="display: flex;justify-content: space-between" > <div class="elForm"> <el-form-item label="é¨ä½ç¼ç " style=" display: flex;"> <el-form-item label-width="70px" label="é¨ä½ç¼ç " style=" display: flex;"> <el-input v-model="form.maiitemcode" placeholder="请è¾å ¥" style="width: 200px" /> </el-form-item> <el-form-item label="é¨ä½åç§°" style=" display: flex;"> @@ -36,11 +36,14 @@ </el-form-item> </div> <div class="bodySearchReset"> <div class="bodySearchReset" :style="{marginLeft:$store.state.app.sidebar.opened?'5%':'10%'}"> <el-button type="primary" icon="el-icon-search" @click="search">æ¥è¯¢</el-button> <el-button type="info" icon="el-icon-refresh" @click="reset">éç½®</el-button> </div> </el-form> <div class="bodyTopFormExpand" /> </div> <div class="elTableDiv"> @@ -209,6 +212,8 @@ }, data() { return { mouseHoverType: 'mouseout', isExpandForm: false, mainHeight: 0, tableHeight: 0, form: { @@ -386,7 +391,7 @@ getHeight() { this.$nextTick(() => { this.mainHeight = window.innerHeight - 85 this.tableHeight = this.mainHeight - 200 this.tableHeight = this.mainHeight - 195 this.$refs.tableDataRef.doLayout() }) }, src/views/sbgl/bybz.vue
@@ -10,12 +10,12 @@ <el-form ref="form" :model="form" label-width="80px" label-width="100px" inline style="display: flex;justify-content: space-between" > <div class="elForm"> <el-form-item label="æ åç¼ç " style=" display: flex;"> <el-form-item label="æ åç¼ç " label-width="70px" style=" display: flex;"> <el-input v-model="form.repairstandcode" placeholder="请è¾å ¥" style="width: 200px" /> </el-form-item> <el-form-item label="æ ååç§°" style=" display: flex;"> @@ -25,11 +25,14 @@ <el-input v-model="form.repairstanddescr" placeholder="请è¾å ¥" style="width: 200px" /> </el-form-item> </div> <div class="bodySearchReset"> <div class="bodySearchReset" :style="{marginLeft:$store.state.app.sidebar.opened?'5%':'10%'}"> <el-button type="primary" icon="el-icon-search" @click="search">æ¥è¯¢</el-button> <el-button type="info" icon="el-icon-refresh" @click="reset">éç½®</el-button> </div> </el-form> <div class="bodyTopFormExpand" /> </div> <div class="elTableDiv"> @@ -764,7 +767,7 @@ getHeight() { this.$nextTick(() => { this.mainHeight = window.innerHeight - 85 this.tableHeight = this.mainHeight - 200 this.tableHeight = this.mainHeight - 195 this.$refs.tableDataRef.doLayout() }) }, src/views/sbgl/byjl.vue
@@ -11,12 +11,12 @@ <el-form ref="form" :model="form" label-width="80px" label-width="100px" inline style="display: flex;justify-content: space-between" > <div class="elForm"> <el-form-item label="ç产车é´" style=" display: flex;"> <div class="elForm" style="justify-content: flex-start"> <el-form-item label="ç产车é´" label-width="70px" style=" display: flex;"> <el-select v-model="form.wkshopcode" style="width: 200px" placeholder="è¯·éæ©"> <el-option v-for="item in wkshopSelectArr" @@ -35,7 +35,7 @@ <el-form-item label="æ ååç§°" style=" display: flex;"> <el-input v-model="form.stanedname" placeholder="请è¾å ¥" style="width: 200px" /> </el-form-item> <el-form-item label="ä¿å »äººå" style=" display: flex;"> <el-form-item v-show="isExpandForm"label="ä¿å »äººå" label-width="70px" style=" display: flex;"> <el-input v-model="form.repairuser" style="width: 200px" placeholder="请è¾å ¥" /> </el-form-item> <el-form-item v-show="isExpandForm" label="ä¿å »æ¶é´" style=" display: flex;font-size:14px;align-items: center"> @@ -62,21 +62,31 @@ </el-select> </el-form-item> </div> <div class="bodySearchReset"> <div class="bodySearchReset" :style="{marginLeft:$store.state.app.sidebar.opened?'5%':'10%'}"> <el-button type="primary" icon="el-icon-search" @click="search">æ¥è¯¢</el-button> <el-button type="info" icon="el-icon-refresh" @click="reset">éç½®</el-button> </div> </el-form> <div class="bodyTopFormExpand" > <svg-icon v-show="mouseHoverType==='mouseout'" style="cursor: pointer" :icon-class="!isExpandForm?'doubleDown3':'doubleUp3'" @mouseenter="mouseHoverType=$event.type" /> <svg-icon v-show="mouseHoverType==='mouseenter'" style="cursor: pointer" :icon-class="!isExpandForm?'doubleDown':'doubleUp'" @click="isExpandForm=!isExpandForm" @mouseout="mouseHoverType=$event.type" /> </div> </div> <div class="bodyTopFormExpand" @click="isExpandForm=!isExpandForm" > <i :class="!isExpandForm?'el-icon-arrow-down':'el-icon-arrow-up'" :style="{color:'#42B983'}" /></div> <div class="elTableDiv" style="margin-top: 0"> <div class="elTableDiv"> <el-table ref="tableDataRef" class="tableFixed" @@ -98,6 +108,7 @@ /> <el-table-column prop="bywo" width="160" label="ä¿å »åå·" sortable="custom" /> @@ -114,6 +125,7 @@ <el-table-column prop="eqp_name" label="设å¤åç§°" show-tooltip-when-overflow sortable="custom" /> <el-table-column @@ -164,12 +176,11 @@ prop="maint_date" label="ä¿å »æ¶é´" width="160" fixed="right" sortable="custom" /> <el-table-column label="æ¥çè®°å½" width="120" width="80" fixed="right" > <template slot-scope="{row}"> @@ -290,6 +301,7 @@ }, data() { return { mouseHoverType: 'mouseout', isExpandForm: false, mainHeight: 0, tableHeight: 0, @@ -522,7 +534,7 @@ getHeight() { this.$nextTick(() => { this.mainHeight = window.innerHeight - 85 this.tableHeight = this.mainHeight - 245 this.tableHeight = this.mainHeight - 255 this.$refs.tableDataRef.doLayout() }) }, src/views/sbgl/djbw.vue
@@ -10,12 +10,12 @@ <el-form ref="form" :model="form" label-width="80px" label-width="100px" inline style="display: flex;justify-content: space-between" > <div class="elForm"> <el-form-item label="é¨ä½ç¼ç " style=" display: flex;"> <el-form-item label-width="70px" label="é¨ä½ç¼ç " style=" display: flex;"> <el-input v-model="form.checkitemcode" placeholder="请è¾å ¥" style="width: 200px" /> </el-form-item> <el-form-item label="é¨ä½åç§°" style=" display: flex;"> @@ -34,7 +34,7 @@ /> </el-select> </el-form-item> <el-form-item label="ç¹æ£å¨æ" style=" display: flex;"> <el-form-item v-show="isExpandForm" label-width="70px" label="ç¹æ£å¨æ" style=" display: flex;"> <el-select v-model="form.cycle" style="width: 200px" placeholder="è¯·éæ©"> <el-option v-for="item in cycleArr" @@ -45,22 +45,39 @@ </el-select> </el-form-item> </div> <div class="bodySearchReset"> <div class="bodySearchReset" :style="{marginLeft:$store.state.app.sidebar.opened?'5%':'10%'}"> <el-button type="primary" icon="el-icon-search" @click="search">æ¥è¯¢</el-button> <el-button type="info" icon="el-icon-refresh" @click="reset">éç½®</el-button> </div> </el-form> <div class="bodyTopFormExpand" > <svg-icon v-show="mouseHoverType==='mouseout'" style="cursor: pointer" :icon-class="!isExpandForm?'doubleDown3':'doubleUp3'" @mouseenter="mouseHoverType=$event.type" /> <svg-icon v-show="mouseHoverType==='mouseenter'" style="cursor: pointer" :icon-class="!isExpandForm?'doubleDown':'doubleUp'" @click="isExpandForm=!isExpandForm" @mouseout="mouseHoverType=$event.type" /> </div> </div> <div class="elTableDiv"> <el-table ref="tableDataRef" :data="tableData" :height="tableHeight+'px'" :height="isExpandForm?tableHeight:(tableHeight+40)+'px'" border class="tableFixed" :row-class-name="tableRowClassName" :style="{width: 100+'%',height:tableHeight+'px',}" :style="{width: 100+'%',height:isExpandForm?tableHeight:(tableHeight+40)+'px',}" highlight-current-row :header-cell-style="this.$headerCellStyle" :cell-style="this.$cellStyle" @@ -247,6 +264,8 @@ }, data() { return { mouseHoverType: 'mouseout', isExpandForm: false, mainHeight: 0, tableHeight: 0, form: { @@ -432,7 +451,7 @@ getHeight() { this.$nextTick(() => { this.mainHeight = window.innerHeight - 85 this.tableHeight = this.mainHeight - 200 this.tableHeight = this.mainHeight - 255 this.$refs.tableDataRef.doLayout() }) }, src/views/sbgl/djbz.vue
@@ -10,12 +10,12 @@ <el-form ref="form" :model="form" label-width="80px" label-width="100px" inline style="display: flex;justify-content: space-between" > <div class="elForm"> <el-form-item label="æ åç¼ç " style=" display: flex;"> <el-form-item label-width="70px" label="æ åç¼ç " style=" display: flex;"> <el-input v-model="form.checkstandcode" placeholder="请è¾å ¥" style="width: 200px" /> </el-form-item> <el-form-item label="æ ååç§°" style=" display: flex;"> @@ -32,11 +32,15 @@ </el-select> </el-form-item> </div> <div class="bodySearchReset"> <div class="bodySearchReset" :style="{marginLeft:$store.state.app.sidebar.opened?'5%':'10%'}"> <el-button type="primary" icon="el-icon-search" @click="search">æ¥è¯¢</el-button> <el-button type="info" icon="el-icon-refresh" @click="reset">éç½®</el-button> </div> </el-form> <div class="bodyTopFormExpand" /> </div> <div class="elTableDiv"> @@ -805,7 +809,7 @@ getHeight() { this.$nextTick(() => { this.mainHeight = window.innerHeight - 85 this.tableHeight = this.mainHeight - 200 this.tableHeight = this.mainHeight - 195 this.$refs.tableDataRef.doLayout() }) }, src/views/sbgl/djjl.vue
@@ -11,12 +11,12 @@ <el-form ref="form" :model="form" label-width="80px" label-width="100px" inline style="display: flex;justify-content: space-between" > <div class="elForm"> <el-form-item label="ç产车é´" style=" display: flex;"> <div class="elForm" style="justify-content: flex-start"> <el-form-item label-width="70px" label="ç产车é´" style=" display: flex;"> <el-select v-model="form.wkshopcode" style="width: 200px" placeholder="è¯·éæ©"> <el-option v-for="item in wkshopSelectArr" @@ -35,7 +35,7 @@ <el-form-item label="æ ååç§°" style=" display: flex;"> <el-input v-model="form.stanedname" placeholder="请è¾å ¥" style="width: 200px" /> </el-form-item> <el-form-item label="ç¹æ£äººå" style=" display: flex;"> <el-form-item v-show="isExpandForm" label-width="70px" label="ç¹æ£äººå" style=" display: flex;"> <el-input v-model="form.checkuser" style="width: 200px" placeholder="请è¾å ¥" /> </el-form-item> <el-form-item v-show="isExpandForm" label="ç¹æ£æ¶é´" style=" display: flex;font-size:14px;align-items: center"> @@ -62,21 +62,31 @@ <!-- </el-select>--> <!-- </el-form-item>--> </div> <div class="bodySearchReset"> <div class="bodySearchReset" :style="{marginLeft:$store.state.app.sidebar.opened?'5%':'10%'}"> <el-button type="primary" icon="el-icon-search" @click="search">æ¥è¯¢</el-button> <el-button type="info" icon="el-icon-refresh" @click="reset">éç½®</el-button> </div> </el-form> <div class="bodyTopFormExpand" > <svg-icon v-show="mouseHoverType==='mouseout'" style="cursor: pointer" :icon-class="!isExpandForm?'doubleDown3':'doubleUp3'" @mouseenter="mouseHoverType=$event.type" /> <svg-icon v-show="mouseHoverType==='mouseenter'" style="cursor: pointer" :icon-class="!isExpandForm?'doubleDown':'doubleUp'" @click="isExpandForm=!isExpandForm" @mouseout="mouseHoverType=$event.type" /> </div> </div> <div class="bodyTopFormExpand" @click="isExpandForm=!isExpandForm" > <i :class="!isExpandForm?'el-icon-arrow-down':'el-icon-arrow-up'" :style="{color:'#42B983'}" /></div> <div class="elTableDiv" style="margin-top: 0"> <div class="elTableDiv"> <el-table ref="tableDataRef" class="tableFixed" @@ -286,6 +296,7 @@ }, data() { return { mouseHoverType: 'mouseout', isExpandForm: false, mainHeight: 0, tableHeight: 0, @@ -503,7 +514,7 @@ getHeight() { this.$nextTick(() => { this.mainHeight = window.innerHeight - 85 this.tableHeight = this.mainHeight - 245 this.tableHeight = this.mainHeight - 255 this.$refs.tableDataRef.doLayout() }) src/views/sbgl/sbqd.vue
@@ -16,12 +16,12 @@ <el-form ref="form" :model="form" label-width="80px" label-width="100px" inline style="display: flex;justify-content: space-between" > <div class="elForm"> <el-form-item label="设å¤ç¼ç " style=" display: flex;"> <div class="elForm" style="justify-content: flex-start"> <el-form-item label-width="70px" label="设å¤ç¼ç " style=" display: flex;"> <el-input v-model="form.DeviceCode" placeholder="请è¾å ¥" style="width: 200px" /> </el-form-item> <el-form-item label="设å¤åç§°" style=" display: flex;"> @@ -60,7 +60,7 @@ /> </el-select> </el-form-item> <el-form-item filterable label="设å¤ç±»å" style="display: flex;"> <el-form-item v-show="isExpandForm" label-width="70px" filterable label="设å¤ç±»å" style="display: flex;"> <el-select v-model="form.DeviceType" :popper-append-to-body="false" @@ -96,20 +96,30 @@ </el-select> </el-form-item> </div> <div class="bodySearchReset"> <div class="bodySearchReset" :style="{marginLeft:$store.state.app.sidebar.opened?'5%':'10%'}"> <el-button type="primary" icon="el-icon-search" @click="search">æ¥è¯¢</el-button> <el-button type="info" icon="el-icon-refresh" @click="reset">éç½®</el-button> </div> </el-form> <div class="bodyTopFormExpand" > <svg-icon v-show="mouseHoverType==='mouseout'" style="cursor: pointer" :icon-class="!isExpandForm?'doubleDown3':'doubleUp3'" @mouseenter="mouseHoverType=$event.type" /> <svg-icon v-show="mouseHoverType==='mouseenter'" style="cursor: pointer" :icon-class="!isExpandForm?'doubleDown':'doubleUp'" @click="isExpandForm=!isExpandForm" @mouseout="mouseHoverType=$event.type" /> </div> </div> <div class="bodyTopFormExpand" @click="isExpandForm=!isExpandForm" > <i :class="!isExpandForm?'el-icon-arrow-down':'el-icon-arrow-up'" :style="{color:'#42B983'}" /></div> <div class="elTableDiv" style="margin-top: 0;"> <el-table ref="tableDataRef" @@ -155,6 +165,7 @@ <el-table-column prop="eqpgroup_name" label="设å¤ç»" show-tooltip-when-overflow min-width="110" sortable="custom" /> @@ -597,6 +608,7 @@ }, data() { return { mouseHoverType: 'mouseout', isExpandForm: false, mainHeight: 0, tableHeight: 0, @@ -867,7 +879,7 @@ getHeight() { this.$nextTick(() => { this.mainHeight = window.innerHeight - 85 this.tableHeight = this.mainHeight - 250 this.tableHeight = this.mainHeight - 245 this.$refs.tableDataRef.doLayout() // if (window.innerHeight < 769) { // this.tableHeight = this.tableHeight - 50 src/views/scgl/gd.vue
@@ -15,12 +15,12 @@ <el-form ref="form" :model="form" label-width="80px" label-width="100px" inline style="display: flex;justify-content: space-between" > <div class="elForm"> <el-form-item label="订åç¶æ" style=" display: flex;"> <el-form-item label-width="70px" label="订åç¶æ" style=" display: flex;"> <el-select v-model="form.mesorderstus" :popper-append-to-body="false" @@ -59,7 +59,7 @@ /> </el-select> </el-form-item> <el-form-item label="产åç¼ç " style=" display: flex;"> <el-form-item v-show="isExpandForm" label-width="70px" label="产åç¼ç " style=" display: flex;"> <el-input v-model="form.partcode" style="width: 200px" placeholder="请è¾å ¥" /> </el-form-item> <el-form-item v-show="isExpandForm" label="产ååç§°" style=" display: flex;"> @@ -71,7 +71,7 @@ <el-form-item v-show="isExpandForm" label="å建人å" style=" display: flex;"> <el-input v-model="form.creatuser" style="width: 200px" placeholder="请è¾å ¥" /> </el-form-item> <el-form-item v-show="isExpandForm" label="å建æ¶é´" style=" display: flex;"> <el-form-item v-show="isExpandForm" label-width="70px" label="å建æ¶é´" style=" display: flex;"> <!-- <el-date-picker--> <!-- v-model="form.createdate"--> <!-- type="daterange"--> @@ -92,46 +92,41 @@ /> </el-form-item> </div> <div> <div class="bodySearchReset"> <el-button type="primary" icon="el-icon-search" @click="search">æ¥è¯¢</el-button> <el-button type="info" icon="el-icon-refresh" @click="reset">éç½®</el-button> </div> <!-- <div v-if="!isIpad" style="display: flex;align-items: start; margin-top: 15px;z-index: 2">--> <!-- <el-button type="primary" icon="el-icon-circle-plus-outline" @click="add('add')">æ°å¢</el-button>--> <!-- <el-button type="primary" icon="el-icon-connection" @click="send('send')">æ´¾å</el-button>--> <!-- <el-button type="primary" icon="el-icon-switch-button">订åå ³é</el-button>--> <!-- </div>--> <!-- <div v-if="isIpad" style="display: flex;flex-direction: column;align-items: end">--> <!-- <div style="display: flex;margin: 10px 0">--> <!-- <el-button type="primary" icon="el-icon-circle-plus-outline" @click="add('add')">æ°å¢</el-button>--> <!-- <el-button type="primary" icon="el-icon-connection" @click="send('send')">æ´¾å</el-button>--> <!-- </div>--> <!-- <el-button type="primary" icon="el-icon-switch-button">订åå ³é</el-button>--> <!-- </div>--> <div class="bodySearchReset" :style="{marginLeft:$store.state.app.sidebar.opened?'5%':'10%'}"> <el-button type="primary" icon="el-icon-search" @click="search">æ¥è¯¢</el-button> <el-button type="info" icon="el-icon-refresh" @click="reset">éç½®</el-button> </div> </el-form> <div class="bodyTopFormExpand" > <svg-icon v-show="mouseHoverType==='mouseout'" style="cursor: pointer" :icon-class="!isExpandForm?'doubleDown3':'doubleUp3'" @mouseenter="mouseHoverType=$event.type" /> <svg-icon v-show="mouseHoverType==='mouseenter'" style="cursor: pointer" :icon-class="!isExpandForm?'doubleDown':'doubleUp'" @click="isExpandForm=!isExpandForm" @mouseout="mouseHoverType=$event.type" /> </div> </div> <div class="bodyTopFormExpand" @click="isExpandForm=!isExpandForm" > <i :class="!isExpandForm?'el-icon-arrow-down':'el-icon-arrow-up'" :style="{color:'#42B983'}" /></div> <div class="elTableDiv" style="margin-top: 0"> <div class="elTableDiv"> <el-table ref="tableDataRef" class="tableFixed" :data="tableData" :height="isExpandForm?tableHeight:(tableHeight+40)+'px'" :height="isExpandForm?tableHeight:(tableHeight+80)+'px'" border :row-class-name="tableRowClassName" :style="{width: 100+'%',height:isExpandForm?tableHeight:(tableHeight+40)+'px'}" :style="{width: 100+'%',height:isExpandForm?tableHeight:(tableHeight+80)+'px'}" highlight-current-row :header-cell-style="this.$headerCellStyle" :cell-style="this.$cellStyle" @@ -783,12 +778,12 @@ title="æºååå·" :visible.sync="dialogVisibleSource" width="1200px" top="5vh" top="10vh" class="dialogVisibleSearch" :close-on-click-modal="false" @close="dialogVisibleSourceClose" > <div class="bodyTopFormGroup" style="animation: move 1s linear"> <div class="bodyTopFormGroup"> <el-form ref="sourceForm" :model="sourceForm" @@ -796,10 +791,8 @@ inline style="display: flex;justify-content: space-between" > <div class="elForm"> <div class="elForm" style="justify-content: flex-start"> <el-form-item label="é¢è®¡å¼å·¥æ¶é´" label-width="100px" style=" display: flex;font-size: 14px;margin-top: 3px" @@ -869,32 +862,39 @@ </el-form-item> </div> <div> <div style="display: flex;align-items: start;margin-top: 5px;z-index: 2;justify-content: end"> <el-button type="primary" icon="el-icon-search" @click="sourceSearch">æ¥è¯¢</el-button> <el-button type="info" icon="el-icon-refresh" @click="sourceReset">éç½®</el-button> </div> <div style="display: flex;align-items: start;margin-top: 3px;z-index: 2;justify-content: end"> <el-button type="primary" icon="el-icon-search" @click="sourceSearch">æ¥è¯¢</el-button> <el-button type="info" icon="el-icon-refresh" @click="sourceReset">éç½®</el-button> </div> </el-form> <div class="bodyTopFormExpand" > <svg-icon v-show="mouseHoverTypeDialog==='mouseout'" style="cursor: pointer" :icon-class="!isExpandDialog?'doubleDown3':'doubleUp3'" @mouseenter="mouseHoverTypeDialog=$event.type" /> <svg-icon v-show="mouseHoverTypeDialog==='mouseenter'" style="cursor: pointer" :icon-class="!isExpandDialog?'doubleDown':'doubleUp'" @click="isExpandDialog=!isExpandDialog" @mouseout="mouseHoverTypeDialog=$event.type" /> </div> </div> <!-- <el-tooltip :content="!isExpandDialog?'ç¹å»å±ç¤ºæ´å¤':'æ¶èµ·'" placement="bottom">--> <div style="display:flex;justify-content: center; align-items:center;background-color:#eee;cursor: pointer" @click="isExpandDialog=!isExpandDialog" > <i :class="!isExpandDialog?'el-icon-arrow-down':'el-icon-arrow-up'" :style="{color:'#42B983'}" /></div> <!-- </el-tooltip>--> <div class="elTableDiv"> <el-table :data="sourceTableData" :height="(tableHeight-100)+'px'" :height="isExpandDialog?(tableHeight+60)+'px':(tableHeight+140)+'px'" border :row-class-name="tableRowClassName" :style="{width: 100+'%',height:(tableHeight-100)+'px',}" :style="{width: 100+'%',height:isExpandDialog?(tableHeight+60)+'px':(tableHeight+140)+'px',}" highlight-current-row :header-cell-style="this.$headerCellStyle" :cell-style="this.$cellStyle" @@ -1571,6 +1571,9 @@ }, data() { return { mouseHoverType: 'mouseout', mouseHoverTypeDialog: 'mouseout', isExpandForm: false, isIpad: false, mainHeight: 0, tableHeight: 0, @@ -1768,7 +1771,6 @@ defaultroute_code: '', // é»è®¤å·¥èºè·¯çº¿éä¸å¼ defaultroute_codeArr: '', // é»è®¤å·¥èºè·¯çº¿æ°ç» projectTableData: [], // 设å¤å表 isExpandForm: false, // è¡¨åæ¯å¦å±å¼ï¼é»è®¤ä¸å±å¼ tableDataDetail: [], // ç¹å»å·¥å表çè¡ æ¾ç¤ºè¯¦ç»ä¿¡æ¯ printSize: 1, printSizeSelectArr: [// 宽*é« @@ -2145,7 +2147,7 @@ this.$nextTick(() => { this.mainHeight = window.innerHeight - 85 // this.tableHeight = this.mainHeight - 250 this.tableHeight = this.mainHeight - 470 this.tableHeight = this.mainHeight - 515 if (window.innerHeight < 769) { this.tableHeight = this.tableHeight - 20 } src/views/scgl/gdplgb.vue
@@ -2,23 +2,20 @@ <div> <div class="body" :style="{height:mainHeight+'px'}"> <div class="bodyTopButtonGroup" style="justify-content: space-between"> <!-- <el-button type="primary" icon="el-icon-circle-plus-outline" @click="add('add')">æ°å¢</el-button>--> <!-- <el-button icon="el-icon-download" @click="upload">å¯¼å ¥</el-button>--> <el-button icon="el-icon-switch-button" @click="handleClose('close')">æ¹éå ³å</el-button> <el-button icon="el-icon-switch-button" @click="handleClose('noClose')">æ¹éåå ³å</el-button> </div> <div class="bodyTopFormGroup"> <el-form ref="form" :model="form" label-width="80px" label-width="100px" inline style="display: flex;justify-content: space-between" > <div class="elForm"> <el-form-item label="å·¥åç¶æ" style=" display: flex;"> <el-form-item label="å·¥åç¶æ" label-width="70px" style=" display: flex;"> <el-input v-model="form.mesorderstus" placeholder="请è¾å ¥" style="width: 200px" /> </el-form-item> <el-form-item label="å·¥åç¼å·" style=" display: flex;"> @@ -37,7 +34,7 @@ /> </el-select> </el-form-item> <el-form-item label="产åç¼ç " style=" display: flex;"> <el-form-item v-show="isExpandForm" label-width="70px" label="产åç¼ç " style=" display: flex;"> <el-input v-model="form.partcode" style="width: 200px" placeholder="请è¾å ¥" /> </el-form-item> <el-form-item v-show="isExpandForm" label="产ååç§°" style=" display: flex;"> @@ -49,33 +46,43 @@ <el-form-item v-show="isExpandForm" label="å建人å" style=" display: flex;"> <el-input v-model="form.creatuser" style="width: 200px" placeholder="请è¾å ¥" /> </el-form-item> <el-form-item v-show="isExpandForm" label="å建æ¶é´" style=" display: flex;"> <el-form-item v-show="isExpandForm" label-width="70px" label="å建æ¶é´" style=" display: flex;"> <el-input v-model="form.createdate" style="width: 200px" placeholder="请è¾å ¥" /> </el-form-item> </div> <div class="bodySearchReset"> <div class="bodySearchReset" :style="{marginLeft:$store.state.app.sidebar.opened?'5%':'10%'}"> <el-button type="primary" icon="el-icon-search" @click="search">æ¥è¯¢</el-button> <el-button type="info" icon="el-icon-refresh" @click="reset">éç½®</el-button> </div> </el-form> <div class="bodyTopFormExpand" > <svg-icon v-show="mouseHoverType==='mouseout'" style="cursor: pointer" :icon-class="!isExpandForm?'doubleDown3':'doubleUp3'" @mouseenter="mouseHoverType=$event.type" /> <svg-icon v-show="mouseHoverType==='mouseenter'" style="cursor: pointer" :icon-class="!isExpandForm?'doubleDown':'doubleUp'" @click="isExpandForm=!isExpandForm" @mouseout="mouseHoverType=$event.type" /> </div> </div> <div class="bodyTopFormExpand" @click="isExpandForm=!isExpandForm" > <i :class="!isExpandForm?'el-icon-arrow-down':'el-icon-arrow-up'" :style="{color:'#42B983'}" /></div> <div class="elTableDiv" style="margin-top: 0"> <div class="elTableDiv"> <el-table ref="multipleTable" class="tableFixed" :data="tableData" :height="isExpandForm?tableHeight:(tableHeight+40)+'px'" :height="isExpandForm?tableHeight:(tableHeight+80)+'px'" border :row-class-name="tableRowClassName" :style="{width: 100+'%',height:isExpandForm?tableHeight:(tableHeight+40)+'px',}" :style="{width: 100+'%',height:isExpandForm?tableHeight:(tableHeight+80)+'px',}" highlight-current-row :header-cell-style="this.$headerCellStyle" :cell-style="this.$cellStyle" @@ -334,6 +341,7 @@ }, data() { return { mouseHoverType: 'mouseout', isExpandForm: false, mainHeight: 0, tableHeight: 0, @@ -488,7 +496,7 @@ getHeight() { this.$nextTick(() => { this.mainHeight = window.innerHeight - 85 this.tableHeight = this.mainHeight - 250 this.tableHeight = this.mainHeight - 295 this.$refs.multipleTable.doLayout() }) }, src/views/scgl/scdd.vue
@@ -24,7 +24,7 @@ style="display: flex;justify-content: space-between" > <div class="elForm"> <el-form-item label="订åç¶æ" style=" display: flex;"> <el-form-item label-width="70px" label="订åç¶æ" style=" display: flex;"> <el-select v-model="form.erporderstus" filterable @@ -49,7 +49,7 @@ <el-form-item label="产ååç§°" style=" display: flex;"> <el-input v-model="form.partname" style="width: 200px" placeholder="请è¾å ¥" /> </el-form-item> <el-form-item v-show="isExpandForm" label="产åè§æ ¼" style=" display: flex;"> <el-form-item v-show="isExpandForm" label-width="70px" label="产åè§æ ¼" style=" display: flex;"> <el-input v-model="form.partspec" style="width: 200px" placeholder="请è¾å ¥" /> </el-form-item> <el-form-item v-show="isExpandForm" label="å建人å" style=" display: flex;"> @@ -95,54 +95,34 @@ <!-- />--> </el-form-item> </div> <div> <div class="bodySearchReset"> <el-button type="primary" icon="el-icon-search" @click="search">æ¥è¯¢</el-button> <el-button type="info" icon="el-icon-refresh" @click="reset">éç½®</el-button> </div> <!-- <div v-if="!isIpad" style="display: flex;align-items: start; margin-top: 15px;z-index: 2">--> <!-- <el-button--> <!-- type="primary"--> <!-- icon="el-icon-refresh-right"--> <!-- @click="reset('update')"--> <!-- >忥ERP--> <!-- </el-button>--> <!-- <el-button--> <!-- type="primary"--> <!-- icon="el-icon-switch-button"--> <!-- @click="orderClose"--> <!-- >å ³é订å--> <!-- </el-button>--> <!-- </div>--> <!-- <div v-if="isIpad" style="display: flex;flex-direction: column;align-items: end">--> <!-- <el-button--> <!-- type="primary"--> <!-- icon="el-icon-refresh-right"--> <!-- style="margin: 10px 0"--> <!-- @click="reset('update')"--> <!-- >忥ERP--> <!-- </el-button>--> <!-- <el-button--> <!-- type="primary"--> <!-- icon="el-icon-switch-button"--> <!-- @click="orderClose"--> <!-- >å ³é订å--> <!-- </el-button>--> <!-- </div>--> <div class="bodySearchReset" :style="{marginLeft:$store.state.app.sidebar.opened?'5%':'10%'}"> <el-button type="primary" icon="el-icon-search" @click="search">æ¥è¯¢</el-button> <el-button type="info" icon="el-icon-refresh" @click="reset">éç½®</el-button> </div> </el-form> <div class="bodyTopFormExpand" > <svg-icon v-show="mouseHoverType==='mouseout'" style="cursor: pointer" :icon-class="!isExpandForm?'doubleDown3':'doubleUp3'" @mouseenter="mouseHoverType=$event.type" /> <svg-icon v-show="mouseHoverType==='mouseenter'" style="cursor: pointer" :icon-class="!isExpandForm?'doubleDown':'doubleUp'" @click="isExpandForm=!isExpandForm" @mouseout="mouseHoverType=$event.type" /> </div> </div> <div class="bodyTopFormExpand" @click="isExpandForm=!isExpandForm" > <i :class="!isExpandForm?'el-icon-arrow-down':'el-icon-arrow-up'" :style="{color:'#42B983'}" /></div> <div class="elTableDiv" style="margin-top: 0"> <div class="elTableDiv"> <el-table ref="tableDataRef" class="tableFixed" @@ -422,7 +402,8 @@ } } return { isIpad: false, mouseHoverType: 'mouseout', isExpandForm: false, mainHeight: 0, tableHeight: 0, form: { @@ -485,8 +466,8 @@ { required: true, message: '请è¾å ¥ä¸ååæ°', trigger: ['blur', 'change'] } ] }, isExpandForm: false } // expireTimeOption: { // disabledDate(time) { // return time.getTime() > Date.now() - 8.64e6 // å¦ææ²¡æåé¢ç-8.64e6å°±æ¯ä¸å¯ä»¥éæ©ä»å¤©ç @@ -726,11 +707,7 @@ this.$nextTick(() => { this.mainHeight = window.innerHeight - 85 this.tableHeight = this.mainHeight - 250 this.isIpad = window.innerHeight < 769 && window.innerWidth < 1367 if (this.isIpad) { this.tableHeight = this.tableHeight - 20 } this.$refs.tableDataRef.doLayout() }) }, src/views/wlgl/ckdy.vue
@@ -19,12 +19,12 @@ <el-form ref="form" :model="form" label-width="80px" label-width="100px" inline style="display: flex;justify-content: space-between" > <div class="elForm"> <el-form-item label="ä»åºç¼ç " style=" display: flex;"> <el-form-item label-width="70px" label="ä»åºç¼ç " style=" display: flex;"> <el-input v-model="form.warehousecode" placeholder="请è¾å ¥" style="width: 200px" /> </el-form-item> <el-form-item label="ä»åºåç§°" style=" display: flex;"> @@ -37,11 +37,14 @@ <el-input v-model="form.createuser" style="width: 200px" placeholder="请è¾å ¥" /> </el-form-item> </div> <div class="bodySearchReset"> <div class="bodySearchReset" :style="{marginLeft:$store.state.app.sidebar.opened?'5%':'10%'}"> <el-button type="primary" icon="el-icon-search" @click="search">æ¥è¯¢</el-button> <el-button type="info" icon="el-icon-refresh" @click="reset">éç½®</el-button> </div> </el-form> <div class="bodyTopFormExpand" /> </div> <div class="elTableDiv"> <el-table @@ -364,7 +367,7 @@ getHeight() { this.$nextTick(() => { this.mainHeight = window.innerHeight - 85 this.tableHeight = this.mainHeight - 200 this.tableHeight = this.mainHeight - 195 if (window.innerHeight < 769) { this.tableHeight = this.tableHeight - 40 } src/views/wlgl/kwdy.vue
@@ -11,12 +11,12 @@ <el-form ref="form" :model="form" label-width="80px" label-width="100px" inline style="display: flex;justify-content: space-between" > <div class="elForm"> <el-form-item label="åºä½ç¼ç " style=" display: flex;"> <el-form-item label="åºä½ç¼ç " label-width="70px" style=" display: flex;"> <el-input v-model="form.storagecode" placeholder="请è¾å ¥" style="width: 200px" /> </el-form-item> <el-form-item label="åºä½åç§°" style=" display: flex;"> @@ -41,16 +41,33 @@ /> </el-select> </el-form-item> <el-form-item label="å建人å" style=" display: flex;"> <el-form-item v-show="isExpandForm" label-width="70px" label="å建人å" style=" display: flex;"> <el-input v-model="form.createuser" style="width: 200px" placeholder="请è¾å ¥" /> </el-form-item> </div> <div class="bodySearchReset"> <div class="bodySearchReset" :style="{marginLeft:$store.state.app.sidebar.opened?'5%':'10%'}"> <el-button type="primary" icon="el-icon-search" @click="search">æ¥è¯¢</el-button> <el-button type="info" icon="el-icon-refresh" @click="reset">éç½®</el-button> </div> </el-form> <div class="bodyTopFormExpand" > <svg-icon v-show="mouseHoverType==='mouseout'" style="cursor: pointer" :icon-class="!isExpandForm?'doubleDown3':'doubleUp3'" @mouseenter="mouseHoverType=$event.type" /> <svg-icon v-show="mouseHoverType==='mouseenter'" style="cursor: pointer" :icon-class="!isExpandForm?'doubleDown':'doubleUp'" @click="isExpandForm=!isExpandForm" @mouseout="mouseHoverType=$event.type" /> </div> </div> <div class="elTableDiv"> @@ -60,8 +77,8 @@ :data="tableData" border :row-class-name="tableRowClassName" :height="tableHeight+'px'" :style="{width: 100+'%',height:tableHeight+'px',}" :height="isExpandForm?tableHeight:(tableHeight+40)+'px'" :style="{width: 100+'%',height:isExpandForm?tableHeight:(tableHeight+40)+'px',}" highlight-current-row :header-cell-style="this.$headerCellStyle" :cell-style="this.$cellStyle" @@ -203,6 +220,8 @@ }, data() { return { mouseHoverType: 'mouseout', isExpandForm: false, mainHeight: 0, tableHeight: 0, form: { @@ -379,7 +398,7 @@ getHeight() { this.$nextTick(() => { this.mainHeight = window.innerHeight - 85 this.tableHeight = this.mainHeight - 200 this.tableHeight = this.mainHeight - 255 if (window.innerHeight < 769) { this.tableHeight = this.tableHeight - 50 } src/views/xtsz/bmgz.vue
@@ -388,7 +388,7 @@ getHeight() { this.$nextTick(() => { this.mainHeight = window.innerHeight - 85 this.tableHeight = this.mainHeight - 140 this.tableHeight = this.mainHeight - 135 this.$refs.tableDataRef.doLayout() }) } src/views/xtsz/cjgg.vue
@@ -10,12 +10,12 @@ <el-form ref="form" :model="form" label-width="80px" label-width="100px" inline style="display: flex;justify-content: space-between" > <div class="elForm"> <el-form-item label="æ§è¡è½¦é´" style=" display: flex;"> <el-form-item label="æ§è¡è½¦é´" label-width="70px" style=" display: flex;"> <el-select v-model="form.wkspcode" style="width: 200px" placeholder="è¯·éæ©"> <el-option v-for="item in wkspSelectArr" @@ -41,7 +41,7 @@ /> </el-select> </el-form-item> <el-form-item label="å ¬åç级" style=" display: flex;"> <el-form-item v-show="isExpandForm" label-width="70px" label="å ¬åç级" style=" display: flex;"> <el-select v-model="form.level" style="width: 200px" placeholder="è¯·éæ©"> <el-option v-for="item in levelSelectArr" @@ -52,11 +52,28 @@ </el-select> </el-form-item> </div> <div style="display: flex;align-items: start;margin-top: 5px;z-index: 2"> <div class="bodySearchReset" :style="{marginLeft:$store.state.app.sidebar.opened?'5%':'10%'}"> <el-button type="primary" icon="el-icon-search" @click="search">æ¥è¯¢</el-button> <el-button type="info" icon="el-icon-refresh" @click="reset">éç½®</el-button> </div> </el-form> <div class="bodyTopFormExpand" > <svg-icon v-show="mouseHoverType==='mouseout'" style="cursor: pointer" :icon-class="!isExpandForm?'doubleDown3':'doubleUp3'" @mouseenter="mouseHoverType=$event.type" /> <svg-icon v-show="mouseHoverType==='mouseenter'" style="cursor: pointer" :icon-class="!isExpandForm?'doubleDown':'doubleUp'" @click="isExpandForm=!isExpandForm" @mouseout="mouseHoverType=$event.type" /> </div> </div> <div class="elTableDiv"> @@ -64,10 +81,10 @@ ref="tableDataRef" class="tableFixed" :data="tableData" :height="tableHeight+'px'" :height="isExpandForm?tableHeight:(tableHeight+40)+'px'" border :row-class-name="tableRowClassName" :style="{width: 100+'%',height:tableHeight+'px',}" :style="{width: 100+'%',height:isExpandForm?tableHeight:(tableHeight+40)+'px',}" highlight-current-row :header-cell-style="this.$headerCellStyle" :cell-style="this.$cellStyle" @@ -249,6 +266,8 @@ }, data() { return { mouseHoverType: 'mouseout', isExpandForm: false, mainHeight: 0, tableHeight: 0, form: { @@ -459,7 +478,7 @@ getHeight() { this.$nextTick(() => { this.mainHeight = window.innerHeight - 85 this.tableHeight = this.mainHeight - 200 this.tableHeight = this.mainHeight - 255 this.$refs.tableDataRef.doLayout() }) }, src/views/zlgl/gxjybz.vue
@@ -10,12 +10,12 @@ <el-form ref="form" :model="form" label-width="80px" label-width="100px" inline style="display: flex;justify-content: space-between" > <div class="elForm"> <el-form-item label="æ å代ç " style=" display: flex;"> <el-form-item label-width="70px" label="æ å代ç " style=" display: flex;"> <el-input v-model="form.stanedcode" placeholder="请è¾å ¥" style="width: 200px" /> </el-form-item> <el-form-item label="æ ååç§°" style=" display: flex;"> @@ -25,11 +25,14 @@ <el-input v-model="form.staneddescr" style="width: 200px" placeholder="请è¾å ¥" /> </el-form-item> </div> <div class="bodySearchReset"> <div class="bodySearchReset" :style="{marginLeft:$store.state.app.sidebar.opened?'5%':'10%'}"> <el-button type="primary" icon="el-icon-search" @click="search">æ¥è¯¢</el-button> <el-button type="info" icon="el-icon-refresh" @click="reset">éç½®</el-button> </div> </el-form> <div class="bodyTopFormExpand" /> </div> <div class="elTableDiv"> <el-table @@ -475,7 +478,7 @@ getHeight() { this.$nextTick(() => { this.mainHeight = window.innerHeight - 85 this.tableHeight = this.mainHeight - 200 this.tableHeight = this.mainHeight - 195 this.isIpad = window.innerHeight < 769 this.$refs.tableDataRef.doLayout() // if (window.innerHeight < 769) { src/views/zlgl/gxjyjl.vue
@@ -11,12 +11,12 @@ <el-form ref="form" :model="form" label-width="80px" label-width="100px" inline style="display: flex;justify-content: space-between" > <div class="elForm"> <el-form-item label="å·¥åç¼å·" style=" display: flex;"> <el-form-item label-width="70px" label="å·¥åç¼å·" style=" display: flex;"> <el-input v-model="form.wocode" placeholder="请è¾å ¥" style="width: 200px" /> </el-form-item> <el-form-item label="产åç¼ç " style=" display: flex;"> @@ -28,7 +28,7 @@ <el-form-item label="è§æ ¼åå·" style=" display: flex;"> <el-input v-model="form.partapec" placeholder="请è¾å ¥" style="width: 200px" /> </el-form-item> <el-form-item label="å·¥åºåç§°" style=" display: flex;"> <el-form-item v-show="isExpandForm" label-width="70px" label="å·¥åºåç§°" style=" display: flex;"> <el-input v-model="form.stepname" placeholder="请è¾å ¥" style="width: 200px" /> </el-form-item> <el-form-item v-show="isExpandForm" label="æ ååç§°" style=" display: flex;"> @@ -55,21 +55,32 @@ </el-select> </el-form-item> </div> <div class="bodySearchReset"> <div class="bodySearchReset" :style="{marginLeft:$store.state.app.sidebar.opened?'5%':'10%'}"> <el-button type="primary" icon="el-icon-search" @click="search">æ¥è¯¢</el-button> <el-button type="info" icon="el-icon-refresh" @click="reset">éç½®</el-button> </div> </el-form> <div class="bodyTopFormExpand" > <svg-icon v-show="mouseHoverType==='mouseout'" style="cursor: pointer" :icon-class="!isExpandForm?'doubleDown3':'doubleUp3'" @mouseenter="mouseHoverType=$event.type" /> <svg-icon v-show="mouseHoverType==='mouseenter'" style="cursor: pointer" :icon-class="!isExpandForm?'doubleDown':'doubleUp'" @click="isExpandForm=!isExpandForm" @mouseout="mouseHoverType=$event.type" /> </div> </div> <div class="bodyTopFormExpand" @click="isExpandForm=!isExpandForm" > <i :class="!isExpandForm?'el-icon-arrow-down':'el-icon-arrow-up'" :style="{color:'#42B983'}" /></div> <div class="elTableDiv" style="margin-top: 0"> <div class="elTableDiv"> <el-table ref="tableDataRef" class="tableFixed" @@ -350,6 +361,7 @@ }, data() { return { mouseHoverType: 'mouseout', isExpandForm: false, mainHeight: 0, tableHeight: 0, src/views/zlgl/gxjyxm.vue
@@ -10,12 +10,12 @@ <el-form ref="form" :model="form" label-width="80px" label-width="100px" inline style="display: flex;justify-content: space-between" > <div class="elForm"> <el-form-item label="项ç®ç¼ç " style=" display: flex;"> <el-form-item label-width="70px" label="项ç®ç¼ç " style=" display: flex;"> <el-input v-model="form.itemcode" placeholder="请è¾å ¥" style="width: 200px" /> </el-form-item> <el-form-item label="项ç®åç§°" style=" display: flex;"> @@ -25,11 +25,14 @@ <el-input v-model="form.itemdescr" style="width: 200px" placeholder="请è¾å ¥" /> </el-form-item> </div> <div class="bodySearchReset"> <div class="bodySearchReset" :style="{marginLeft:$store.state.app.sidebar.opened?'5%':'10%'}"> <el-button type="primary" icon="el-icon-search" @click="search">æ¥è¯¢</el-button> <el-button type="info" icon="el-icon-refresh" @click="reset">éç½®</el-button> </div> </el-form> <div class="bodyTopFormExpand" /> </div> <div class="elTableDiv"> <el-table @@ -301,7 +304,7 @@ getHeight() { this.$nextTick(() => { this.mainHeight = window.innerHeight - 85 this.tableHeight = this.mainHeight - 200 this.tableHeight = this.mainHeight - 195 this.$refs.tableDataRef.doLayout() // if (window.innerHeight < 769) { // this.tableHeight = this.tableHeight - 50 src/views/zlgl/qxdy.vue
@@ -10,12 +10,12 @@ <el-form ref="form" :model="form" label-width="80px" label-width="100px" inline style="display: flex;justify-content: space-between" > <div class="elForm"> <el-form-item label="缺é·ä»£ç " style=" display: flex;"> <el-form-item label="缺é·ä»£ç " label-width="70px" style=" display: flex;"> <el-input v-model="form.defectcode" placeholder="请è¾å ¥" style="width: 200px" /> </el-form-item> <el-form-item label="缺é·åç§°" style=" display: flex;"> @@ -26,11 +26,14 @@ <el-input v-model="form.defectdescr" style="width: 200px" placeholder="请è¾å ¥" /> </el-form-item> </div> <div class="bodySearchReset"> <div class="bodySearchReset" :style="{marginLeft:$store.state.app.sidebar.opened?'5%':'10%'}"> <el-button type="primary" icon="el-icon-search" @click="search">æ¥è¯¢</el-button> <el-button type="info" icon="el-icon-refresh" @click="reset">éç½®</el-button> </div> </el-form> <div class="bodyTopFormExpand" /> </div> <div class="elTableDiv"> <el-table @@ -322,7 +325,7 @@ getHeight() { this.$nextTick(() => { this.mainHeight = window.innerHeight - 85 this.tableHeight = this.mainHeight - 200 this.tableHeight = this.mainHeight - 195 this.$refs.tableDataRef.doLayout() // if (window.innerHeight < 769) { // this.tableHeight = this.tableHeight - 50 src/views/zzmx/chda.vue
@@ -30,12 +30,12 @@ <el-form ref="form" :model="form" label-width="80px" label-width="100px" inline style="display: flex;justify-content: space-between" > <div class="elForm"> <el-form-item label="ç©æç¼ç " style=" display: flex;"> <el-form-item label-width="70px" label="ç©æç¼ç " style=" display: flex;"> <el-input v-model="form.partcode" placeholder="请è¾å ¥" style="width: 200px" /> </el-form-item> <el-form-item label="ç©æåç§°" style=" display: flex;"> @@ -78,7 +78,7 @@ /> </el-select> </el-form-item> <el-form-item label="æå±ä»åº" style=" display: flex;"> <el-form-item v-show="isExpandForm" label-width="70px" label="æå±ä»åº" style=" display: flex;"> <el-select v-model="form.storehousecode" filterable @@ -96,11 +96,28 @@ </el-select> </el-form-item> </div> <div class="bodySearchReset"> <div class="bodySearchReset" :style="{marginLeft:$store.state.app.sidebar.opened?'5%':'10%'}"> <el-button type="primary" icon="el-icon-search" @click="search">æ¥è¯¢</el-button> <el-button type="info" icon="el-icon-refresh" @click="reset">éç½®</el-button> </div> </el-form> <div class="bodyTopFormExpand" > <svg-icon v-show="mouseHoverType==='mouseout'" style="cursor: pointer" :icon-class="!isExpandForm?'doubleDown3':'doubleUp3'" @mouseenter="mouseHoverType=$event.type" /> <svg-icon v-show="mouseHoverType==='mouseenter'" style="cursor: pointer" :icon-class="!isExpandForm?'doubleDown':'doubleUp'" @click="isExpandForm=!isExpandForm" @mouseout="mouseHoverType=$event.type" /> </div> </div> <div class="elTableDiv"> @@ -109,8 +126,9 @@ class="tableFixed" :data="tableData" border :height="tableHeight" :height="isExpandForm?tableHeight:(tableHeight+40)+'px'" width="100%" :style="{width: 100+'%',height:isExpandForm?tableHeight:(tableHeight+40)+'px',}" :row-class-name="tableRowClassName" highlight-current-row :header-cell-style="this.$headerCellStyle" @@ -619,6 +637,8 @@ }, data() { return { mouseHoverType: 'mouseout', isExpandForm: false, isIpad: false, mainHeight: 0, tableHeight: 0, @@ -962,7 +982,7 @@ getHeight() { this.$nextTick(() => { this.mainHeight = window.innerHeight - 85 this.tableHeight = this.mainHeight - 200 this.tableHeight = this.mainHeight - 255 if (window.innerHeight < 769) { this.tableHeight = this.tableHeight - 40 } src/views/zzmx/gxdy.vue
@@ -11,12 +11,12 @@ <el-form ref="form" :model="form" label-width="80px" label-width="100px" inline style="display: flex;justify-content: space-between" > <div class="elForm"> <el-form-item label="å·¥åºç¼ç " style=" display: flex;"> <el-form-item label-width="70px" label="å·¥åºç¼ç " style=" display: flex;"> <el-input v-model="form.stepcode" placeholder="请è¾å ¥" style="width: 200px" /> </el-form-item> <el-form-item label="å·¥åºåç§°" style=" display: flex;"> @@ -54,15 +54,32 @@ /> </el-select> </el-form-item> <el-form-item label="å建人å" style=" display: flex;"> <el-form-item v-show="isExpandForm" label-width="70px" label="å建人å" style=" display: flex;"> <el-input v-model="form.createuser" style="width: 200px" placeholder="请è¾å ¥" /> </el-form-item> </div> <div class="bodySearchReset"> <div class="bodySearchReset" :style="{marginLeft:$store.state.app.sidebar.opened?'5%':'10%'}"> <el-button type="primary" icon="el-icon-search" @click="search">æ¥è¯¢</el-button> <el-button type="info" icon="el-icon-refresh" @click="reset">éç½®</el-button> </div> </el-form> <div class="bodyTopFormExpand" > <svg-icon v-show="mouseHoverType==='mouseout'" style="cursor: pointer" :icon-class="!isExpandForm?'doubleDown3':'doubleUp3'" @mouseenter="mouseHoverType=$event.type" /> <svg-icon v-show="mouseHoverType==='mouseenter'" style="cursor: pointer" :icon-class="!isExpandForm?'doubleDown':'doubleUp'" @click="isExpandForm=!isExpandForm" @mouseout="mouseHoverType=$event.type" /> </div> </div> <div class="elTableDiv"> @@ -70,10 +87,10 @@ ref="tableDataRef" class="tableFixed" :data="tableData" :height="tableHeight" :height="isExpandForm?tableHeight:(tableHeight+40)+'px'" border :row-class-name="tableRowClassName" :style="{width: 100+'%',height:tableHeight+'px'}" :style="{width: 100+'%',height:isExpandForm?tableHeight:(tableHeight+40)+'px',}" highlight-current-row :header-cell-style="this.$headerCellStyle" :cell-style="this.$cellStyle" @@ -417,6 +434,8 @@ }, data() { return { mouseHoverType: 'mouseout', isExpandForm: false, isIpad: false, mainHeight: 0, tableHeight: 0, @@ -617,7 +636,7 @@ this.$nextTick(() => { // this.mainHeight = window.innerHeight - 250 this.mainHeight = window.innerHeight - 85 this.tableHeight = this.mainHeight - 200 this.tableHeight = this.mainHeight - 255 if (window.innerHeight < 769) { this.tableHeight = this.tableHeight - 40 } src/views/zzmx/gylx.vue
@@ -29,11 +29,14 @@ <el-input v-model="form.createuser" style="width: 200px" placeholder="请è¾å ¥" /> </el-form-item> </div> <div class="bodySearchReset"> <div class="bodySearchReset" :style="{marginLeft:$store.state.app.sidebar.opened?'5%':'10%'}"> <el-button type="primary" icon="el-icon-search" @click="search">æ¥è¯¢</el-button> <el-button type="info" icon="el-icon-refresh" @click="reset">éç½®</el-button> </div> </el-form> <div class="bodyTopFormExpand" /> </div> <div class="elTableDiv"> @@ -739,7 +742,7 @@ getHeight() { this.$nextTick(() => { this.mainHeight = window.innerHeight - 85 this.tableHeight = this.mainHeight - 200 this.tableHeight = this.mainHeight - 195 if (window.innerHeight < 769) { this.tableHeight = this.tableHeight - 40 } src/views/zzmx/jpgj.vue
@@ -11,12 +11,12 @@ <el-form ref="form" :model="form" label-width="80px" label-width="100px" inline style="display: flex;justify-content: space-between" > <div class="elForm"> <el-form-item label="产ååç§°" style=" display: flex;"> <el-form-item label-width="70px" label="产ååç§°" style=" display: flex;"> <el-select v-model="form.partcode" filterable @@ -88,11 +88,14 @@ </el-select> </el-form-item> </div> <div class="bodySearchReset"> <div class="bodySearchReset" :style="{marginLeft:$store.state.app.sidebar.opened?'5%':'10%'}"> <el-button type="primary" icon="el-icon-search" @click="search">æ¥è¯¢</el-button> <el-button type="info" icon="el-icon-refresh" @click="reset">éç½®</el-button> </div> </el-form> <div class="bodyTopFormExpand" /> </div> <div class="elTableDiv"> @@ -871,7 +874,7 @@ getHeight() { this.$nextTick(() => { this.mainHeight = window.innerHeight - 85 this.tableHeight = this.mainHeight - 200 this.tableHeight = this.mainHeight - 195 if (window.innerHeight < 769) { this.tableHeight = this.tableHeight - 40 } vue.config.js
@@ -51,8 +51,9 @@ proxy: { [process.env.VUE_APP_BASE_API]: { target: 'http://121.196.36.24:8001', // 请æ±ç第ä¸â½ æ¥â¼å°å æ¬å°å¼åæå¡å¨ // target: 'http://192.168.2.138:8001', // 请æ±ç第ä¸â½ æ¥â¼å°å å®¢æ·æå¡å¨ changeOrigin: true, // 请æ±è·¨åæ¶ï¼éé ç½®æ¤é¡¹ // target: 'http://192.168.2.138:8001', // 请æ±ç第ä¸â½ æ¥â¼å°å å®¢æ·æå¡å¨(大å²) // target: 'http://192.168.5.176:8001', // 请æ±ç第ä¸â½ æ¥â¼å°å å®¢æ·æå¡å¨(ç´¢æ®) changeOrigin: true, // 请æ±è·¨åæ¶ï¼é é ç½®æ¤é¡¹ pathRewrite: { // è·¯å¾éå,æ¿æ¢targetä¸ç请æ±å°å ['^' + process.env.VUE_APP_BASE_API]: '/api/' }