diff --git a/src/api/model/cm.js b/src/api/model/cm.js
index bb3ed72a..04b1af07 100644
--- a/src/api/model/cm.js
+++ b/src/api/model/cm.js
@@ -45,4 +45,46 @@ export default {
}
},
},
+ labeltemplate:{
+ list: {
+ name: "列表",
+ req: async function(data){
+ return await http.get(
+ `${config.API_URL}/cm/labeltemplate/`,
+ data
+ );
+ }
+ },
+ item: {
+ name: "详情",
+ req: async function(id){
+ return await http.get(
+ `${config.API_URL}/cm/labeltemplate/${id}/`
+ );
+ }
+ },
+ update: {
+ name: "更新",
+ req: async function(id, data){
+ return await http.put(
+ `${config.API_URL}/cm/labeltemplate/${id}/`,
+ data);
+ }
+ },
+ create: {
+ name: "新增",
+ req: async function(data){
+ return await http.post(
+ `${config.API_URL}/cm/labeltemplate/`,
+ data);
+ }
+ },
+ delete: {
+ name: "删除",
+ req: async function(id){
+ return await http.delete(
+ `${config.API_URL}/cm/labeltemplate/${id}/`);
+ }
+ },
+ }
}
diff --git a/src/views/sys/labeltemplate.vue b/src/views/sys/labeltemplate.vue
new file mode 100644
index 00000000..6a158697
--- /dev/null
+++ b/src/views/sys/labeltemplate.vue
@@ -0,0 +1,164 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 编辑
+
+
+
+ 删除
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 取 消
+ 保 存
+
+
+
+
+