|
|
@ -12,7 +12,7 @@
|
|
|
|
<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>
|
|
|
|
<el-button type="primary" icon="search" @click="getList">查询</el-button>
|
|
|
|
<el-button type="primary" icon="search" @click="search">查询</el-button>
|
|
|
|
<el-button type="primary" icon="search" @click="handleAddClick"
|
|
|
|
<el-button type="primary" icon="search" @click="handleAddClick"
|
|
|
|
:disabled="!configParms.typeBus"
|
|
|
|
:disabled="!configParms.typeBus"
|
|
|
|
>新增
|
|
|
|
>新增
|
|
|
@ -114,6 +114,13 @@
|
|
|
|
>
|
|
|
|
>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</el-dialog>
|
|
|
|
</el-dialog>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<el-pagination
|
|
|
|
|
|
|
|
:page-size="filterQuery.limit"
|
|
|
|
|
|
|
|
@current-change="handleCurrentChange"
|
|
|
|
|
|
|
|
layout="prev, pager, next"
|
|
|
|
|
|
|
|
:total="total"
|
|
|
|
|
|
|
|
></el-pagination>
|
|
|
|
</el-card>
|
|
|
|
</el-card>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</template>
|
|
|
|
</template>
|
|
|
@ -122,6 +129,7 @@
|
|
|
|
import {getLocalBusType, addLocalBusType, updateLocalBusType, deleteLocalBusType} from "@/api/basic/busLocalType";
|
|
|
|
import {getLocalBusType, addLocalBusType, updateLocalBusType, deleteLocalBusType} from "@/api/basic/busLocalType";
|
|
|
|
import modifyDialog from "./BussinessTypeLoclModify";
|
|
|
|
import modifyDialog from "./BussinessTypeLoclModify";
|
|
|
|
import {findConfig} from "@/api/thrsys/spsSyncStatus";
|
|
|
|
import {findConfig} from "@/api/thrsys/spsSyncStatus";
|
|
|
|
|
|
|
|
import {isBlank} from "@/utils/strUtil";
|
|
|
|
|
|
|
|
|
|
|
|
export default {
|
|
|
|
export default {
|
|
|
|
data() {
|
|
|
|
data() {
|
|
|
@ -181,7 +189,14 @@ export default {
|
|
|
|
this.modifyDialogVisible = false;
|
|
|
|
this.modifyDialogVisible = false;
|
|
|
|
this.addDialogVisible = false;
|
|
|
|
this.addDialogVisible = false;
|
|
|
|
},
|
|
|
|
},
|
|
|
|
|
|
|
|
handleCurrentChange(val) {
|
|
|
|
|
|
|
|
this.filterQuery.page = val;
|
|
|
|
|
|
|
|
this.getList();
|
|
|
|
|
|
|
|
},
|
|
|
|
|
|
|
|
search() {
|
|
|
|
|
|
|
|
this.filterQuery.page = 1;
|
|
|
|
|
|
|
|
this.getList();
|
|
|
|
|
|
|
|
},
|
|
|
|
getList() {
|
|
|
|
getList() {
|
|
|
|
this.loading = true;
|
|
|
|
this.loading = true;
|
|
|
|
getLocalBusType(this.filterQuery)
|
|
|
|
getLocalBusType(this.filterQuery)
|
|
|
@ -199,6 +214,10 @@ export default {
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
onAddSubmit() {
|
|
|
|
onAddSubmit() {
|
|
|
|
|
|
|
|
if (isBlank(this.inputQuery.name)) {
|
|
|
|
|
|
|
|
this.$message.warning("业务单据类型名称为空");
|
|
|
|
|
|
|
|
return;
|
|
|
|
|
|
|
|
}
|
|
|
|
addLocalBusType(this.inputQuery)
|
|
|
|
addLocalBusType(this.inputQuery)
|
|
|
|
.then((response) => {
|
|
|
|
.then((response) => {
|
|
|
|
this.loading = false;
|
|
|
|
this.loading = false;
|
|
|
|