| | |
| | | selectSpBySt: "/rawInspect/selectSpBySt", //æ ¹æ®ææidæ¥è¯¢ææåå·, |
| | | addRawInspects: "/rawInspect/addRawInspects" |
| | | } |
| | | //ä¸åæ ¼åææ |
| | | const unqualifiedaa ={ |
| | | selectUnRawInspectsList: "/inspectUnaccepted/selectUnRawInspectsList" |
| | | } |
| | | |
| | | // æåæ£éª |
| | | const finishedIns = { |
| | |
| | | // listMaterial:"/finished-inspect/list_material",//æ·»å æ£éªåæ¶ç项ç®å表 |
| | | finishedInspectUser: "/finished-inspect/page_user", //è·åææä¸»æºå·¥ |
| | | projectListByfinishId: "/inspection-item/list_user", //æ ¹æ®idæ¥è¯¢ææé¡¹ç® |
| | | |
| | | } |
| | | |
| | | // QMSå®éªå®¤ç®¡ç |
| | |
| | | deleteDevice: "/device/delete", // å é¤å®éªå®¤è®¾å¤ |
| | | deleteIdorFather: "/device/deleteIdorFather" // å 餿 æ¨¡åæ°æ® |
| | | } |
| | | //ä¸åæ ¼åå¤ç½® |
| | | const dispose = { |
| | | gettable:"/opinion/list_page" |
| | | } |
| | | |
| | | const url = { |
| | | enter: "user/enter", //ç»å½ |
| | |
| | | ...raw, |
| | | ...laboratory, |
| | | ...finishedIns, |
| | | ...unqualifiedaa, |
| | | ...dispose, |
| | | // ...gettable, |
| | | selectSaleList: "sale/selectSaleList", //æ¥è¯¢éå®åå表 |
| | | selectSaleDatilById: "sale/selectSaleDatilById", //æ ¹æ®éå®åidæ¥ç详æ
, |
| | | selectSaleDatilById: "sale/selectSaleDatilById", //æ ¹æ®éå®åid |
| | | addSale: "sale/addSale", //æ°å¢éå®å, |
| | | seleRepe: "sale/seleRepe", //æ¥è¯¢æååºå |
| | | } |
| | |
| | | |
| | | |
| | | |
| | | <style scoped> |
| | | ::-webkit-scrollbar { |
| | | width: 8px; |
¶Ô±ÈÐÂÎļþ |
| | |
| | | <template> |
| | | <div> |
| | | <div class="article-main" style="overflow: hidden;"> |
| | | <el-row> |
| | | <el-col :span="12" style="line-height: 32px;">ä¸åæ ¼åå¤ç½®</el-col> |
| | | <el-col :span="12" style="text-align: right;"> |
| | | <el-button icon="el-icon-download" size="mini" @click="()=>{}">导åº</el-button> |
| | | </el-col> |
| | | </el-row> |
| | | <div> |
| | | |
| | | <div style="margin-top: 10px;"> |
| | | <el-card shadow="hover" class="margin-30"> |
| | | <el-form ref="form" :model="searchform" label-width="80px"> |
| | | <el-row :gutter="25"> |
| | | <el-col :span="7" > |
| | | <el-form-item label="产ååç§°:"> |
| | | <el-input v-model="searchform.name" placeholder="请è¾å
¥"></el-input> |
| | | </el-form-item> |
| | | </el-col> |
| | | <el-col :span="7" > |
| | | <el-form-item label="è§æ ¼åå·:"> |
| | | <el-input v-model="searchform.stude" placeholder="请è¾å
¥"></el-input> |
| | | </el-form-item> |
| | | </el-col> |
| | | <el-col :span="5"> |
| | | <el-button size="default" @click="">éç½®</el-button> |
| | | <el-button type="primary" size="default" style="background:0, 78, 162 ;" @click="getDetailInfo">æ¥è¯¢</el-button> |
| | | |
| | | </el-col> |
| | | </el-row> |
| | | </el-form> |
| | | </el-card> |
| | | </div> |
| | | |
| | | <div style="margin-top: 30px;"> |
| | | <el-card shadow="hover" class="margin-30"> |
| | | <el-table |
| | | ref="multipleTable" |
| | | :data="tableData" |
| | | tooltip-effect="dark" |
| | | style="width: 100%" |
| | | @selection-change="handleSelectionChange"> |
| | | <el-table-column |
| | | type="selection" |
| | | width="55"> |
| | | </el-table-column> |
| | | <el-table-column |
| | | label="æ¥æ" |
| | | width="120"> |
| | | <template slot-scope="scope">{{ scope.row.date }}</template> |
| | | </el-table-column> |
| | | <el-table-column |
| | | prop="name" |
| | | label="å§å" |
| | | width="120"> |
| | | </el-table-column> |
| | | <el-table-column |
| | | prop="address" |
| | | label="å°å" |
| | | show-overflow-tooltip> |
| | | </el-table-column> |
| | | </el-table> |
| | | </el-card> |
| | | <el-col style="height: 50px;display: flex;align-items: center;justify-content: right;"> |
| | | <el-pagination |
| | | @size-change="handleSizeChange" |
| | | @current-change="handleCurrentChange" |
| | | :current-page="4" |
| | | :page-sizes="[1,10, 20, 30, 50]" |
| | | :page-size="4" |
| | | layout="total, sizes, prev, pager, next, jumper" |
| | | :total="countSize"> |
| | | </el-pagination> |
| | | </el-col> |
| | | </div> |
| | | </div> |
| | | </div> |
| | | </div> |
| | | </template> |
| | | |
| | | |
| | | |
| | | <script> |
| | | export default { |
| | | data() { |
| | | return { |
| | | searchform:{ |
| | | name:'', |
| | | stude:'' |
| | | }, |
| | | tableData: [ |
| | | { |
| | | date: '2016-05-03', |
| | | name: 'çå°è', |
| | | address: '䏿µ·å¸æ®éåºéæ²æ±è·¯ 1518 å¼' |
| | | }, { |
| | | date: '2016-05-02', |
| | | name: 'çå°è', |
| | | address: '䏿µ·å¸æ®éåºéæ²æ±è·¯ 1518 å¼' |
| | | }, { |
| | | date: '2016-05-04', |
| | | name: 'çå°è', |
| | | address: '䏿µ·å¸æ®éåºéæ²æ±è·¯ 1518 å¼' |
| | | }, { |
| | | date: '2016-05-01', |
| | | name: 'çå°è', |
| | | address: '䏿µ·å¸æ®éåºéæ²æ±è·¯ 1518 å¼' |
| | | }, { |
| | | date: '2016-05-08', |
| | | name: 'çå°è', |
| | | address: '䏿µ·å¸æ®éåºéæ²æ±è·¯ 1518 å¼' |
| | | }, { |
| | | date: '2016-05-06', |
| | | name: 'çå°è', |
| | | address: '䏿µ·å¸æ®éåºéæ²æ±è·¯ 1518 å¼' |
| | | }, { |
| | | date: '2016-05-07', |
| | | name: 'çå°è', |
| | | address: '䏿µ·å¸æ®éåºéæ²æ±è·¯ 1518 å¼' |
| | | } |
| | | ], |
| | | pageSize:3, |
| | | countSize:1, |
| | | currentPage:2, |
| | | multipleSelection:'' |
| | | } |
| | | }, |
| | | created(){ |
| | | // this.getDetailInfo() |
| | | }, |
| | | methods:{ |
| | | handleSelectionChange(val) { |
| | | // console.log(val); |
| | | // this.multipleSelection = val; |
| | | }, |
| | | handleSizeChange(val) { |
| | | console.log(val); |
| | | // this.pageSize = 1 |
| | | // this.countSize= val |
| | | // this.getDetailInfo() |
| | | }, |
| | | handleCurrentChange(val) { |
| | | // this.pageSize = val |
| | | // this.getDetailInfo() |
| | | }, |
| | | getDetailInfo() { |
| | | let aa = [0,5] |
| | | aa.map(el =>{ |
| | | console.log(el); |
| | | }) |
| | | console.log(this.searchform.name); |
| | | console.log(this.searchform.stude); |
| | | // this.tableData |
| | | // this.axios.get(this.$api.url.gettable,{ |
| | | // params:{pageNo:10, |
| | | // pageSize:1, |
| | | // productName:this.searchform.name, |
| | | // specificationsModels:this.searchform.stude |
| | | // }, |
| | | // }).then(res=>{ |
| | | // console.log(res); |
| | | // this.tableData = res.data.row |
| | | // }) |
| | | } |
| | | }} |
| | | // methods:{ |
| | | // toggleSelection(rows) { |
| | | // if (rows) { |
| | | // rows.forEach(row => { |
| | | // this.$refs.multipleTable.toggleRowSelection(row); |
| | | // }); |
| | | // } else { |
| | | // this.$refs.multipleTable.clearSelection(); |
| | | // } |
| | | // }, |
| | | |
| | | // } |
| | | // } |
| | | |
| | | |
| | | </script> |
| | | <style scoped> |
| | | .card-2{ |
| | | display: flex; |
| | | margin-top: 30px; |
| | | } |
| | | |
| | | .ssss{ |
| | | background-color: #fff; |
| | | } |
| | | </style> |
| | |
| | | > |
| | | <template slot-scope="scope"> |
| | | <el-button type="text" size="small" @click="handleClick(scope.row)">æ¥ç</el-button> |
| | | <el-button type="text" size="small">æå°</el-button> |
| | | <el-button type="text" size="small" style="margin-left: 0;">æå°</el-button> |
| | | </template> |
| | | </el-table-column> |
| | | </el-table> |
| | |
| | | <el-row :gutter="450"> |
| | | <el-col :span="5"> |
| | | <el-form-item label="订åå·ï¼"> |
| | | <el-input style="width: 180px;" v-model="addInspectionform.number" placeholder="请è¾å
¥è®¢åå·" autocomplete="off" /> |
| | | <el-input style="width: 180px;" v-model="addInspectionform.number" placeholder="请è¾å
¥è®¢åå·" autocomplete="off" /> |
| | | </el-form-item> |
| | | </el-col> |
| | | <el-col :span="5"> |
| | |
| | | </el-table> |
| | | </div> |
| | | </div> |
| | | |
| | | |
| | | </div> |
| | | </template> |
| | | |
| | | |
| | | |
| | | |
| | | <script> |
| | | export default { |
| | | data(){ |
| | |
| | | operation: '' |
| | | }], |
| | | currentPage: 1, // å½å页ç |
| | | pageSize: 100, |
| | | pageSize: 100, |
| | | showAddPage: false, |
| | | addInspectionform: [{ |
| | | number: '', |
| | |
| | | this.showAddPage=true |
| | | } |
| | | } |
| | | |
| | | |
| | | } |
| | | </script> |
| | | |
| | | |
| | | <style> |
| | | .title{ |
| | | padding: 12px; |
| | | |
| | | |
| | | } |
| | | .nav{ |
| | | display: flex; |
| | |
| | | background-color: #fff; |
| | | padding: 10px 12px; |
| | | } |
| | | </style> |
| | | </style> |
| | |
| | | formTime: null, |
| | | createTime: null, |
| | | insState: 2, |
| | | judgeState: 2 |
| | | judgeState: 10 |
| | | }, |
| | | tableData: [], |
| | | selects: [], |
| | | currentPage: 1, |
| | | countSize: 0, |
| | | pageSize: 10 |
| | | pageSize: 2 |
| | | } |
| | | }, |
| | | props:['goDetail'], |
| | |
| | | <el-option v-for="item in materialOptions" :key="item.id" :label="item.name" :value="item.name"></el-option> |
| | | </el-select> |
| | | </el-form-item> |
| | | |
| | | |
| | | </el-col> |
| | | <el-col :span="7"> |
| | | <el-form-item label="è§æ ¼åå·:"> |
| | |
| | | </el-form-item> |
| | | </el-col> |
| | | <el-col :span="3"> |
| | | <el-form-item v-show="detailId===null" label="" label-width="100px"> |
| | | <el-form-item v-show="detailId===null" label="" label-width="50px"> |
| | | <el-button @click="addNewRawInspect">ä¿åæäº¤</el-button> |
| | | </el-form-item> |
| | | </el-col> |
| | | </el-row> |
| | | <el-row> |
| | | |
| | | |
| | | <el-col :span="7"> |
| | | <el-form-item v-show="detailId!==null" label="æ¥æ£æ¥æ:"> |
| | | <el-input :disabled="detailId!==null" v-model="detailInfo.createTime"></el-input> |
| | |
| | | <el-input :disabled="detailId!==null" v-model="detailInfo.userName"></el-input> |
| | | </el-form-item> |
| | | </el-col> |
| | | |
| | | |
| | | </el-row> |
| | | </el-form> |
| | | <!-- <el-form v-show="detailId ===null" v-model="rawInsParams" label-position="right" label-width="120px" > |
| | |
| | | <el-input placeholder="产åç¼ç " disabled v-model="code"></el-input> |
| | | </el-form-item> |
| | | </el-col> |
| | | |
| | | |
| | | </el-row> |
| | | <el-row> |
| | | <el-col :span="7"> |
| | |
| | | this.getDetailInfo() |
| | | }else{ |
| | | this.getOptions() |
| | | } |
| | | } |
| | | }, |
| | | mounted(){ |
| | | }, |
| | |
| | | this.getDetailInfo() |
| | | }, |
| | | async getOptions() { |
| | | // const {data} = await this.$axios.get(this.$api.url.listMaterial) |
| | | // const {data} = await this.$axios.get(this.$api.url.listMaterial) |
| | | // this.materialOptions = data |
| | | const {data} = await this.$axios.get(this.$api.url.selectRawMaterial) |
| | | const {data} = await this.$axios.get(this.$api.url.selectRawMaterial) |
| | | this.materialOptions = data |
| | | console.log(this.materialOptions) |
| | | }, |
| | |
| | | this.detailInfo.code = item.code |
| | | this.$axios.get(this.$api.url.selectSpBySt,{params:{id:item.id}}).then(res=>{ |
| | | this.specificationOptions= res.data |
| | | }) |
| | | }) |
| | | } |
| | | }) |
| | | } |
| | |
| | | max-height: 100%; |
| | | display: flex; |
| | | flex-direction: column; |
| | | overflow-y: scroll; |
| | | /* overflow-y: scroll; */ |
| | | } |
| | | .unqualifiedBox .title .el-button { |
| | | height: 32px; |
| | |
| | | margin-bottom: 10px; |
| | | padding: 0 20px; |
| | | } |
| | | /* æ¡ä»¶æ¥è¯¢å¤´é¨æ ·å¼ */ |
| | | <!-- /* æ¡ä»¶æ¥è¯¢å¤´é¨æ ·å¼ */ --> |
| | | .choose { |
| | | padding: 21px 24px; |
| | | display: flex; |
| | |
| | | border-bottom: 3px solid rgb(245, 247, 251); |
| | | } |
| | | |
| | | .choose * { |
| | | .choose { |
| | | font-size: 14px; |
| | | } |
| | | |
| | |
| | | box-shadow: 0px 2px 4px rgba(220, 220, 220, 0.41); |
| | | padding: 0 12px; |
| | | } |
| | | /* ä¸åæ ¼è¡¨æ ¼æ ·å¼ */ |
| | | <!-- /* ä¸åæ ¼è¡¨æ ¼æ ·å¼ */ |
| | | .unqualifiedTable{ |
| | | flex: 1; |
| | | background: #fff; |
| | | margin-top: 11px; |
| | | padding: 23px 21px; |
| | | } |
| | | .tableno{ |
| | | margin-top: 30px; |
| | | } |
| | | </style> |
| | | |
| | | <template> |
| | | <div class="unqualifiedBox"> |
| | | <div class="title"> |
| | | <el-row> |
| | | <el-col :span="12" style="line-height: 32px;">åææä¸åæ ¼</el-col> |
| | | <el-col :span="12" style="text-align: right;"> |
| | | <el-button icon="el-icon-download" @click="()=>{}">导åº</el-button> |
| | | </el-col> |
| | | </el-row> |
| | | |
| | | <div class="unqualifiedBox"> |
| | | <el-row> |
| | | <el-col :span="12" style="line-height: 32px;">åææä¸åæ ¼</el-col> |
| | | <el-col :span="12" style="text-align: right;"> |
| | | <el-button icon="el-icon-download" size="mini" @click="()=>{}">导åº</el-button> |
| | | </el-col> |
| | | </el-row> |
| | | <div style="margin-top: 10px;"> |
| | | <el-card shadow="hover" class="margin-30" style="height: 80px;"> |
| | | |
| | | <div class="choose" > |
| | | <span>å¤çç¶æï¼</span> |
| | | <el-select v-model="search.insState" size="small" placeholder="è¯·éæ©" style="width: 224px;margin-right: 30px;"> |
| | | <el-option label="å·²å¤ç" :value="2"></el-option> |
| | | <el-option label="å¾
å¤ç" :value="0"></el-option> |
| | | </el-select> |
| | | <span>æ¥ææ¥æï¼</span> |
| | | <el-date-picker v-model="search.createTime" size="small" placeholder="请è¾å
¥" |
| | | style="width: 224px;margin-right: 30px;" clearable value-format="yyyy-MM-dd"></el-date-picker> |
| | | <span>ä¾åºåï¼</span> |
| | | <el-select v-model="search.insState" size="small" placeholder="è¯·éæ©" style="width: 224px;margin-right: 30px;"> |
| | | <el-option label="å
¨é¨" :value="2"></el-option> |
| | | <el-option label="æªæ£æµ" :value="0"></el-option> |
| | | <el-option label="å·²æ£æµ" :value="1"></el-option> |
| | | </el-select> |
| | | <el-button size="mini" @click="clean()"><span>é ç½®</span></el-button> |
| | | <el-button size="mini" type="primary" style="background: #004EA2;" @click="selectRawInspectsList()"><span>æ¥ |
| | | 询</span></el-button> |
| | | |
| | | </div> |
| | | </el-card> |
| | | </div> |
| | | <div class="choose"> |
| | | <span>å¤çç¶æï¼</span> |
| | | <el-select v-model="search.insState" size="small" placeholder="è¯·éæ©" style="width: 224px;margin-right: 30px;"> |
| | | <el-option label="å·²å¤ç" :value="2"></el-option> |
| | | <el-option label="å¾
å¤ç" :value="0"></el-option> |
| | | </el-select> |
| | | <span>æ¥ææ¥æï¼</span> |
| | | <el-date-picker v-model="search.createTime" size="small" placeholder="请è¾å
¥" |
| | | style="width: 224px;margin-right: 30px;" clearable value-format="yyyy-MM-dd"></el-date-picker> |
| | | <span>ä¾åºåï¼</span> |
| | | <el-select v-model="search.insState" size="small" placeholder="è¯·éæ©" style="width: 224px;margin-right: 30px;"> |
| | | <el-option label="å
¨é¨" :value="2"></el-option> |
| | | <el-option label="æªæ£æµ" :value="0"></el-option> |
| | | <el-option label="å·²æ£æµ" :value="1"></el-option> |
| | | </el-select> |
| | | <el-button size="mini" @click="clean()"><span>é ç½®</span></el-button> |
| | | <el-button size="mini" type="primary" style="background: #004EA2;" @click="selectRawInspectsList()"><span>æ¥ |
| | | 询</span></el-button> |
| | | <div class="tableno" style="height:300px"> |
| | | <!-- <el-table :data=" unqualifiedTable" border style ="width: 100%;overflow-y: auto;min-height: calc(100% - 50px)" |
| | | max-height="calc(100% - 50px)" row-key="id" |
| | | :tree-props="{children: 'children', hasChildren: 'hasChildren'}"> --> |
| | | <el-card shadow="hover" class="margin-30"> |
| | | |
| | | <el-table :data=" unqualifiedTable" border ref="multipleTable" tooltip-effect="dark" |
| | | style="width: 100%" @selection-change="handleSelectionChange"> |
| | | |
| | | <el-table-column |
| | | type="selection" |
| | | width="50"> |
| | | </el-table-column> |
| | | <el-table-column |
| | | type="index" |
| | | label="åºå·" |
| | | > |
| | | </el-table-column> |
| | | <el-table-column |
| | | prop="æ¥ææ¥æ" |
| | | label="æ¥ææ¥æ" |
| | | > |
| | | </el-table-column> |
| | | <el-table-column |
| | | prop="reason" |
| | | label="缺é·åç§°" |
| | | > |
| | | </el-table-column> |
| | | <el-table-column |
| | | prop="material_code" |
| | | label="ææç¼ç " |
| | | > |
| | | </el-table-column> |
| | | <el-table-column |
| | | prop="id" |
| | | label="ææåç§°"> |
| | | </el-table-column> |
| | | <el-table-column |
| | | prop="specifications_model" |
| | | label="è§æ ¼åå·" |
| | | > |
| | | </el-table-column> |
| | | <el-table-column |
| | | prop="unit" |
| | | label="åä½" |
| | | > |
| | | </el-table-column> |
| | | <el-table-column |
| | | prop="quantity" |
| | | label="æ°é" |
| | | > |
| | | </el-table-column> |
| | | <el-table-column |
| | | prop="æ¥æ£æ¥æ" |
| | | label="æ¥æ£æ¥æ" |
| | | > |
| | | </el-table-column> |
| | | <el-table-column |
| | | prop="name" |
| | | label="æ¥æ£äºº" |
| | | > |
| | | </el-table-column> |
| | | <el-table-column |
| | | prop="æ¥æ£æ¥æ" |
| | | label="æ¥æ£æ¥æ" |
| | | > |
| | | </el-table-column> |
| | | <el-table-column |
| | | prop="deal_state" |
| | | label="å¤çç¶æ" |
| | | width="100"> |
| | | <template slot-scope="scope"> |
| | | <span style="color:#34BD66;" v-if="scope.row.deal_state==1">å·²å¤ç</span> |
| | | <span style="color:#E84738;" v-else-if="scope.row.deal_state==0">å¾
å¤ç</span> |
| | | </template> |
| | | </el-table-column> |
| | | <el-table-column |
| | | prop="deal_reasult" |
| | | label="å¤çç»æ" |
| | | width="100"> |
| | | |
| | | <template slot-scope="scope"> |
| | | <span style="color:#34BD66;" v-if="scope.row.deal_reasult==1">ä¸éè¿</span> |
| | | <span style="color:#E84738;" v-else-if="scope.row.deal_reasult==0">éè¿</span> |
| | | </template> |
| | | </el-table-column> |
| | | <el-table-column |
| | | label="æä½" |
| | | width="100" |
| | | > |
| | | <template slot-scope="scope"> |
| | | <div style="display: flex;"> |
| | | <el-button type="text" siae="small" size="mini">è¯å®¡</el-button> |
| | | <el-button type="text" siae="small" size="mini" style=" color:87, 138, 193 ;" @click="">æ¥ç</el-button> |
| | | </div> |
| | | </template> |
| | | </el-table-column> |
| | | |
| | | |
| | | </el-table> |
| | | </el-card> |
| | | <el-col style="height: 50px;display: flex;align-items: center;justify-content: right;"> |
| | | <el-pagination |
| | | @size-change="handleSizeChange" |
| | | @current-change="handleCurrentChange" |
| | | :current-page="currentPage" |
| | | :page-sizes="[1,10, 20, 30, 50]" |
| | | :page-size="pageSize" |
| | | layout="total, sizes, prev, pager, next, jumper" |
| | | :total="countSize"> |
| | | </el-pagination> |
| | | </el-col> |
| | | </div> |
| | | <div class="unqualifiedTable"> |
| | | <el-table :data="unqualifiedData" height="620"> |
| | | <el-table-column |
| | | type="selection" |
| | | width="55"> |
| | | </el-table-column> |
| | | <el-table-column |
| | | type="index" |
| | | label="åºå·" |
| | | width="60"> |
| | | </el-table-column> |
| | | <el-table-column |
| | | prop="name" |
| | | label="缺é·åç§°" |
| | | width="97"> |
| | | </el-table-column> |
| | | <el-table-column |
| | | prop="address" |
| | | label="ææç¼ç " |
| | | width="141"> |
| | | </el-table-column> |
| | | <el-table-column |
| | | prop="name" |
| | | label="ææåç§°" |
| | | width="214"> |
| | | </el-table-column> |
| | | <el-table-column |
| | | prop="address" |
| | | label="è§æ ¼åå·"> |
| | | </el-table-column> |
| | | <el-table-column |
| | | prop="address" |
| | | label="åä½" |
| | | width="250"> |
| | | </el-table-column> |
| | | <el-table-column |
| | | prop="address" |
| | | label="æ°é" |
| | | width="75"> |
| | | </el-table-column> |
| | | <el-table-column |
| | | prop="address" |
| | | label="æ¥æ£æ¥æ" |
| | | width="128"> |
| | | </el-table-column> |
| | | <el-table-column |
| | | prop="address" |
| | | label="æ¥æ£äºº" |
| | | width="78"> |
| | | </el-table-column> |
| | | <el-table-column |
| | | prop="address" |
| | | label="å¤çæ¥æ" |
| | | width="120"> |
| | | </el-table-column> |
| | | <el-table-column |
| | | prop="address" |
| | | label="å¤çç¶æ" |
| | | width="100"> |
| | | </el-table-column> |
| | | <el-table-column |
| | | prop="address" |
| | | label="å¤çç»æ" |
| | | width="100"> |
| | | </el-table-column> |
| | | <el-table-column |
| | | prop="address" |
| | | label="æä½" |
| | | width="118"> |
| | | </el-table-column> |
| | | </el-table> |
| | | <el-col style="height: 50px;display: flex;align-items: center;justify-content: right;"> |
| | | <el-pagination |
| | | :current-page="currentPage" |
| | | :page-sizes="[10, 20, 30, 50]" |
| | | :page-size="pageSize" |
| | | layout="total, sizes, prev, pager, next, jumper" |
| | | :total="countSize"> |
| | | </el-pagination> |
| | | </el-col> |
| | | </div> |
| | | </div> |
| | | </div> |
| | | |
| | | </template> |
| | | |
| | | <script> |
| | | |
| | | export default { |
| | | data() { |
| | | |
| | | return { |
| | | // æç´¢æ¡ä»¶ |
| | | search:{}, |
| | | unqualifiedData:[ |
| | | { |
| | | date: '2016-05-02', |
| | | name: 'çå°è', |
| | | address: '䏿µ·å¸' |
| | | }, { |
| | | date: '2016-05-04', |
| | | name: 'çå°è', |
| | | address: '䏿µ·å¸' |
| | | }, { |
| | | date: '2016-05-01', |
| | | name: 'çå°è', |
| | | address: '䏿µ·å¸' |
| | | }, { |
| | | date: '2016-05-03', |
| | | name: 'çå°è', |
| | | address: '䏿µ·å¸' |
| | | }, { |
| | | date: '2016-05-04', |
| | | name: 'çå°è', |
| | | address: '䏿µ·å¸' |
| | | }, { |
| | | date: '2016-05-01', |
| | | name: 'çå°è', |
| | | address: '䏿µ·å¸' |
| | | }, { |
| | | date: '2016-05-03', |
| | | name: 'çå°è', |
| | | address: '䏿µ·å¸' |
| | | }, { |
| | | date: '2016-05-04', |
| | | name: 'çå°è', |
| | | address: '䏿µ·å¸' |
| | | }, { |
| | | date: '2016-05-01', |
| | | name: 'çå°è', |
| | | address: '䏿µ·å¸' |
| | | }, { |
| | | date: '2016-05-03', |
| | | name: 'çå°è', |
| | | address: '䏿µ·å¸' |
| | | }, { |
| | | date: '2016-05-04', |
| | | name: 'çå°è', |
| | | address: '䏿µ·å¸' |
| | | }, { |
| | | date: '2016-05-01', |
| | | name: 'çå°è', |
| | | address: '䏿µ·å¸' |
| | | }, { |
| | | date: '2016-05-03', |
| | | name: 'çå°è', |
| | | address: '䏿µ·å¸' |
| | | } |
| | | ], |
| | | countSize:1, |
| | | pageSize:10, |
| | | currentPage:1 |
| | | search:{ |
| | | formTime: "null", |
| | | deal_state:2, |
| | | deal_reasult:2, |
| | | }, |
| | | unqualifiedTable:[], |
| | | // articlelist:[] , |
| | | selects:[], |
| | | countSize: 0, |
| | | pageSize: 2, |
| | | currentPage: 10 |
| | | |
| | | |
| | | } |
| | | }, |
| | | props:['godata'], |
| | | created(){ |
| | | this.getDetailInfo() |
| | | }, |
| | | mounted() { |
| | | this.getDetailInfo() |
| | | }, |
| | | methods:{ |
| | | |
| | | handleSizeChange(val) { |
| | | this.pageSize = 1 |
| | | this.countSize= val |
| | | this.getDetailInfo() |
| | | }, |
| | | handleCurrentChange(val) { |
| | | this.pageSize = val |
| | | this.getDetailInfo() |
| | | }, |
| | | |
| | | getDetailInfo() { |
| | | // console.log(this.$api.url.selectUnRawInspectsList); |
| | | |
| | | this.axios.get(this.$api.url.selectUnRawInspectsList, { |
| | | params:{countSize:this.currentPage, pageSize:this.pageSize}, |
| | | // pageSize: this.currentPage, |
| | | // countSize: this.pageSize, |
| | | // formTime: this.search.formTime, |
| | | // deal_state: this.search. deal_state, |
| | | // deal_reasult: this.search.deal_reasult, |
| | | }).then(res=>{ |
| | | // console.log(res); |
| | | this.unqualifiedTable = res.data.row |
| | | // console.log(this.unqualifiedTable); |
| | | // this.countSize = res.data.count |
| | | // console.log(111); |
| | | |
| | | }) |
| | | }, |
| | | changeShowDetail({id}){ |
| | | this.godata() |
| | | |
| | | } |
| | | } |
| | | } |
| | | </script> |
| | | |
| | | </script> |
| | | |
| | | |
| | | |
| | | |
| | |
| | | |
| | | <script> |
| | | import Unqualified from './rawUnqualified/raw.vue' |
| | | // import Unqualified from './rawUnqualified/Subqualified.vue' |
| | | |
| | | export default { |
| | | components:{Unqualified} |
| | | } |
| | | </script> |
| | | </script> |
| | |
| | | Vue.use(qs); |
| | | Vue.use(api); |
| | | |
| | | const javaApi = 'http://localhost:8001/' |
| | | const javaApi = 'http://192.168.110.167:8001/' |
| | | |
| | | axios.defaults.baseURL = javaApi |
| | | axios.defaults.headers.post['Content-Type'] = 'application/x-www-form-urlencoded;charset=UTF-8' |
| | |
| | | el: '#app', |
| | | router, |
| | | render: h => h(App) |
| | | }); |
| | | }); |
| | |
| | | k: 10.2, |
| | | v: "ä¸åæ ¼åå¤ç½®", |
| | | i: "font icon-shouye", |
| | | u: "" |
| | | u: "Processingproducts" |
| | | } |
| | | ] |
| | | }, |