Commit 4c0814bb authored by 仇晓婷's avatar 仇晓婷

分类优化

parent e81703d7
...@@ -1745,5 +1745,18 @@ export default { ...@@ -1745,5 +1745,18 @@ export default {
creator:'创建人', creator:'创建人',
remark:'', remark:'',
url:'模板路径', url:'模板路径',
},
document_ref:{
creationTime:'创建时间',
creatorUserId:'创建人',
lastModificationTime:'更新时间',
lastModifierUserId:'更新人',
isDeleted:'删除人',
deletionTime:'删除时间',
deleterUserId:'删除人',
documentId:'文档id',
refName:'引用的文档名称',
refId:'引用的文档id',
name:'文档名称',
} }
} }
...@@ -34,9 +34,9 @@ ...@@ -34,9 +34,9 @@
</FormItem> </FormItem>
</Col> </Col>
<Col :span="12"> <Col :span="12">
<FormItem :label="l('inheritCategoryId')" prop="inheritCategoryId"> <FormItem :label="l('inheritCategoryId')" prop="inheritCategoryId" v-if="row.id">
<!-- <Checkbox v-model="entity.inheritCategoryId"></Checkbox> --> <!-- <Checkbox v-model="entity.inheritCategoryId"></Checkbox> -->
<RadioGroup v-model="entity.inheritCategoryId"> <RadioGroup v-model="inherit">
<Radio label="1"></Radio> <Radio label="1"></Radio>
<Radio label="0"></Radio> <Radio label="0"></Radio>
</RadioGroup> </RadioGroup>
...@@ -136,28 +136,21 @@ export default { ...@@ -136,28 +136,21 @@ export default {
return { return {
disabled: false, disabled: false,
entity: { entity: {
// creationTime: null,
creatorUserId: this.$store.state.userInfo.userId, creatorUserId: this.$store.state.userInfo.userId,
//creator: this.$store.state.userInfo.userName,
// lastModificationTime: null,
// lastModifierUserId: null,
// isDeleted: null,
// deletionTime: null,
// deleterUserId: null,
name: "", name: "",
upId: 0, upId: 0,
level: 1, //层级,顶级1, level: 1, //层级,顶级1,
totalDocument: 0, totalDocument: 0,
// tenantId: null,
type: 0, type: 0,
englishFullName: "", englishFullName: "",
englishName: "", englishName: "",
status: 0, status: 0,
description: "", description: "",
inheritCategoryId: "0", //0否,1是 inheritCategoryId: "0", //0否,是,row的id值
template: "", template: "",
templateId: "", templateId: "",
}, },
inherit: "0",
rules: { rules: {
name: [{ required: true, message: "必填", trigger: "blur" }], name: [{ required: true, message: "必填", trigger: "blur" }],
}, },
...@@ -284,6 +277,7 @@ export default { ...@@ -284,6 +277,7 @@ export default {
// if (this.eid > 0) { // if (this.eid > 0) {
// this.load(this.eid); // this.load(this.eid);
// } // }
console.log(this.row);
this.parms.eid = this.$u.guid(); this.parms.eid = this.$u.guid();
this.$refs.refFile.intFiles(); this.$refs.refFile.intFiles();
}, },
...@@ -334,13 +328,17 @@ export default { ...@@ -334,13 +328,17 @@ export default {
// this.entity.filePath = ""; // this.entity.filePath = "";
this.entity.templateId = ""; this.entity.templateId = "";
} }
if (this.row.id) { if (this.row.id) {
this.entity.upId = this.row.id; this.entity.upId = this.row.id;
this.entity.level = this.row.level; this.entity.level = this.row.level;
this.entity.inheritCategoryId = this.row.id;
} else { } else {
this.entity.upId = 0; this.entity.upId = 0;
this.entity.level = 1; this.entity.level = 1;
this.entity.inheritCategoryId = 0;
} }
alert(55);
let data = { let data = {
cat: this.entity, cat: this.entity,
pros: this.checkList, pros: this.checkList,
......
...@@ -37,7 +37,7 @@ ...@@ -37,7 +37,7 @@
<Col :span="12"> <Col :span="12">
<FormItem :label="l('inheritCategoryId')" prop="inheritCategoryId"> <FormItem :label="l('inheritCategoryId')" prop="inheritCategoryId">
<!-- <Checkbox v-model="entity.inheritCategoryId"></Checkbox> --> <!-- <Checkbox v-model="entity.inheritCategoryId"></Checkbox> -->
<RadioGroup v-model="entity.inheritCategoryId"> <RadioGroup v-model="inherit">
<Radio label="1"></Radio> <Radio label="1"></Radio>
<Radio label="0"></Radio> <Radio label="0"></Radio>
</RadioGroup> </RadioGroup>
...@@ -140,6 +140,7 @@ export default { ...@@ -140,6 +140,7 @@ export default {
rules: { rules: {
name: [{ required: true, message: "必填", trigger: "blur" }], name: [{ required: true, message: "必填", trigger: "blur" }],
}, },
inherit: null,
checkList: [ checkList: [
{ {
field: "code", field: "code",
...@@ -267,8 +268,13 @@ export default { ...@@ -267,8 +268,13 @@ export default {
load(v) { load(v) {
Api.get({ id: v }).then((r) => { Api.get({ id: v }).then((r) => {
this.entity = r.result; this.entity = r.result;
this.entity.inheritCategoryId = r.result.inheritCategoryId + "";
this.parms.eid = r.result.templateId; this.parms.eid = r.result.templateId;
if (r.result.inheritCategoryId == 0) {
this.inherit = "0";
} else {
this.inherit = "1";
}
let conditions = [ let conditions = [
{ {
conditionalType: "Equal", conditionalType: "Equal",
...@@ -331,9 +337,14 @@ export default { ...@@ -331,9 +337,14 @@ export default {
if (this.$refs.refFile.nameList.length > 0) { if (this.$refs.refFile.nameList.length > 0) {
this.entity.templateId = this.parms.eid; this.entity.templateId = this.parms.eid;
} else { } else {
// this.entity.filePath = "";
this.entity.templateId = ""; this.entity.templateId = "";
} }
if (this.inherit == 0) {
this.entity.inheritCategoryId = 0;
} else {
this.entity.inheritCategoryId = this.entity.id;
}
let data = { let data = {
cat: this.entity, cat: this.entity,
pros: this.checkList, pros: this.checkList,
......
...@@ -4,7 +4,7 @@ ...@@ -4,7 +4,7 @@
<Input v-model.trim="searchValue" placeholder="请输入库位名称" clearable style="width: 240px" /> <Input v-model.trim="searchValue" placeholder="请输入库位名称" clearable style="width: 240px" />
<Button type="primary" class @click="handleSearch">查询</Button> <Button type="primary" class @click="handleSearch">查询</Button>
<div class="fr"> <div class="fr">
<Button type="primary" @click="add()">新增库位</Button> <Button type="primary" @click="add()">新增分类</Button>
</div> </div>
</div> </div>
<TreeGrid :columns="columns" :items="treeData"></TreeGrid> <TreeGrid :columns="columns" :items="treeData"></TreeGrid>
...@@ -225,6 +225,7 @@ export default { ...@@ -225,6 +225,7 @@ export default {
}, },
add() { add() {
this.curId = 0; this.curId = 0;
this.row.id = '';
this.title = "新增"; this.title = "新增";
this.detail = () => import("./add"); this.detail = () => import("./add");
this.modal = true; this.modal = true;
......
import Api from '@/plugins/request' import Api from '@/plugins/request'
export default { export default {
index:`${technologyUrl}documentref/paged`, index:`${material}documentref/paged`,
paged(params){ paged(params){
return Api.post(`${technologyUrl}documentref/paged`,params); return Api.post(`${material}documentref/paged`,params);
}, },
get(params){ get(params){
return Api.get(`${technologyUrl}documentref/get`,params); return Api.get(`${material}documentref/get`,params);
}, },
create(params){ create(params){
return Api.post(`${technologyUrl}documentref/create`,params); return Api.post(`${material}documentref/create`,params);
}, },
update(params){ update(params){
return Api.post(`${technologyUrl}documentref/update`,params); return Api.post(`${material}documentref/update`,params);
}, },
delete(id) { delete(id) {
return Api.delete(`${technologyUrl}documentref/delete`,{params:{id:id}}); return Api.delete(`${material}documentref/delete`,{params:{id:id}});
}, },
deletes(params) { deletes(params) {
return Api.post(`${technologyUrl}documentref/batchdelete`,params); return Api.post(`${material}documentref/batchdelete`,params);
} }
} }
\ No newline at end of file
<template> <template>
<div> <div>
<DataGrid :columns="columns" ref="grid" :action="action"><template slot="easySearch"><Form ref="formInline" :model="easySearch" inline><FormItem prop="keys"><Input placeholder="请输入关键字引用的文档名称/文档名称" v-model="easySearch.keys.value" /> </FormItem> <DataGrid :columns="columns" ref="grid" :action="action">
<FormItem><Button type="primary" @click="search">查询</Button></FormItem> <template slot="easySearch">
</Form></template> <Form ref="formInline" :model="easySearch" inline>
<template slot="searchForm"> <FormItem prop="keys">
<Search /> <Input placeholder="请输入关键字引用的文档名称/文档名称" v-model="easySearch.keys.value" />
</template> </FormItem>
<template slot="buttons"> <FormItem>
<Button type="primary" @click="add">新增</Button> <Button type="primary" @click="search">查询</Button>
</template> </FormItem>
</DataGrid> </Form>
<Modal v-model="modal" :title="title" width="1200" footer-hide> </template>
<component :is="detail" :eid="curId" @on-close="cancel" @on-ok="ok" /> <template slot="searchForm">
</Modal> <Search />
</div> </template>
<template slot="buttons">
<Button type="primary" @click="add">新增</Button>
</template>
</DataGrid>
<Modal v-model="modal" :title="title" width="1200" footer-hide>
<component :is="detail" :eid="curId" @on-close="cancel" @on-ok="ok" />
</Modal>
</div>
</template> </template>
<script> <script>
import Api from './api' import Api from "./api";
import Search from './search' import Search from "./search";
export default { export default {
name: 'list', name: "list",
components:{ components: {
Search Search,
}, },
head: { head: {
title: "文档引用", title: "文档引用",
author: "henq", author: "henq",
description: "document_ref 9/18/2020 11:31:43 AM", description: "document_ref 9/18/2020 11:31:43 AM",
}, },
data() { data() {
return { return {
action: Api.index, action: Api.index,
easySearch: { easySearch: {
keys:{op:"refName,name",value:null} keys: { op: "refName,name", value: null },
}, },
modal: false, modal: false,
title:"新增", title: "新增",
detail:null, detail: null,
curId: 0, curId: 0,
columns: [ columns: [
{ key:"id",title:this.$t("id") ,hide:true ,align:"left" ,high:true }, {
{ key:"creationTime",title:this.l("creationTime") ,align:"left" ,high:true }, key: "id",
{ key:"creatorUserId",title:this.l("creatorUserId") ,align:"left" ,high:true }, title: this.$t("id"),
{ key:"lastModificationTime",title:this.l("lastModificationTime") ,align:"left" ,high:true }, hide: true,
{ key:"lastModifierUserId",title:this.l("lastModifierUserId") ,align:"left" ,high:true }, align: "left",
{ key:"isDeleted",title:this.l("isDeleted") ,align:"left" ,high:true }, high: true,
{ key:"deletionTime",title:this.l("deletionTime") ,align:"left" ,high:true }, },
{ key:"deleterUserId",title:this.l("deleterUserId") ,align:"left" ,high:true }, {
{ key:"documentId",title:this.l("documentId") ,align:"left" ,high:true }, key: "creationTime",
{ key:"refName",title:this.l("refName") ,align:"left" ,easy:true ,high:true }, title: this.l("creationTime"),
{ key:"refId",title:this.l("refId") ,align:"left" ,high:true }, align: "left",
{ key:"name",title:this.l("name") ,align:"left" ,easy:true ,high:true }, high: true,
{ },
title: '操作', {
key: 'action', key: "creatorUserId",
width: 140, title: this.l("creatorUserId"),
align: 'center', align: "left",
render: (h, params) => { high: true,
return h('div', { class: "action" }, [ },
h('op', { attrs: { oprate: 'detail' }, on: { click: () => this.view(params.row.id) } }, '查看'), {
//h('op', { attrs: { oprate: 'copy' }, on: { click: () => this.copy(params.row.id) } }, '克隆'), key: "lastModificationTime",
h('op', { attrs: { oprate: 'edit'}, on: { click: () => this.edit(params.row.id) } }, '编辑'), title: this.l("lastModificationTime"),
h('op', { attrs: { oprate: 'delete' }, on: { click: () => this.remove(params.row.id) } }, '删除') align: "left",
]) high: true,
} },
{
key: "lastModifierUserId",
title: this.l("lastModifierUserId"),
align: "left",
high: true,
},
{
key: "isDeleted",
title: this.l("isDeleted"),
align: "left",
high: true,
},
{
key: "deletionTime",
title: this.l("deletionTime"),
align: "left",
high: true,
},
{
key: "deleterUserId",
title: this.l("deleterUserId"),
align: "left",
high: true,
},
{
key: "documentId",
title: this.l("documentId"),
align: "left",
high: true,
},
{
key: "refName",
title: this.l("refName"),
align: "left",
easy: true,
high: true,
},
{ key: "refId", title: this.l("refId"), align: "left", high: true },
{
key: "name",
title: this.l("name"),
align: "left",
easy: true,
high: true,
},
{
title: "操作",
key: "action",
width: 140,
align: "center",
render: (h, params) => {
return h("div", { class: "action" }, [
h(
"op",
{
attrs: { oprate: "detail" },
on: { click: () => this.view(params.row.id) },
},
"查看"
),
//h('op', { attrs: { oprate: 'copy' }, on: { click: () => this.copy(params.row.id) } }, '克隆'),
h(
"op",
{
attrs: { oprate: "edit" },
on: { click: () => this.edit(params.row.id) },
},
"编辑"
),
h(
"op",
{
attrs: { oprate: "delete" },
on: { click: () => this.remove(params.row.id) },
},
"删除"
),
]);
}, },
] },
} ],
};
}, },
mounted(){ mounted() {
console.log(this); console.log(this);
}, },
async fetch({ store, params }) { async fetch({ store, params }) {
await store.dispatch('loadDictionary') // 加载数据字典 await store.dispatch("loadDictionary"); // 加载数据字典
}, },
methods:{ methods: {
ok() { ok() {
this.$refs.grid.load() this.$refs.grid.load();
this.modal = false this.modal = false;
this.curId = 0; this.curId = 0;
}, },
search() { search() {
this.$refs.grid.reload(this.easySearch) this.$refs.grid.reload(this.easySearch);
}, },
add() { add() {
this.curId = 0; this.curId = 0;
this.title = "新增"; this.title = "新增";
this.detail =()=> import('./add') this.detail = () => import("./add");
this.modal = true; this.modal = true;
}, },
copy(id) { copy(id) {
this.curId = id; this.curId = id;
this.title = "克隆"; this.title = "克隆";
this.detail = () =>import('./add') this.detail = () => import("./add");
this.modal = true; this.modal = true;
}, },
view(id) { view(id) {
this.curId = id; this.curId = id;
this.title = "详情"; this.title = "详情";
this.detail = () =>import('./detail') this.detail = () => import("./detail");
this.modal = true; this.modal = true;
}, },
edit(id) { edit(id) {
this.curId = id; this.curId = id;
this.title = "编辑"; this.title = "编辑";
this.detail = () => import('./edit') this.detail = () => import("./edit");
this.modal = true; this.modal = true;
}, },
remove(id) { remove(id) {
Api.delete(id).then((r) => { Api.delete(id).then((r) => {
if (r.success) { if (r.success) {
this.$refs.grid.load(); this.$refs.grid.load();
this.$Message.success('删除成功') this.$Message.success("删除成功");
} }
}) });
}, },
cancel() { cancel() {
this.curId = 0; this.curId = 0;
this.modal = false this.modal = false;
}, },
l(key) { l(key) {
/* /*
document_ref:{ document_ref:{
creationTime:'创建时间', creationTime:'创建时间',
creatorUserId:'创建人', creatorUserId:'创建人',
...@@ -135,11 +222,11 @@ keys:{op:"refName,name",value:null} ...@@ -135,11 +222,11 @@ keys:{op:"refName,name",value:null}
name:'文档名称', name:'文档名称',
} }
*/ */
let vkey = "document_ref" + "." + key; let vkey = "document_ref" + "." + key;
return this.$t(vkey)||key return this.$t(vkey) || key;
} },
} },
} };
</script> </script>
<style lang="less"> <style lang="less">
</style> </style>
\ No newline at end of file
<template> <template>
<Form ref="form" :model="entity" :rules="rules" :label-width="90"> <Form ref="form" :model="entity" :rules="rules" :label-width="90">
<Row> <Row>
<Col :span="12"><FormItem :label="l('creationTime')" prop="creationTime"> <DatePicker type="date" v-model="entity.creationTime"></DatePicker> <!-- <Col :span="12">
</FormItem></Col> <FormItem :label="l('creationTime')" prop="creationTime">
<Col :span="12"><FormItem :label="l('creatorUserId')" prop="creatorUserId"> <InputNumber v-model="entity.creatorUserId"></InputNumber> <DatePicker type="date" v-model="entity.creationTime"></DatePicker>
</FormItem></Col> </FormItem>
<Col :span="12"><FormItem :label="l('lastModificationTime')" prop="lastModificationTime"> <DatePicker type="date" v-model="entity.lastModificationTime"></DatePicker> </Col>
</FormItem></Col> <Col :span="12">
<Col :span="12"><FormItem :label="l('lastModifierUserId')" prop="lastModifierUserId"> <InputNumber v-model="entity.lastModifierUserId"></InputNumber> <FormItem :label="l('creatorUserId')" prop="creatorUserId">
</FormItem></Col> <InputNumber v-model="entity.creatorUserId"></InputNumber>
<Col :span="12"><FormItem :label="l('isDeleted')" prop="isDeleted"> <InputNumber v-model="entity.isDeleted"></InputNumber> </FormItem>
</FormItem></Col> </Col>
<Col :span="12"><FormItem :label="l('deletionTime')" prop="deletionTime"> <DatePicker type="date" v-model="entity.deletionTime"></DatePicker> <Col :span="12">
</FormItem></Col> <FormItem :label="l('lastModificationTime')" prop="lastModificationTime">
<Col :span="12"><FormItem :label="l('deleterUserId')" prop="deleterUserId"> <InputNumber v-model="entity.deleterUserId"></InputNumber> <DatePicker type="date" v-model="entity.lastModificationTime"></DatePicker>
</FormItem></Col> </FormItem>
<Col :span="12"><FormItem :label="l('name')" prop="name"> <Input v-model="entity.name"> </Input> </Col>-->
</FormItem></Col> <!-- <Col :span="12">
<Col :span="12"><FormItem :label="l('status')" prop="status"> <InputNumber v-model="entity.status"></InputNumber> <FormItem :label="l('lastModifierUserId')" prop="lastModifierUserId">
</FormItem></Col> <InputNumber v-model="entity.lastModifierUserId"></InputNumber>
<Col :span="12"><FormItem :label="l('creator')" prop="creator"> <Input v-model="entity.creator"> </Input> </FormItem>
</FormItem></Col> </Col>
<Col :span="12"><FormItem :label="l('remark')" prop="remark"> <Input v-model="entity.remark"> </Input> <Col :span="12">
</FormItem></Col> <FormItem :label="l('isDeleted')" prop="isDeleted">
<Col :span="24"><FormItem :label="l('url')" prop="url"> <InputFile v-model="entity.url"></InputFile> <InputNumber v-model="entity.isDeleted"></InputNumber>
</FormItem></Col> </FormItem>
</Row> </Col>-->
<FormItem> <!-- <Col :span="12">
<Button type="primary" @click="handleSubmit" :disabled="disabled">保存</Button> <FormItem :label="l('deletionTime')" prop="deletionTime">
<Button @click="handleClose" class="ml20">取消</Button> <DatePicker type="date" v-model="entity.deletionTime"></DatePicker>
</FormItem> </FormItem>
</Form> </Col>
</template> <Col :span="12">
<FormItem :label="l('deleterUserId')" prop="deleterUserId">
<InputNumber v-model="entity.deleterUserId"></InputNumber>
</FormItem>
</Col>-->
<Col :span="12">
<FormItem :label="l('name')" prop="name">
<Input v-model="entity.name"></Input>
</FormItem>
</Col>
<Col :span="12">
<FormItem :label="l('status')" prop="status">
<Dictionary code="word_template_status" v-model="entity.status" type="radio"></Dictionary>
</FormItem>
</Col>
<!-- <Col :span="12">
<FormItem :label="l('creator')" prop="creator">
<Input v-model="entity.creator"></Input>
</FormItem>
</Col>-->
<!-- <Col :span="12">
<FormItem :label="l('remark')" prop="remark">
<Input v-model="entity.remark"></Input>
</FormItem>
</Col>-->
<Col :span="24">
<FormItem :label="l('url')" prop="url">
<!-- <InputFile v-model="entity.url"></InputFile> -->
<files ref="refFile" :parms="parms" files />
</FormItem>
</Col>
</Row>
<FormItem>
<Button type="primary" @click="handleSubmit" :disabled="disabled">保存</Button>
<Button @click="handleClose" class="ml20">取消</Button>
</FormItem>
</Form>
</template>
<script> <script>
import Api from './api' import Api from "./api";
export default { export default {
name: 'Add', name: "Add",
data() { data() {
return { return {
disabled: false, disabled: false,
entity: {creationTime: null, entity: {
creatorUserId: null, creationTime: null,
lastModificationTime: null, creatorUserId: null,
lastModifierUserId: null, lastModificationTime: null,
isDeleted: null, lastModifierUserId: null,
deletionTime: null, isDeleted: null,
deleterUserId: null, deletionTime: null,
name: "", deleterUserId: null,
status: null, name: "",
creator: "", status: null,
remark: "", creator: "",
url: ""}, remark: "",
rules: { url: "",
name: [{ required: true, message: '必填', trigger: 'blur' }] },
} rules: {
} name: [{ required: true, message: "必填", trigger: "blur" }],
}, },
props: { parms: {
v: Object, app: "material",
eid: Number eid: null,
}, name: "",
mounted() { field: "",
if (this.eid > 0) { },
this.load(this.eid); };
} },
}, props: {
methods: { v: Object,
handleSubmit() { eid: Number,
this.$refs.form.validate((v) => { },
if (v) { mounted() {
this.disabled = true; this.parms.eid = this.$u.guid();
Api.create(this.entity).then((r) => { this.$refs.refFile.intFiles();
this.disabled = false; },
if (r.success) { methods: {
this.$Message.success('保存成功') handleSubmit() {
this.$emit('on-ok') this.$refs.form.validate((v) => {
} else { if (v) {
this.$Message.error('保存失败') if (this.$refs.refFile.nameList.length > 0) {
} this.entity.url = this.parms.eid;
}).catch(err => { } else {
this.disabled = false; // this.entity.filePath = "";
this.$Message.error('保存失败') this.entity.url = "";
console.warn(err) }
}) Api.create(this.entity)
} .then((r) => {
}) if (r.success) {
}, this.$Message.success("保存成功");
handleClose() { this.$emit("on-ok");
this.$emit('on-close') } else {
}, this.$Message.error("保存失败");
load(v) { }
Api.get({ id: v }).then(r => { })
this.entity = r.result; .catch((err) => {
this.entity.id = 0; this.$Message.error("保存失败");
}); console.warn(err);
}, });
l(key) {
key = "document_template" + "." + key;
return this.$t(key)
}
},
watch: {
v() {
this.entity = this.$u.clone(this.v)
},
eid(v) {
if (v > 0) {
this.load(v);
}
}
} }
} });
</script> },
\ No newline at end of file handleClose() {
this.$emit("on-close");
},
l(key) {
key = "document_template" + "." + key;
return this.$t(key);
},
},
watch: {},
};
</script>
\ No newline at end of file
import Api from '@/plugins/request' import Api from '@/plugins/request'
export default { export default {
index:`${technologyUrl}documenttemplate/paged`, index:`${material}documenttemplate/paged`,
paged(params){ paged(params){
return Api.post(`${technologyUrl}documenttemplate/paged`,params); return Api.post(`${material}documenttemplate/paged`,params);
}, },
get(params){ get(params){
return Api.get(`${technologyUrl}documenttemplate/get`,params); return Api.get(`${material}documenttemplate/get`,params);
}, },
create(params){ create(params){
return Api.post(`${technologyUrl}documenttemplate/create`,params); return Api.post(`${material}documenttemplate/create`,params);
}, },
update(params){ update(params){
return Api.post(`${technologyUrl}documenttemplate/update`,params); return Api.post(`${material}documenttemplate/update`,params);
}, },
delete(id) { delete(id) {
return Api.delete(`${technologyUrl}documenttemplate/delete`,{params:{id:id}}); return Api.delete(`${material}documenttemplate/delete`,{params:{id:id}});
}, },
deletes(params) { deletes(params) {
return Api.post(`${technologyUrl}documenttemplate/batchdelete`,params); return Api.post(`${material}documenttemplate/batchdelete`,params);
} }
} }
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment