Merge branch 'master' of http://114.132.189.42:9002/r/center-lims-before
Conflicts:
src/components/view/b1-inspection-order.vue
| | |
| | | upPlanUser: "/insOrderPlan/upPlanUser", //ä»»å¡äº¤æ¥ |
| | | verifyPlan: "/insOrderPlan/verifyPlan", //夿 ¸æ£éªä»»å¡ |
| | | submitPlan: "/insOrderPlan/submitPlan", //æ£éªä»»å¡æäº¤ |
| | | inspectionOrderDetailsTaskSwitching: "/insOrderPlan/inspectionOrderDetailsTaskSwitching", // æ£éªå详æ
-ä»»å¡åæ¢ |
| | | } |
| | | |
| | | const systemLog = { |
| | |
| | | page: "/informationNotification/page", //æ»å¨å页æ¥è¯¢ |
| | | updateMessageStatus: "/informationNotification/updateMessageStatus", //æ´æ°æ¶æ¯ç¶æï¼æç»ãæ¥æ¶ï¼ |
| | | triggerModificationStatusToRead: "/informationNotification/triggerModificationStatusToRead", //ç¹å»è¯¦æ
触åä¿®æ¹ç¶æä¸ºå·²è¯» |
| | | getNumberFourTypesMessagesHomePage: "/informationNotification/getNumberFourTypesMessagesHomePage", // æ¶æ¯éç¥-è·åé¦é¡µåç§æ¶æ¯æ°é |
| | | } |
| | | |
| | | const performanceShift = { |
| | |
| | | <el-button size="medium" @click="templateDia=true" v-show="active==1"> |
| | | <span style="color: #3A7BFA;">ä¿å模æ¿</span> |
| | | </el-button> |
| | | <el-button size="medium" type="primary" @click="$parent.playOrder(4)">å
纤é
ç½®</el-button> |
| | | <el-button size="medium" type="primary" @click="save" :loading="saveLoad" v-show="active==1">æäº¤</el-button> |
| | | <!-- å®¡æ ¸ --> |
| | | <el-button size="medium" @click="upInsOrderOfState(2)" :loading="saveLoad" v-show="active==3" |
| | |
| | | this.getProductLoad = true |
| | | this.$axios.post(this.$api.standardTree.selectStandardProductList, { |
| | | model: row.model + '-' + row.modelNum, |
| | | standardMethodListId: val |
| | | standardMethodListId: val, |
| | | factory: this.selectTree, |
| | | }, { |
| | | headers: { |
| | | 'Content-Type': 'application/json' |
¶Ô±ÈÐÂÎļþ |
| | |
| | | <template> |
| | | <div class="ins_order_config"> |
| | | <div> |
| | | <el-row class="title"> |
| | | <el-col :span="6" style="padding-left: 20px;">å
纤é
ç½®</el-col> |
| | | <el-col :span="18" style="text-align: right;"> |
| | | <el-button size="medium" type="primary" @click="save" :loading="saveLoad">ä¿ å</el-button> |
| | | <el-button size="medium" @click="$parent.playOrder(0)"> |
| | | <span style="color: #3A7BFA;">å æ¶</span> |
| | | </el-button> |
| | | </el-col> |
| | | </el-row> |
| | | </div> |
| | | <div class="center"> |
| | | <el-row :gutter="10" style="margin-bottom: 10px;"> |
| | | <el-col :span="9"> |
| | | <div class="grid-content"> |
| | | <h4>å¥é¤</h4> |
| | | <div style="display: flex;align-items: center;justify-content: space-between;padding: 0 12px;box-sizing: border-box;"> |
| | | <div class="search-item"> |
| | | <label style="width: 70px;">æ ·ååå·</label> |
| | | <span style="font-size: 14px;">GYTA53</span> |
| | | </div> |
| | | <el-radio-group v-model="packageInfo.radio" size="small"> |
| | | <el-radio :label="0">å
¨æ£</el-radio> |
| | | <el-radio :label="1">æ½æ£</el-radio> |
| | | </el-radio-group> |
| | | </div> |
| | | <div class="search-item" style="margin-bottom: 8px;padding: 0 12px;box-sizing: border-box;"> |
| | | <label style="width: 70px;">æ ·åç¼å·</label> |
| | | <el-input v-model="packageInfo.input" placeholder="请è¾å
¥" size="small"></el-input> |
| | | </div> |
| | | <div style="display: flex;align-items: center;justify-content: space-between;margin-bottom: 8px;padding: 0 12px;box-sizing: border-box;"> |
| | | <div class="search-item" style="margin-right: 10px;"> |
| | | <label>å¥ç®¡æ°ç®</label> |
| | | <el-input v-model="packageInfo.input" placeholder="请è¾å
¥" size="small"></el-input> |
| | | </div> |
| | | <div class="search-item" style="margin-right: 10px;"> |
| | | <label style="width: 70px;">æ åé</label> |
| | | <el-input v-model="packageInfo.input" placeholder="请è¾å
¥" size="small"></el-input> |
| | | </div> |
| | | <div class="search-item"> |
| | | <label style="width: 70px;">æ£æµé</label> |
| | | <el-input v-model="packageInfo.input" placeholder="请è¾å
¥" size="small"></el-input> |
| | | </div> |
| | | </div> |
| | | <el-table |
| | | ref="table0" |
| | | :data="tableData" |
| | | tooltip-effect="dark" |
| | | style="width: 100%" |
| | | height="150px" |
| | | size="small" |
| | | @selection-change="handleSelectionChange"> |
| | | <el-table-column |
| | | type="selection" |
| | | width="55"> |
| | | </el-table-column> |
| | | <el-table-column |
| | | label="ç®¡è²æ " |
| | | show-overflow-tooltip> |
| | | <template slot-scope="scope">{{ scope.row.date }}</template> |
| | | </el-table-column> |
| | | <el-table-column |
| | | prop="name" |
| | | label="æ é" |
| | | show-overflow-tooltip> |
| | | </el-table-column> |
| | | <el-table-column |
| | | prop="address" |
| | | label="æµè¯é" |
| | | show-overflow-tooltip> |
| | | </el-table-column> |
| | | </el-table> |
| | | </div> |
| | | </el-col> |
| | | <el-col :span="15"> |
| | | <div class="grid-content"> |
| | | <h4>æ£æµé¡¹ä¿¡æ¯</h4> |
| | | <el-table |
| | | ref="table1" |
| | | :data="tableData" |
| | | tooltip-effect="dark" |
| | | style="width: 100%" |
| | | height="274px" |
| | | size="small" |
| | | @selection-change="handleSelectionChange"> |
| | | <el-table-column |
| | | type="selection" |
| | | width="55"> |
| | | </el-table-column> |
| | | <el-table-column |
| | | label="å®éªå®¤" |
| | | show-overflow-tooltip> |
| | | <template slot-scope="scope">{{ scope.row.date }}</template> |
| | | </el-table-column> |
| | | <el-table-column |
| | | prop="name" |
| | | label="æ£æµé¡¹ç®" |
| | | show-overflow-tooltip> |
| | | </el-table-column> |
| | | <el-table-column |
| | | prop="address" |
| | | label="è¯éªæ¹æ³" |
| | | show-overflow-tooltip> |
| | | </el-table-column> |
| | | <el-table-column |
| | | prop="address" |
| | | label="åä»·" |
| | | width="70" |
| | | show-overflow-tooltip> |
| | | </el-table-column> |
| | | <el-table-column |
| | | prop="address" |
| | | label="åä½" |
| | | width="70" |
| | | show-overflow-tooltip> |
| | | </el-table-column> |
| | | <el-table-column |
| | | prop="address" |
| | | label="é¢è®¡æ¶é´" |
| | | show-overflow-tooltip> |
| | | </el-table-column> |
| | | <el-table-column |
| | | prop="address" |
| | | label="æ£æµæ å" |
| | | show-overflow-tooltip> |
| | | </el-table-column> |
| | | <el-table-column |
| | | prop="address" |
| | | label="æ£æµè¦æ±" |
| | | show-overflow-tooltip> |
| | | </el-table-column> |
| | | </el-table> |
| | | </div> |
| | | </el-col> |
| | | </el-row> |
| | | <el-row :gutter="10"> |
| | | <el-col :span="12"> |
| | | <div class="grid-content"> |
| | | <h4>å
纤带</h4> |
| | | <div class="btns"> |
| | | <el-button size="small" type="primary">çæå
纤带</el-button> |
| | | <el-button size="small" type="primary">ä¿åå
纤带项ç®</el-button> |
| | | </div> |
| | | <div style="display: flex;align-items: center;justify-content: space-between;margin-bottom: 8px;padding: 0 12px;box-sizing: border-box;"> |
| | | <div class="search-item" style="width: 50%;margin-right: 16px;"> |
| | | <label style="width: 80px;">纤带类å</label> |
| | | <el-select v-model="tape.value" placeholder="è¯·éæ©" size="small" style="width: 100%;"> |
| | | <el-option |
| | | v-for="item in options" |
| | | :key="item.value" |
| | | :label="item.label" |
| | | :value="item.value"> |
| | | </el-option> |
| | | </el-select> |
| | | </div> |
| | | <div class="search-item" style="width: 50%;"> |
| | | <label style="width: 80px;">åèæ å</label> |
| | | <el-select v-model="tape.value" placeholder="è¯·éæ©" size="small" style="width: 100%;"> |
| | | <el-option |
| | | v-for="item in options" |
| | | :key="item.value" |
| | | :label="item.label" |
| | | :value="item.value"> |
| | | </el-option> |
| | | </el-select> |
| | | </div> |
| | | </div> |
| | | <el-table |
| | | ref="table2" |
| | | :data="tableData" |
| | | tooltip-effect="dark" |
| | | style="width: 100%" |
| | | height="270px" |
| | | size="small" |
| | | @selection-change="handleSelectionChange"> |
| | | <el-table-column |
| | | type="selection" |
| | | width="55"> |
| | | </el-table-column> |
| | | <el-table-column |
| | | label="å
纤带ç¼å·" |
| | | show-overflow-tooltip> |
| | | <template slot-scope="scope">{{ scope.row.date }}</template> |
| | | </el-table-column> |
| | | <el-table-column |
| | | prop="name" |
| | | label="å
çº¤å¸¦è§æ ¼" |
| | | show-overflow-tooltip> |
| | | </el-table-column> |
| | | <el-table-column |
| | | prop="address" |
| | | label="åèæ å" |
| | | show-overflow-tooltip> |
| | | </el-table-column> |
| | | <el-table-column |
| | | prop="address" |
| | | label="å
çº¤æ£æµé" |
| | | show-overflow-tooltip> |
| | | </el-table-column> |
| | | </el-table> |
| | | </div> |
| | | </el-col> |
| | | <el-col :span="12"> |
| | | <div class="grid-content"> |
| | | <h4>å
纤</h4> |
| | | <div class="btns"> |
| | | <el-button size="small" type="primary">å
纤é
è²</el-button> |
| | | <el-button size="small" type="primary">ä¿åå
纤项ç®</el-button> |
| | | </div> |
| | | <div style="display: flex;align-items: center;justify-content: space-between;margin-bottom: 8px;padding: 0 12px;box-sizing: border-box;"> |
| | | <div class="search-item" style="width: 50%;margin-right: 16px;"> |
| | | <label style="width: 80px;">å
纤类å</label> |
| | | <el-select v-model="tape.value" placeholder="è¯·éæ©" size="small" style="width: 100%;"> |
| | | <el-option |
| | | v-for="item in options" |
| | | :key="item.value" |
| | | :label="item.label" |
| | | :value="item.value"> |
| | | </el-option> |
| | | </el-select> |
| | | </div> |
| | | <div class="search-item" style="width: 50%;"> |
| | | <label style="width: 80px;">åèæ å</label> |
| | | <el-select v-model="tape.value" placeholder="è¯·éæ©" size="small" style="width: 100%;"> |
| | | <el-option |
| | | v-for="item in options" |
| | | :key="item.value" |
| | | :label="item.label" |
| | | :value="item.value"> |
| | | </el-option> |
| | | </el-select> |
| | | </div> |
| | | </div> |
| | | <el-table |
| | | ref="table3" |
| | | :data="tableData" |
| | | tooltip-effect="dark" |
| | | style="width: 100%" |
| | | height="270px" |
| | | size="small" |
| | | @selection-change="handleSelectionChange"> |
| | | <el-table-column |
| | | type="selection" |
| | | width="55"> |
| | | </el-table-column> |
| | | <el-table-column |
| | | label="管å¥è²æ " |
| | | show-overflow-tooltip> |
| | | <template slot-scope="scope">{{ scope.row.date }}</template> |
| | | </el-table-column> |
| | | <el-table-column |
| | | prop="name" |
| | | label="å
çº¤è²æ " |
| | | show-overflow-tooltip> |
| | | </el-table-column> |
| | | <el-table-column |
| | | prop="address" |
| | | label="å
çº¤è§æ ¼" |
| | | show-overflow-tooltip> |
| | | </el-table-column> |
| | | <el-table-column |
| | | prop="address" |
| | | label="åèæ å" |
| | | show-overflow-tooltip> |
| | | </el-table-column> |
| | | </el-table> |
| | | </div> |
| | | </el-col> |
| | | </el-row> |
| | | </div> |
| | | </div> |
| | | </template> |
| | | |
| | | <script> |
| | | export default { |
| | | data(){ |
| | | return{ |
| | | saveLoad:false, |
| | | packageInfo:{ |
| | | radio:1, |
| | | input:'' |
| | | }, |
| | | tableData:[], |
| | | tape:{ |
| | | value:'' |
| | | }, |
| | | options:[] |
| | | } |
| | | }, |
| | | methods:{ |
| | | save(){}, |
| | | handleSelectionChange(val) {} |
| | | } |
| | | } |
| | | </script> |
| | | |
| | | <style scoped> |
| | | .ins_order_config { |
| | | width: 100%; |
| | | height: 100%; |
| | | overflow-y: auto; |
| | | overflow-x: hidden; |
| | | } |
| | | |
| | | .title { |
| | | height: 60px; |
| | | line-height: 60px; |
| | | } |
| | | .center{ |
| | | width: 100%; |
| | | height: calc(100% - 60px); |
| | | } |
| | | .grid-content{ |
| | | background: #fff; |
| | | border-radius: 4px; |
| | | } |
| | | .grid-content h4{ |
| | | color: #3A7BFA; |
| | | font-weight: 400; |
| | | line-height: 32px; |
| | | padding-left: 16px; |
| | | box-sizing: border-box; |
| | | border-bottom: 1px solid #eee; |
| | | } |
| | | .search-item{ |
| | | display: flex; |
| | | align-items: center; |
| | | line-height: 36px; |
| | | } |
| | | .search-item label{ |
| | | width: 90px; |
| | | font-size: 12px; |
| | | color: #606266; |
| | | /* text-align: right; */ |
| | | } |
| | | .btns{ |
| | | margin: 8px 0 8px 10px; |
| | | } |
| | | >>>.el-table th.el-table__cell>.cell{ |
| | | padding-top: 2px !important; |
| | | padding-bottom: 2px !important; |
| | | } |
| | | </style> |
| | |
| | | </el-table> |
| | | </el-drawer> |
| | | <el-drawer title="ä»»å¡åæ¢" :visible.sync="taskVisible" :size="500"> |
| | | <ValueTable class="value-table" ref="insOrderPlan" :url="$api.insOrderPlan.selectInsOrderPlanList" |
| | | <ValueTable class="value-table" ref="insOrderPlan" :url="$api.insOrderPlan.inspectionOrderDetailsTaskSwitching" |
| | | :componentData="componentData" :key="upIndex" style="height: 100%;"/> |
| | | </el-drawer> |
| | | <el-dialog title="æ£éªå¤æ ¸" :visible.sync="reviewDia" width="500px"> |
| | |
| | | cursor: pointer; |
| | | } |
| | | |
| | | #luckysheet .save_i{ |
| | | margin-right: 20px; |
| | | font-size: 20px; |
| | | cursor: help; |
| | | } |
| | | |
| | | #luckysheet .save:hover { |
| | | opacity: .8; |
| | | } |
| | |
| | | cellFormat: false // 设置åå
æ ¼æ ¼å¼ |
| | | }, |
| | | option.myFolderUrl = this.LOCATIONVUE + '/', |
| | | option.functionButton = '<button onClick="excelClosed()" class="save">ä¿å</button>' |
| | | option.functionButton = '<i class="save_i el-icon-info" title="ç³»ç»æ¯æçåéï¼
åºå·
æ£éªé¡¹
æ£éªå项
设å¤åç§°
设å¤ç¼ç 
åä½
è¦æ±å¼
è¯éªæ¹æ³ | æ£æµæ¹æ³
æç»å¼
ç»è®º
计ç®å¼
æ£éªå¼"></i><button onClick="excelClosed()" class="save">ä¿å</button>' |
| | | luckysheet.create(option) |
| | | } |
| | | } |
| | |
| | | background-color: #fff; |
| | | height: 100%; |
| | | display: flex; |
| | | align-items: center; |
| | | align-items: right; |
| | | justify-content: end; |
| | | } |
| | | |
| | |
| | | <span class="required-span">* </span>æ¶æåç§°ï¼ |
| | | </el-col> |
| | | <el-col :span="16" :offset="1"> |
| | | <el-input v-model="addOb.name" placeholder="请è¾å
¥æ¶æåç§°" clearable size="small"></el-input> |
| | | <el-input v-model="addOb.name" placeholder="请è¾å
¥æ¶æåç§°" clearable size="small" @keyup.enter.native="addStandardTree"></el-input> |
| | | </el-col> |
| | | </el-row> |
| | | </div> |
| | |
| | | </span> |
| | | </el-dialog> |
| | | <el-dialog title="éæ©ç¨æ·" :visible.sync="selectUserDia" width="70%"> |
| | | <div class="search" style="margin-bottom: 9px;"> |
| | | <div class="search_thing"> |
| | | <div class="search_label">ç¨æ·åï¼</div> |
| | | <div class="search_input"><el-input size="small" placeholder="请è¾å
¥" clearable |
| | | v-model="componentData2.entity.name" @keyup.enter.native="$refs.ValueTable2.selectList()"></el-input></div> |
| | | </div> |
| | | </div> |
| | | <div class="body" style="height: 60vh;" v-if="selectUserDia"> |
| | | <ValueTable ref="ValueTable2" :url="$api.user.selectUserList" :componentData="componentData2"/> |
| | | </div> |
| | |
| | | expandedKeys: [], |
| | | selectUserDia: false, |
| | | componentData2: { |
| | | name: null, |
| | | entity: { |
| | | orderBy: { |
| | | field: 'id', |
| | |
| | | selectField: {}, |
| | | upUserDepardLimsIdPower: true |
| | | }, |
| | | currentCompaniesList: [] |
| | | } |
| | | }, |
| | | mounted() { |
| | |
| | | } |
| | | this.selectTree = data2.replace(' - ', '') |
| | | this.addOb.fatherId = val.id; |
| | | this.componentData.entity.departLimsId = val.id; |
| | | this.componentData.entity.departLimsId = val.id+','; |
| | | this.refreshTable() |
| | | }, |
| | | getNodeParent(val) { |
| | | if (val.parent != null) { |
| | | this.currentCompaniesList[val.level-1] = val.data.id |
| | | this.selectTree += ' - ' + val.label |
| | | this.getNodeParent(val.parent) |
| | | } |
| | |
| | | selects.forEach(a=>{ |
| | | ids.push(a.id) |
| | | }) |
| | | let str = '' |
| | | this.currentCompaniesList.forEach(a=>{ |
| | | str+=(a+',') |
| | | }) |
| | | this.selectUserDia = false |
| | | this.$axios.post(this.$api.user.upUserDepardLimsId,{ |
| | | ids: JSON.stringify(ids), |
| | | id: this.componentData.entity.departLimsId |
| | | id: str |
| | | }).then(res=>{ |
| | | if (res.code === 201) { |
| | | return |
| | |
| | | :upUrl="$api.StandardTemplate.upStandardTemplate" :delUrl="$api.StandardTemplate.delStandardTemplate" |
| | | :componentData="componentData" :key="upIndex" /> |
| | | </div> |
| | | <el-dialog title="模æ¿ç¼å¶" :visible.sync="isShow" width="80%" :before-close="isClose"> |
| | | <div style="width: 100%;height: 80vh;overflow: auto;" v-if="isShow"> |
| | | <el-dialog title="模æ¿ç¼å¶" :visible.sync="isShow" width="85%" :before-close="isClose"> |
| | | <div style="width: 100%;height: 82vh;overflow: auto;" v-if="isShow"> |
| | | <Excel :data="row.thing" :execlTitle="row.name" v-loading="loading"></Excel> |
| | | </div> |
| | | </el-dialog> |
| | |
| | | this.componentData.do.splice(1, 1) |
| | | } |
| | | if (!up) { |
| | | this.componentData.do.splice(2, 1) |
| | | this.componentData.do.splice(0, 1) |
| | | } |
| | | this.addPower = add |
| | | }, |
| | | templateWrite(row) { |
| | | this.$axios.get(this.$api.StandardTemplate.getEditTemplatePreparation + '?id=' + row.id).then(res => { |
| | | if(res.code != 200){ |
| | | return |
| | | } |
| | | this.row = row |
| | | this.row.thing = res.data |
| | | this.isShow = true |
| | |
| | | }, |
| | | methodList: [], |
| | | productTableLoading0: false, |
| | | filters0: [{ |
| | | text: 'æµè¯', |
| | | value: 0, |
| | | }, |
| | | { |
| | | text: 'æµè¯1', |
| | | value: 1, |
| | | }, |
| | | { |
| | | text: 'æµè¯2', |
| | | value: 2, |
| | | } |
| | | ], |
| | | filters1: [{ |
| | | text: 'æµè¯', |
| | | value: 0, |
| | | }, |
| | | { |
| | | text: 'æµè¯1', |
| | | value: 1, |
| | | }, |
| | | { |
| | | text: 'æµè¯2', |
| | | value: 2, |
| | | } |
| | | ], |
| | | filters0: [], |
| | | filters1: [], |
| | | pages: 1, |
| | | inspectionItem: null, |
| | | inspectionItemSubclass: null, |
| | |
| | | } |
| | | } |
| | | this.$axios.post(this.$api.standardTree.upStandardProducts, { |
| | | ids: this.moreSelects.map(a => a.id), |
| | | ids: JSON.stringify(this.moreSelects.map(a => a.id)), |
| | | standardProductList: this.moreInfo |
| | | }, { |
| | | headers: { |
| | |
| | | </el-row> |
| | | <el-row style="line-height: 50px;"> |
| | | <el-col :span="7" style="text-align: right;padding-right: 8px;"><span class="required-span">* |
| | | </span>åä½ENï¼</el-col> |
| | | <el-col :span="15"> |
| | | <el-input v-model="user.companyEn" size="small" clearable></el-input> |
| | | </el-col> |
| | | </el-row> |
| | | <el-row style="line-height: 50px;"> |
| | | <el-col :span="7" style="text-align: right;padding-right: 8px;"><span class="required-span">* |
| | | </span>å·¥ååï¼</el-col> |
| | | <el-col :span="15"> |
| | | <el-input v-model="user.code" size="small" clearable></el-input> |
| | |
| | | :autosize="{minRows: 2, maxRows: 4}"></el-input> |
| | | </el-col> |
| | | </el-row> |
| | | <el-row style="margin-top: 15px;"> |
| | | <el-col :span="7" style="text-align: right;padding-right: 8px;"><span class="required-span">* |
| | | </span>å°åENï¼</el-col> |
| | | <el-col :span="15"> |
| | | <el-input type="textarea" v-model="user.addressEn" size="small" clearable |
| | | :autosize="{minRows: 2, maxRows: 4}"></el-input> |
| | | </el-col> |
| | | </el-row> |
| | | </div> |
| | | <span slot="footer" class="dialog-footer"> |
| | | <el-button @click="addDia = false">å æ¶</el-button> |
| | |
| | | </span> |
| | | </el-dialog> |
| | | <el-dialog title="éæ©ç¨æ·" :visible.sync="selectUserDia" width="70%"> |
| | | <div class="search" style="height: 35px; margin-bottom: 9px;"> |
| | | <div class="search_thing"> |
| | | <div class="search_label">ç¨æ·åï¼</div> |
| | | <div class="search_input"><el-input size="small" placeholder="请è¾å
¥" clearable |
| | | v-model="componentData2.entity.name" @keyup.enter.native="$refs.ValueTable2.selectList()"></el-input></div> |
| | | </div> |
| | | </div> |
| | | <div class="body" style="height: 60vh;" v-if="selectUserDia"> |
| | | <ValueTable ref="ValueTable2" :url="$api.user.selectUserList" :componentData="componentData2" /> |
| | | </div> |
| | |
| | | this.$message.error('请填ååä½å°å') |
| | | return |
| | | } |
| | | if (this.user.companyEn == '' || this.user.companyEn == null) { |
| | | this.$message.error('请填åè±æå®¢æ·åä½') |
| | | return |
| | | } |
| | | if (this.user.addressEn == '' || this.user.addressEn == null) { |
| | | this.$message.error('请填åè±æåä½å°å') |
| | | return |
| | | } |
| | | this.loading = true |
| | | this.$axios.post(this.$api.user.addCustom, this.user, { |
| | | headers: { |
| | |
| | | <img src="../../../static/img/index-0.svg" alt=""> |
| | | </div> |
| | | <div class="mun"> |
| | | <p style="font-size: 20px;">0</p> |
| | | <p style="font-size: 20px;">{{getNumberFourTypes.totalNumberOfMessages}}</p> |
| | | <p style="font-size: 14px;margin-bottom: 10px;">æçå¾
å</p> |
| | | </div> |
| | | </div> |
| | |
| | | <img src="../../../static/img/index-1.svg" alt=""> |
| | | </div> |
| | | <div class="mun"> |
| | | <p style="font-size: 20px;">0</p> |
| | | <p style="font-size: 20px;">{{ getNumberFourTypes.remainingToDo }}</p> |
| | | <p style="font-size: 14px;margin-bottom: 10px;">å·²åäºå®</p> |
| | | </div> |
| | | </div> |
| | |
| | | <img src="../../../static/img/index-2.svg" alt=""> |
| | | </div> |
| | | <div class="mun"> |
| | | <p style="font-size: 20px;">0</p> |
| | | <p style="font-size: 20px;">{{ getNumberFourTypes.totalNumberOfReadMessages }}</p> |
| | | <p style="font-size: 14px;margin-bottom: 10px;">å©ä½å¾
å</p> |
| | | </div> |
| | | </div> |
| | |
| | | <img src="../../../static/img/index-3.svg" alt=""> |
| | | </div> |
| | | <div class="mun"> |
| | | <p style="font-size: 20px;">0</p> |
| | | <p style="font-size: 20px;">{{ getNumberFourTypes.totalNumberOfMessagesInThePastSevenDays }}</p> |
| | | <p style="font-size: 14px;margin-bottom: 10px;">è¿æäºå®</p> |
| | | </div> |
| | | </div> |
| | |
| | | finishLoding: false, // å è½½å®æï¼æ¾ç¤ºå·²ç»æ²¡ææ´å¤äº |
| | | timer:null, |
| | | keyMap:{}, |
| | | getNumberFourTypes: {}, |
| | | } |
| | | }, |
| | | watch:{ |
| | |
| | | this.getList(); |
| | | this.getScheduleByMe() |
| | | },1000*60*10) |
| | | this.getNumberFourTypesFun() |
| | | }, |
| | | methods: { |
| | | getNumberFourTypesFun() { |
| | | this.$axios.get(this.$api.informationNotification.getNumberFourTypesMessagesHomePage).then(res => { |
| | | this.getNumberFourTypes = res.data |
| | | }) |
| | | }, |
| | | getList(){ |
| | | const key = `_${this.currentPage}` |
| | | const value = this.keyMap[key] |
| | |
| | | font: 'ç¼è¾', |
| | | type: 'text', |
| | | method: 'doDiy', |
| | | field: ['createUserName', 'updateUserName', 'roleName', 'è§è²=roleId', 'å¯ç =password', |
| | | field: ['roleName', 'è§è²=roleId', 'å¯ç =password', |
| | | 'å§åEN=nameEn','å¹´é¾=age','é®ç®±=email','åä½=company','ç¾å=pictureUrl','æ¬äººç
§=signatureUrl'] |
| | | }], |
| | | tagField: { |
| | |
| | | this.addUserPower = addUserPower |
| | | }, |
| | | handleAdd() { |
| | | console.log(`output->this.addOb.fatherId`,this.addOb.fatherId) |
| | | console.log(`output->this.addOb.name`,this.addOb.name) |
| | | if (this.addOb.fatherId||this.addOb.name=='å
¨é¨') { |
| | | this.addDia0 = true; |
| | | this.addDia = true; |
| | | } else { |
| | | this.$message.error('è¯·éæ©ä¸ä¸ªæ¶æå±çº§') |
| | | } |
| | |
| | | } |
| | | this.selectTree = data2.replace(' - ', '') |
| | | this.addOb.fatherId = val.id; |
| | | this.componentData.entity.departId = val.id; |
| | | this.componentData.entity.departId = val.id + ','; |
| | | this.refreshTable() |
| | | }, |
| | | nodeOpen(data, node, el) { |
| | |
| | | return |
| | | } |
| | | this.$message.success('æ·»å æå') |
| | | this.addDia0 = false |
| | | this.addDia = false |
| | | this.selectTreeList() |
| | | this.addLoad = false |
| | | this.addOb.name = '' |
| | | this.addOb.fatherId = '' |
| | | }).catch(e => { |
| | | this.addDia0 = false |
| | | this.addDia = false |
| | | this.addLoad = false |
| | | }) |
| | | }, |
| | | nodeClick2(ob, node, el) { |
| | | this.currentCompaniesList[node.level-1] = ob.id |
| | | this.getNodeParent(node) |
| | | if (ob.id !== 'SC21') { |
| | | this.personLoad = true |
| | | this.$axios.post(this.$api.companies.selectSimpleList, { |
| | |
| | | }) |
| | | } |
| | | }, |
| | | getNodeParent(val){ |
| | | this.currentCompaniesList[val.level-1] = val.data.id |
| | | if(val.parent!=null){ |
| | | this.getNodeParent(val.parent) |
| | | } |
| | | }, |
| | | handleSelectionChange(val) { |
| | | this.multipleSelection = val; |
| | | }, |
| | |
| | | if(this.currentCompaniesList.length === 0){ |
| | | return this.$message.error('è¯·éæ©ç»ç»') |
| | | } |
| | | for (let index = this.currentCompaniesList.length-1; index >1; index--) { |
| | | /* for (let index = this.currentCompaniesList.length-1; index >1; index--) { |
| | | let obj = this.multipleSelection.find(a=>a.companyId==this.currentCompaniesList[index]) |
| | | if(!obj){ |
| | | this.currentCompaniesList.splice(index,1) |
| | | }else{ |
| | | return |
| | | } |
| | | } |
| | | } */ |
| | | let arr = [] |
| | | this.currentCompaniesList.forEach(b=>{ |
| | | /* this.companiesList.forEach(a=>{ |
| | | if(a.companyId===b){ |
| | | console.log(a) |
| | | } |
| | | }) */ |
| | | let obj = this.companiesList.find(a=>a.companyId==b) |
| | | arr.push(obj) |
| | | }) |
| | | }) |
| | | this.addLoad = true |
| | | this.$axios.post(this.$api.companies.addPersonUser, { |
| | | company: arr, |
| | |
| | | this.addLoad = false |
| | | this.personList = [] |
| | | this.userSearch2 = '' |
| | | this.refresh() |
| | | this.selectTreeList() |
| | | }).catch(e => { |
| | | this.addthirdParty = false |
| | | this.addLoad = false |
| | |
| | | title="æ¶æ¯éç¥" |
| | | :visible.sync="drawer" |
| | | :direction="direction" |
| | | :before-close="handleClose" style="height: 100vh;z-index: 9999999;"> |
| | | :before-close="handleClose" style="height: 100vh;z-index: 9999999;" size="450px"> |
| | | <div class="head"> |
| | | <div class="head-search"> |
| | | <label>æ¶æ¯ç±»åï¼</label> |