删除log
This commit is contained in:
parent
ed8be6e7a8
commit
d92eac3ff5
@ -383,7 +383,6 @@ export default {
|
||||
getList() {
|
||||
this.loading = true;
|
||||
list(this.queryParams).then((response) => {
|
||||
console.log(response);
|
||||
this.dvsubjectList = response.rows;
|
||||
this.total = response.total;
|
||||
this.loading = false;
|
||||
@ -426,24 +425,19 @@ export default {
|
||||
},
|
||||
// 多选框选中数据
|
||||
handleSelectionChange(selection) {
|
||||
console.log(selection);
|
||||
this.ids = selection.map((item) => item.codeId);
|
||||
console.log(this.ids);
|
||||
|
||||
this.queryParams.ids = this.ids.join(",");
|
||||
this.single = selection.length !== 1;
|
||||
this.multiple = !selection.length;
|
||||
},
|
||||
/** 查看 **/
|
||||
handleExportArr(row) {
|
||||
console.log(row);
|
||||
this.formQuery = row;
|
||||
this.openQuery = true;
|
||||
this.title = "查看";
|
||||
},
|
||||
/** 处理 */
|
||||
handleUpdate(row) {
|
||||
console.log(row);
|
||||
this.reset();
|
||||
this.open = true;
|
||||
this.title = "处理";
|
||||
@ -468,7 +462,6 @@ export default {
|
||||
},
|
||||
/** 置顶操作 */
|
||||
handleDelete(row) {
|
||||
console.log(row);
|
||||
this.reset();
|
||||
this.openTop = true;
|
||||
},
|
||||
|
@ -286,7 +286,6 @@ export default {
|
||||
getList() {
|
||||
this.loading = true;
|
||||
list(this.queryParams).then((response) => {
|
||||
console.log(response);
|
||||
this.dvsubjectList = response.rows;
|
||||
this.total = response.total;
|
||||
this.loading = false;
|
||||
@ -319,17 +318,13 @@ export default {
|
||||
},
|
||||
// 多选框选中数据
|
||||
handleSelectionChange(selection) {
|
||||
console.log(selection);
|
||||
this.ids = selection.map((item) => item.codeId);
|
||||
console.log(this.ids);
|
||||
|
||||
this.queryParams.ids = this.ids.join(",");
|
||||
this.single = selection.length !== 1;
|
||||
this.multiple = !selection.length;
|
||||
},
|
||||
/** 查看 **/
|
||||
handleExportArr(row) {
|
||||
console.log(row);
|
||||
this.formQuery = row;
|
||||
this.openQuery = true;
|
||||
this.title = "查看";
|
||||
|
@ -383,7 +383,6 @@ export default {
|
||||
getList() {
|
||||
this.loading = true;
|
||||
list(this.queryParams).then((response) => {
|
||||
console.log(response);
|
||||
this.dvsubjectList = response.rows;
|
||||
this.total = response.total;
|
||||
this.loading = false;
|
||||
@ -426,24 +425,19 @@ export default {
|
||||
},
|
||||
// 多选框选中数据
|
||||
handleSelectionChange(selection) {
|
||||
console.log(selection);
|
||||
this.ids = selection.map((item) => item.codeId);
|
||||
console.log(this.ids);
|
||||
|
||||
this.queryParams.ids = this.ids.join(",");
|
||||
this.single = selection.length !== 1;
|
||||
this.multiple = !selection.length;
|
||||
},
|
||||
/** 查看 **/
|
||||
handleExportArr(row) {
|
||||
console.log(row);
|
||||
this.formQuery = row;
|
||||
this.openQuery = true;
|
||||
this.title = "查看";
|
||||
},
|
||||
/** 处理 */
|
||||
handleUpdate(row) {
|
||||
console.log(row);
|
||||
this.reset();
|
||||
this.open = true;
|
||||
this.title = "处理";
|
||||
@ -468,7 +462,6 @@ export default {
|
||||
},
|
||||
/** 置顶操作 */
|
||||
handleDelete(row) {
|
||||
console.log(row);
|
||||
this.reset();
|
||||
this.openTop = true;
|
||||
},
|
||||
|
@ -286,7 +286,6 @@ export default {
|
||||
getList() {
|
||||
this.loading = true;
|
||||
list(this.queryParams).then((response) => {
|
||||
console.log(response);
|
||||
this.dvsubjectList = response.rows;
|
||||
this.total = response.total;
|
||||
this.loading = false;
|
||||
@ -319,17 +318,13 @@ export default {
|
||||
},
|
||||
// 多选框选中数据
|
||||
handleSelectionChange(selection) {
|
||||
console.log(selection);
|
||||
this.ids = selection.map((item) => item.codeId);
|
||||
console.log(this.ids);
|
||||
|
||||
this.queryParams.ids = this.ids.join(",");
|
||||
this.single = selection.length !== 1;
|
||||
this.multiple = !selection.length;
|
||||
},
|
||||
/** 查看 **/
|
||||
handleExportArr(row) {
|
||||
console.log(row);
|
||||
this.formQuery = row;
|
||||
this.openQuery = true;
|
||||
this.title = "查看";
|
||||
|
@ -383,7 +383,6 @@ export default {
|
||||
getList() {
|
||||
this.loading = true;
|
||||
list(this.queryParams).then((response) => {
|
||||
console.log(response);
|
||||
this.dvsubjectList = response.rows;
|
||||
this.total = response.total;
|
||||
this.loading = false;
|
||||
@ -426,24 +425,19 @@ export default {
|
||||
},
|
||||
// 多选框选中数据
|
||||
handleSelectionChange(selection) {
|
||||
console.log(selection);
|
||||
this.ids = selection.map((item) => item.codeId);
|
||||
console.log(this.ids);
|
||||
|
||||
this.queryParams.ids = this.ids.join(",");
|
||||
this.single = selection.length !== 1;
|
||||
this.multiple = !selection.length;
|
||||
},
|
||||
/** 查看 **/
|
||||
handleExportArr(row) {
|
||||
console.log(row);
|
||||
this.formQuery = row;
|
||||
this.openQuery = true;
|
||||
this.title = "查看";
|
||||
},
|
||||
/** 处理 */
|
||||
handleUpdate(row) {
|
||||
console.log(row);
|
||||
this.reset();
|
||||
this.open = true;
|
||||
this.title = "处理";
|
||||
|
@ -286,7 +286,6 @@ export default {
|
||||
getList() {
|
||||
this.loading = true;
|
||||
list(this.queryParams).then((response) => {
|
||||
console.log(response);
|
||||
this.dvsubjectList = response.rows;
|
||||
this.total = response.total;
|
||||
this.loading = false;
|
||||
@ -319,17 +318,13 @@ export default {
|
||||
},
|
||||
// 多选框选中数据
|
||||
handleSelectionChange(selection) {
|
||||
console.log(selection);
|
||||
this.ids = selection.map((item) => item.codeId);
|
||||
console.log(this.ids);
|
||||
|
||||
this.queryParams.ids = this.ids.join(",");
|
||||
this.single = selection.length !== 1;
|
||||
this.multiple = !selection.length;
|
||||
},
|
||||
/** 查看 **/
|
||||
handleExportArr(row) {
|
||||
console.log(row);
|
||||
this.formQuery = row;
|
||||
this.openQuery = true;
|
||||
this.title = "查看";
|
||||
|
@ -286,7 +286,6 @@ export default {
|
||||
getList() {
|
||||
this.loading = true;
|
||||
list(this.queryParams).then((response) => {
|
||||
console.log(response);
|
||||
this.dvsubjectList = response.rows;
|
||||
this.total = response.total;
|
||||
this.loading = false;
|
||||
@ -319,17 +318,13 @@ export default {
|
||||
},
|
||||
// 多选框选中数据
|
||||
handleSelectionChange(selection) {
|
||||
console.log(selection);
|
||||
this.ids = selection.map((item) => item.codeId);
|
||||
console.log(this.ids);
|
||||
|
||||
this.queryParams.ids = this.ids.join(",");
|
||||
this.single = selection.length !== 1;
|
||||
this.multiple = !selection.length;
|
||||
},
|
||||
/** 查看 **/
|
||||
handleExportArr(row) {
|
||||
console.log(row);
|
||||
this.formQuery = row;
|
||||
this.openQuery = true;
|
||||
this.title = "查看";
|
||||
|
@ -383,7 +383,6 @@ export default {
|
||||
getList() {
|
||||
this.loading = true;
|
||||
list(this.queryParams).then((response) => {
|
||||
console.log(response);
|
||||
this.dvsubjectList = response.rows;
|
||||
this.total = response.total;
|
||||
this.loading = false;
|
||||
@ -426,24 +425,19 @@ export default {
|
||||
},
|
||||
// 多选框选中数据
|
||||
handleSelectionChange(selection) {
|
||||
console.log(selection);
|
||||
this.ids = selection.map((item) => item.codeId);
|
||||
console.log(this.ids);
|
||||
|
||||
this.queryParams.ids = this.ids.join(",");
|
||||
this.single = selection.length !== 1;
|
||||
this.multiple = !selection.length;
|
||||
},
|
||||
/** 查看 **/
|
||||
handleExportArr(row) {
|
||||
console.log(row);
|
||||
this.formQuery = row;
|
||||
this.openQuery = true;
|
||||
this.title = "查看";
|
||||
},
|
||||
/** 处理 */
|
||||
handleUpdate(row) {
|
||||
console.log(row);
|
||||
this.reset();
|
||||
this.open = true;
|
||||
this.title = "处理";
|
||||
|
@ -378,7 +378,6 @@ export default {
|
||||
},
|
||||
})
|
||||
.then((res) => {
|
||||
console.log(res);
|
||||
if (res.data.code === 200) {
|
||||
this.elimage = false;
|
||||
this.Powersupply = false;
|
||||
@ -404,7 +403,6 @@ export default {
|
||||
},
|
||||
})
|
||||
.then((res) => {
|
||||
console.log(res);
|
||||
if (res.data.code === 200) {
|
||||
this.elimage = true;
|
||||
this.Powersupply = true;
|
||||
|
@ -390,7 +390,6 @@ export default {
|
||||
getList() {
|
||||
this.loading = true;
|
||||
list(this.queryParams).then((response) => {
|
||||
console.log(response);
|
||||
this.dvsubjectList = response.data;
|
||||
this.total = response.data.length;
|
||||
this.loading = false;
|
||||
@ -426,10 +425,7 @@ export default {
|
||||
},
|
||||
// 多选框选中数据
|
||||
handleSelectionChange(selection) {
|
||||
console.log(selection);
|
||||
this.ids = selection.map((item) => item.codeId);
|
||||
console.log(this.ids);
|
||||
|
||||
this.queryParams.ids = this.ids.join(",");
|
||||
this.single = selection.length !== 1;
|
||||
this.multiple = !selection.length;
|
||||
@ -471,7 +467,6 @@ export default {
|
||||
|
||||
// 节点单击事件
|
||||
handleNodeClick(data) {
|
||||
console.log(data);
|
||||
this.machineryIdsArr = [];
|
||||
this.form.machineryTypeName = data.machineryTypeName;
|
||||
let arr = {
|
||||
@ -482,7 +477,6 @@ export default {
|
||||
arr.machineryTypeId = data.machineryTypeId;
|
||||
|
||||
listMachinery(arr).then((response) => {
|
||||
console.log(response);
|
||||
this.listTypeArr = response.rows;
|
||||
});
|
||||
},
|
||||
@ -501,7 +495,6 @@ export default {
|
||||
this.files = e;
|
||||
},
|
||||
customUploadChangeImage2(files) {
|
||||
console.log(files);
|
||||
if (files.status === "ready") return;
|
||||
if (files.status === "success") {
|
||||
const res = files.response || {};
|
||||
@ -543,7 +536,6 @@ export default {
|
||||
|
||||
//预览文件
|
||||
previewFile() {
|
||||
console.log(this.form);
|
||||
if (this.form.url != undefined && this.form.url != "") {
|
||||
var url = this.form.url;
|
||||
window.open(url);
|
||||
@ -554,7 +546,6 @@ export default {
|
||||
|
||||
/** 修改按钮操作 */
|
||||
handleUpdate(row) {
|
||||
console.log(row);
|
||||
this.reset();
|
||||
this.fileList = [];
|
||||
this.machineryIdsArr = {};
|
||||
@ -563,7 +554,6 @@ export default {
|
||||
if (row.originalName != undefined && row.originalName != "") {
|
||||
this.$set(name, "name", row.originalName);
|
||||
this.fileList.push(name);
|
||||
console.log(this.fileList);
|
||||
}
|
||||
let arr = {
|
||||
pageNum: 1,
|
||||
@ -571,18 +561,13 @@ export default {
|
||||
machineryTypeId: null,
|
||||
};
|
||||
arr.machineryTypeId = row.machineryTypeId;
|
||||
|
||||
listMachinery(arr).then((response) => {
|
||||
console.log(response);
|
||||
this.listTypeArr = response.rows;
|
||||
});
|
||||
|
||||
let arr1 = row.cadCodeMachineryList.map((item) => item.machineryName);
|
||||
this.machineryIdsArr = arr1;
|
||||
|
||||
let arr2 = row.cadCodeMachineryList.map((item) => item.machineryId);
|
||||
this.form.machineryIds = arr2.join(",");
|
||||
|
||||
this.form.subjectId = row.codeId || this.ids;
|
||||
this.open = true;
|
||||
this.title = "修改代码";
|
||||
@ -625,7 +610,6 @@ export default {
|
||||
},
|
||||
/** 删除按钮操作 */
|
||||
handleDelete(row) {
|
||||
console.log(row);
|
||||
const subjectIds = row.codeId || this.ids;
|
||||
this.$modal
|
||||
.confirm("是否确认删除当前的数据项?")
|
||||
@ -651,7 +635,6 @@ export default {
|
||||
|
||||
/** 单选导出按钮操作 */
|
||||
handleExportArr(e) {
|
||||
console.log(e);
|
||||
this.queryParams.ids = e.codeId;
|
||||
this.download(
|
||||
"/cad/code/export",
|
||||
|
@ -439,7 +439,6 @@ export default {
|
||||
this.loading = false;
|
||||
});
|
||||
listType().then((response) => {
|
||||
console.log(response);
|
||||
this.listTypeArr = response.rows;
|
||||
});
|
||||
},
|
||||
@ -478,7 +477,6 @@ export default {
|
||||
handleSelectionChange(selection) {
|
||||
this.id = selection.map((item) => item.id);
|
||||
this.queryParams.ids = this.id.join(",");
|
||||
console.log(this.queryParams.ids);
|
||||
this.single = selection.length !== 1;
|
||||
this.multiple = !selection.length;
|
||||
},
|
||||
@ -487,7 +485,6 @@ export default {
|
||||
this.reset();
|
||||
this.fileList = [];
|
||||
listType().then((response) => {
|
||||
console.log(response);
|
||||
this.listTypeArr = response.rows;
|
||||
});
|
||||
this.open = true;
|
||||
@ -495,7 +492,6 @@ export default {
|
||||
},
|
||||
|
||||
typeNameArr(e) {
|
||||
console.log(e);
|
||||
this.form.typeName = e.name;
|
||||
this.form.type = e.id;
|
||||
},
|
||||
@ -505,7 +501,6 @@ export default {
|
||||
this.files = e;
|
||||
},
|
||||
customUploadChangeImage2(files) {
|
||||
console.log(files);
|
||||
if (files.status === "ready") return;
|
||||
if (files.status === "success") {
|
||||
const res = files.response || {};
|
||||
@ -547,7 +542,6 @@ export default {
|
||||
|
||||
//预览文件
|
||||
previewFile() {
|
||||
console.log(this.form);
|
||||
if (this.form.url != undefined && this.form.url != "") {
|
||||
var url = this.form.url;
|
||||
window.open(url);
|
||||
@ -558,14 +552,12 @@ export default {
|
||||
|
||||
/** 修改按钮操作 */
|
||||
handleUpdate(row) {
|
||||
console.log(row);
|
||||
this.reset();
|
||||
this.fileList = [];
|
||||
this.form = row;
|
||||
var name = {};
|
||||
this.$set(name, "name", row.originalName);
|
||||
this.fileList.push(name);
|
||||
console.log(this.fileList);
|
||||
this.form.subjectId = row.id || this.id;
|
||||
this.open = true;
|
||||
this.title = "修改文档";
|
||||
|
@ -323,7 +323,6 @@ export default {
|
||||
},
|
||||
/** 修改按钮操作 */
|
||||
handleUpdate(row) {
|
||||
console.log(row);
|
||||
this.reset();
|
||||
this.form = row;
|
||||
this.form.subjectId = row.id;
|
||||
|
@ -724,7 +724,6 @@ export default {
|
||||
},
|
||||
// 节点单击事件
|
||||
handleNodeClick(data) {
|
||||
console.log(data);
|
||||
this.queryParams.machineryTypeId = data.machineryTypeId;
|
||||
this.queryParamsdata = data;
|
||||
this.handleQuery();
|
||||
|
@ -323,7 +323,6 @@ export default {
|
||||
getList() {
|
||||
this.loading = true;
|
||||
findProAgvline(this.queryParams).then((response) => {
|
||||
console.log(response);
|
||||
this.dvsubjectList = response.rows;
|
||||
this.total = response.total;
|
||||
this.loading = false;
|
||||
@ -377,13 +376,11 @@ export default {
|
||||
this.open = true;
|
||||
this.title = "新增AGV线路";
|
||||
findLineCode().then((response) => {
|
||||
console.log(response);
|
||||
this.form.lineCode = response.data.lineCode;
|
||||
});
|
||||
},
|
||||
/** 修改按钮操作 */
|
||||
handleUpdate(row) {
|
||||
console.log(row);
|
||||
this.reset();
|
||||
this.getWorkshops();
|
||||
this.form = row;
|
||||
|
@ -349,9 +349,8 @@ export default {
|
||||
methods: {
|
||||
/** 列表 */
|
||||
getList() {
|
||||
// this.loading = true;
|
||||
this.loading = true;
|
||||
findProAgvsite(this.queryParams).then((response) => {
|
||||
console.log(response);
|
||||
this.dvsubjectList = response.rows;
|
||||
this.total = response.total;
|
||||
this.loading = false;
|
||||
@ -406,13 +405,11 @@ export default {
|
||||
this.open = true;
|
||||
this.title = "新增AGV站点";
|
||||
findSiteCode().then((response) => {
|
||||
console.log(response);
|
||||
this.form.siteCode = response.data.siteCode;
|
||||
});
|
||||
},
|
||||
/** 修改按钮操作 */
|
||||
handleUpdate(row) {
|
||||
console.log(row);
|
||||
this.reset();
|
||||
this.getWorkshops();
|
||||
this.form = row;
|
||||
@ -454,7 +451,6 @@ export default {
|
||||
},
|
||||
/** 删除按钮操作 */
|
||||
handleDelete(row) {
|
||||
console.log(row);
|
||||
deleteProAgvsite({ proAgvsiteId: row.proAgvsiteId }).then((response) => {
|
||||
this.$modal
|
||||
.confirm("是否确认删除当前的数据项?")
|
||||
|
@ -160,12 +160,10 @@ export default{
|
||||
},
|
||||
//图片上传成功
|
||||
handleImgUplaoded(imgUrl){
|
||||
console.log(imgUrl);
|
||||
this.form.sopUrl = imgUrl;
|
||||
},
|
||||
//图片移除
|
||||
handleImgRemoved(imgUrl){
|
||||
console.log(imgUrl);
|
||||
this.form.sopUrl = null;
|
||||
},
|
||||
//提交
|
||||
|
@ -330,7 +330,7 @@
|
||||
</el-col>
|
||||
</el-row>
|
||||
<el-row>
|
||||
<el-col :span="12">
|
||||
<el-col :span="12" v-if="TypeId">
|
||||
<el-form-item label="选择线路" prop="lineId">
|
||||
<el-select
|
||||
v-model="form.lineId"
|
||||
@ -347,7 +347,7 @@
|
||||
</el-select>
|
||||
</el-form-item>
|
||||
</el-col>
|
||||
<el-col :span="12">
|
||||
<el-col :span="12" v-if="TypeId">
|
||||
<el-form-item label="选择点位" prop="lineId">
|
||||
<el-select
|
||||
v-model="form.pointId"
|
||||
@ -457,6 +457,7 @@ export default {
|
||||
dvsubjectList: [],
|
||||
lineName:"",
|
||||
pointName:"",
|
||||
TypeId:false,
|
||||
// 表单参数
|
||||
form: {},
|
||||
// 表单校验
|
||||
@ -546,7 +547,11 @@ export default {
|
||||
},
|
||||
// 节点单击事件
|
||||
handleNodeClick(data) {
|
||||
console.log(data);
|
||||
if(data.machineryTypeId == 229){
|
||||
this.TypeId = true
|
||||
}else{
|
||||
this.TypeId = false
|
||||
}
|
||||
this.form.machineryTypeName = data.machineryTypeName;
|
||||
},
|
||||
// 取消按钮
|
||||
@ -559,7 +564,6 @@ export default {
|
||||
this.files = e;
|
||||
},
|
||||
customUploadChangeImage2(files) {
|
||||
console.log(files);
|
||||
if (files.status === "ready") return;
|
||||
if (files.status === "success") {
|
||||
const res = files.response || {};
|
||||
@ -601,7 +605,6 @@ export default {
|
||||
|
||||
//预览文件
|
||||
previewFile() {
|
||||
console.log(this.form);
|
||||
if (this.form.url != undefined && this.form.url != "") {
|
||||
var url = this.form.url;
|
||||
window.open(url);
|
||||
@ -667,6 +670,11 @@ export default {
|
||||
/** 修改按钮操作 */
|
||||
handleUpdate(row) {
|
||||
this.reset();
|
||||
if(row.machineryTypeId == 229){
|
||||
this.TypeId = true
|
||||
}else{
|
||||
this.TypeId = false
|
||||
}
|
||||
var name = {};
|
||||
if (row.originalName != undefined && row.originalName != "") {
|
||||
this.$set(name, "name", row.originalName);
|
||||
|
@ -712,7 +712,6 @@ export default {
|
||||
debugger;
|
||||
let blob = new Blob([res],{type:'application/pdf'});
|
||||
let href = URL.createObjectURL(blob);
|
||||
console.log(href);
|
||||
window.open(`/pdf/web/viewer.html?file=${encodeURIComponent(href)}`);
|
||||
});
|
||||
}
|
||||
|
@ -192,7 +192,6 @@
|
||||
})
|
||||
} else {
|
||||
ownerServer.modifyOwnerContBaseById(this.contractForm).then(result => {
|
||||
console.log(this.contractForm);
|
||||
if (result.code === 200) {
|
||||
this.$notify({
|
||||
title: '成功',
|
||||
|
@ -606,7 +606,6 @@ export default {
|
||||
},
|
||||
// 恢复默认菜单权限
|
||||
restoreRole(roleId) {
|
||||
console.log(roleId);
|
||||
this.$confirm("确定恢复默认菜单权限吗?", '提示', {
|
||||
confirmButtonText: '确定',
|
||||
cancelButtonText: '取消',
|
||||
|
Loading…
Reference in New Issue
Block a user