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