Commit 2518de7e by Thews

20231208汪皖苏

1 parent f6fcb405
...@@ -64,11 +64,11 @@ export function getJGYSGLDel(params) { ...@@ -64,11 +64,11 @@ export function getJGYSGLDel(params) {
export function getJGSTPZlist(params) { export function getJGSTPZlist(params) {
return post('/vwDis/', params); return post('/vwDis/', params);
} }
// 新建元素(state暂存2发布1) // 新建视图(state暂存2发布1)
export function getJGSTPZAdd(params) { export function getJGSTPZAdd(params) {
return post('/vwDis/addVwDis', params); return post('/vwDis/addVwDis', params);
} }
// 编辑元素(state暂存2发布1) // 编辑视图(state暂存2发布1)
export function getJGSTPZUpdate(params) { export function getJGSTPZUpdate(params) {
return post('/vwDis/updateVwDis', params); return post('/vwDis/updateVwDis', params);
} }
...@@ -76,7 +76,29 @@ export function getJGSTPZUpdate(params) { ...@@ -76,7 +76,29 @@ export function getJGSTPZUpdate(params) {
export function getJGSTPZUpdateBatch(params) { export function getJGSTPZUpdateBatch(params) {
return post('/vwDis/updateVwDisBatch', params); return post('/vwDis/updateVwDisBatch', params);
} }
// 删除元素 // 删除视图
export function getJGSTPZDel(params) { export function getJGSTPZDel(params) {
return post('/vwDis/deleteVwDis', params); return post('/vwDis/deleteVwDis', params);
} }
// 元模型字典管理
// 列表查询
export function getYMXZDGLlist(params) {
return post('/ynMolDicy/', params);
}
// 新建字典
export function getYMXZDGLAdd(params) {
return post('/ynMolDicy/addYnMolDicy', params);
}
// 编辑字典(state暂存2发布1)
export function getYMXZDGLUpdate(params) {
return post('/ynMolDicy/updateYnMolDicy', params);
}
// 批量发布
// export function getYMXZDGLUpdateBatch(params) {
// return post('/ynMolDicy/updateVwDisBatch', params);
// }
// 删除字典
export function getYMXZDGLDel(params) {
return post('/ynMolDicy/deleteYnMolProy', params);
}
\ No newline at end of file
...@@ -393,7 +393,7 @@ export default { ...@@ -393,7 +393,7 @@ export default {
// 停用 // 停用
this.formData = item; this.formData = item;
this.formData.state = 0; this.formData.state = 0;
getJGSTPZUpdate(this.formData).then(res => { getJGYSGLUpdate(this.formData).then(res => {
if (res.code == 200) { if (res.code == 200) {
this.$message.success("停用成功"); this.$message.success("停用成功");
this.getList(); this.getList();
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!