diff --git a/src/api/model/mtm.js b/src/api/model/mtm.js index 487664b2..7566d420 100644 --- a/src/api/model/mtm.js +++ b/src/api/model/mtm.js @@ -476,4 +476,32 @@ export default { }, }, }, + srule: { + list: { + name: "排班规则列表", + req: async function (data) { + return await http.get( + `${config.API_URL}/mtm/srule/`, + data + ); + }, + }, + create: { + name: "创建", + req: async function (data) { + return await http.post( + `${config.API_URL}/mtm/srule/`, + data + ); + }, + }, + delete: { + name: "删除", + req: async function (id) { + return await http.delete( + `${config.API_URL}/mtm/srule/${id}/` + ); + }, + }, + }, }; diff --git a/src/components/xtSelect/index.vue b/src/components/xtSelect/index.vue index cc7d1c3d..8e437cae 100644 --- a/src/components/xtSelect/index.vue +++ b/src/components/xtSelect/index.vue @@ -1,6 +1,6 @@ - + +