Commit b1a569e2 by xin.yang
parents abfc20d4 b1c93d17
...@@ -352,12 +352,15 @@ export default { ...@@ -352,12 +352,15 @@ export default {
this.b = index; this.b = index;
let status = this.stationList[index].status; let status = this.stationList[index].status;
this.sectionid = this.stationList[index].section; this.sectionid = this.stationList[index].section;
if (status == 1) { if (status == 3) {
this.attr2 = true;
} else {
this.attr1 = true; this.attr1 = true;
this.tabindex = "2"; this.tabindex = "2";
this.getRunningDetail(index); this.getRunningDetail(index);
} else {
this.attr2 = true;
}
if (status == 2) {
this.getRunningDetail(index);
} }
}, },
//获取储位 //获取储位
......
...@@ -424,6 +424,7 @@ export default { ...@@ -424,6 +424,7 @@ export default {
fileurl: "", fileurl: "",
filename: "", filename: "",
UploadAction: this.axios.publicPath + "config/upload/UploadImage", UploadAction: this.axios.publicPath + "config/upload/UploadImage",
childObj:{}
}; };
}, },
created() { created() {
......
...@@ -23,7 +23,7 @@ ...@@ -23,7 +23,7 @@
<div class="searchBtn"> <div class="searchBtn">
<Button type="primary" class="twoWord" icon="ios-search" @click="tosearch()">{{ $t(1001) }}</Button> <Button type="primary" class="twoWord" icon="ios-search" @click="tosearch()">{{ $t(1001) }}</Button>
<Button type="success" class="twoWord" icon="md-add-circle" @click="add()">{{$t('1002')}}</Button> <Button type="success" class="twoWord" icon="md-add-circle" @click="add()">{{$t('1002')}}</Button>
<Button type="warning" class="twoWord" icon="ios-create-outline" @click="edit()">{{$t('1003')}}</Button> <Button type="warning" class="twoWord intervalRight" icon="ios-create-outline" @click="edit()">{{$t('1003')}}</Button>
<Button type="primary" class="fourWord" icon="md-download" @click="loadexcel()">{{$t('1005')}}</Button> <Button type="primary" class="fourWord" icon="md-download" @click="loadexcel()">{{$t('1005')}}</Button>
<Upload <Upload
style="display:inline-block" style="display:inline-block"
...@@ -127,9 +127,9 @@ ...@@ -127,9 +127,9 @@
<Upload <Upload
ref="upload" ref="upload"
:show-upload-list="false" :show-upload-list="false"
:on-success="handleSuccess" :on-success="handleSuccess1"
:before-upload="handleBeforeUpload" :before-upload="handleBeforeUpload"
:on-error="handleError" :on-error="handleError1"
type="drag" type="drag"
:headers="headers" :headers="headers"
:action="UploadAction"> :action="UploadAction">
......
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