|
|
@ -8,7 +8,13 @@
|
|
|
|
style="width: 400px"
|
|
|
|
style="width: 400px"
|
|
|
|
></el-input>
|
|
|
|
></el-input>
|
|
|
|
</el-form-item>
|
|
|
|
</el-form-item>
|
|
|
|
|
|
|
|
<el-form-item class="query-form-item">
|
|
|
|
|
|
|
|
<el-select v-model="filterQuery.enable" placeholder="启用状态" clearable>
|
|
|
|
|
|
|
|
<el-option label="全部" value=""></el-option>
|
|
|
|
|
|
|
|
<el-option label="已启用" value="1"></el-option>
|
|
|
|
|
|
|
|
<el-option label="未启用" value="0"></el-option>
|
|
|
|
|
|
|
|
</el-select>
|
|
|
|
|
|
|
|
</el-form-item>
|
|
|
|
<el-form-item>
|
|
|
|
<el-form-item>
|
|
|
|
<el-button-group>
|
|
|
|
<el-button-group>
|
|
|
|
<el-button type="primary" icon="el-icon-refresh" @click="onReset"></el-button>
|
|
|
|
<el-button type="primary" icon="el-icon-refresh" @click="onReset"></el-button>
|
|
|
@ -97,19 +103,20 @@
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</template>
|
|
|
|
</template>
|
|
|
|
<script>
|
|
|
|
<script>
|
|
|
|
import {
|
|
|
|
import {
|
|
|
|
getJoinBussinessType,
|
|
|
|
getJoinBussinessType,
|
|
|
|
deleteBussinessType,
|
|
|
|
deleteBussinessType,
|
|
|
|
updateBussinessType,
|
|
|
|
updateBussinessType,
|
|
|
|
insertBussinessType,
|
|
|
|
insertBussinessType,
|
|
|
|
} from "../../api/basic/bussinessType";
|
|
|
|
} from "../../api/basic/bussinessType";
|
|
|
|
|
|
|
|
|
|
|
|
import modifyDialog from "./BussinessTypeModify";
|
|
|
|
import modifyDialog from "./BussinessTypeModify";
|
|
|
|
|
|
|
|
|
|
|
|
export default {
|
|
|
|
export default {
|
|
|
|
data() {
|
|
|
|
data() {
|
|
|
|
return {
|
|
|
|
return {
|
|
|
|
filterQuery: {
|
|
|
|
filterQuery: {
|
|
|
|
|
|
|
|
enable: "1",
|
|
|
|
udiwmsType: "",
|
|
|
|
udiwmsType: "",
|
|
|
|
thirdType: "",
|
|
|
|
thirdType: "",
|
|
|
|
page: 1,
|
|
|
|
page: 1,
|
|
|
@ -144,6 +151,7 @@
|
|
|
|
path: "",
|
|
|
|
path: "",
|
|
|
|
});
|
|
|
|
});
|
|
|
|
this.filterQuery = {
|
|
|
|
this.filterQuery = {
|
|
|
|
|
|
|
|
enable: null,
|
|
|
|
udiwmsType: "",
|
|
|
|
udiwmsType: "",
|
|
|
|
thirdType: "",
|
|
|
|
thirdType: "",
|
|
|
|
page: 1,
|
|
|
|
page: 1,
|
|
|
@ -170,7 +178,10 @@
|
|
|
|
this.total = 0;
|
|
|
|
this.total = 0;
|
|
|
|
});
|
|
|
|
});
|
|
|
|
},
|
|
|
|
},
|
|
|
|
|
|
|
|
handleCurrentChange(val) {
|
|
|
|
|
|
|
|
this.filterQuery.page = val;
|
|
|
|
|
|
|
|
this.getList();
|
|
|
|
|
|
|
|
},
|
|
|
|
|
|
|
|
|
|
|
|
onAddSubmit() {
|
|
|
|
onAddSubmit() {
|
|
|
|
insertBussinessType(this.inputQuery)
|
|
|
|
insertBussinessType(this.inputQuery)
|
|
|
@ -207,7 +218,7 @@
|
|
|
|
name: row.name,
|
|
|
|
name: row.name,
|
|
|
|
enable: row.enable,
|
|
|
|
enable: row.enable,
|
|
|
|
mainAction: row.mainAction,
|
|
|
|
mainAction: row.mainAction,
|
|
|
|
localAction:row.localAction,
|
|
|
|
localAction: row.localAction,
|
|
|
|
thirdSysFk: row.thirdSysFk,
|
|
|
|
thirdSysFk: row.thirdSysFk,
|
|
|
|
};
|
|
|
|
};
|
|
|
|
},
|
|
|
|
},
|
|
|
@ -251,5 +262,5 @@
|
|
|
|
created() {
|
|
|
|
created() {
|
|
|
|
this.getList();
|
|
|
|
this.getList();
|
|
|
|
},
|
|
|
|
},
|
|
|
|
};
|
|
|
|
};
|
|
|
|
</script>
|
|
|
|
</script>
|
|
|
|