Merge branch 'master' of https://e.coding.net/ctcdevteam/cma_search
This commit is contained in:
commit
1269e40a6f
Binary file not shown.
Binary file not shown.
|
|
@ -421,7 +421,7 @@
|
||||||
<el-upload
|
<el-upload
|
||||||
ref="upload"
|
ref="upload"
|
||||||
:action="upUrl"
|
:action="upUrl"
|
||||||
accept=".zip,.pdf,.jpg"
|
accept=".pdf,.jpg,.png"
|
||||||
:on-success="handleUpSuccessQuality"
|
:on-success="handleUpSuccessQuality"
|
||||||
:on-remove="handleRemoveQuality"
|
:on-remove="handleRemoveQuality"
|
||||||
:headers="upHeaders"
|
:headers="upHeaders"
|
||||||
|
|
@ -430,7 +430,7 @@
|
||||||
>
|
>
|
||||||
<el-button size="small" type="primary">上传文件</el-button>
|
<el-button size="small" type="primary">上传文件</el-button>
|
||||||
<span class="el-upload__tip">
|
<span class="el-upload__tip">
|
||||||
可上传压缩包.zip,图片.jpg、.png等文件
|
可上传.pdf文件,图片.jpg、.png等文件,仅可上传一个文件
|
||||||
</span>
|
</span>
|
||||||
</el-upload>
|
</el-upload>
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
|
|
@ -926,8 +926,8 @@
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
getCheckCity(data) {
|
getCheckCity(data) {
|
||||||
debugger;
|
// debugger;
|
||||||
console.log(data);
|
// console.log(data);
|
||||||
this.qualiForm.citys = data;
|
this.qualiForm.citys = data;
|
||||||
},
|
},
|
||||||
getCites(province) {
|
getCites(province) {
|
||||||
|
|
@ -1090,7 +1090,6 @@
|
||||||
if (valid) {
|
if (valid) {
|
||||||
let obj = new Object();
|
let obj = new Object();
|
||||||
obj.qtask = that.qtask;
|
obj.qtask = that.qtask;
|
||||||
|
|
||||||
let value2 = new Object();
|
let value2 = new Object();
|
||||||
for (let [key, value] of Object.entries(that.qualiForm)) {
|
for (let [key, value] of Object.entries(that.qualiForm)) {
|
||||||
console.log(key,value);
|
console.log(key,value);
|
||||||
|
|
@ -1102,12 +1101,6 @@
|
||||||
value2.citys[index] = parseInt(item);
|
value2.citys[index] = parseInt(item);
|
||||||
});
|
});
|
||||||
obj.value2 = value2;
|
obj.value2 = value2;
|
||||||
debugger;
|
|
||||||
console.log(obj);
|
|
||||||
console.log(obj.value2);
|
|
||||||
console.log(obj.value2.citys);
|
|
||||||
debugger;
|
|
||||||
|
|
||||||
const isEdit = that.dialogType === "edit";
|
const isEdit = that.dialogType === "edit";
|
||||||
if (isEdit) {
|
if (isEdit) {
|
||||||
updateQuali(obj).then((res) => {
|
updateQuali(obj).then((res) => {
|
||||||
|
|
@ -1118,8 +1111,8 @@
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
} else {
|
} else {
|
||||||
debugger;
|
// debugger;
|
||||||
console.log(obj);
|
// console.log(obj);
|
||||||
createQuali(obj).then((res) => {
|
createQuali(obj).then((res) => {
|
||||||
if (res.code >= 200 && res.code < 400) {
|
if (res.code >= 200 && res.code < 400) {
|
||||||
that.getList();
|
that.getList();
|
||||||
|
|
@ -1152,9 +1145,9 @@
|
||||||
});
|
});
|
||||||
},
|
},
|
||||||
handleDetail(type,item){
|
handleDetail(type,item){
|
||||||
debugger;
|
// debugger;
|
||||||
console.log(type)
|
// console.log(type)
|
||||||
console.log(item)
|
// console.log(item)
|
||||||
let that = this;
|
let that = this;
|
||||||
that.drawer = true;
|
that.drawer = true;
|
||||||
this.showData.id = item.id;
|
this.showData.id = item.id;
|
||||||
|
|
|
||||||
|
|
@ -243,7 +243,9 @@ export default {
|
||||||
inspectTableList: [],
|
inspectTableList: [],
|
||||||
typeOptions: [],
|
typeOptions: [],
|
||||||
stateOptions: [
|
stateOptions: [
|
||||||
{ key: "合规", name: "合规" },
|
{ key: "重大风险", name: "重大风险" },
|
||||||
|
{ key: "严重风险", name: "严重风险" },
|
||||||
|
{ key: "主要风险", name: "主要风险" },
|
||||||
{ key: "体系", name: "体系" }
|
{ key: "体系", name: "体系" }
|
||||||
],
|
],
|
||||||
listLoading: true,
|
listLoading: true,
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue