Commit 8d0f20dc authored by kangzhenfei's avatar kangzhenfei

质量判定

parent 8c246756
......@@ -21586,8 +21586,8 @@
},
"throttle-debounce": {
"version": "2.1.0",
"resolved": "https://registry.npm.taobao.org/throttle-debounce/download/throttle-debounce-2.1.0.tgz",
"integrity": "sha1-JX5kjwpWvZ5U/g8TLEq4YR304dU="
"resolved": "https://registry.npmjs.org/throttle-debounce/-/throttle-debounce-2.1.0.tgz",
"integrity": "sha512-AOvyNahXQuU7NN+VVvOOX+uW6FPaWdAOdRP5HfwYxAfCzXTFKRMoIMk+n+po318+ktcChx+F1Dd91G3YHeMKyg=="
},
"through": {
"version": "2.3.8",
......@@ -22126,8 +22126,8 @@
},
"v-viewer": {
"version": "1.5.1",
"resolved": "https://registry.npm.taobao.org/v-viewer/download/v-viewer-1.5.1.tgz?cache=0&sync_timestamp=1576116938938&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2Fv-viewer%2Fdownload%2Fv-viewer-1.5.1.tgz",
"integrity": "sha1-lIBNg4FMylZuaRM5/h5keTSG8gA=",
"resolved": "https://registry.npmjs.org/v-viewer/-/v-viewer-1.5.1.tgz",
"integrity": "sha512-Q5ICKzmYQD0qTf+hti2Lhgy6UYY2zgFr+YrN9a3yPgr7pOjYrG405Pz4+6Z6FXlhdhGysCWFJUNCI2tsIyvjWQ==",
"requires": {
"throttle-debounce": "^2.0.1",
"viewerjs": "^1.5.0"
......@@ -22180,8 +22180,8 @@
},
"viewerjs": {
"version": "1.5.0",
"resolved": "https://registry.npm.taobao.org/viewerjs/download/viewerjs-1.5.0.tgz",
"integrity": "sha1-3r6pSSGJ+kEiPMVn3pFdeUNYmdA="
"resolved": "https://registry.npmjs.org/viewerjs/-/viewerjs-1.5.0.tgz",
"integrity": "sha512-ZiJ0vrXDvomLSY3ixaZCJtmdenomsvPPQwZKwvtXUMCiO2HHtFGoB/KqpS9QzABSeKaRLfcENp1uRYJ7l1MkYQ=="
},
"vm-browserify": {
"version": "1.1.2",
......
import Api from '@/plugins/request'
export default {
index: `${PlanUrl}/orderexecutequalityrecord/dispatchproductcodes`,
// 质量判定获取所有产品数据
getpaged(params) {
return Api.get(`${PlanUrl}/orderexecutequalityrecord/dispatchproductcodes`, params);
},
// 质量判定提交
submitData(params) {
return Api.post(`${PlanUrl}/orderexecutequalityrecord/checkdispatchproduct`, params);
},
......
......@@ -391,8 +391,9 @@
}
.mass_box{
h2{ height: 40px;}
.heger{ color: #2680EB;}
.weizhix{ color: #4d5055;}
.rangb{ color: #515A6E;}
.hege{ color: #2680EB;}
.fanxiu{ color: #FFA000;}
.feipin{ color: #FE7777;}
.chuanse{
......@@ -403,6 +404,7 @@
margin: 0 30px 0 0;
color: #fff;
}
.button04{ background: #2680EB; }
.button01{ background: #515A6E; }
.button02{ background: #FFA000; }
.button03{ background: #FE7777; }
......@@ -439,6 +441,11 @@
}
}
}
.hege_box{
.ivu-tag-dot-inner{
background: #2680EB;
}
}
.rangbu{
.list02{
.tag_card02{
......
......@@ -17,29 +17,17 @@
<div class="header">
<a class="gd_tt" @click="goToOrder"><Icon type="ios-undo-outline" />工单列表</a>
<Dictionary code="taskList.status" class="select_star fr" v-model="odermodel" @on-change="searchOrder"></Dictionary>
<!-- <Select v-model="odermodel" style="width:100px" @on-change="searchOrder">
<Option v-for="item in oderList" :value="item.value" :key="item.index">{{ item.label }} -->
<!-- <state
code="taskList.status"
ref="state" class="fr"
:value="item.value"
type="text"
></state>-->
</Option>
</Select>
<!-- <a class="openAll"><Icon type="ios-list" size="18" /> 展开全部列表</a> -->
</div>
<div class="select_t">
<!-- <Select v-model="odermodel" style="width:100px" @on-change="searchOrder">
<Option v-for="item in oderList" :value="item.value" :key="item.index">{{ item.label }}</Option>
</Select>-->
<!-- <span class="gd_length">{{listLength}}</span> -->
<Button class>时间正序排列</Button>
</div>
</div>
<!-- 列表卡片主内容 -->
<orderlist ref="orderlist" />
</Drawer>
<!-- title="功能区" -->
<!-- 功能区 -->
<Drawer
class="gn_box"
:closable="false"
......
<template>
<div class="wu_bg">
<div class="mass_box">
<h2 class="heger">合格({{cardlist.length}}</h2>
<div class="mass_list">
<p class="btn_play">
<Button class="button" type="primary" @click="allcheck">全选</Button>
<Button class="button" type="primary" @click="rechecked">反选</Button>
</p>
<div class="list01">
<!-- -->
<Tag type="dot" :checkable="true" class="tag_card" size="large" v-for="(item,index) in cardlist" :name="item.id" :key="index" :checked="item.checked"
color="primary" @on-change="changeCards" >
{{item.prefix}}.{{item.code}}</Tag>
</div>
</div>
<div class="chuanse">
<Button class="button01" @click="chanserang">让步</Button>
<Button class="button02" @click="chansefan">返修</Button>
<Button class="button03" @click="chansefei">不合格品</Button>
</div>
<div class="mass_list rangbu" v-if="ranglist.length>0">
<h2 class="rangb">让步({{ranglist.length}}
<!-- consoleFun cansolRang -->
<Button class="fr" @click="consoleFun(1)"><Icon type="md-close" /></Button>
</h2>
<div class="list02">
<Tag type="dot" class="tag_card02" v-for="(item,index) in ranglist" :key="index" :name="item.id" :checkable="false" closable @on-close="handleClose">{{ item.code}}</Tag>
</div>
</div>
<div class="mass_list fanxiu_box" v-if="fanlist.length>0">
<h2 class="fanxiu">返修({{fanlist.length}}
<!-- consoleFun(1) cansolfan -->
<Button class="fr" @click="consoleFun(2)"><Icon type="md-close" /></Button>
</h2>
<div class="list02">
<Tag type="dot" class="tag_card02" v-for="(item,index) in fanlist" :key="index" :name="item.id" :checkable="false" closable @on-close="fanClose">{{ item.code}}</Tag>
</div>
</div>
<div class="mass_list fei_box" v-if="feilist.length>0">
<h2 class="feipin">不合格品({{feilist.length}}
<!-- consoleFun(1) cansolfei-->
<Button class="fr" @click="consoleFun(3)"><Icon type="md-close" /></Button>
</h2>
<div class="list02">
<Tag type="dot" class="tag_card02" v-for="(item,index) in feilist" :key="index" :name="item.id" :checkable="false" closable @on-close="feiClose">{{ item.code}}</Tag>
</div>
</div>
<div class="fei_right" v-if="feilist.length>0">
<Form
:model="orderForm"
:label-width="110"
:rules="rules"
ref="formValidate"
>
<FormItem label="问题原因:" prop="question" style="width:100%">
<Select v-model="orderForm.question"style="width:80%">
<Option value="" class="option-text">请选择</Option><!-- :disabled="feilist.length == 0 ? true:false" placeholder="选择问题原因" -->
<Option v-for="item in problemList" :value="item.problem" :key="item.index">{{ item.problem }}</Option>
</Select>
</FormItem>
<FormItem label="责任归属:" prop="useroption" style="width:100%">
<Select v-model="orderForm.useroption" style="width:80%">
<Option value="" class="option-text">请选择</Option>
<Option v-for="item in blameList" :value="item.user" :key="item.index">{{ item.user }}</Option>
</Select>
</FormItem>
</Form>
</div>
<div class="wu_bg">
<div class="mass_box">
<h2 class="weizhix">未执行({{cardlist.length}}</h2>
<div class="mass_list">
<p class="btn_play">
<Button class="button" type="primary" @click="allcheck">全选</Button>
<Button class="button" type="primary" @click="rechecked">反选</Button>
</p>
<div class="list01">
<!-- -->
<Tag
type="dot"
:checkable="true"
class="tag_card"
size="large"
v-for="(item,index) in cardlist"
:name="item.id"
:key="index"
:checked="item.checked"
color="primary"
@on-change="changeCards"
>{{item.prefix}}.{{item.code}}</Tag>
</div>
</div>
<div class="chuanse">
<Button class="button04" @click="chansehege">合格</Button>
<Button class="button01" @click="chanserang">让步</Button>
<Button class="button02" @click="chansefan">返修</Button>
<Button class="button03" @click="chansefei">不合格品</Button>
</div>
<div class="mass_list hege_box" v-if="hegelist.length>0">
<h2 class="hege">
合格({{hegelist.length}}
<Button class="fr" @click="consoleFun(0)">
<Icon type="md-close" />
</Button>
</h2>
<div class="list02">
<Tag
type="dot"
class="tag_card02"
v-for="(item,index) in hegelist"
:key="index"
:name="item.id"
:checkable="false"
closable
@on-close="hegeClose"
>{{ item.code}}</Tag>
</div>
</div>
<div class="mass_list rangbu" v-if="ranglist.length>0">
<h2 class="rangb">
让步({{ranglist.length}}
<!-- consoleFun cansolRang -->
<Button class="fr" @click="consoleFun(1)">
<Icon type="md-close" />
</Button>
</h2>
<div class="list02">
<Tag
type="dot"
class="tag_card02"
v-for="(item,index) in ranglist"
:key="index"
:name="item.id"
:checkable="false"
closable
@on-close="handleClose"
>{{ item.code}}</Tag>
</div>
</div>
<div class="mass_list fanxiu_box" v-if="fanlist.length>0">
<h2 class="fanxiu">
返修({{fanlist.length}}
<Button class="fr" @click="consoleFun(2)">
<Icon type="md-close" />
</Button>
</h2>
<div class="list02">
<Tag
type="dot"
class="tag_card02"
v-for="(item,index) in fanlist"
:key="index"
:name="item.id"
:checkable="false"
closable
@on-close="fanClose"
>{{ item.code}}</Tag>
</div>
<div class="futer flex fc-ev" v-if="ranglist.length>0||fanlist.length>0||feilist.length>0" >
<Button class="button" size='large' type="primary" @click="sendOrder" v-if="feilist.length>0"> 送审</Button>
<Button class="button" size='large' type="primary" @click="submit" v-else> 提交</Button>
<Button class="button" size='large' @click="toOrder"> 取消</Button>
</div>
<div class="mass_list fei_box" v-if="feilist.length>0">
<h2 class="feipin">
不合格品({{feilist.length}}
<Button class="fr" @click="consoleFun(3)">
<Icon type="md-close" />
</Button>
</h2>
<div class="list02">
<Tag
type="dot"
class="tag_card02"
v-for="(item,index) in feilist"
:key="index"
:name="item.id"
:checkable="false"
closable
@on-close="feiClose"
>{{ item.code}}</Tag>
</div>
<!-- 订单送审 -->
<Modal
v-model="ModalOrder"
title="订单送审"
:mask-closable="false"
:scrollable="true"
fullscreen>
<OrderSendReview ref="orderSendReview"></OrderSendReview>
<div slot="footer">
<Button @click="ModalOrder = false">取消</Button>
<Button type="primary" @click="orderSendOk">确定送审</Button>
</div>
</Modal>
<!-- 确定弹框 @on-cancel="cancelModal"-->
<Modal
v-model="suModal"
:title="mTitle"
@on-ok="okModal">
<p>是否全部取消?</p>
</Modal>
</div>
<div class="fei_right" v-if="feilist.length>0">
<Form :model="orderForm" :label-width="110" :rules="rules" ref="formValidate">
<FormItem label="问题原因:" prop="question" style="width:100%">
<Select v-model="orderForm.question" style="width:80%">
<Option value class="option-text">请选择</Option>
<!-- :disabled="feilist.length == 0 ? true:false" placeholder="选择问题原因" -->
<Option
v-for="item in problemList"
:value="item.problem"
:key="item.index"
>{{ item.problem }}</Option>
</Select>
</FormItem>
<FormItem label="责任归属:" prop="useroption" style="width:100%">
<Select v-model="orderForm.useroption" style="width:80%">
<Option value class="option-text">请选择</Option>
<Option v-for="item in blameList" :value="item.user" :key="item.index">{{ item.user }}</Option>
</Select>
</FormItem>
</Form>
</div>
</div>
<div class="futer flex fc-ev" v-if="ranglist.length>0||fanlist.length>0||feilist.length>0">
<Button
class="button"
size="large"
type="primary"
@click="sendOrder"
v-if="feilist.length>0"
>送审</Button>
<Button class="button" size="large" type="primary" @click="submit" v-else>提交</Button>
<Button class="button" size="large" @click="toOrder">取消</Button>
</div>
<!-- 订单送审 -->
<Modal v-model="ModalOrder" title="订单送审" :mask-closable="false" :scrollable="true" fullscreen>
<OrderSendReview ref="orderSendReview"></OrderSendReview>
<div slot="footer">
<Button @click="ModalOrder = false">取消</Button>
<Button type="primary" @click="orderSendOk">确定送审</Button>
</div>
</Modal>
<!-- 确定弹框 @on-cancel="cancelModal"-->
<Modal v-model="suModal" :title="mTitle" @on-ok="okModal">
<p>是否全部取消?</p>
</Modal>
</div>
</template>
<script>
import Api from "../api";
import OrderSendReview from '@/components/orderOperator/orderSendReview'
import OrderSendReview from "@/components/orderOperator/orderSendReview";
export default {
name:'starOrder',
components:{OrderSendReview},
data(){
return{
checkedflag:false,
ModalOrder:false,
suModal:false,
mTitle:'确认弹框',
num:'',
surMasg:'',
rules:{
question: [
{
required: true,
message: "请选择问题原因",
trigger: "change"
}
],
useroption: [
{
required: true,
message: "请选择责任人",
trigger: "change"
}
],
},
orderForm:{
question:'',
useroption:''
},
cardlist:[],
ranglist:[],
fanlist:[],
feilist:[],
problemList:[
{ problem:"问题描述01" , },
{ problem:"问题描述02" , },
{ problem:"问题描述03" , },
],
blameList:[
{ user:"责任人01" , },
{ user:"责任人02" , },
{ user:"责任人03" , },
],
name: "starOrder",
components: { OrderSendReview },
data() {
return {
checkedflag: false,
ModalOrder: false,
suModal: false,
mTitle: "确认弹框",
num: "",
surMasg: "",
rules: {
question: [
{
required: true,
message: "请选择问题原因",
trigger: "change"
}
],
useroption: [
{
required: true,
message: "请选择责任人",
trigger: "change"
}
]
},
orderForm: {
question: "",
useroption: ""
},
cardlist: [],
hegelist: [],
ranglist: [],
fanlist: [],
feilist: [],
problemList: [
{ problem: "问题描述01" },
{ problem: "问题描述02" },
{ problem: "问题描述03" }
],
blameList: [
{ user: "责任人01" },
{ user: "责任人02" },
{ user: "责任人03" }
]
};
},
created() {
this.loadFun();
},
async fetch({ store, params }) {
await store.dispatch("loadDictionary"); // 加载数据字典
},
mounted() {
window.onresize = () => {
///浏览器窗口大小变化
return (() => {
this.treeHeight = window.innerHeight - 120;
})();
};
},
methods: {
loadFun() {
let pid = this.$route.query.id; // JSON.stringify()
Api.getpaged({ id: pid }).then(res => {
if (res.success) {
let resoult = res.result;
resoult.filter(u => {
u.checked = false;
});
this.cardlist = resoult;
} else {
console.log(res.error);
}
});
},
created() {
this.loadFun()
// 全选
allcheck() {
let cardslist = this.cardlist;
cardslist.map(a => {
a.checked = true;
});
},
async fetch({ store, params }) {
await store.dispatch("loadDictionary"); // 加载数据字典
// 反选
rechecked() {
let cardslist = this.cardlist;
cardslist.map(b => {
b.checked = !b.checked;
});
},
// 单选
changeCards(checked, name) {
let lists = this.cardlist;
lists.map((u, i) => {
if (u.id == name) {
u.checked = true;
}
});
},
// 合格 1
chansehege() {
let oldList = this.cardlist;
let indese = [];
oldList.map((u, i) => {
if (u.checked) {
u.productStatus = 1;
this.hegelist.push(u);
}
});
indese = oldList.filter(item => !this.hegelist.includes(item));
this.cardlist = indese;
},
// 让步 3
chanserang() {
let oldList = this.cardlist;
let indese = [];
oldList.map((u, i) => {
if (u.checked) {
u.productStatus = 3;
this.ranglist.push(u);
}
});
indese = oldList.filter(item => !this.ranglist.includes(item));
this.cardlist = indese;
},
// 返修 4
chansefan() {
let oldList = this.cardlist;
let indese = [];
oldList.map((u, i) => {
if (u.checked) {
u.productStatus = 4;
this.fanlist.push(u);
}
});
indese = oldList.filter(item => !this.fanlist.includes(item));
this.cardlist = indese;
},
// 不合格品(报废)2
chansefei() {
let oldList = this.cardlist;
let indese = [];
oldList.map((u, i) => {
if (u.checked) {
u.productStatus = 2;
this.feilist.push(u);
}
});
indese = oldList.filter(item => !this.feilist.includes(item));
this.cardlist = indese;
},
mounted() {
window.onresize = () => {
///浏览器窗口大小变化
return (() => {
this.treeHeight = window.innerHeight - 120;
})();
// 让步关闭
handleClose(event, name) {
let rangold = this.ranglist;
let index = this.ranglist.findIndex(item => {
return item.id === name;
});
let itemlist = rangold.filter(item => {
if (item.id === name) {
item.productStatus = 0
return item;
}
});
this.ranglist.splice(index, 1);
this.cardlist.splice(0, 0, itemlist[0]);
},
consoleFun(u) {
this.suModal = true;
this.num = u;
},
okModal() {
let unmb = this.num;
if (unmb == 1) {
this.cansolRang();
this.suModal = false;
}
if (unmb == 2) {
this.cansolfan();
this.suModal = false;
}
if (unmb == 3) {
this.cansolfei();
this.suModal = false;
} else {
this.cansolhege();
this.suModal = false;
}
},
cansolhege() {
let hegeplist = this.hegelist;
hegeplist.map(v => {
v.productStatus = 0
this.cardlist.unshift(v);
});
this.hegeplist = [];
},
hegeClose(event, name) {
let hegeold = this.hegelist;
let inde = this.hegelist.findIndex(item => {
return item.id === name;
});
let utemlist = hegeold.filter(utem => {
if (utem.id == name) {
utem.productStatus = 0
return utem;
}
});
this.hegelist.splice(inde, 1);
this.cardlist.splice(0, 0, utemlist[0]);
},
cansolRang() {
let rangblist = this.ranglist;
rangblist.map(v => {
v.productStatus = 0
this.cardlist.unshift(v);
});
this.ranglist = [];
},
fanClose(event, name) {
let fanold = this.fanlist;
let inde = this.fanlist.findIndex(item => {
return item.id === name;
});
let utemlist = fanold.filter(utem => {
if (utem.id == name) {
utem.productStatus = 0
return utem;
}
});
this.fanlist.splice(inde, 1);
this.cardlist.splice(0, 0, utemlist[0]);
},
cansolfan() {
let fanglist = this.fanlist;
fanglist.map(v => {
v.productStatus = 0
this.cardlist.unshift(v);
});
this.fanlist = [];
},
feiClose(event, name) {
let feiold = this.feilist;
let indexed = this.feilist.findIndex(item => {
return item.id === name;
});
let rtemlist = feiold.filter(rtem => {
if (rtem.id == name) {
rtem.productStatus = 0
return rtem;
}
});
this.feilist.splice(indexed, 1);
this.cardlist.splice(0, 0, rtemlist[0]);
},
cansolfei() {
let feipinlist = this.feilist;
feipinlist.map(v => {
v.productStatus = 0
this.cardlist.unshift(v);
});
this.feilist = [];
},
// 提交
submit() {
this.$Message.success("提交中...");
let parmes={
dispatchId: this.$route.query.id,
list: [
{
"productStatus": 0,
"prodcutIds": [
0
],
"cause": "string",
"reporter": "string"
}
]
};
let orderId = this.$route.query.orderId;
let executeId = this.$route.query.executeId;
console.log()
// Api.submitData().then(res=>{
// })
},
// 送审
sendOrder() {
this.$refs["formValidate"].validate(valid => {
if (valid) {
// this.$Message.success("送审...")
this.ModalOrder = true;
}
});
},
methods: {
loadFun(){
let pid = this.$route.query.id // JSON.stringify()
Api.getpaged({id:pid}).then(res=>{
if(res.success){
let resoult = res.result
resoult.filter(u=>{ u.checked = false})
this.cardlist = resoult
}else{
console.log(res.error)
}
})
},
// 全选
allcheck(){
let cardslist = this.cardlist
cardslist.map((a)=>{
a.checked = true
})
},
// 反选
rechecked(){
let cardslist = this.cardlist
cardslist.map((b)=>{ b.checked = !b.checked })
},
// 单选
changeCards(checked,name){
let lists = this.cardlist
lists.map((u,i)=>{
if(u.id==name){ u.checked = true }
})
},
// 让步
chanserang(){
let oldList = this.cardlist
let indese=[]
oldList.map((u,i)=>{
if(u.checked){
this.ranglist.push(u)
}
})
indese = oldList.filter(item => !this.ranglist.includes(item))
this.cardlist = indese
},
// 返工
chansefan(){
let oldList = this.cardlist
let indese=[]
oldList.map((u,i)=>{
if(u.checked){
this.fanlist.push(u)
}
})
indese = oldList.filter(item => !this.fanlist.includes(item))
this.cardlist = indese
},
// 不合格品
chansefei(){
let oldList = this.cardlist
let indese=[]
oldList.map((u,i)=>{
if(u.checked){
this.feilist.push(u)
}
})
indese = oldList.filter(item => !this.feilist.includes(item))
this.cardlist = indese
},
handleClose(event,name){
let rangold = this.ranglist
let index = this.ranglist.findIndex(item => {
return item.id === name;
});
let itemlist = rangold.filter(item => {
if(item.id === name){ return item }
})
this.ranglist.splice(index, 1);
this.cardlist.splice( 0,0, itemlist[0]);
},
consoleFun(u){
this.suModal = true
this.num = u
},
okModal(){
let unmb = this.num
if(unmb==1){
this.cansolRang()
this.suModal = false
}
if(unmb==2){
this.cansolfan()
this.suModal = false
}
if(unmb==3){
this.cansolfei()
this.suModal = false
}
},
cansolRang(){
let rangblist = this.ranglist
rangblist.map(v =>{
this.cardlist.unshift(v);
})
this.ranglist = []
},
fanClose(event,name){
let fanold = this.fanlist
let inde = this.fanlist.findIndex(item => {
return item.id === name;
});
let utemlist = fanold.filter(utem => {
if(utem.id == name){ return utem }
})
this.fanlist.splice(inde, 1);
this.cardlist.splice(0, 0, utemlist[0]);
},
cansolfan(){
let fanglist = this.fanlist
fanglist.map(v =>{
this.cardlist.unshift(v);
})
this.fanlist = []
},
feiClose(event,name){
let feiold = this.feilist
let indexed = this.feilist.findIndex(item => {
return item.id === name;
});
let rtemlist = feiold.filter(rtem => {
if(rtem.id == name){ return rtem }
})
this.feilist.splice(indexed, 1);
this.cardlist.splice(0, 0, rtemlist[0]);
},
cansolfei(){
let feipinlist = this.feilist
feipinlist.map(v =>{
this.cardlist.unshift(v);
})
this.feilist = []
},
// 提交
submit(){
this.$Message.success("提交中...")
},
// 送审
sendOrder(){
this.$refs['formValidate'].validate((valid) => {
if(valid){
// this.$Message.success("送审...")
this.ModalOrder = true
}
})
},
orderSendOk(){
ahis.$Message.success("送审中...")
},
// 取消
toOrder(){
this.$router.push("/produce/orderlist");
},
orderSendOk() {
ahis.$Message.success("送审中...");
},
}
// 取消 返回工单列表
toOrder() {
this.$router.push("/produce/orderlist");
}
}
};
</script>
......@@ -17,7 +17,7 @@
<Button class="button" size="large" type="primary">
<Icon type="ios-checkmark-circle-outline" />完工
</Button>
<Button class="button" size="large" type="primary">
<Button class="button" size="large" type="primary" @click="transferFn">
<Icon type="md-swap" />转序交接
</Button>
</div>
......@@ -77,6 +77,10 @@
<vie />
</div>
</div>
<Modal v-model="ransferModal" :title="transferTitle" width="800" >
<!-- <component :is="detail" :eid="curId" @on-close="cancel" @on-ok="ok" footer-hide/> -->
<p>转序交接</p>
</Modal>
</div>
</template>
<script>
......@@ -91,6 +95,8 @@ export default {
starmodal: true,
contentMsge:
"<ul><li>暂停 2020-02-06 15:35</li><li>继续 2020-02-06 15:35</li></ul>",
ransferModal: false,
transferTitle: "确认转序",
};
},
created() {
......@@ -111,6 +117,9 @@ export default {
starFun() {
this.$Message.success("开工...");
},
transferFn(){
this.ransferModal = true
},
inited(viewer) {
this.$viewer = viewer;
},
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment