|
|
|
@ -14,6 +14,7 @@
|
|
|
|
|
<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="handleAddClick"
|
|
|
|
|
:disabled="!configParms.entrustAction"
|
|
|
|
|
>新增
|
|
|
|
|
</el-button
|
|
|
|
|
>
|
|
|
|
@ -37,6 +38,7 @@
|
|
|
|
|
type="text"
|
|
|
|
|
size="small"
|
|
|
|
|
@click.native.stop="handleModifyClick(scope.row)"
|
|
|
|
|
:disabled="!configParms.entrustAction"
|
|
|
|
|
>编辑
|
|
|
|
|
</el-button
|
|
|
|
|
>
|
|
|
|
@ -44,6 +46,7 @@
|
|
|
|
|
type="text"
|
|
|
|
|
size="small"
|
|
|
|
|
@click.native.stop="deleteDialog(scope.row)"
|
|
|
|
|
:disabled="!configParms.entrustAction"
|
|
|
|
|
>删除
|
|
|
|
|
</el-button
|
|
|
|
|
>
|
|
|
|
@ -111,6 +114,7 @@ import {
|
|
|
|
|
} from "../../api/basic/EntrustRece";
|
|
|
|
|
|
|
|
|
|
import modifyDialog from "./BasicEntrutsReceModify";
|
|
|
|
|
import {findConfig} from "@/api/thrsys/spsSyncStatus";
|
|
|
|
|
|
|
|
|
|
export default {
|
|
|
|
|
data() {
|
|
|
|
@ -148,6 +152,7 @@ export default {
|
|
|
|
|
multipleSelection: [],
|
|
|
|
|
uploadFileUrl: null,
|
|
|
|
|
headers: {},
|
|
|
|
|
configParms: {},
|
|
|
|
|
|
|
|
|
|
};
|
|
|
|
|
},
|
|
|
|
@ -301,6 +306,16 @@ export default {
|
|
|
|
|
.catch(() => {
|
|
|
|
|
});
|
|
|
|
|
},
|
|
|
|
|
getSyncConfig() {
|
|
|
|
|
findConfig()
|
|
|
|
|
.then((response) => {
|
|
|
|
|
if (response.code == 20000) {
|
|
|
|
|
this.configParms = response.data;
|
|
|
|
|
}
|
|
|
|
|
})
|
|
|
|
|
.catch(() => {
|
|
|
|
|
});
|
|
|
|
|
},
|
|
|
|
|
},
|
|
|
|
|
components: {
|
|
|
|
|
modifyDialog,
|
|
|
|
|