Merge remote-tracking branch 'origin/master'
| | |
| | | ENV = 'development' |
| | | |
| | | # base api |
| | | VUE_APP_BASE_API = 'http://localhost:1234/' |
| | | VUE_APP_BASE_API = 'http://192.168.110.107:1234/' |
| | |
| | | "nprogress": "0.2.0", |
| | | "path-to-regexp": "2.4.0", |
| | | "postcss-pxtorem": "^5.1.1", |
| | | "print-js": "^1.6.0", |
| | | "vue": "2.6.10", |
| | | "vue-clipboard2": "^0.3.3", |
| | | "vue-router": "3.0.6", |
| | |
| | | method: 'post', |
| | | data |
| | | }) |
| | | } |
| | | } |
| | | //æ£éªå详æ
|
| | | export function selectInspectsListById(params){ |
| | | return request({ |
| | | url: '/inspection/selectInspectsListById', |
| | | method: 'get', |
| | | params |
| | | }) |
| | | } |
| | | //éæ©è´£ä»»é¡¹ç®æ£éªäºº |
| | | export function selectUser(params){ |
| | | return request({ |
| | | url: '/inspection/selectUser', |
| | | method: 'get', |
| | | params |
| | | }) |
| | | } |
| | | // å§ææ£éªå表 |
| | | export function getCommisionList(params) { |
| | | return request({ |
| | | url: '/link-basic-table/page', |
| | | method: 'get', |
| | | params |
| | | }) |
| | | } |
| | |
| | | }) |
| | | |
| | | } |
| | | |
| | | //è§æ ¼åå· |
| | | export function getModelSpecification(params){ |
| | | return request({ |
| | | url: '/link-basic/specification', |
| | |
| | | }) |
| | | } |
| | | |
| | | //è·åææçæ¬ |
| | | export function getVersion(params){ |
| | | return request({ |
| | | url: '/product/chooseVersion', |
| | | method: 'get', |
| | | params |
| | | }) |
| | | } |
| | | |
| | | //æ·»å åä¸ä¸ªåå·çå
¶ä»çæ¬ |
| | | export function addVersion(params){ |
| | | return request({ |
| | | url: '/product/addVersion', |
| | | method: 'post', |
| | | params |
| | | }) |
| | | } |
| | | |
| | | // è·åææé¡¹ç® |
| | | export function getProductList(params) { |
| | | return request({ |
¶Ô±ÈÐÂÎļþ |
| | |
| | | <template> |
| | | <div class="preview-main"> |
| | | <div class="logo"> |
| | | <img :src="logoSrc" /> |
| | | </div> |
| | | <div class="center"> |
| | | <h1>åæææ£æµæ¥å</h1> |
| | | <table> |
| | | <tr> |
| | | <td>ææåç§°</td> |
| | | <td colspan="5"></td> |
| | | </tr> |
| | | <tr> |
| | | <td>è§æ ¼åå·</td> |
| | | <td colspan="2"></td> |
| | | <td>ææåå®¶</td> |
| | | <td colspan="2"></td> |
| | | </tr> |
| | | <tr> |
| | | <td>æææ¹å·</td> |
| | | <td colspan="2"></td> |
| | | <td>æ£æµç¼å·</td> |
| | | <td colspan="2"></td> |
| | | </tr> |
| | | <tr> |
| | | <td>æ£æµä¾æ®</td> |
| | | <td colspan="2"></td> |
| | | <td>æ£æµç±»å«</td> |
| | | <td colspan="2"></td> |
| | | </tr> |
| | | <tr> |
| | | <td>åºå·</td> |
| | | <td>æ£éªé¡¹ç®</td> |
| | | <td>åä½</td> |
| | | <td>æ åè¦æ±</td> |
| | | <td>æ£æµç»æ</td> |
| | | <td>å项夿</td> |
| | | </tr> |
| | | <tr v-for="item in 15" :key="item"> |
| | | <td>{{item}}</td> |
| | | <td></td> |
| | | <td></td> |
| | | <td></td> |
| | | <td></td> |
| | | <td></td> |
| | | </tr> |
| | | <tr> |
| | | <td colspan="6">æ£éªç»è®ºï¼</td> |
| | | </tr> |
| | | <tr> |
| | | <td colspan="6"> |
| | | 注ï¼âââ表示该项ç®åæ ¼ï¼âÃâ表示该项ç®ä¸åæ ¼âââ表示该项ç®ä¸è¦æ±æ£æµã |
| | | </td> |
| | | </tr> |
| | | </table> |
| | | <el-row class="date-group" :gutter="20"> |
| | | <el-col :span="8">æ£æµãæ¥æï¼<span>2023-08-25</span></el-col> |
| | | <el-col :span="8">å®¡æ ¸ãæ¥æï¼<span>2023-08-25</span></el-col> |
| | | <el-col :span="8">æ¹åãæ¥æï¼<span>2023-08-25</span></el-col> |
| | | </el-row> |
| | | <p class="footer"> |
| | | <span>ç¼å·:</span><span>ZTT/ICSRCP18-003</span> |
| | | <span> åè¡æ¥æ:</span><span>2023-08-25</span> |
| | | <span> åè¡é¨é¨:</span><span>è´¨éé¨</span> |
| | | <span> ä¿åæé:</span><span>é¿æ</span> |
| | | </p> |
| | | </div> |
| | | </div> |
| | | </template> |
| | | <script> |
| | | export default({ |
| | | data() { |
| | | return { |
| | | logoSrc : require("@/assets/404_images/logo.png"), |
| | | } |
| | | } |
| | | }) |
| | | </script> |
| | | <style scoped lang="scss"> |
| | | .preview-main{ |
| | | margin: 0; |
| | | padding: 0; |
| | | width:90%; |
| | | margin-left: 5%; |
| | | .logo{ |
| | | img{ |
| | | width: 150px; |
| | | height: 60px; |
| | | } |
| | | } |
| | | .center{ |
| | | width: 100%; |
| | | h1{ |
| | | width:100%; |
| | | font-family: "微软é
é»" !important; |
| | | text-align: center; |
| | | } |
| | | table{ |
| | | width:100%; |
| | | height:100vh; |
| | | border-collapse: collapse; |
| | | font-size: 18px; |
| | | } |
| | | table,tr,th,td{ |
| | | border: 2px solid black; |
| | | } |
| | | tr,td,th{ |
| | | padding: 15px 20px; |
| | | } |
| | | .date-group .el-col{ |
| | | text-align: center; |
| | | padding: 50px 0px; |
| | | font-size: 18px; |
| | | } |
| | | .footer{ |
| | | margin: 0; |
| | | padding: 0; |
| | | width:90%; |
| | | margin-left: 5%; |
| | | color: gray; |
| | | text-align: center; |
| | | margin-top: 250px; |
| | | } |
| | | } |
| | | } |
| | | </style> |
| | |
| | | </el-dropdown-item> |
| | | </el-dropdown-menu> |
| | | </el-dropdown> |
| | | <el-dialog title="ä¿®æ¹å¯ç " :visible.sync="dialogFormVisible" :append-to-body="true"> |
| | | <el-dialog title="ä¿®æ¹å¯ç " :visible.sync="dialogFormVisible" :append-to-body="true" width="40%"> |
| | | <el-form :model="form"> |
| | | <el-form-item label="æ§å¯ç " :label-width="formLabelWidth"> |
| | | <el-input v-model="form.oldPwd" autocomplete="off"></el-input> |
| | |
| | | import echarts from 'echarts' |
| | | Vue.prototype.$echarts = echarts |
| | | |
| | | import print from 'print-js' |
| | | |
| | | import '@/icons' // icon |
| | | import '@/permission' // permission control |
| | |
| | | { |
| | | path: 'message', |
| | | name: 'Message', |
| | | // hidden: true, |
| | | component: () => import('@/views/message/message/index'), |
| | | // meta: { title: 'æçæ¶æ¯', icon: 'table' } |
| | | }, |
| | |
| | | |
| | | // if the custom code is not 20000, it is judged as an error. |
| | | if (res.code !== 200) { |
| | | console.log(res.message || 'Error') |
| | | // Message({ |
| | | // message: res.message || 'Error', |
| | | // type: 'error', |
| | |
| | | }, |
| | | } |
| | | }, |
| | | mounted(){ |
| | | // this.initLeaderStatiChart(""); |
| | | this.initLeaderTimelyChart("leaderTimely"); |
| | | this.initTesterStatiChart("testerStati"); |
| | | this.initTesterTimelyChart("testerTimely"); |
| | | }, |
| | | mounted(){}, |
| | | methods: { |
| | | async queryData(){ |
| | | let date = this.formInline.date; |
| | |
| | | series: [ |
| | | { |
| | | name: '已宿', |
| | | barWidth: '20%', |
| | | barWidth: '30%', |
| | | type: 'bar', |
| | | stack: 'one', |
| | | emphasis: emphasisStyle, |
| | |
| | | option && myChart.setOption(option); |
| | | }, |
| | | initTesterStatiChart(id,executeMater){ |
| | | console.log("qqq----",executeMater); |
| | | var chartDom = document.getElementById(id); |
| | | var myChart = echarts.init(chartDom); |
| | | window.addEventListener('resize', function() { |
| | | myChart.resize(); |
| | | }); |
| | | var option; |
| | | |
| | | let max = 0; |
| | | let xAxisData = []; |
| | | let data1 = []; |
| | | let data2 = []; |
| | | // for(let i=0;i<executeMater.length;i++){ |
| | | // xAxisData.push(executeMater[i].name); |
| | | // data1.push(executeMater[i].finsh); |
| | | // data2.push(executeMater[i].unfinsh); |
| | | // } |
| | | for(let i=0;i<executeMater.length;i++){ |
| | | xAxisData.push(executeMater[i].name); |
| | | data1.push(executeMater[i].finsh); |
| | | data2.push(executeMater[i].unfinsh); |
| | | let sum = executeMater[i].finsh + executeMater[i].unfinsh; |
| | | if(sum > max){ |
| | | max = sum; |
| | | } |
| | | } |
| | | var emphasisStyle = { |
| | | itemStyle: { |
| | | shadowBlur: 10, |
| | |
| | | }, |
| | | yAxis: { |
| | | min: 0, |
| | | max: 60, |
| | | interval: 10, |
| | | max: max, |
| | | interval: 1, |
| | | }, |
| | | grid: { |
| | | bottom: 100 |
| | |
| | | name: 'æ°æ®1', |
| | | type: 'bar', |
| | | stack: 'one', |
| | | barWidth: '30%', |
| | | emphasis: emphasisStyle, |
| | | data: data1, |
| | | itemStyle:{ |
| | |
| | | name: 'æ°æ®2', |
| | | type: 'bar', |
| | | stack: 'one', |
| | | barWidth: '30%', |
| | | emphasis: emphasisStyle, |
| | | data: data2, |
| | | itemStyle:{ |
| | |
| | | myChart.resize(); |
| | | }); |
| | | var option; |
| | | let xAxisData = []; |
| | | let data1 = []; |
| | | let data2 = []; |
| | | let yAxisData1 = 0; |
| | | for(let i=0;i<dutyTimely.length;i++){ |
| | | xAxisData.push(dutyTimely[i].name); |
| | | data1.push(dutyTimely[i].total); |
| | | data2.push(dutyTimely[i].timely); |
| | | if(dutyTimely[i].total > yAxisData1){ |
| | | yAxisData1 = dutyTimely[i].total; |
| | | } |
| | | } |
| | | option = { |
| | | tooltip: { |
| | | trigger: 'axis', |
| | |
| | | { |
| | | name: 'å§å', |
| | | type: 'category', |
| | | data: ['æ²ç§',], |
| | | data: xAxisData, |
| | | axisPointer: { |
| | | type: 'shadow' |
| | | }, |
| | | itemStyle: { |
| | | top: '20px' |
| | | } |
| | | } |
| | | ], |
| | | yAxis: [ |
| | |
| | | type: 'value', |
| | | name: 'æ°é', |
| | | min: 0, |
| | | max: 10, |
| | | max: yAxisData1, |
| | | interval: 1, |
| | | axisLabel: { |
| | | formatter: '{value}' |
| | |
| | | { |
| | | name: 'æ ·åæ°', |
| | | type: 'bar', |
| | | barWidth: '20%', |
| | | barWidth: '30%', |
| | | tooltip: { |
| | | valueFormatter: function (value) { |
| | | return value; |
| | | } |
| | | }, |
| | | data: [4.0], |
| | | data: data1, |
| | | itemStyle: { |
| | | color: '#9fceff' |
| | | } |
| | |
| | | { |
| | | name: '宿忶ç', |
| | | type: 'line', |
| | | yAxisIndex: 1, |
| | | tooltip: { |
| | | valueFormatter: function (value) { |
| | | return value + ' %'; |
| | | } |
| | | }, |
| | | data: [7.5], |
| | | data: [{value:20},{value:40}], |
| | | itemStyle: { |
| | | color: '#d2eec5' |
| | | } |
| | | }, |
| | | ] |
| | | }; |
| | | |
| | | option && myChart.setOption(option); |
| | | }, |
| | | initTesterTimelyChart(id,executeTimely){ |
| | |
| | | myChart.resize(); |
| | | }); |
| | | var option; |
| | | let xAxisData = []; |
| | | let data1 = []; |
| | | let data2 = []; |
| | | let yAxisData1 = 0; |
| | | for(let i=0;i<executeTimely.length;i++){ |
| | | xAxisData.push(executeTimely[i].name); |
| | | data1.push(executeTimely[i].total); |
| | | data2.push(executeTimely[i].timely); |
| | | if(executeTimely[i].total > yAxisData1){ |
| | | yAxisData1 = executeTimely[i].total; |
| | | } |
| | | } |
| | | option = { |
| | | tooltip: { |
| | | trigger: 'axis', |
| | |
| | | xAxis: [ |
| | | { |
| | | type: 'category', |
| | | data: ["","",""], |
| | | data: xAxisData, |
| | | axisPointer: { |
| | | type: 'shadow' |
| | | } |
| | |
| | | type: 'value', |
| | | name: '', |
| | | min: 0, |
| | | max: 50, |
| | | interval: 5, |
| | | max: yAxisData1, |
| | | interval: 1, |
| | | axisLabel: { |
| | | formatter: '{value}' |
| | | } |
| | |
| | | { |
| | | name: 'é¡¹ç®æ°', |
| | | type: 'bar', |
| | | barWidth: '30%', |
| | | tooltip: { |
| | | valueFormatter: function (value) { |
| | | return value ; |
| | | } |
| | | }, |
| | | data: [2.0, 4.9, 7.0], |
| | | data: data1, |
| | | itemStyle: { |
| | | color: '#5087ec' |
| | | } |
| | |
| | | return value + ' %'; |
| | | } |
| | | }, |
| | | data: [2.0, 2.2, 3.3], |
| | | data: data2, |
| | | itemStyle: { |
| | | color: '#68bbc4' |
| | | } |
| | |
| | | > |
| | | </div> |
| | | </div> |
| | | <el-dialog |
| | | top="10vh" |
| | | title="æ¥åé¢è§" |
| | | :visible.sync="dialogVisible" |
| | | width="60%"> |
| | | <span slot="footer" class="dialog-footer"> |
| | | <el-button type="primary" size="small" @click="printFun()">æå°</el-button> |
| | | </span> |
| | | <div class="printStyle"> |
| | | <preview id="printDiv"></preview> |
| | | </div> |
| | | </el-dialog> |
| | | <div class="table-box"> |
| | | <el-table |
| | | ref="reportTable" |
| | |
| | | <el-button |
| | | type="text" |
| | | size="small" |
| | | @click="handleClick(scope.row)" |
| | | >é¢è§</el-button |
| | | @click="previewFun(scope.row)" |
| | | >æ¥çæ¥å</el-button |
| | | > |
| | | <el-button type="text" size="small">æå°</el-button> |
| | | </template> |
| | | </el-table-column> |
| | | </el-table> |
| | |
| | | |
| | | <script> |
| | | import { selectAllReport } from "@/api/experiment/checkTheReport"; |
| | | import Preview from "@/components/experiment/checkTheReport/index.vue"; |
| | | import PrintJS from 'print-js' |
| | | export default { |
| | | data() { |
| | | return { |
| | |
| | | total: 0, |
| | | pageSize: 10, |
| | | checked: true, |
| | | dialogVisible: false, |
| | | }; |
| | | }, |
| | | created() { |
| | | this.getData(); |
| | | }, |
| | | mounted(){ |
| | | // this.dialogVisible = true; |
| | | }, |
| | | components:{ |
| | | Preview |
| | | }, |
| | | methods: { |
| | | //é¢è§æé® |
| | | previewFun(){ |
| | | this.dialogVisible = true; |
| | | }, |
| | | //æå°æé® |
| | | printFun(){ |
| | | PrintJS({ |
| | | printable: "printDiv", |
| | | type: "html", |
| | | // header: "åæææ£æµæ¥å", |
| | | targetStyles: ["*"], |
| | | ignoreElements: ["no-ignore"], |
| | | }); |
| | | }, |
| | | // ç¶ææé® |
| | | handleRadioChange() { |
| | | this.getData(); |
| | |
| | | }; |
| | | const { data } = await selectAllReport(params); |
| | | this.reportTable = data.row; |
| | | console.log(data.row); |
| | | this.total = data.total; |
| | | }, |
| | | }, |
| | |
| | | margin: 10px 0; |
| | | } |
| | | } |
| | | .printStyle{ |
| | | overflow: scroll; |
| | | height:600px; |
| | | .el-button{ |
| | | position: absolute; |
| | | top: 10vh; |
| | | left: 90%; |
| | | } |
| | | } |
| | | } |
| | | </style> |
| | |
| | | <el-form ref="form" :model="searchData" label-width="80px"> |
| | | <el-col :span="6"> |
| | | <el-form-item label="æ¥ææ¥æ:" > |
| | | <el-input :disabled="true" v-model="searchData.from_time"></el-input> |
| | | <el-input :disabled="true" v-model="searchData.formTime"></el-input> |
| | | |
| | | </el-form-item> |
| | | </el-col> |
| | |
| | | </el-col> |
| | | <el-col :span="6"> |
| | | <el-form-item label="产åç¼å·:"> |
| | | <el-input :disabled="true" v-model="searchData.mcode"></el-input> |
| | | <el-input :disabled="true" v-model="searchData.code"></el-input> |
| | | </el-form-item> |
| | | </el-col> |
| | | </el-form> |
| | |
| | | <el-col :span="6"> |
| | | |
| | | <el-form-item label="ç»è®°æ¥æ:"> |
| | | <el-input :disabled="true" v-model="searchData.end_time"></el-input> |
| | | <el-input :disabled="true" v-model="searchData.endTime"></el-input> |
| | | </el-form-item> |
| | | </el-col> |
| | | |
| | |
| | | <div> |
| | | <el-card style="margin: 10px;"> |
| | | <el-table |
| | | :data="tableData" |
| | | :data="insProducts" |
| | | border |
| | | style="width: 100%"> |
| | | <el-table-column |
| | |
| | | width="50"> |
| | | </el-table-column> |
| | | <el-table-column |
| | | prop="date" |
| | | prop="name" |
| | | label="项ç®" |
| | | width="180"> |
| | | </el-table-column> |
| | | <el-table-column |
| | | prop="name" |
| | | prop="unit" |
| | | label="åä½" |
| | | width="180"> |
| | | </el-table-column> |
| | | <el-table-column |
| | | prop="kk" |
| | | prop="internal" |
| | | label="æ åå¼"> |
| | | </el-table-column> |
| | | <el-table-column |
| | | prop="zz" |
| | | prop="required" |
| | | label="å
æ§å¼"> |
| | | </el-table-column> |
| | | <el-table-column |
| | | prop="oo" |
| | | wight="200" |
| | | label="ç»éªäºº"> |
| | | <template> |
| | | <el-select v-model="value" placeholder="黿æ"> |
| | | <el-option |
| | | v-for="item in cities" |
| | | :key="item.value" |
| | | :label="item.label" |
| | | :value="item.value"> |
| | | <span style="float: left">{{ item.label }}</span> |
| | | <span style="float: right; color: #8492a6; font-size: 13px">{{ item.value }}</span> |
| | | </el-option> |
| | | <el-table-column prop="userName" label="ç»éªäºº"> |
| | | <template slot-scope="scope"> |
| | | <el-select v-model="value" size="small" slot="append" style="width: 220px;"> |
| | | <el-option v-for="item in ZERENren" :key="item.id" :label="item.name" :value="item.name"></el-option> |
| | | </el-select> |
| | | </template> |
| | | </el-table-column> |
| | | <el-table-column |
| | | prop="pp" |
| | | prop="inspectionMaterialId" |
| | | label="å®éªè®¾å¤"> |
| | | <template> |
| | | <el-select v-model="value" placeholder="æåæº"> |
| | | <el-option |
| | | v-for="item in cities" |
| | | :key="item.value" |
| | | :label="item.label" |
| | | :value="item.value"> |
| | | </el-option> |
| | | </el-select> |
| | | <!-- <el-select v-model="scope.row.checker" size="small" slot="append" style="width: 260px;"> |
| | | <el-option v-for="item in checkeroptions" :key="item.value" :label="item.label">{{ item.label }}</el-option> |
| | | </el-select> --> |
| | | </template> |
| | | </el-table-column> |
| | | </el-table> |
| | |
| | | </div> |
| | | </template> |
| | | <script> |
| | | import { selectInspectsList, selectAll, addInspect} from '@/api/experiment/planAssignments' |
| | | import { selectInspectsListById,selectUser} from '@/api/experiment/planAssignments' |
| | | export default { |
| | | data(){ |
| | | return { |
| | | searchData:{ |
| | | from_time:'', |
| | | supplier:'', |
| | | mcode:'', |
| | | name:'', |
| | | specifications:'', |
| | | unit:'', |
| | | num:'', |
| | | userName:'', |
| | | end_time:'', |
| | | |
| | | }, |
| | | value:{}, |
| | | cities:[{ |
| | | value: 'Beijing', |
| | | label: 'é»å°æ' |
| | | }, { |
| | | value: 'Shanghai', |
| | | label: 'é»å°æ' |
| | | }, { |
| | | }], |
| | | tableData:[{ |
| | | date: '导线', |
| | | name: 'mm', |
| | | kk:'30.0', |
| | | zz:'30.0', |
| | | oo:'黿æ', |
| | | pp:'æåæº', |
| | | },{ |
| | | date: '导线', |
| | | name: 'mm', |
| | | kk:'30.0', |
| | | zz:'30.0', |
| | | oo:'黿æ', |
| | | pp:'æåæº', |
| | | },{ |
| | | date: '导线', |
| | | name: 'mm', |
| | | kk:'30.0', |
| | | zz:'30.0', |
| | | oo:'黿æ', |
| | | pp:'æåæº', |
| | | },{ |
| | | date: '导线', |
| | | name: 'mm', |
| | | kk:'30.0', |
| | | zz:'30.0', |
| | | oo:'黿æ', |
| | | pp:'æåæº', |
| | | },{ |
| | | date: '导线', |
| | | name: 'mm', |
| | | kk:'30.0', |
| | | zz:'30.0', |
| | | oo:'黿æ', |
| | | pp:'æåæº', |
| | | }], |
| | | currentPage:1, |
| | | pageSize:8, |
| | | id:'' |
| | | searchData:{ }, |
| | | insProducts:[], |
| | | uu:'', |
| | | value:'' |
| | | } |
| | | }, |
| | | created(){ |
| | | console.log(this.$route.query.icode); |
| | | this.id = this.$route.query.icode; |
| | | this.selectInspectsList() |
| | | this.uu = this.$route.query.id; |
| | | this.selectInspectsListById() |
| | | this.selectUser() |
| | | }, |
| | | methods: { |
| | | async goback(){ |
| | | |
| | | //è¿å |
| | | async goback(){ |
| | | this.$router.push({name:'inspectionApplication'}) |
| | | }, |
| | | async selectInspectsList() { |
| | | |
| | | // è·åå页å表 |
| | | const res = await selectInspectsList({ countSize: this.pageSize, pageSize: this.currentPage ,message:this.id}) |
| | | // this.inspectionTable = data |
| | | console.log(res) |
| | | |
| | | // res.data.forEach((item) => { |
| | | // var formTime = item["DATE_FORMAT(`form_time`,'%Y-%m-%d')"] |
| | | // var startTime = item["DATE_FORMAT(i"]["`start_time`,'%Y-%m-%d')"] |
| | | // var endTime = item["DATE_FORMAT(i"]["`end_time`,'%Y-%m-%d')"] |
| | | // var checkdate = startTime + '~' + endTime |
| | | // var createTime = item["DATE_FORMAT(i"]["`create_time`,'%Y-%m-%d')"] |
| | | // item['formTime'] = formTime // æ¥ææ¥æ |
| | | // item['checkdate'] = checkdate // æ£éªæ¥æ |
| | | // item['createTime'] = createTime // ç»è®°æ¥æ |
| | | // }) |
| | | this.searchData.mcode = res.data.row[0].mcode |
| | | this.searchData.supplier = res.data.row[0].supplier |
| | | this.searchData.from_time = res.data.row[0]["DATE_FORMAT(`form_time`,'%Y-%m-%d')"] |
| | | this.searchData.name = res.data.row[0].name |
| | | this.searchData.specifications = res.data.row[0].specifications |
| | | this.searchData.unit = res.data.row[0].unit |
| | | this.searchData.num = res.data.row[0].num |
| | | this.searchData.end_time = res.data.row[0]["DATE_FORMAT(i"]["`end_time`,'%Y-%m-%d')"] |
| | | this.searchData.userName = res.data.row[0].userName |
| | | |
| | | |
| | | |
| | | |
| | | const data = res.data.row |
| | | data.forEach((item) => { |
| | | var formTime = item["DATE_FORMAT(`form_time`,'%Y-%m-%d')"] |
| | | var startTime = item["DATE_FORMAT(i"]["`start_time`,'%Y-%m-%d')"] |
| | | var endTime = item["DATE_FORMAT(i"]["`end_time`,'%Y-%m-%d')"] |
| | | var checkdate = startTime + '~' + endTime |
| | | var createTime = item["DATE_FORMAT(i"]["`create_time`,'%Y-%m-%d')"] |
| | | item['formTime'] = formTime // æ¥ææ¥æ |
| | | item['checkdate'] = checkdate // æ£éªæ¥æ |
| | | item['createTime'] = createTime // ç»è®°æ¥æ |
| | | }) |
| | | this.inspectionTable = data |
| | | this.total = res.data.total |
| | | //æ£éªå责任人 |
| | | async selectUser(){ |
| | | const res = await selectUser() |
| | | this.ZERENren = res.data |
| | | // console.log(this.ZERENren); |
| | | }, |
| | | //æ£éªå表 |
| | | async selectInspectsListById() { |
| | | const res = await selectInspectsListById({id:this.uu}) |
| | | this.searchData = res.data |
| | | this.insProducts = res.data.insProducts |
| | | } |
| | | } |
| | | } |
| | | </script> |
| | |
| | | label="æ£éªç±»å" |
| | | min-width="80px"> |
| | | <template slot-scope="scope"> |
| | | <div v-if="scope.row.type === 0" ><span>åæææ£éª</span></div> |
| | | <div v-if="scope.row.type === 0" ><span >åæææ£éª</span></div> |
| | | <div v-if="scope.row.type === 1" ><span>å§ææ£éª</span></div> |
| | | <div v-if="scope.row.type === 2" ><span>æåæ£éª</span></div> |
| | | </template> |
| | |
| | | title="æ°å¢æ£éªå" |
| | | :visible.sync="checkTypeVisible" |
| | | width="50%" |
| | | top="10vh" |
| | | > |
| | | <div class="check-box"> |
| | | <el-radio-group v-model="type" @change="handleRadioChange"> |
| | | <el-radio :label="0" border >åæææ£éª</el-radio> |
| | | <el-radio :label="1" border>å§ææ£éª</el-radio> |
| | | <el-radio :label="2" border>æåæ£éª</el-radio> |
| | | <el-radio-group v-model="type" @click.native="handleRadioChange"> |
| | | <el-radio :style="`background-color: ${type==0?'rgb(170, 236, 214)':'#fff'};border-radius: 10px;`" :label="0" border>åæææ£éª</el-radio> |
| | | <el-radio :style="`background-color: ${type==1?'rgb(170, 236, 214)':'#fff'};border-radius: 10px;`" :label="1" border>å§ææ£éª</el-radio> |
| | | <el-radio :style="`background-color: ${type==2?'rgb(170, 236, 214)':'#fff'};border-radius: 10px;`" :label="2" border>æåæ£éª</el-radio> |
| | | </el-radio-group> |
| | | </div> |
| | | <div v-if="type === 0 || type === ''"> |
| | | <el-form :model="infoForm" ref="infoForm" class="checkTypeForm" label-position="top" label-width="200px" size="mini"> |
| | | <div v-if="type === 0"> |
| | | <el-form :model="infoForm" ref="infoForm" class="checkTypeForm" label-position="top" label-width="200px" size="medium"> |
| | | <el-row :gutter="100"> |
| | | <el-col :span="10"> |
| | | <el-form-item label="æ¥ææ¥æï¼"> |
| | |
| | | </div> |
| | | <span slot="footer" class="dialog-footer"> |
| | | <el-button @click="checkTypeVisible = false">å æ¶</el-button> |
| | | <el-button type="primary" @click="addInspection">ç¡® å®</el-button> |
| | | <!-- <el-button type="primary" @click="addInspection">ç¡® å®</el-button> --> |
| | | <el-button type="primary" @click="QUEding">ç¡® å®</el-button> |
| | | </span> |
| | | </el-dialog> |
| | | </div> |
| | | </div> |
| | | |
| | | <!-- ç¡®å®è·³è½¬åºæ¬åºå¼¹çª --> |
| | | <el-dialog |
| | | title="æ ååº" |
| | | :visible.sync="Standardframe" |
| | | width="48%" |
| | | |
| | | > |
| | | <!-- <el-form :model="form"> |
| | | <el-form-item label="è¯·éæ©å®¡æ ¸ç»æ:" :label-width="formLabelWidth"> |
| | | </el-form-item> |
| | | </el-form> --> |
| | | |
| | | <!-- <div slot="footer" class="dialog-footer"> --> |
| | | <el-table |
| | | :data="tableData" |
| | | style="width: 100%; margin-bottom: 20px" |
| | | row-key="name" |
| | | border |
| | | height="calc(100vh - 250px)" |
| | | default-expand-all |
| | | ref="multipleTable" |
| | | :tree-props="{ children: 'children', hasChildren: 'hasChildren' }" |
| | | > |
| | | <el-table-column type="selection" label="åºå·"> </el-table-column> |
| | | <el-table-column |
| | | type="index" |
| | | width="50px" |
| | | label="åºå·" |
| | | ></el-table-column> |
| | | <el-table-column label="项ç®åç§°" sortable> |
| | | <template scope="scope"> |
| | | <el-tag |
| | | ><div |
| | | class="firstDiv" |
| | | :style="`color: ${ |
| | | scope.row.code == '[1]' ? '#16a7ff' : '#58c173' |
| | | }`" |
| | | > |
| | | {{ scope.row.code == "[1]" ? "01" : "02" }} |
| | | </div> |
| | | <span style="color: black">{{ scope.row.name }}</span></el-tag |
| | | > |
| | | </template> |
| | | </el-table-column> |
| | | <el-table-column |
| | | prop="unit" |
| | | label="åä½" |
| | | sortable |
| | | ></el-table-column> |
| | | <el-table-column label="æ åå¼" sortable> |
| | | <template scope="scope"> |
| | | <el-input |
| | | v-if="scope.row.edit === true || scope.row.code === '[2]'" |
| | | @blur="requiredOnfocus(scope)" |
| | | v-model="scope.row.required" |
| | | placeholder="请è¾å
¥æ åå¼" |
| | | ></el-input> |
| | | </template> |
| | | </el-table-column> |
| | | <el-table-column prop="internal" label="å
æ§å¼" sortable> |
| | | <template scope="scope"> |
| | | <el-input |
| | | v-if="scope.row.edit === true || scope.row.code === '[2]'" |
| | | @blur="requiredOnfocus(scope)" |
| | | v-model="scope.row.internal" |
| | | placeholder="请è¾å
¥å
æ§å¼" |
| | | ></el-input> |
| | | </template> |
| | | </el-table-column> |
| | | </el-table> |
| | | <!-- </div> --> |
| | | </el-dialog> |
| | | |
| | | <!-- åæææ£éªæ¨¡ææ¡ --> |
| | | <el-dialog |
| | | title="åæææ£éª" |
| | |
| | | /> |
| | | <el-table-column |
| | | prop="formTime" |
| | | label="æ¥ææ¥æ" |
| | | label="å§æbian'ha" |
| | | min-width="10%" |
| | | /> |
| | | <el-table-column |
| | |
| | | </template> |
| | | <template v-else> |
| | | <router-view /> |
| | | |
| | | </template> |
| | | </div> |
| | | </template> |
| | | |
| | | <script> |
| | | import { selectInspectsList, selectAll, addInspect} from '@/api/experiment/planAssignments' |
| | | import { selectInspectsList, selectAll, addInspect,getCommisionList} from '@/api/experiment/planAssignments' |
| | | export default { |
| | | data() { |
| | | return { |
| | |
| | | amount: '', |
| | | checkdate: [] |
| | | }, |
| | | infoForm:'', |
| | | infoForm:{}, |
| | | commisionSelection:{ |
| | | entrust_coding: '', |
| | | entrusted: '', |
| | |
| | | pageSize: 8, // æ¯é¡µçæ°æ®æ¡æ° |
| | | radioValue: 'å
¨é¨', |
| | | checkTypeVisible: false, |
| | | type: '', // é»è®¤ä¸éä¸çç¶æ |
| | | type: 0, // é»è®¤ä¸éä¸çç¶æ |
| | | rawmaterialVisible: false, |
| | | commisionVisible: false, |
| | | tmp: '' |
| | | tmp: '', |
| | | Standardframe: false, |
| | | tableData: [] |
| | | } |
| | | }, |
| | | watch: { |
| | |
| | | }, |
| | | methods: { |
| | | async handleClick(row){ |
| | | // console.log(item); |
| | | // const res = await ddd({goodId:id}) |
| | | // this.$message({ |
| | | // message: 'æåä½ ï¼è¿æ¯ä¸æ¡æåæ¶æ¯', |
| | | // type: 'success' |
| | | // }); |
| | | |
| | | // console.log(res); |
| | | this.inspectionTable = row; |
| | | console.log(row.icode); |
| | | this.icode = row.icode |
| | | this.$router.push({name:'Viewdetails',query: {icode:row.icode}}); |
| | | this.id = row.id |
| | | this.$router.push({name:'Viewdetails',query: {id:row.id}}); |
| | | this.selectInspectsList() |
| | | }, |
| | | //å§ææ£éª |
| | | async getCommisionList() { |
| | | const res = await getCommisionList({pageNo:1,pageSize:10 }) |
| | | this.commisionTable = res.data |
| | | console.log(this.commisionTable); |
| | | }, |
| | | async selectInspectsList() { |
| | | // è·åå页å表 |
| | | const res = await selectInspectsList({ countSize: this.pageSize, pageSize: this.currentPage,message:this.icode}) |
| | | const res = await selectInspectsList({ countSize: this.pageSize, pageSize: this.currentPage,message:this.id}) |
| | | // this.inspectionTable = data |
| | | // console.log(res.data.row) |
| | | const data = res.data.row |
| | |
| | | item['checkdate'] = checkdate // æ£éªæ¥æ |
| | | item['createTime'] = createTime // ç»è®°æ¥æ |
| | | }) |
| | | console.log('data:',data) |
| | | this.inspectionTable = data |
| | | if(this.searchData.type !== ''){ |
| | | if(this.searchData.state !== ''){ |
| | |
| | | this.infoForm = this.tmp |
| | | this.rawmaterialVisible = false |
| | | }, |
| | | async handleRadioChange(){ |
| | | if(this.type === 0){ |
| | | // åæææ¥æ£ |
| | | // this.rawmaterialVisible = true |
| | | // const res = await selectAll({type: this.type}) |
| | | // var data = res.data |
| | | // data.forEach((item)=>{ |
| | | // var checkdate = [] |
| | | // checkdate.push(item['createTime']) |
| | | // checkdate.push(item['updateTime']) |
| | | // item['checkdate'] = checkdate // æ£éªæ¥æ |
| | | // }) |
| | | this.$router.push({ name: 'ReportForInspection' }); |
| | | }else if(this.type === 1){ |
| | | // this.commisionVisible = true |
| | | // const res = await selectAll({type: this.type}) |
| | | // var data = res.data |
| | | // data.forEach((item)=>{ |
| | | // var checkdate = [] |
| | | // checkdate.push(item['startTime']) |
| | | // checkdate.push(item['endTime']) |
| | | // item['checkdate_'] = item['startTime'] + '~' + item['endTime'] |
| | | // item['checkdate'] = checkdate // æ£éªæ¥æ |
| | | // }) |
| | | // this.commisionTable = res.data |
| | | this.$router.push({ name: 'CommissionInspection' }); |
| | | } |
| | | handleRadioChange(){ |
| | | setTimeout(()=>{ |
| | | if(this.type === 0){ |
| | | // åæææ¥æ£ |
| | | this.rawmaterialVisible = true |
| | | selectAll({type: this.type}).then(res=>{ |
| | | var data = res.data |
| | | data.forEach((item)=>{ |
| | | var checkdate = [] |
| | | checkdate.push(item['createTime']) |
| | | checkdate.push(item['updateTime']) |
| | | item['checkdate'] = checkdate // æ£éªæ¥æ |
| | | }) |
| | | this.rawMaterialTable = res.data |
| | | }) |
| | | // this.$router.push({ name: 'ReportForInspection' }); |
| | | }else if(this.type === 1){ |
| | | this.commisionVisible = true |
| | | getCommisionList({pageNo:1,pageSize:10}).then(res=>{ |
| | | this.commisionTable = res.data |
| | | }) |
| | | } |
| | | },100) |
| | | }, |
| | | // æ°å¢æ£éª |
| | | async addInspection(){ |
| | |
| | | type: this.type, |
| | | unit: this.finishedTable.unit }) |
| | | } |
| | | this.type = '' |
| | | this.type = 0 |
| | | this.checkTypeVisible = false |
| | | this.$message({ |
| | | message: 'æ·»å æåï¼', |
| | |
| | | console.log(`å½å页: ${val}`) |
| | | this.currentPage = val |
| | | this.selectInspectsList() |
| | | }, |
| | | //ç¡®å®è·³è½¬ |
| | | QUEding(){ |
| | | this.Standardframe = true |
| | | } |
| | | } |
| | | } |
| | |
| | | } |
| | | height: auto; |
| | | font-size: 22px !important; |
| | | padding: 20px 40px !important; |
| | | padding: 40px 50px !important; |
| | | ::v-deep .el-radio__label{ |
| | | font-size: 22px !important; |
| | | padding-left: 0px !important; |
| | |
| | | </span> |
| | | </template></el-table-column |
| | | > |
| | | <el-table-column |
| | | <el-table-columne |
| | | prop="materialName" |
| | | label="æ ·ååç§°" |
| | | min-width="10%" |
| | |
| | | <el-table-column prop="status" label="审æ¹ç¶æ" min-width="8%" v-model="Auditconclusion"> |
| | | <template slot-scope="scope"> |
| | | <span> |
| | | <el-tag type="warning">{{ |
| | | <el-tag :color="scope.row.status == 0 ? '' : 'rgb(187, 237, 221)'" type="warning">{{ |
| | | scope.row.status == 0 ? "å¾
éè¿" : "éè¿" |
| | | }}</el-tag> |
| | | </span> |
| | |
| | | title="åå§è®°å½å®¡æ ¸" |
| | | :visible.sync="checkskipvisible" |
| | | width="30%" |
| | | |
| | | |
| | | > |
| | | <el-form :model="form"> |
| | | <el-form-item label="è¯·éæ©å®¡æ ¸ç»æ:" :label-width="formLabelWidth"> |
| | |
| | | reportTable: [], |
| | | page: 1, |
| | | total: 0, |
| | | pageSize: 10, |
| | | pageSize: 8, |
| | | checkskipvisible: false, |
| | | form:{}, |
| | | // handleClose:{}, |
| | |
| | | Auditconclusion:{}, |
| | | tableRow: {}, |
| | | |
| | | |
| | | |
| | | }; |
| | | }, |
| | | created() { |
| | |
| | | //éè¿ |
| | | async checkskip(row) { |
| | | console.log(this.tableRow); |
| | | this.reportTable[this.tableRow.$index].status=2 |
| | | this.reportTable[this.tableRow.$index].status=1 |
| | | this.transmitData(this.tableRow.row.id) |
| | | this.checkskipvisible= false |
| | | this.$message({ |
| | | message: 'éè¿æå', |
| | | type: 'success' |
| | | }); |
| | | |
| | | }, |
| | | //ä¸éè¿ |
| | |
| | | this.reportTable[this.tableRow.$index].status=0 |
| | | this.transmitData(this.tableRow.row.id) |
| | | this.checkskipvisible= false |
| | | this.$message({ |
| | | message: 'å¾
éè¿', |
| | | type: 'warning' |
| | | }); |
| | | |
| | | }, |
| | | //å®¡æ ¸ |
| | | async transmitData(id) { |
| | | let param={"id":id,"result":1} |
| | | let data = await checkApi(param) |
| | | async transmitData(id) { |
| | | let param={"id":id,"result":2} |
| | | let data = await checkApi(param) |
| | | }, |
| | | // æ¥è¯¢å表 |
| | | async getData() { |
| | |
| | | :data="detectionInfo" style="width: 100%;margin-bottom: 20px;"> |
| | | <el-table-column type="index" label="åºå·" min-width="10%" /> |
| | | <el-table-column prop="sampleNumber" label="æ ·åç¼å·" min-width="8%" /> |
| | | |
| | | <el-table-column prop="sampleName" label="æ ·ååç§°" min-width="10%" /> |
| | | |
| | | <el-table-column prop="specificationsModels" label="è§æ ¼åå·" min-width="10%" /> |
| | | <el-table-column prop="unit" label="åä½" min-width="8%" /> |
| | | <el-table-column prop="samplesNumber" label="æ°é" min-width="8%" /> |
| | |
| | | </el-row> |
| | | <el-row :gutter="50"> |
| | | <el-col :span="11"> |
| | | <el-form-item label="è¯å®æ åï¼"> |
| | | <el-select v-model="addPointerForm.addway" size="small" placeholder="è¯·éæ©è¯å®æ å"> |
| | | <el-option v-for="options in model_spe_options" :value="options.value" |
| | | :key="options.key">{{ options.value }}</el-option> |
| | | </el-select> |
| | | </el-form-item> |
| | | </el-col> |
| | | <el-col :span="11"> |
| | | <el-form-item label="è§æ ¼åå·ï¼"> |
| | | <el-select v-model="addPointerForm.specificationsModels" size="small" placeholder="请å
éæ©æ ·ååç§°"> |
| | | <el-option v-for="options in model_spe_options" :value="options.value" |
| | |
| | | </el-select> |
| | | </el-form-item> |
| | | </el-col> |
| | | |
| | | </el-row> |
| | | <el-row :gutter="50"> |
| | | |
| | | <el-col :span="11"> |
| | | <el-form-item label="æ ·ååä½ï¼"> |
| | | <el-input type="text" v-model="addPointerForm.unit" placeholder="请è¾å
¥åä½" autocomplete="off" /> |
| | | </el-form-item> |
| | | </el-col> |
| | | </el-row> |
| | | <el-row :gutter="50"> |
| | | |
| | | <el-col :span="11"> |
| | | <el-form-item label="æ ·åæ°éï¼"> |
| | | <el-input type="text" v-model="addPointerForm.samplesNumber" placeholder="请è¾å
¥æ°é" autocomplete="off" /> |
| | | </el-form-item> |
| | | </el-col> |
| | | <el-col :span="11"> |
| | | <el-form-item label="夿³¨ï¼"> |
| | | <el-input type="text" v-model="addPointerForm.remarks" placeholder="请è¾å
¥å¤æ³¨" autocomplete="off" /> |
| | | </el-form-item> |
| | | </el-col> |
| | | |
| | | </el-row> |
| | | <el-row :gutter="50"> |
| | | <el-col :span="10"> |
| | | <el-col :span="9"> |
| | | <el-form-item label="æ·»å 项ç®ï¼"> |
| | | <el-checkbox-group v-model="addPointerForm.experiment" style="display: flex; flex-direction: column;"> |
| | | <el-checkbox v-for="expers in experList" :label="expers.label" |
| | | :key="expers.key">{{ expers.label }}</el-checkbox> |
| | | </el-checkbox-group> |
| | | </el-form-item> |
| | | </el-col> |
| | | <el-col :span="41"> |
| | | <el-form-item label="夿³¨ï¼"> |
| | | <el-input type="textarea" :autosize="{ minRows: 4, maxRows: 20}" style="width: 200px;" v-model="addPointerForm.remarks" placeholder="请è¾å
¥å¤æ³¨" autocomplete="off" /> |
| | | </el-form-item> |
| | | </el-col> |
| | | </el-row> |
| | |
| | | for (let i = 1; i < this.addPointerForm.experiment.length; i++) { |
| | | exper += ',' + this.addPointerForm.experiment[i] |
| | | } |
| | | |
| | | // console.log(exper) |
| | | this.addPointerForm.experiment = exper |
| | | let tmp = this.addPointerForm |
| | |
| | | text-align: center; |
| | | color: #0166e2; |
| | | } |
| | | </style> |
| | | </style> |
| | |
| | | <div class="table-header"> |
| | | <div class="serve-btn"> |
| | | <span class="tipMsg">{{ msg !== "" ? msg : "" }}</span> |
| | | <el-select v-model="versionValue" @change="changeSelect" placeholder="è¯·éæ©çæ¬å·"> |
| | | <el-option |
| | | v-for="item in options" |
| | | :key="item.value" |
| | | :label="item.label" |
| | | :value="item.value" |
| | | > |
| | | </el-option> |
| | | </el-select> |
| | | <el-button type="primary" @click="addVersionFun">æ°å¢çæ¬å·</el-button> |
| | | <el-button |
| | | type="primary" |
| | | icon="el-icon-plus" |
| | |
| | | addSpecifications, |
| | | deleteListApi, |
| | | blurUpdateApi, |
| | | getVersion, |
| | | addVersion |
| | | } from "@/api/standardLibrary"; |
| | | |
| | | import { selectproductModelApi } from "@/api/basicData/index"; |
| | | export default { |
| | | data() { |
| | | return { |
| | | options:[], |
| | | versionValue: '', |
| | | deleteList: [], |
| | | msg: "", |
| | | isAllSelect: false, |
| | |
| | | created() { |
| | | this.getStandardTree(); |
| | | }, |
| | | mounted(){ |
| | | |
| | | }, |
| | | methods: { |
| | | async initSelect(){ |
| | | this.options = []; |
| | | this.versionValue = ""; |
| | | const response = await getVersion({"specificationsId":this.selectData.id}); |
| | | if(response.code===200 && response.data.length>0){ |
| | | this.getTableByClick(this.selectData,response.data[0]) |
| | | for(let i=0;i<response.data.length;i++){ |
| | | this.options.push({ |
| | | value: response.data[i], |
| | | label: "V" + response.data[i] |
| | | }) |
| | | this.versionValue = response.data[0]; |
| | | } |
| | | } |
| | | }, |
| | | changeSelect(){ |
| | | this.tableData = []; |
| | | this.getTableByClick(this.selectData,this.versionValue); |
| | | }, |
| | | async insertVersion(){ |
| | | const resp = await addVersion({"specificationsId":this.selectData.id}); |
| | | if(resp.code===200){ |
| | | this.initSelect(); |
| | | this.$message({ |
| | | type: 'success', |
| | | message: resp.message |
| | | }); |
| | | } |
| | | }, |
| | | addVersionFun() { |
| | | this.$confirm('ç¡®è®¤æ·»å æ°ççæ¬å·å?', 'æç¤º', { |
| | | confirmButtonText: 'ç¡®å®', |
| | | cancelButtonText: 'åæ¶', |
| | | type: 'warning' |
| | | }).then(() => { |
| | | this.insertVersion(); |
| | | }).catch(() => {}); |
| | | }, |
| | | filterNode(value, data) { |
| | | if (!value) return true; |
| | | return data.name.indexOf(value) !== -1; |
| | |
| | | this.getParentData(node.parent, node.data.name); |
| | | // åä¸éä¸èç¹ |
| | | this.selectData = data; |
| | | this.getTableByClick(data); |
| | | this.getTableByClick(data,this.versionValue); |
| | | this.initSelect(); |
| | | } |
| | | if (!("children" in data)) { |
| | | return; |
| | |
| | | this.getParentData(node.parent, this.msg); |
| | | } |
| | | }, |
| | | async getTableByClick(data) { |
| | | async getTableByClick(data,versionVal) { |
| | | await getProductList({ |
| | | specificationsId: data.id, |
| | | version: versionVal |
| | | }).then((res) => { |
| | | res.data.forEach((i) => { |
| | | if (i.name === undefined) { |
| | |
| | | addTypeArr: [], |
| | | }; |
| | | this.getStandardTree(); |
| | | this.getTableByClick(this.selectData); |
| | | this.getTableByClick(this.selectData,this.versionValue); |
| | | }, |
| | | changeCascader(data) { |
| | | this.addTreeForm.addTypeArr = data; |
| | |
| | | message: res.message, |
| | | type: "success", |
| | | }); |
| | | this.getTableByClick(this.selectData); |
| | | this.getTableByClick(this.selectData,this.versionValue); |
| | | }); |
| | | }, |
| | | async requiredOnfocus(scope) { |
| | |
| | | message: res.message, |
| | | type: "success", |
| | | }); |
| | | this.getTableByClick(this.selectData); |
| | | this.getTableByClick(this.selectData,this.versionValue); |
| | | }); |
| | | }, |
| | | }, |
| | |
| | | width: 100%; |
| | | padding-bottom: 6px; |
| | | text-align: right; |
| | | .el-select{ |
| | | margin-right:10px; |
| | | } |
| | | } |
| | | .tipMsg { |
| | | float: left; |