| | |
| | | dataIndex: 'num', |
| | | }, |
| | | { |
| | | title: '管çå¶åº¦', |
| | | align: 'center', |
| | | dataIndex: 'disUda1', |
| | | }, |
| | | { |
| | | title: 'ç¾å®¡ç¶æ', |
| | | align: 'center', |
| | | dataIndex: 'approvalStatusName', |
| | |
| | | :md='8' |
| | | :sm='24' |
| | | > |
| | | <a-form-item label='设å¤åç§°'> |
| | | <a-form-item label='ç»ä¸ç¼å·'> |
| | | <a-input |
| | | placeholder='请è¾å
¥è®¾å¤åç§°' |
| | | v-model='queryParam.name' |
| | | placeholder='请è¾å
¥ç»ä¸ç¼å·' |
| | | v-model='queryParam.equipmentNum' |
| | | ></a-input> |
| | | </a-form-item> |
| | | </a-col> |
| | |
| | | :md='8' |
| | | :sm='24' |
| | | > |
| | | <a-form-item label='设å¤åç§°'> |
| | | <a-form-item label='ç»ä¸ç¼å·'> |
| | | <a-input |
| | | placeholder='请è¾å
¥è®¾å¤åç§°' |
| | | v-model='queryParam.name' |
| | | placeholder='请è¾å
¥ç»ä¸ç¼å·' |
| | | v-model='queryParam.equipmentNum' |
| | | ></a-input> |
| | | </a-form-item> |
| | | </a-col> |
| | |
| | | |
| | | edit(record) { |
| | | let that = this; |
| | | debugger |
| | | if (record.receipts == "" || record.receipts == null) { |
| | | this.getSysFileName() |
| | | } |
| | |
| | | |
| | | const that = this; |
| | | // 触å表åéªè¯ |
| | | for (let i = 0; i < that.dataSource.length; i++) { |
| | | let o = that.dataSource[i] |
| | | if (o.firstInspect == "2" && o.secondInspect == "2") { |
| | | that.$message.warning("éªæ¶å第" + (i + 1) + "è¡ï¼ä¸¤æ¬¡æ£éªå为ä¸éè¿ï¼è¯·éæ°æ£éªè¯¥é¡¹ä¿å
Ȍ
容ï¼"); |
| | | return |
| | | } |
| | | } |
| | | that.form.validateFields((err, values) => { |
| | | if (!err) { |
| | | this.$confirm({ |
| | |
| | | <template> |
| | | <a-modal |
| | | :width="800" |
| | | :width="1000" |
| | | :visible="visible" |
| | | :maskClosable="false" |
| | | @ok="handleOk" |
| | |
| | | |
| | | </div> |
| | | <div> |
| | | <div :style="{height: '45px',float: 'left',width: '30%',border: '1px solid #e9e9e9',padding: '10px 10px',background: '#fff',}"> |
| | | <div :style="{height: '45px',float: 'left',width: '25%',border: '1px solid #e9e9e9',padding: '10px 10px',background: '#fff',}"> |
| | | <span |
| | | class="ant-descriptions-title" |
| | | style="font-size: large;font-style: normal;font-size: 15px;" |
| | | >æ£æ¥é¨ä½</span> |
| | | </div> |
| | | <div :style="{height: '45px',float: 'left',width: '40%',border: '1px solid #e9e9e9',padding: '10px 10px',background: '#fff',}"> |
| | | <div :style="{height: '45px',float: 'left',width: '25%',border: '1px solid #e9e9e9',padding: '10px 10px',background: '#fff',}"> |
| | | <span |
| | | class="ant-descriptions-title" |
| | | style="font-size: large;font-style: normal;font-size: 15px;" |
| | | >æ£æ¥æ å</span> |
| | | </div> |
| | | <div :style="{height: '45px',float: 'right',width: '30%',border: '1px solid #e9e9e9',padding: '10px 10px',background: '#fff',}"> |
| | | <div :style="{height: '45px',float: 'left',width: '25%',border: '1px solid #e9e9e9',padding: '10px 10px',background: '#fff',}"> |
| | | <span |
| | | class="ant-descriptions-title" |
| | | style="font-size: large;font-style: normal;font-size: 15px;" |
| | | >æ£æ¥ç»æ(åæ ¼/ä¸åæ ¼)</span> |
| | | >ææ æ¤é¡¹</span> |
| | | </div> |
| | | <div :style="{height: '45px',float: 'right',width: '25%',border: '1px solid #e9e9e9',padding: '10px 10px',background: '#fff',}"> |
| | | <span |
| | | class="ant-descriptions-title" |
| | | style="font-size: large;font-style: normal;font-size: 15px;" |
| | | >æ£æ¥ç»æ</span> |
| | | </div> |
| | | </div> |
| | | |
| | | <div> |
| | | <div :style="{height: '45px',float: 'left',width: '30%',border: '1px solid #e9e9e9',padding: '10px 10px',background: '#fff',}"> |
| | | <div :style="{height: '45px',float: 'left',width: '25%',border: '1px solid #e9e9e9',padding: '10px 10px',background: '#fff',}"> |
| | | <span |
| | | class="ant-descriptions-title" |
| | | style="font-size: large;font-style: normal;font-size: 15px;" |
| | | >æçºµææåå¼å
³</span> |
| | | </div> |
| | | <div :style="{height: '45px',float: 'left',width: '40%',border: '1px solid #e9e9e9',padding: '10px 10px',background: '#fff',}"> |
| | | <div :style="{height: '45px',float: 'left',width: '25%',border: '1px solid #e9e9e9',padding: '10px 10px',background: '#fff',}"> |
| | | <span |
| | | class="ant-descriptions-title" |
| | | style="font-size: large;font-style: normal;font-size: 15px;" |
| | | >å®å
¨ãæ ç ´æ</span> |
| | | </div> |
| | | <div :style="{height: '45px',float: 'right',width: '30%',border: '1px solid #e9e9e9',padding: '10px 10px',background: '#fff',}"> |
| | | <div :style="{height: '45px',float: 'left',width: '25%',border: '1px solid #e9e9e9',padding: '10px 10px',background: '#fff',}"> |
| | | <a-switch |
| | | checked-children="æ" |
| | | un-checked-children="没æ" |
| | | :checked="model.result_8 == '0'" |
| | | @change="handle8Switch(model.result_8)" |
| | | /> |
| | | </div> |
| | | <div :style="{height: '45px',float: 'right',width: '25%',border: '1px solid #e9e9e9',padding: '10px 10px',background: '#fff',}"> |
| | | <a-switch |
| | | checked-children="åæ ¼" |
| | | un-checked-children="ä¸åæ ¼" |
| | | :checked="model.result_1 == '0'" |
| | | @change="handleSwitch(model.result_1)" |
| | | :hidden="model.hidden1Switch" |
| | | /> |
| | | </div> |
| | | </div> |
| | | <div> |
| | | <div :style="{height: '45px',float: 'left',width: '30%',border: '1px solid #e9e9e9',padding: '10px 10px',background: '#fff',}"> |
| | | <div :style="{height: '45px',float: 'left',width: '25%',border: '1px solid #e9e9e9',padding: '10px 10px',background: '#fff',}"> |
| | | <span |
| | | class="ant-descriptions-title" |
| | | style="font-size: large;font-style: normal;font-size: 15px;" |
| | | >ä¼ å¨ç³»ç»</span> |
| | | </div> |
| | | <div :style="{height: '45px',float: 'left',width: '40%',border: '1px solid #e9e9e9',padding: '10px 10px',background: '#fff',}"> |
| | | <div :style="{height: '45px',float: 'left',width: '25%',border: '1px solid #e9e9e9',padding: '10px 10px',background: '#fff',}"> |
| | | <span |
| | | class="ant-descriptions-title" |
| | | style="font-size: large;font-style: normal;font-size: 15px;" |
| | | >çµæ´»ãæ å¼å</span> |
| | | </div> |
| | | <div :style="{height: '45px',float: 'right',width: '30%',border: '1px solid #e9e9e9',padding: '10px 10px',background: '#fff',}"> |
| | | <div :style="{height: '45px',float: 'left',width: '25%',border: '1px solid #e9e9e9',padding: '10px 10px',background: '#fff',}"> |
| | | <a-switch |
| | | checked-children="æ" |
| | | un-checked-children="没æ" |
| | | :checked="model.result_9 == '0'" |
| | | @change="handle9Switch(model.result_9)" |
| | | /> |
| | | </div> |
| | | <div :style="{height: '45px',float: 'right',width: '25%',border: '1px solid #e9e9e9',padding: '10px 10px',background: '#fff',}"> |
| | | <a-switch |
| | | checked-children="åæ ¼" |
| | | un-checked-children="ä¸åæ ¼" |
| | | :checked="model.result_2 == '0'" |
| | | @change="handle2Switch(model.result_2)" |
| | | :hidden="model.hidden2Switch" |
| | | /> |
| | | </div> |
| | | </div> |
| | | <div> |
| | | <div :style="{height: '45px',float: 'left',width: '30%',border: '1px solid #e9e9e9',padding: '10px 10px',background: '#fff',}"> |
| | | <div :style="{height: '45px',float: 'left',width: '25%',border: '1px solid #e9e9e9',padding: '10px 10px',background: '#fff',}"> |
| | | <span |
| | | class="ant-descriptions-title" |
| | | style="font-size: large;font-style: normal;font-size: 15px;" |
| | | >å®å
¨è£
ç½®</span> |
| | | </div> |
| | | <div :style="{height: '45px',float: 'left',width: '40%',border: '1px solid #e9e9e9',padding: '10px 10px',background: '#fff',}"> |
| | | <div :style="{height: '45px',float: 'left',width: '25%',border: '1px solid #e9e9e9',padding: '10px 10px',background: '#fff',}"> |
| | | <span |
| | | class="ant-descriptions-title" |
| | | style="font-size: large;font-style: normal;font-size: 15px;" |
| | | >å®å
¨ãçµæãå¯é </span> |
| | | </div> |
| | | <div :style="{height: '45px',float: 'right',width: '30%',border: '1px solid #e9e9e9',padding: '10px 10px',background: '#fff',}"> |
| | | <div :style="{height: '45px',float: 'left',width: '25%',border: '1px solid #e9e9e9',padding: '10px 10px',background: '#fff',}"> |
| | | <a-switch |
| | | checked-children="æ" |
| | | un-checked-children="没æ" |
| | | :checked="model.result_10 == '0'" |
| | | @change="handle10Switch(model.result_10)" |
| | | /> |
| | | </div> |
| | | <div :style="{height: '45px',float: 'right',width: '25%',border: '1px solid #e9e9e9',padding: '10px 10px',background: '#fff',}"> |
| | | <a-switch |
| | | checked-children="åæ ¼" |
| | | un-checked-children="ä¸åæ ¼" |
| | | :checked="model.result_3 == '0'" |
| | | @change="handle3Switch(model.result_3)" |
| | | :hidden="model.hidden3Switch" |
| | | /> |
| | | </div> |
| | | </div> |
| | | <div> |
| | | <div :style="{height: '45px',float: 'left',width: '30%',border: '1px solid #e9e9e9',padding: '10px 10px',background: '#fff',}"> |
| | | <div :style="{height: '45px',float: 'left',width: '25%',border: '1px solid #e9e9e9',padding: '10px 10px',background: '#fff',}"> |
| | | <span |
| | | class="ant-descriptions-title" |
| | | style="font-size: large;font-style: normal;font-size: 15px;" |
| | | >设å¤å¤è§</span> |
| | | </div> |
| | | <div :style="{height: '45px',float: 'left',width: '40%',border: '1px solid #e9e9e9',padding: '10px 10px',background: '#fff',}"> |
| | | <div :style="{height: '45px',float: 'left',width: '25%',border: '1px solid #e9e9e9',padding: '10px 10px',background: '#fff',}"> |
| | | <span |
| | | class="ant-descriptions-title" |
| | | style="font-size: large;font-style: normal;font-size: 15px;" |
| | | >æ´æ´</span> |
| | | </div> |
| | | <div :style="{height: '45px',float: 'right',width: '30%',border: '1px solid #e9e9e9',padding: '10px 10px',background: '#fff',}"> |
| | | <div :style="{height: '45px',float: 'left',width: '25%',border: '1px solid #e9e9e9',padding: '10px 10px',background: '#fff',}"> |
| | | <a-switch |
| | | checked-children="æ" |
| | | un-checked-children="没æ" |
| | | :checked="model.result_11 == '0'" |
| | | @change="handle11Switch(model.result_11)" |
| | | /> |
| | | </div> |
| | | <div :style="{height: '45px',float: 'right',width: '25%',border: '1px solid #e9e9e9',padding: '10px 10px',background: '#fff',}"> |
| | | <a-switch |
| | | checked-children="åæ ¼" |
| | | un-checked-children="ä¸åæ ¼" |
| | | :checked="model.result_4 == '0'" |
| | | @change="handle4Switch(model.result_4)" |
| | | :hidden="model.hidden4Switch" |
| | | /> |
| | | </div> |
| | | </div> |
| | | <div> |
| | | <div :style="{height: '45px',float: 'left',width: '30%',border: '1px solid #e9e9e9',padding: '10px 10px',background: '#fff',}"> |
| | | <div :style="{height: '45px',float: 'left',width: '25%',border: '1px solid #e9e9e9',padding: '10px 10px',background: '#fff',}"> |
| | | <span |
| | | class="ant-descriptions-title" |
| | | style="font-size: large;font-style: normal;font-size: 15px;" |
| | | >çµæ°çº¿è·¯</span> |
| | | </div> |
| | | <div :style="{height: '45px',float: 'left',width: '40%',border: '1px solid #e9e9e9',padding: '10px 10px',background: '#fff',}"> |
| | | <div :style="{height: '45px',float: 'left',width: '25%',border: '1px solid #e9e9e9',padding: '10px 10px',background: '#fff',}"> |
| | | <span |
| | | class="ant-descriptions-title" |
| | | style="font-size: large;font-style: normal;font-size: 15px;" |
| | | >线路æ´é½ãæ¥çº¿æ£ç¡®</span> |
| | | </div> |
| | | <div :style="{height: '45px',float: 'right',width: '30%',border: '1px solid #e9e9e9',padding: '10px 10px',background: '#fff',}"> |
| | | <div :style="{height: '45px',float: 'left',width: '25%',border: '1px solid #e9e9e9',padding: '10px 10px',background: '#fff',}"> |
| | | <a-switch |
| | | checked-children="æ" |
| | | un-checked-children="没æ" |
| | | :checked="model.result_12 == '0'" |
| | | @change="handle12Switch(model.result_12)" |
| | | /> |
| | | </div> |
| | | <div :style="{height: '45px',float: 'right',width: '25%',border: '1px solid #e9e9e9',padding: '10px 10px',background: '#fff',}"> |
| | | <a-switch |
| | | checked-children="åæ ¼" |
| | | un-checked-children="ä¸åæ ¼" |
| | | :checked="model.result_5 == '0'" |
| | | @change="handle5Switch(model.result_5)" |
| | | :hidden="model.hidden5Switch" |
| | | /> |
| | | </div> |
| | | </div> |
| | | <div> |
| | | <div :style="{height: '45px',float: 'left',width: '30%',border: '1px solid #e9e9e9',padding: '10px 10px',background: '#fff',}"> |
| | | <div :style="{height: '45px',float: 'left',width: '25%',border: '1px solid #e9e9e9',padding: '10px 10px',background: '#fff',}"> |
| | | <span |
| | | class="ant-descriptions-title" |
| | | style="font-size: large;font-style: normal;font-size: 15px;" |
| | | >æ£æ¥åç´§åºè£
ç½®</span> |
| | | </div> |
| | | <div :style="{height: '45px',float: 'left',width: '40%',border: '1px solid #e9e9e9',padding: '10px 10px',background: '#fff',}"> |
| | | <div :style="{height: '45px',float: 'left',width: '25%',border: '1px solid #e9e9e9',padding: '10px 10px',background: '#fff',}"> |
| | | <span |
| | | class="ant-descriptions-title" |
| | | style="font-size: large;font-style: normal;font-size: 15px;" |
| | | >æ æ¾å¨</span> |
| | | </div> |
| | | <div :style="{height: '45px',float: 'right',width: '30%',border: '1px solid #e9e9e9',padding: '10px 10px',background: '#fff',}"> |
| | | <div :style="{height: '45px',float: 'left',width: '25%',border: '1px solid #e9e9e9',padding: '10px 10px',background: '#fff',}"> |
| | | <a-switch |
| | | checked-children="æ" |
| | | un-checked-children="没æ" |
| | | :checked="model.result_13 == '0'" |
| | | @change="handle13Switch(model.result_13)" |
| | | /> |
| | | </div> |
| | | <div :style="{height: '45px',float: 'right',width: '25%',border: '1px solid #e9e9e9',padding: '10px 10px',background: '#fff',}"> |
| | | <a-switch |
| | | checked-children="åæ ¼" |
| | | un-checked-children="ä¸åæ ¼" |
| | | :checked="model.result_6 == '0'" |
| | | @change="handle6Switch(model.result_6)" |
| | | :hidden="model.hidden6Switch" |
| | | /> |
| | | |
| | | </div> |
| | | </div> |
| | | <div> |
| | | <div :style="{height: '45px',float: 'left',width: '70%',border: '1px solid #e9e9e9',padding: '10px 10px',background: '#fff',}"> |
| | | <div :style="{height: '45px',float: 'left',width: '50%',border: '1px solid #e9e9e9',padding: '10px 10px',background: '#fff',}"> |
| | | <span |
| | | class="ant-descriptions-title" |
| | | style="font-size: large;font-style: normal;font-size: 15px;float: center" |
| | | >æ¯å¦æ»¡è¶³ç产å å·¥è¦æ±</span> |
| | | </div> |
| | | <div :style="{height: '45px',float: 'right',width: '30%',border: '1px solid #e9e9e9',padding: '10px 10px',background: '#fff',}"> |
| | | |
| | | <div :style="{height: '45px',float: 'left',width: '25%',border: '1px solid #e9e9e9',padding: '10px 10px',background: '#fff',}"> |
| | | <a-switch |
| | | checked-children="æ" |
| | | un-checked-children="没æ" |
| | | :checked="model.result_14 == '0'" |
| | | @change="handle14Switch(model.result_14)" |
| | | /> |
| | | </div> |
| | | <div :style="{height: '45px',float: 'right',width: '25%',border: '1px solid #e9e9e9',padding: '10px 10px',background: '#fff',}"> |
| | | <a-switch |
| | | checked-children="åæ ¼" |
| | | un-checked-children="ä¸åæ ¼" |
| | | :checked="model.result_7 == '0'" |
| | | @change="handle7Switch(model.result_7)" |
| | | :hidden="model.hidden7Switch" |
| | | /> |
| | | </div> |
| | | </div> |
| | |
| | | }, |
| | | confirmLoading: false, |
| | | form: this.$form.createForm(this), |
| | | validatorRules: { |
| | | num: { |
| | | rules: [ |
| | | { required: true, message: '请è¾å
¥ä¿å
»å·¥åç¼ç !' }, |
| | | ] |
| | | }, |
| | | }, |
| | | url: { |
| | | add: "/eam/technologyStatus/technologyStatusAuthenticate", |
| | | getTechnologyStatus: "/eam/technologyStatus/getTechnologyStatus", |
| | |
| | | this.model = Object.assign({}, this.model); |
| | | }, |
| | | |
| | | handle8Switch(result_8) { |
| | | if ('0' == result_8) { |
| | | this.model.result_8 = '1' |
| | | this.model.hidden1Switch = true |
| | | } else { |
| | | this.model.result_8 = '0' |
| | | this.model.hidden1Switch = false |
| | | } |
| | | |
| | | this.model = Object.assign({}, this.model); |
| | | }, |
| | | |
| | | handle9Switch(result_9) { |
| | | if ('0' == result_9) { |
| | | this.model.result_9 = '1' |
| | | this.model.hidden2Switch = true |
| | | } else { |
| | | this.model.result_9 = '0' |
| | | this.model.hidden2Switch = false |
| | | } |
| | | this.model = Object.assign({}, this.model); |
| | | }, |
| | | |
| | | handle10Switch(result_10) { |
| | | |
| | | if ('0' == result_10) { |
| | | this.model.result_10 = '1' |
| | | this.model.hidden3Switch = true |
| | | } else { |
| | | this.model.result_10 = '0' |
| | | this.model.hidden3Switch = false |
| | | } |
| | | this.model = Object.assign({}, this.model); |
| | | }, |
| | | |
| | | handle11Switch(result_11) { |
| | | if ('0' == result_11) { |
| | | this.model.result_11 = '1' |
| | | this.model.hidden4Switch = true |
| | | } else { |
| | | this.model.result_11 = '0' |
| | | this.model.hidden4Switch = false |
| | | } |
| | | this.model = Object.assign({}, this.model); |
| | | }, |
| | | |
| | | handle12Switch(result_12) { |
| | | if ('0' == result_12) { |
| | | this.model.result_12 = '1' |
| | | this.model.hidden5Switch = true |
| | | } else { |
| | | this.model.result_12 = '0' |
| | | this.model.hidden5Switch = false |
| | | } |
| | | this.model = Object.assign({}, this.model); |
| | | }, |
| | | |
| | | handle13Switch(result_13) { |
| | | if ('0' == result_13) { |
| | | this.model.result_13 = '1' |
| | | this.model.hidden6Switch = true |
| | | } else { |
| | | this.model.result_13 = '0' |
| | | this.model.hidden6Switch = false |
| | | } |
| | | this.model = Object.assign({}, this.model); |
| | | }, |
| | | |
| | | handle14Switch(result_14) { |
| | | if ('0' == result_14) { |
| | | this.model.result_14 = '1' |
| | | this.model.hidden7Switch = true |
| | | } else { |
| | | this.model.result_14 = '0' |
| | | this.model.hidden7Switch = false |
| | | } |
| | | this.model = Object.assign({}, this.model); |
| | | }, |
| | | |
| | | |
| | | |
| | | // handle21Switch(result_21) { |
| | |
| | | return parseInt(index) + 1; |
| | | } |
| | | }, |
| | | { |
| | | title: 'é¨ä½', |
| | | align: "center", |
| | | dataIndex: 'location', |
| | | }, |
| | | // { |
| | | // title: 'é¨ä½', |
| | | // align: "center", |
| | | // dataIndex: 'location', |
| | | // }, |
| | | // { |
| | | // title: '示æå¾', |
| | | // align: "center", |
| | |
| | | |
| | | }, |
| | | { |
| | | title: 'æ£æµæ å', |
| | | title: 'å®ææ°æ®/è¦æ±', |
| | | align: "center", |
| | | dataIndex: 'detectionStandard', |
| | | |
| | |
| | | url: { |
| | | list: "/eam/inspectionStandardDetail/getInspectionStandardList",//æ°æ®æ¥æºmom_eam_daily_inspection_standard_detail |
| | | }, |
| | | /* å页忰 */ |
| | | ipagination: { |
| | | current: 1, |
| | | pageSize: 20, |
| | | pageSizeOptions: ['5', '10', '20', '50'], |
| | | showTotal: (total, range) => { |
| | | return range[0] + '-' + range[1] + ' å
±' + total + 'æ¡' |
| | | }, |
| | | showQuickJumper: true, |
| | | showSizeChanger: true, |
| | | total: 0 |
| | | }, |
| | | } |
| | | }, |
| | | created() { |
| | |
| | | </a-col> --> |
| | | </a-row> |
| | | <a-row :gutter="24"> |
| | | <!-- <a-col :span="12"> |
| | | <a-col :span="12"> |
| | | <a-form-item |
| | | label="派工æ¹å¼" |
| | | label="管çå¶åº¦" |
| | | :labelCol="labelCol" |
| | | :wrapperCol="wrapperCol" |
| | | > |
| | | <j-dict-select-tag |
| | | <a-input |
| | | allow-clear |
| | | :disabled="disableSubmit" |
| | | :placeholder="disableSubmit?'':'è¯·éæ©æ´¾å·¥æ¹å¼'" |
| | | :triggerChange="true" |
| | | dictCode="assign_mode" |
| | | v-decorator="['assignMode', validatorRules.assignMode]" |
| | | :disabled="false" |
| | | :placeholder="disableSubmit?'':'请è¾å
¥ç®¡çå¶åº¦'" |
| | | v-decorator="['disUda1', validatorRules.disUda1 ]" |
| | | /> |
| | | </a-form-item> |
| | | </a-col> --> |
| | | </a-col> |
| | | <a-col :span="12"> |
| | | <a-form-item |
| | | label="çæ¬" |
| | |
| | | dataIndex: 'name' |
| | | }, |
| | | { |
| | | title: 'æ£æµæ å', |
| | | title: 'å®ææ°æ®/è¦æ±', |
| | | align: 'center', |
| | | dataIndex: 'detectionStandard' |
| | | }, |
| | |
| | | align: 'center', |
| | | dataIndex: 'inspectionCycleId', |
| | | scopedSlots: { customRender: 'inspectionCycleId' }, |
| | | width: 170, |
| | | }, |
| | | // { |
| | | // title: '示æå¾', |
| | |
| | | // scopedSlots: { customRender: 'photo' }, |
| | | // width: 170, |
| | | // }, |
| | | { |
| | | title: 'é¨ä½', |
| | | align: 'center', |
| | | dataIndex: 'location', |
| | | scopedSlots: { customRender: 'location' }, |
| | | width: 170, |
| | | }, |
| | | // { |
| | | // title: 'é¨ä½', |
| | | // align: 'center', |
| | | // dataIndex: 'location', |
| | | // scopedSlots: { customRender: 'location' }, |
| | | // width: 170, |
| | | // }, |
| | | { |
| | | title: 'æä½', |
| | | align: 'center', |
| | |
| | | historyVersion: { |
| | | rules: [ |
| | | { required: true, message: '请è¾å
¥åå²çæ¬!' }, |
| | | ] |
| | | }, |
| | | disUda1: { |
| | | rules: [ |
| | | { required: true, message: '请è¾å
¥ç®¡çå¶åº¦!' }, |
| | | ] |
| | | }, |
| | | }, |
| | |
| | | that.dataSource = temp; |
| | | } |
| | | that.$nextTick(() => { |
| | | that.form.setFieldsValue(pick(that.model, 'num', 'equipmentId', 'equipmentName', 'useDepartName', 'useId', 'teamName', 'assignMode', 'version', 'remark')); |
| | | that.form.setFieldsValue(pick(that.model, 'num', 'equipmentId', 'equipmentName', 'useDepartName', 'disUda1', 'useId', 'teamName', 'assignMode', 'version', 'remark')); |
| | | }); |
| | | if (record.id) { |
| | | that.codeDisable = true; |
| | |
| | | }, |
| | | ], |
| | | url: { |
| | | list: "/eam/equipment/getEquipmentList", |
| | | list: "/eam/equipment/showEquipmentList", |
| | | }, |
| | | } |
| | | }, |
| | |
| | | // return |
| | | // } |
| | | this.$refs.DailyMaintenanceStandardList.list(data.useId); |
| | | this.$refs.DailyMaintenanceStandardList.title = "éæ©æ¥å¸¸ä¿å
»æ å"; |
| | | this.$refs.DailyMaintenanceStandardList.title = "éæ©äºçº§ä¿å
»æ å"; |
| | | }, |
| | | sendMaintenanceStandardRecord(data) { |
| | | let record = data.record; |
| | |
| | | url: { |
| | | list: "/eam/maintenanceStandardDetail/getMaintenanceStandardList",//æ°æ®æ¥æºmom_eam_daily_inspection_standard_detail |
| | | }, |
| | | /* å页忰 */ |
| | | ipagination: { |
| | | current: 1, |
| | | pageSize: 20, |
| | | pageSizeOptions: ['5', '10', '20', '50'], |
| | | showTotal: (total, range) => { |
| | | return range[0] + '-' + range[1] + ' å
±' + total + 'æ¡' |
| | | }, |
| | | showQuickJumper: true, |
| | | showSizeChanger: true, |
| | | total: 0 |
| | | }, |
| | | } |
| | | }, |
| | | created() { |
| | |
| | | url: { |
| | | list: "/eam/maintenanceStandardDetail/getMaintenanceStandardList",//æ°æ®æ¥æºmom_eam_daily_inspection_standard_detail |
| | | }, |
| | | /* å页忰 */ |
| | | ipagination: { |
| | | current: 1, |
| | | pageSize: 20, |
| | | pageSizeOptions: ['5', '10', '20', '50'], |
| | | showTotal: (total, range) => { |
| | | return range[0] + '-' + range[1] + ' å
±' + total + 'æ¡' |
| | | }, |
| | | showQuickJumper: true, |
| | | showSizeChanger: true, |
| | | total: 0 |
| | | }, |
| | | } |
| | | }, |
| | | created() { |
| | |
| | | import Vue from 'vue' |
| | | import PdfView from '@views/common/PdfView' |
| | | import { getFileAccessHttpUrl } from '@/api/manage'; |
| | | import EquipmentList from '.././dailyInspectionStandard/EquipmentList' |
| | | import EquipmentList from './EquipmentList' |
| | | import DepartList from '.././dailyInspectionStandard/DepartList' |
| | | |
| | | export default { |
¶Ô±ÈÐÂÎļþ |
| | |
| | | <template> |
| | | <a-modal |
| | | :title="title" |
| | | :width="1250" |
| | | :visible="visible" |
| | | :confirmLoading="confirmLoading" |
| | | :okButtonProps="{ props: {disabled: disableSubmit} }" |
| | | @ok="handleOk" |
| | | @cancel="handleCancel" |
| | | cancelText="å
³é" |
| | | > |
| | | <a-spin :spinning="confirmLoading"> |
| | | <a-form :form="form"> |
| | | <div class="table-page-search-wrapper"> |
| | | <a-form |
| | | layout="inline" |
| | | @keyup.enter.native="searchQuery" |
| | | > |
| | | <a-row :gutter="24"> |
| | | <a-col |
| | | :md="6" |
| | | :sm="8" |
| | | > |
| | | <a-form-item label="ç»ä¸ç¼ç "> |
| | | <a-input |
| | | placeholder="请è¾å
¥ç»ä¸ç¼ç æ£ç´¢" |
| | | v-model="queryParam.num" |
| | | ></a-input> |
| | | </a-form-item> |
| | | </a-col> |
| | | |
| | | <a-col |
| | | :md="6" |
| | | :sm="8" |
| | | > |
| | | <a-form-item label="设å¤åç§°"> |
| | | <a-input |
| | | placeholder="请è¾å
¥è®¾å¤åç§°æ£ç´¢" |
| | | v-model="queryParam.name" |
| | | ></a-input> |
| | | </a-form-item> |
| | | </a-col> |
| | | <a-col |
| | | :md="6" |
| | | :sm="8" |
| | | > |
| | | <a-button |
| | | type="primary" |
| | | @click="searchQuery" |
| | | icon="search" |
| | | >æ¥è¯¢</a-button> |
| | | <a-button |
| | | @click="searchReset" |
| | | icon="reload" |
| | | style="margin-left:8px;" |
| | | >éç½®</a-button> |
| | | </a-col> |
| | | </a-row> |
| | | <a-row :gutter="24"> |
| | | <a-col :span="24"> |
| | | |
| | | </a-col> |
| | | </a-row> |
| | | </a-form> |
| | | </div> |
| | | <div style="margin-top:8px;"> |
| | | <a-table |
| | | ref="table" |
| | | size="middle" |
| | | bordered |
| | | rowKey="id" |
| | | :columns="columns" |
| | | :dataSource="dataSource" |
| | | :pagination="ipagination" |
| | | :loading="loading" |
| | | @change="handleTableChange" |
| | | :customRow="clickThenCheck" |
| | | :rowSelection="{selectedRowKeys: selectedRowKeys, onChange: onSelectChange,type:type}" |
| | | > |
| | | |
| | | </a-table> |
| | | </div> |
| | | </a-form> |
| | | </a-spin> |
| | | |
| | | </a-modal> |
| | | </template> |
| | | |
| | | <script> |
| | | |
| | | import { postAction, getAction } from '@/api/manage' |
| | | import JDate from '@/components/jeecg/JDate' |
| | | import Tooltip from 'ant-design-vue/es/tooltip' |
| | | import { JeecgListMixin } from '@/mixins/JeecgListMixin' |
| | | import JEllipsis from '@/components/jeecg/JEllipsis'//å¼å
¥è¿é¿è£åª |
| | | import store from '@/store' |
| | | |
| | | export default { |
| | | name: "EquipmentList", |
| | | mixins: [JeecgListMixin], |
| | | components: { |
| | | JDate, |
| | | Tooltip, |
| | | JEllipsis, |
| | | }, |
| | | data() { |
| | | return { |
| | | title: "设å¤ä¿¡æ¯", |
| | | visible: false, |
| | | model: {}, |
| | | dataSource: [], |
| | | disableSubmit: false, |
| | | type: "radio", |
| | | /* å页忰 */ |
| | | ipagination: { |
| | | current: 1, |
| | | pageSize: 10, |
| | | pageSizeOptions: ['10', '20', '30'], |
| | | showTotal: (total, range) => { |
| | | return range[0] + "-" + range[1] + " å
±" + total + "æ¡" |
| | | }, |
| | | showQuickJumper: true, |
| | | showSizeChanger: true, |
| | | total: 0 |
| | | }, |
| | | labelCol: { |
| | | xs: { span: 24 }, |
| | | sm: { span: 6 }, |
| | | }, |
| | | wrapperCol: { |
| | | xs: { span: 24 }, |
| | | sm: { span: 18 }, |
| | | }, |
| | | confirmLoading: false, |
| | | form: this.$form.createForm(this), |
| | | columns: [ |
| | | { |
| | | title: '#', |
| | | dataIndex: '', |
| | | key: 'rowIndex', |
| | | align: 'center', |
| | | customRender: function (t, r, index) { |
| | | return parseInt(index) + 1 |
| | | } |
| | | }, |
| | | { |
| | | title: 'ç»ä¸ç¼ç ', |
| | | align: 'center', |
| | | dataIndex: 'num', |
| | | }, |
| | | { |
| | | title: '设å¤åç§°', |
| | | align: 'center', |
| | | dataIndex: 'name', |
| | | }, |
| | | { |
| | | title: '设å¤åå·', |
| | | align: "center", |
| | | dataIndex: 'model' |
| | | }, |
| | | { |
| | | title: '设å¤è§æ ¼', |
| | | align: "center", |
| | | dataIndex: 'specification' |
| | | }, |
| | | { |
| | | title: '设å¤ç¶æ', |
| | | align: "center", |
| | | dataIndex: 'equipmentStatus_dictText' |
| | | }, |
| | | ], |
| | | url: { |
| | | list: "/eam/equipment/findEquipmentList", |
| | | }, |
| | | } |
| | | }, |
| | | |
| | | |
| | | methods: { |
| | | |
| | | searchQuery() { |
| | | this.loadData(1); |
| | | }, |
| | | searchReset() { |
| | | this.queryParam = { equipmentStatus: '1' }; |
| | | this.loadData(1) |
| | | }, |
| | | list(params) { |
| | | this.selectedRowKeys = []; |
| | | this.selectedRowRecord = []; |
| | | this.visible = true; |
| | | if (params == null || params == "") { |
| | | this.queryParam.useId = "" |
| | | } else { |
| | | this.queryParam.useId = params |
| | | } |
| | | this.queryParam.equipmentStatus = '1' |
| | | this.loadData(1); |
| | | }, |
| | | clickThenCheck(record) { |
| | | return { |
| | | on: { |
| | | click: (e) => { |
| | | this.selectedRowRecord = record; |
| | | this.onSelectChange(record.id.split(","), [record]); |
| | | } |
| | | } |
| | | }; |
| | | }, |
| | | onSelectChange(selectedRowKeys, selectedRows) { |
| | | this.selectedRowKeys = selectedRowKeys; |
| | | this.selectedRowRecord = selectedRows[0]; |
| | | }, |
| | | close() { |
| | | this.queryParam = {}; |
| | | this.$emit('close'); |
| | | this.visible = false; |
| | | }, |
| | | handleOk() { |
| | | const that = this; |
| | | // 触å表åéªè¯ |
| | | if (that.selectedRowKeys.length > 0) { |
| | | if (that.selectedRowRecord.id != null && that.selectedRowRecord.id != "") { |
| | | that.$emit('sendEquipmentRecord', { record: that.selectedRowRecord }); |
| | | that.close(); |
| | | } else { |
| | | that.$message.error("è¯·éæ©è®¾å¤ä¿¡æ¯ï¼") |
| | | } |
| | | } else { |
| | | that.$message.error("è¯·éæ©è®¾å¤ä¿¡æ¯ï¼") |
| | | } |
| | | }, |
| | | |
| | | handleCancel() { |
| | | this.close(); |
| | | }, |
| | | |
| | | }, |
| | | } |
| | | </script> |
| | | <style scoped> |
| | | .ant-btn { |
| | | padding: 0 10px; |
| | | margin-left: 3px; |
| | | } |
| | | |
| | | .ant-form-item-control { |
| | | line-height: 0px; |
| | | } |
| | | |
| | | .fontweight { |
| | | font-weight: bold; |
| | | } |
| | | |
| | | /** 主表åè¡é´è· */ |
| | | .ant-form .ant-form-item { |
| | | margin-bottom: 10px; |
| | | } |
| | | |
| | | /** Tab页é¢è¡é´è· */ |
| | | .ant-tabs-content .ant-form-item { |
| | | margin-bottom: 0px; |
| | | } |
| | | .ant-table-tbody .ant-table-row td { |
| | | padding-top: 10px; |
| | | padding-bottom: 10px; |
| | | } |
| | | |
| | | .anty-row-operator button { |
| | | margin: 0 5px; |
| | | } |
| | | |
| | | .ant-btn-danger { |
| | | background-color: #ffffff; |
| | | } |
| | | |
| | | .ant-modal-cust-warp { |
| | | height: 100%; |
| | | } |
| | | |
| | | .ant-modal-cust-warp .ant-modal-body { |
| | | height: calc(100% - 110px) !important; |
| | | overflow-y: auto; |
| | | } |
| | | |
| | | .ant-modal-cust-warp .ant-modal-content { |
| | | height: 90% !important; |
| | | overflow-y: hidden; |
| | | } |
| | | |
| | | /deep/ .notshow { |
| | | display: none; |
| | | } |
| | | |
| | | .frozenRowClass { |
| | | color: #c9c9c9; |
| | | } |
| | | .hight { |
| | | color: #f5222d; |
| | | } |
| | | .middle { |
| | | color: #fa8c16; |
| | | } |
| | | .low { |
| | | color: #52c41a; |
| | | } |
| | | .dataUnKnow { |
| | | color: #1890ff; |
| | | } |
| | | |
| | | /deep/ .frozenRowClass { |
| | | color: #c9c9c9; |
| | | } |
| | | </style> |
| | |
| | | <template> |
| | | <a-modal |
| | | :width="800" |
| | | :width="1000" |
| | | :visible="visible" |
| | | :maskClosable="false" |
| | | @ok="handleOk" |
| | |
| | | style="font-size: large;font-style: normal;font-size: 15px;" |
| | | >{{this.model.equipmentNum}}</span> |
| | | </div> |
| | | |
| | | </div> |
| | | <div> |
| | | <div :style="{height: '45px',float: 'left',width: '30%',border: '1px solid #e9e9e9',padding: '10px 10px',background: '#fff',}"> |
| | | <div :style="{height: '45px',float: 'left',width: '25%',border: '1px solid #e9e9e9',padding: '10px 10px',background: '#fff',}"> |
| | | <span |
| | | class="ant-descriptions-title" |
| | | style="font-size: large;font-style: normal;font-size: 15px;" |
| | | >æ£æ¥é¨ä½</span> |
| | | </div> |
| | | <div :style="{height: '45px',float: 'left',width: '40%',border: '1px solid #e9e9e9',padding: '10px 10px',background: '#fff',}"> |
| | | <div :style="{height: '45px',float: 'left',width: '25%',border: '1px solid #e9e9e9',padding: '10px 10px',background: '#fff',}"> |
| | | <span |
| | | class="ant-descriptions-title" |
| | | style="font-size: large;font-style: normal;font-size: 15px;" |
| | | >æ£æ¥æ å</span> |
| | | </div> |
| | | <div :style="{height: '45px',float: 'right',width: '30%',border: '1px solid #e9e9e9',padding: '10px 10px',background: '#fff',}"> |
| | | <div :style="{height: '45px',float: 'left',width: '25%',border: '1px solid #e9e9e9',padding: '10px 10px',background: '#fff',}"> |
| | | <span |
| | | class="ant-descriptions-title" |
| | | style="font-size: large;font-style: normal;font-size: 15px;" |
| | | >æ£æ¥ç»æ(åæ ¼/ä¸åæ ¼)</span> |
| | | >ææ æ¤é¡¹</span> |
| | | </div> |
| | | <div :style="{height: '45px',float: 'right',width: '25%',border: '1px solid #e9e9e9',padding: '10px 10px',background: '#fff',}"> |
| | | <span |
| | | class="ant-descriptions-title" |
| | | style="font-size: large;font-style: normal;font-size: 15px;" |
| | | >æ£æ¥ç»æ</span> |
| | | </div> |
| | | </div> |
| | | |
| | | <div> |
| | | <div :style="{height: '45px',float: 'left',width: '30%',border: '1px solid #e9e9e9',padding: '10px 10px',background: '#fff',}"> |
| | | <div :style="{height: '45px',float: 'left',width: '25%',border: '1px solid #e9e9e9',padding: '10px 10px',background: '#fff',}"> |
| | | <span |
| | | class="ant-descriptions-title" |
| | | style="font-size: large;font-style: normal;font-size: 15px;" |
| | | >æçºµææåå¼å
³</span> |
| | | </div> |
| | | <div :style="{height: '45px',float: 'left',width: '40%',border: '1px solid #e9e9e9',padding: '10px 10px',background: '#fff',}"> |
| | | <div :style="{height: '45px',float: 'left',width: '25%',border: '1px solid #e9e9e9',padding: '10px 10px',background: '#fff',}"> |
| | | <span |
| | | class="ant-descriptions-title" |
| | | style="font-size: large;font-style: normal;font-size: 15px;" |
| | | >å®å
¨ãæ ç ´æ</span> |
| | | </div> |
| | | <div :style="{height: '45px',float: 'right',width: '30%',border: '1px solid #e9e9e9',padding: '10px 10px',background: '#fff',}"> |
| | | <div :style="{height: '45px',float: 'left',width: '25%',border: '1px solid #e9e9e9',padding: '10px 10px',background: '#fff',}"> |
| | | <a-switch |
| | | checked-children="æ" |
| | | un-checked-children="没æ" |
| | | :checked="model.result_8 == '0'" |
| | | @change="handle8Switch(model.result_8)" |
| | | /> |
| | | </div> |
| | | <div :style="{height: '45px',float: 'right',width: '25%',border: '1px solid #e9e9e9',padding: '10px 10px',background: '#fff',}"> |
| | | <a-switch |
| | | checked-children="åæ ¼" |
| | | un-checked-children="ä¸åæ ¼" |
| | | :checked="model.result_1 == '0'" |
| | | @change="handleSwitch(model.result_1)" |
| | | :hidden="model.hidden1Switch" |
| | | /> |
| | | </div> |
| | | </div> |
| | | <div> |
| | | <div :style="{height: '45px',float: 'left',width: '30%',border: '1px solid #e9e9e9',padding: '10px 10px',background: '#fff',}"> |
| | | <div :style="{height: '45px',float: 'left',width: '25%',border: '1px solid #e9e9e9',padding: '10px 10px',background: '#fff',}"> |
| | | <span |
| | | class="ant-descriptions-title" |
| | | style="font-size: large;font-style: normal;font-size: 15px;" |
| | | >ä¼ å¨ç³»ç»</span> |
| | | </div> |
| | | <div :style="{height: '45px',float: 'left',width: '40%',border: '1px solid #e9e9e9',padding: '10px 10px',background: '#fff',}"> |
| | | <div :style="{height: '45px',float: 'left',width: '25%',border: '1px solid #e9e9e9',padding: '10px 10px',background: '#fff',}"> |
| | | <span |
| | | class="ant-descriptions-title" |
| | | style="font-size: large;font-style: normal;font-size: 15px;" |
| | | >çµæ´»ãæ å¼å</span> |
| | | </div> |
| | | <div :style="{height: '45px',float: 'right',width: '30%',border: '1px solid #e9e9e9',padding: '10px 10px',background: '#fff',}"> |
| | | <div :style="{height: '45px',float: 'left',width: '25%',border: '1px solid #e9e9e9',padding: '10px 10px',background: '#fff',}"> |
| | | <a-switch |
| | | checked-children="æ" |
| | | un-checked-children="没æ" |
| | | :checked="model.result_9 == '0'" |
| | | @change="handle9Switch(model.result_9)" |
| | | /> |
| | | </div> |
| | | <div :style="{height: '45px',float: 'right',width: '25%',border: '1px solid #e9e9e9',padding: '10px 10px',background: '#fff',}"> |
| | | <a-switch |
| | | checked-children="åæ ¼" |
| | | un-checked-children="ä¸åæ ¼" |
| | | :checked="model.result_2 == '0'" |
| | | @change="handle2Switch(model.result_2)" |
| | | :hidden="model.hidden2Switch" |
| | | /> |
| | | </div> |
| | | </div> |
| | | <div> |
| | | <div :style="{height: '45px',float: 'left',width: '30%',border: '1px solid #e9e9e9',padding: '10px 10px',background: '#fff',}"> |
| | | <div :style="{height: '45px',float: 'left',width: '25%',border: '1px solid #e9e9e9',padding: '10px 10px',background: '#fff',}"> |
| | | <span |
| | | class="ant-descriptions-title" |
| | | style="font-size: large;font-style: normal;font-size: 15px;" |
| | | >å®å
¨è£
ç½®</span> |
| | | </div> |
| | | <div :style="{height: '45px',float: 'left',width: '40%',border: '1px solid #e9e9e9',padding: '10px 10px',background: '#fff',}"> |
| | | <div :style="{height: '45px',float: 'left',width: '25%',border: '1px solid #e9e9e9',padding: '10px 10px',background: '#fff',}"> |
| | | <span |
| | | class="ant-descriptions-title" |
| | | style="font-size: large;font-style: normal;font-size: 15px;" |
| | | >å®å
¨ãçµæãå¯é </span> |
| | | </div> |
| | | <div :style="{height: '45px',float: 'right',width: '30%',border: '1px solid #e9e9e9',padding: '10px 10px',background: '#fff',}"> |
| | | <div :style="{height: '45px',float: 'left',width: '25%',border: '1px solid #e9e9e9',padding: '10px 10px',background: '#fff',}"> |
| | | <a-switch |
| | | checked-children="æ" |
| | | un-checked-children="没æ" |
| | | :checked="model.result_10 == '0'" |
| | | @change="handle10Switch(model.result_10)" |
| | | /> |
| | | </div> |
| | | <div :style="{height: '45px',float: 'right',width: '25%',border: '1px solid #e9e9e9',padding: '10px 10px',background: '#fff',}"> |
| | | <a-switch |
| | | checked-children="åæ ¼" |
| | | un-checked-children="ä¸åæ ¼" |
| | | :checked="model.result_3 == '0'" |
| | | @change="handle3Switch(model.result_3)" |
| | | :hidden="model.hidden3Switch" |
| | | /> |
| | | </div> |
| | | </div> |
| | | <div> |
| | | <div :style="{height: '45px',float: 'left',width: '30%',border: '1px solid #e9e9e9',padding: '10px 10px',background: '#fff',}"> |
| | | <div :style="{height: '45px',float: 'left',width: '25%',border: '1px solid #e9e9e9',padding: '10px 10px',background: '#fff',}"> |
| | | <span |
| | | class="ant-descriptions-title" |
| | | style="font-size: large;font-style: normal;font-size: 15px;" |
| | | >设å¤å¤è§</span> |
| | | </div> |
| | | <div :style="{height: '45px',float: 'left',width: '40%',border: '1px solid #e9e9e9',padding: '10px 10px',background: '#fff',}"> |
| | | <div :style="{height: '45px',float: 'left',width: '25%',border: '1px solid #e9e9e9',padding: '10px 10px',background: '#fff',}"> |
| | | <span |
| | | class="ant-descriptions-title" |
| | | style="font-size: large;font-style: normal;font-size: 15px;" |
| | | >æ´æ´</span> |
| | | </div> |
| | | <div :style="{height: '45px',float: 'right',width: '30%',border: '1px solid #e9e9e9',padding: '10px 10px',background: '#fff',}"> |
| | | <div :style="{height: '45px',float: 'left',width: '25%',border: '1px solid #e9e9e9',padding: '10px 10px',background: '#fff',}"> |
| | | <a-switch |
| | | checked-children="æ" |
| | | un-checked-children="没æ" |
| | | :checked="model.result_11 == '0'" |
| | | @change="handle11Switch(model.result_11)" |
| | | /> |
| | | </div> |
| | | <div :style="{height: '45px',float: 'right',width: '25%',border: '1px solid #e9e9e9',padding: '10px 10px',background: '#fff',}"> |
| | | <a-switch |
| | | checked-children="åæ ¼" |
| | | un-checked-children="ä¸åæ ¼" |
| | | :checked="model.result_4 == '0'" |
| | | @change="handle4Switch(model.result_4)" |
| | | :hidden="model.hidden4Switch" |
| | | /> |
| | | </div> |
| | | </div> |
| | | <div> |
| | | <div :style="{height: '45px',float: 'left',width: '30%',border: '1px solid #e9e9e9',padding: '10px 10px',background: '#fff',}"> |
| | | <div :style="{height: '45px',float: 'left',width: '25%',border: '1px solid #e9e9e9',padding: '10px 10px',background: '#fff',}"> |
| | | <span |
| | | class="ant-descriptions-title" |
| | | style="font-size: large;font-style: normal;font-size: 15px;" |
| | | >çµæ°çº¿è·¯</span> |
| | | </div> |
| | | <div :style="{height: '45px',float: 'left',width: '40%',border: '1px solid #e9e9e9',padding: '10px 10px',background: '#fff',}"> |
| | | <div :style="{height: '45px',float: 'left',width: '25%',border: '1px solid #e9e9e9',padding: '10px 10px',background: '#fff',}"> |
| | | <span |
| | | class="ant-descriptions-title" |
| | | style="font-size: large;font-style: normal;font-size: 15px;" |
| | | >线路æ´é½ãæ¥çº¿æ£ç¡®</span> |
| | | </div> |
| | | <div :style="{height: '45px',float: 'right',width: '30%',border: '1px solid #e9e9e9',padding: '10px 10px',background: '#fff',}"> |
| | | <div :style="{height: '45px',float: 'left',width: '25%',border: '1px solid #e9e9e9',padding: '10px 10px',background: '#fff',}"> |
| | | <a-switch |
| | | checked-children="æ" |
| | | un-checked-children="没æ" |
| | | :checked="model.result_12 == '0'" |
| | | @change="handle12Switch(model.result_12)" |
| | | /> |
| | | </div> |
| | | <div :style="{height: '45px',float: 'right',width: '25%',border: '1px solid #e9e9e9',padding: '10px 10px',background: '#fff',}"> |
| | | <a-switch |
| | | checked-children="åæ ¼" |
| | | un-checked-children="ä¸åæ ¼" |
| | | :checked="model.result_5 == '0'" |
| | | @change="handle5Switch(model.result_5)" |
| | | :hidden="model.hidden5Switch" |
| | | /> |
| | | </div> |
| | | </div> |
| | | <div> |
| | | <div :style="{height: '45px',float: 'left',width: '30%',border: '1px solid #e9e9e9',padding: '10px 10px',background: '#fff',}"> |
| | | <div :style="{height: '45px',float: 'left',width: '25%',border: '1px solid #e9e9e9',padding: '10px 10px',background: '#fff',}"> |
| | | <span |
| | | class="ant-descriptions-title" |
| | | style="font-size: large;font-style: normal;font-size: 15px;" |
| | | >æ£æ¥åç´§åºè£
ç½®</span> |
| | | </div> |
| | | <div :style="{height: '45px',float: 'left',width: '40%',border: '1px solid #e9e9e9',padding: '10px 10px',background: '#fff',}"> |
| | | <div :style="{height: '45px',float: 'left',width: '25%',border: '1px solid #e9e9e9',padding: '10px 10px',background: '#fff',}"> |
| | | <span |
| | | class="ant-descriptions-title" |
| | | style="font-size: large;font-style: normal;font-size: 15px;" |
| | | >æ æ¾å¨</span> |
| | | </div> |
| | | <div :style="{height: '45px',float: 'right',width: '30%',border: '1px solid #e9e9e9',padding: '10px 10px',background: '#fff',}"> |
| | | <div :style="{height: '45px',float: 'left',width: '25%',border: '1px solid #e9e9e9',padding: '10px 10px',background: '#fff',}"> |
| | | <a-switch |
| | | checked-children="æ" |
| | | un-checked-children="没æ" |
| | | :checked="model.result_13 == '0'" |
| | | @change="handle13Switch(model.result_13)" |
| | | /> |
| | | </div> |
| | | <div :style="{height: '45px',float: 'right',width: '25%',border: '1px solid #e9e9e9',padding: '10px 10px',background: '#fff',}"> |
| | | <a-switch |
| | | checked-children="åæ ¼" |
| | | un-checked-children="ä¸åæ ¼" |
| | | :checked="model.result_6 == '0'" |
| | | @change="handle6Switch(model.result_6)" |
| | | :hidden="model.hidden6Switch" |
| | | /> |
| | | |
| | | </div> |
| | | </div> |
| | | <div> |
| | | <div :style="{height: '45px',float: 'left',width: '70%',border: '1px solid #e9e9e9',padding: '10px 10px',background: '#fff',}"> |
| | | <div :style="{height: '45px',float: 'left',width: '50%',border: '1px solid #e9e9e9',padding: '10px 10px',background: '#fff',}"> |
| | | <span |
| | | class="ant-descriptions-title" |
| | | style="font-size: large;font-style: normal;font-size: 15px;float: center" |
| | | >æ¯å¦æ»¡è¶³ç产å å·¥è¦æ±</span> |
| | | </div> |
| | | <div :style="{height: '45px',float: 'right',width: '30%',border: '1px solid #e9e9e9',padding: '10px 10px',background: '#fff',}"> |
| | | |
| | | <div :style="{height: '45px',float: 'left',width: '25%',border: '1px solid #e9e9e9',padding: '10px 10px',background: '#fff',}"> |
| | | <a-switch |
| | | checked-children="æ" |
| | | un-checked-children="没æ" |
| | | :checked="model.result_14 == '0'" |
| | | @change="handle14Switch(model.result_14)" |
| | | /> |
| | | </div> |
| | | <div :style="{height: '45px',float: 'right',width: '25%',border: '1px solid #e9e9e9',padding: '10px 10px',background: '#fff',}"> |
| | | <a-switch |
| | | checked-children="åæ ¼" |
| | | un-checked-children="ä¸åæ ¼" |
| | | :checked="model.result_7 == '0'" |
| | | @change="handle7Switch(model.result_7)" |
| | | :hidden="model.hidden7Switch" |
| | | /> |
| | | </div> |
| | | </div> |
| | |
| | | this.model = Object.assign({}, this.model); |
| | | }, |
| | | |
| | | handle8Switch(result_8) { |
| | | if ('0' == result_8) { |
| | | this.model.result_8 = '1' |
| | | this.model.hidden1Switch = true |
| | | } else { |
| | | this.model.result_8 = '0' |
| | | this.model.hidden1Switch = false |
| | | } |
| | | |
| | | this.model = Object.assign({}, this.model); |
| | | }, |
| | | |
| | | handle9Switch(result_9) { |
| | | if ('0' == result_9) { |
| | | this.model.result_9 = '1' |
| | | this.model.hidden2Switch = true |
| | | } else { |
| | | this.model.result_9 = '0' |
| | | this.model.hidden2Switch = false |
| | | } |
| | | this.model = Object.assign({}, this.model); |
| | | }, |
| | | |
| | | handle10Switch(result_10) { |
| | | |
| | | if ('0' == result_10) { |
| | | this.model.result_10 = '1' |
| | | this.model.hidden3Switch = true |
| | | } else { |
| | | this.model.result_10 = '0' |
| | | this.model.hidden3Switch = false |
| | | } |
| | | this.model = Object.assign({}, this.model); |
| | | }, |
| | | |
| | | handle11Switch(result_11) { |
| | | if ('0' == result_11) { |
| | | this.model.result_11 = '1' |
| | | this.model.hidden4Switch = true |
| | | } else { |
| | | this.model.result_11 = '0' |
| | | this.model.hidden4Switch = false |
| | | } |
| | | this.model = Object.assign({}, this.model); |
| | | }, |
| | | |
| | | handle12Switch(result_12) { |
| | | if ('0' == result_12) { |
| | | this.model.result_12 = '1' |
| | | this.model.hidden5Switch = true |
| | | } else { |
| | | this.model.result_12 = '0' |
| | | this.model.hidden5Switch = false |
| | | } |
| | | this.model = Object.assign({}, this.model); |
| | | }, |
| | | |
| | | handle13Switch(result_13) { |
| | | if ('0' == result_13) { |
| | | this.model.result_13 = '1' |
| | | this.model.hidden6Switch = true |
| | | } else { |
| | | this.model.result_13 = '0' |
| | | this.model.hidden6Switch = false |
| | | } |
| | | this.model = Object.assign({}, this.model); |
| | | }, |
| | | |
| | | handle14Switch(result_14) { |
| | | if ('0' == result_14) { |
| | | this.model.result_14 = '1' |
| | | this.model.hidden7Switch = true |
| | | } else { |
| | | this.model.result_14 = '0' |
| | | this.model.hidden7Switch = false |
| | | } |
| | | this.model = Object.assign({}, this.model); |
| | | }, |
| | | |
| | | }, |
| | | } |
| | | </script> |
| | |
| | | <template> |
| | | <a-card :bordered="false" :class="'cust-erp-sub-tab'"> |
| | | <a-card |
| | | :bordered="false" |
| | | :class="'cust-erp-sub-tab'" |
| | | > |
| | | <!-- æ¥è¯¢åºå --> |
| | | <div class="table-page-search-wrapper"> |
| | | <a-form layout="inline" @keyup.enter.native="searchQuery"> |
| | | <a-form |
| | | layout="inline" |
| | | @keyup.enter.native="searchQuery" |
| | | > |
| | | <a-row :gutter="24"> |
| | | </a-row> |
| | | </a-form> |
| | |
| | | <!-- æ¥è¯¢åºå-END --> |
| | | |
| | | <!-- æä½æé®åºå --> |
| | | <div class="table-operator" v-if="mainId"> |
| | | <div |
| | | class="table-operator" |
| | | v-if="mainId" |
| | | > |
| | | <!-- <a-button @click="handleAdd" type="primary" icon="plus">æ°å¢</a-button> --> |
| | | <!-- <a-button type="primary" icon="download" @click="handleExportXls('设å¤ç²¾åº¦')">导åº</a-button> |
| | | <a-upload |
| | |
| | | @change="handleImportExcel"> |
| | | <a-button type="primary" icon="import">导å
¥</a-button> |
| | | </a-upload> --> |
| | | <a-dropdown v-if="selectedRowKeys.length > 0" v-has="'accountSons:add&edit&delete&submit'"> |
| | | <a-dropdown |
| | | v-if="selectedRowKeys.length > 0" |
| | | v-has="'accountSons:add&edit&delete&submit'" |
| | | > |
| | | <a-menu slot="overlay"> |
| | | <a-menu-item key="1" @click="batchDel"><a-icon type="delete"/>å é¤</a-menu-item> |
| | | <a-menu-item |
| | | key="1" |
| | | @click="batchDel" |
| | | ><a-icon type="delete" />å é¤</a-menu-item> |
| | | <!-- <a-menu-item key="1" @click="handleSubmitBatch"><a-icon type="to-top" />æäº¤</a-menu-item> --> |
| | | </a-menu> |
| | | <a-button style="margin-left: 8px"> æ¹éæä½ <a-icon type="down" /></a-button> |
| | |
| | | |
| | | <!-- tableåºå-begin --> |
| | | <div> |
| | | <div class="ant-alert ant-alert-info" style="margin-bottom: 16px;"> |
| | | <div |
| | | class="ant-alert ant-alert-info" |
| | | style="margin-bottom: 16px;" |
| | | > |
| | | <i class="anticon anticon-info-circle ant-alert-icon"></i> 已鿩 <a style="font-weight: 600">{{ selectedRowKeys.length }}</a>项 |
| | | <a style="margin-left: 24px" @click="onClearSelected">æ¸
空</a> |
| | | <a |
| | | style="margin-left: 24px" |
| | | @click="onClearSelected" |
| | | >æ¸
空</a> |
| | | </div> |
| | | |
| | | <a-table |
| | |
| | | :pagination="ipagination" |
| | | :loading="loading" |
| | | :rowSelection="{selectedRowKeys: selectedRowKeys, onChange: onSelectChange}" |
| | | @change="handleTableChange"> |
| | | @change="handleTableChange" |
| | | > |
| | | |
| | | <!-- <template |
| | | v-for="col in columns" |
| | |
| | | </a-table> |
| | | </div> |
| | | |
| | | <equipmentPrecisionParameters-modal ref="modalForm" @ok="modalFormOk" :mainId="mainId"></equipmentPrecisionParameters-modal> |
| | | <equipmentPrecisionParameters-modal |
| | | ref="modalForm" |
| | | @ok="modalFormOk" |
| | | :mainId="mainId" |
| | | ></equipmentPrecisionParameters-modal> |
| | | </a-card> |
| | | </template> |
| | | |
| | |
| | | dataIndex: 'tolerance', |
| | | width:400 |
| | | }, |
| | | { |
| | | title:'宿µå¼', |
| | | align:"center", |
| | | dataIndex: 'actualValue', |
| | | width:400 |
| | | }, |
| | | // { |
| | | // title:'宿µå¼', |
| | | // align:"center", |
| | | // dataIndex: 'actualValue', |
| | | // width:400 |
| | | // }, |
| | | ], |
| | | url: { |
| | | list: '/eam/precisionParametersTemplateDetail/listByPrecisionParametersTemplateId', |
| | |
| | | } |
| | | </script> |
| | | <style scoped> |
| | | @import '~@assets/less/common.less' |
| | | @import '~@assets/less/common.less'; |
| | | </style> |
| | |
| | | ids.push(tableData[i].standardId) |
| | | } |
| | | this.$refs.standardSelectModel.showModal(ids) |
| | | this.$refs.standardSelectModel.title = 'éæ©ç²¾åº¦åæ°' |
| | | this.$refs.standardSelectModel.title = 'éæ©è®¾å¤' |
| | | this.$refs.standardSelectModel.disableSubmit = false |
| | | }, |
| | | addSelected(data) { |
| | |
| | | visible: false, |
| | | loading: false, |
| | | url: { |
| | | list: '/eam/equipment/getEquipmentList', |
| | | list: '/eam/equipment/showEquipmentList', |
| | | getStandards:'/eam/equipmentMaintenancePlan/getStandards' |
| | | }, |
| | | } |
| | |
| | | <a-spin :spinning="confirmLoading"> |
| | | <j-form-container :disabled="formDisabled"> |
| | | <!-- 主表ååºå --> |
| | | <a-form-model ref="form" :model="model" :rules="validatorRules" slot="detail"> |
| | | <a-form-model |
| | | ref="form" |
| | | :model="model" |
| | | :rules="validatorRules" |
| | | slot="detail" |
| | | > |
| | | <a-row :gutter="24"> |
| | | <a-col :span="12"> |
| | | <a-form-model-item |
| | |
| | | </a-form-model> |
| | | </j-form-container> |
| | | <!-- å表ååºå --> |
| | | <a-tabs v-model="activeKey" @change="handleChangeTabs"> |
| | | <a-tab-pane tab="ç²¾åº¦åæ°æç»" :key="refKeys[0]" :forceRender="true"> |
| | | <a-tabs |
| | | v-model="activeKey" |
| | | @change="handleChangeTabs" |
| | | > |
| | | <a-tab-pane |
| | | tab="ç²¾åº¦åæ°æç»" |
| | | :key="refKeys[0]" |
| | | :forceRender="true" |
| | | > |
| | | <j-vxe-table |
| | | keep-source |
| | | :ref="refKeys[0]" |
| | |
| | | > |
| | | <!-- @valueChange="changeDate" --> |
| | | <template slot='toolbarPrefix'> |
| | | <a-button type='primary' @click='precisionParametersDetailSelect' :disabled="formDisabled" icon="plus">éæ©ç²¾åº¦åæ° |
| | | <a-button |
| | | type='primary' |
| | | @click='precisionParametersDetailSelect' |
| | | :disabled="formDisabled" |
| | | icon="plus" |
| | | >éæ©ç²¾åº¦åæ° |
| | | </a-button> |
| | | </template> |
| | | </j-vxe-table> |
| | | </a-tab-pane> |
| | | </a-tabs> |
| | | <j-select-precision-parameters-modal @selectionRows='selectionRows' ref='JSelectPrecisionParametersModal' ></j-select-precision-parameters-modal> |
| | | <j-select-precision-parameters-modal |
| | | @selectionRows='selectionRows' |
| | | ref='JSelectPrecisionParametersModal' |
| | | ></j-select-precision-parameters-modal> |
| | | </a-spin> |
| | | </template> |
| | | |
| | |
| | | width:"350px", |
| | | placeholder: '请è¾å
¥${title}', |
| | | align:'center', |
| | | validateRules: [ |
| | | { handler({ cellValue, row, column }, callback, target) { |
| | | const regex = /^[+]?\d*\.?\d+\/[+]?\d*\.?\d+$/; |
| | | if (!new RegExp(regex).test(cellValue)&&cellValue!=null) { |
| | | callback(false, 'å
å·®è¦ç¬¦åãä¸é/è·ç¦»ãçå¡«åè§åï¼å¦: 0.16/300') // false = æªéè¿ï¼å¯ä»¥è·èªå®ä¹æç¤º |
| | | } else { |
| | | callback(true) // true = éè¿éªè¯ |
| | | } |
| | | }, |
| | | message: '${title}é»è®¤æç¤º' |
| | | }, |
| | | ] |
| | | // validateRules: [ |
| | | // { handler({ cellValue, row, column }, callback, target) { |
| | | // const regex = /^[+]?\d*\.?\d+\/[+]?\d*\.?\d+$/; |
| | | // if (!new RegExp(regex).test(cellValue)&&cellValue!=null) { |
| | | // callback(false, 'å
å·®è¦ç¬¦åãä¸é/è·ç¦»ãçå¡«åè§åï¼å¦: 0.16/300') // false = æªéè¿ï¼å¯ä»¥è·èªå®ä¹æç¤º |
| | | // } else { |
| | | // callback(true) // true = éè¿éªè¯ |
| | | // } |
| | | // }, |
| | | // message: '${title}é»è®¤æç¤º' |
| | | // }, |
| | | // ] |
| | | }, |
| | | ] |
| | | }, |