Merge remote-tracking branch 'origin/develop' into develop
This commit is contained in:
@@ -653,27 +653,10 @@
|
|||||||
</el-select>
|
</el-select>
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
<el-form-item v-show="form.standInData === '0'" label="起草单位" prop="qcdw" class="add-form-item form-item-disabled">
|
<el-form-item v-show="form.standInData === '0'" label="起草单位" prop="qcdw" class="add-form-item form-item-disabled">
|
||||||
<el-select :popper-append-to-body="false" clearable v-model="form.qcdw" placeholder="请选择起草单位" multiple filterable>
|
<el-select :popper-append-to-body="false" multiple filterable clearable v-model="form.qcdw" placeholder="请选择起草单位">
|
||||||
<el-option
|
<el-option v-for="item in qcdwOption" :value="item.value" :key="item.value" :label="item.label" multiple filterable></el-option>
|
||||||
v-for="item in qcdwOption"
|
|
||||||
placeholder="请选择"
|
|
||||||
:key="item.value"
|
|
||||||
:value="item.value"
|
|
||||||
:label="item.label"
|
|
||||||
></el-option>
|
|
||||||
</el-select>
|
</el-select>
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
<!--<el-form-item v-show="form.standInData === '0'" label="体系类别" class="add-form-item form-item-disabled">
|
|
||||||
<el-select :popper-append-to-body="false" v-model="form.txlb" placeholder="请选择体系类别" multiple>
|
|
||||||
<el-option
|
|
||||||
v-for="item in txlbOptions"
|
|
||||||
placeholder="请选择"
|
|
||||||
:key="item.value"
|
|
||||||
:value="item.value"
|
|
||||||
:label="item.label"
|
|
||||||
></el-option>
|
|
||||||
</el-select>
|
|
||||||
</el-form-item>-->
|
|
||||||
</el-col>
|
</el-col>
|
||||||
<el-col :span="12">
|
<el-col :span="12">
|
||||||
<!--适用产品线-->
|
<!--适用产品线-->
|
||||||
@@ -2247,7 +2230,7 @@ export default {
|
|||||||
this.form = JSON.parse(JSON.stringify(json))
|
this.form = JSON.parse(JSON.stringify(json))
|
||||||
this.getListTree(bringData)
|
this.getListTree(bringData)
|
||||||
this.form.standId = bringData.id
|
this.form.standId = bringData.id
|
||||||
this.form.qcdw = JSON.parse(JSON.stringify(json)).qcdw && JSON.parse(JSON.stringify(json)).qcdw !== '[]' ? JSON.parse(JSON.stringify(json)).qcdw : ''
|
this.form.qcdw = JSON.parse(JSON.stringify(json)).qcdw && JSON.parse(JSON.stringify(json)).qcdw !== '[]' ? JSON.parse(JSON.stringify(json)).qcdw.split(',') : ''
|
||||||
this.form.wssmr = JSON.parse(JSON.stringify(json)).wssmr && JSON.parse(JSON.stringify(json)).wssmr !== '[]' ? JSON.parse(JSON.stringify(json)).wssmr : ''
|
this.form.wssmr = JSON.parse(JSON.stringify(json)).wssmr && JSON.parse(JSON.stringify(json)).wssmr !== '[]' ? JSON.parse(JSON.stringify(json)).wssmr : ''
|
||||||
this.form.zrgcs = JSON.parse(JSON.stringify(json)).zrgcs && JSON.parse(JSON.stringify(json)).zrgcs !== '[]' ? JSON.parse(JSON.stringify(json)).zrgcs : ''
|
this.form.zrgcs = JSON.parse(JSON.stringify(json)).zrgcs && JSON.parse(JSON.stringify(json)).zrgcs !== '[]' ? JSON.parse(JSON.stringify(json)).zrgcs : ''
|
||||||
this.form.zrbm = JSON.parse(JSON.stringify(json)).zrbm && JSON.parse(JSON.stringify(json)).zrbm !== '[]' ? JSON.parse(JSON.stringify(json)).zrbm : ''
|
this.form.zrbm = JSON.parse(JSON.stringify(json)).zrbm && JSON.parse(JSON.stringify(json)).zrbm !== '[]' ? JSON.parse(JSON.stringify(json)).zrbm : ''
|
||||||
@@ -2255,6 +2238,7 @@ export default {
|
|||||||
this.form.sycpx = JSON.parse(JSON.stringify(json)).sycpx && JSON.parse(JSON.stringify(json)).sycpx !== '[]' ? JSON.parse(JSON.stringify(json)).sycpx : ''
|
this.form.sycpx = JSON.parse(JSON.stringify(json)).sycpx && JSON.parse(JSON.stringify(json)).sycpx !== '[]' ? JSON.parse(JSON.stringify(json)).sycpx : ''
|
||||||
this.form.nylx = JSON.parse(JSON.stringify(json)).nylx && JSON.parse(JSON.stringify(json)).nylx !== '[]' ? JSON.parse(JSON.stringify(json)).nylx : ''
|
this.form.nylx = JSON.parse(JSON.stringify(json)).nylx && JSON.parse(JSON.stringify(json)).nylx !== '[]' ? JSON.parse(JSON.stringify(json)).nylx : ''
|
||||||
this.form.cllx = JSON.parse(JSON.stringify(json)).cllx && JSON.parse(JSON.stringify(json)).cllx !== '[]' ? JSON.parse(JSON.stringify(json)).cllx : ''
|
this.form.cllx = JSON.parse(JSON.stringify(json)).cllx && JSON.parse(JSON.stringify(json)).cllx !== '[]' ? JSON.parse(JSON.stringify(json)).cllx : ''
|
||||||
|
this.form.bfbdtbzh = JSON.parse(JSON.stringify(json)).bfdtbz && JSON.parse(JSON.stringify(json)).bfdtbz !== '[]' ? JSON.parse(JSON.stringify(json)).bfdtbz : ''
|
||||||
this.defaultCheckedKeys = [this.form.standSystem];
|
this.defaultCheckedKeys = [this.form.standSystem];
|
||||||
this.defaultCheckedKeys1 = [this.form.cycvppsbm];
|
this.defaultCheckedKeys1 = [this.form.cycvppsbm];
|
||||||
this.defaultCheckedKeys2 = [this.form.kccvppsbm];
|
this.defaultCheckedKeys2 = [this.form.kccvppsbm];
|
||||||
|
|||||||
@@ -39,6 +39,7 @@
|
|||||||
<el-date-picker
|
<el-date-picker
|
||||||
v-model="form.endTime"
|
v-model="form.endTime"
|
||||||
type="date"
|
type="date"
|
||||||
|
value-format="yyyy-MM-dd"
|
||||||
:picker-options="pickerOptions"
|
:picker-options="pickerOptions"
|
||||||
placeholder="请选择结束日期">
|
placeholder="请选择结束日期">
|
||||||
</el-date-picker>
|
</el-date-picker>
|
||||||
|
|||||||
@@ -40,6 +40,7 @@
|
|||||||
v-model="form.endTime"
|
v-model="form.endTime"
|
||||||
:picker-options="pickerOptions"
|
:picker-options="pickerOptions"
|
||||||
type="date"
|
type="date"
|
||||||
|
value-format="yyyy-MM-dd"
|
||||||
placeholder="请选择结束日期">
|
placeholder="请选择结束日期">
|
||||||
</el-date-picker>
|
</el-date-picker>
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
@@ -814,6 +815,7 @@ export default {
|
|||||||
_formData.append('json', JSON.stringify({
|
_formData.append('json', JSON.stringify({
|
||||||
form: this.form,
|
form: this.form,
|
||||||
roleForm: this.roleForm,
|
roleForm: this.roleForm,
|
||||||
|
filesId: this.addFjList,
|
||||||
commentText1: this.commentText1
|
commentText1: this.commentText1
|
||||||
}))
|
}))
|
||||||
saveTaskFirst(_formData).then(res => {
|
saveTaskFirst(_formData).then(res => {
|
||||||
|
|||||||
@@ -37,6 +37,7 @@
|
|||||||
disabled
|
disabled
|
||||||
v-model="form.endTime"
|
v-model="form.endTime"
|
||||||
type="date"
|
type="date"
|
||||||
|
value-format="yyyy-MM-dd"
|
||||||
placeholder="请选择结束日期">
|
placeholder="请选择结束日期">
|
||||||
</el-date-picker>
|
</el-date-picker>
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
|
|||||||
@@ -35,6 +35,7 @@
|
|||||||
<el-form-item label="征求意见结束日期" prop="endTime" class="add-form-item form-item-disabled">
|
<el-form-item label="征求意见结束日期" prop="endTime" class="add-form-item form-item-disabled">
|
||||||
<el-date-picker
|
<el-date-picker
|
||||||
disabled
|
disabled
|
||||||
|
value-format="yyyy-MM-dd"
|
||||||
v-model="form.endTime"
|
v-model="form.endTime"
|
||||||
type="date"
|
type="date"
|
||||||
placeholder="请选择结束日期">
|
placeholder="请选择结束日期">
|
||||||
|
|||||||
@@ -34,6 +34,7 @@
|
|||||||
</el-form-item>
|
</el-form-item>
|
||||||
<el-form-item label="征求意见结束日期" prop="endTime" class="add-form-item form-item-disabled">
|
<el-form-item label="征求意见结束日期" prop="endTime" class="add-form-item form-item-disabled">
|
||||||
<el-date-picker
|
<el-date-picker
|
||||||
|
value-format="yyyy-MM-dd"
|
||||||
disabled
|
disabled
|
||||||
v-model="form.endTime"
|
v-model="form.endTime"
|
||||||
type="date"
|
type="date"
|
||||||
|
|||||||
@@ -37,6 +37,7 @@
|
|||||||
disabled
|
disabled
|
||||||
v-model="form.endTime"
|
v-model="form.endTime"
|
||||||
type="date"
|
type="date"
|
||||||
|
value-format="yyyy-MM-dd"
|
||||||
placeholder="请选择结束日期">
|
placeholder="请选择结束日期">
|
||||||
</el-date-picker>
|
</el-date-picker>
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
|
|||||||
@@ -35,6 +35,7 @@
|
|||||||
<el-form-item label="征求意见结束日期" prop="endTime" class="add-form-item form-item-disabled">
|
<el-form-item label="征求意见结束日期" prop="endTime" class="add-form-item form-item-disabled">
|
||||||
<el-date-picker
|
<el-date-picker
|
||||||
disabled
|
disabled
|
||||||
|
value-format="yyyy-MM-dd"
|
||||||
v-model="form.endTime"
|
v-model="form.endTime"
|
||||||
type="date"
|
type="date"
|
||||||
placeholder="请选择结束日期">
|
placeholder="请选择结束日期">
|
||||||
|
|||||||
@@ -349,6 +349,7 @@
|
|||||||
name: "bzzqyjStep5",
|
name: "bzzqyjStep5",
|
||||||
data() {
|
data() {
|
||||||
return {
|
return {
|
||||||
|
clickFlag: false,
|
||||||
commentText5: '',
|
commentText5: '',
|
||||||
options: [],
|
options: [],
|
||||||
itemId: '',
|
itemId: '',
|
||||||
@@ -460,35 +461,47 @@
|
|||||||
this.modalshowflag2 = false
|
this.modalshowflag2 = false
|
||||||
},
|
},
|
||||||
itemEdit (row, index) {
|
itemEdit (row, index) {
|
||||||
this.itemId = row.id
|
if(this.clickFlag){
|
||||||
this.modalshowflag2 = true
|
this.itemId = row.id
|
||||||
this.editForm = {
|
this.modalshowflag2 = true
|
||||||
chapterNumber: row.chapterNumber,
|
this.editForm = {
|
||||||
chapterName: row.chapterName,
|
chapterNumber: row.chapterNumber,
|
||||||
oldText: row.oldText,
|
chapterName: row.chapterName,
|
||||||
newText: row.newText,
|
oldText: row.oldText,
|
||||||
reason: row.reason,
|
newText: row.newText,
|
||||||
cause: row.cause,
|
reason: row.reason,
|
||||||
department: row.department,
|
cause: row.cause,
|
||||||
responUserName: row.responUserName,
|
department: row.department,
|
||||||
responUser: row.responUser,
|
responUserName: row.responUserName,
|
||||||
state: row.state,
|
responUser: row.responUser,
|
||||||
source: row.source,
|
state: row.state,
|
||||||
id: row.id,
|
source: row.source,
|
||||||
|
id: row.id,
|
||||||
|
}
|
||||||
|
}else{
|
||||||
|
this.$message.warning('公开征求意见未结束,无法操作')
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
itermsConditionsClose () {
|
itermsConditionsClose () {
|
||||||
this.itermsConditionsFlag = false
|
this.itermsConditionsFlag = false
|
||||||
},
|
},
|
||||||
itermsConditionsOpen (row) {
|
itermsConditionsOpen (row) {
|
||||||
this.itermsConditionsFlag = true
|
if(this.clickFlag){
|
||||||
this.itermsConditionsTitle = row
|
this.itermsConditionsFlag = true
|
||||||
|
this.itermsConditionsTitle = row
|
||||||
|
}else{
|
||||||
|
this.$message.warning('公开征求意见未结束,无法操作')
|
||||||
|
}
|
||||||
},
|
},
|
||||||
downloadFile (attId) {
|
downloadFile (attId) {
|
||||||
window.location.href = '/api/att/attFile/downloadFileForSar?fileId=' + attId
|
window.location.href = '/api/att/attFile/downloadFileForSar?fileId=' + attId
|
||||||
},
|
},
|
||||||
handleTransfer() {
|
handleTransfer() {
|
||||||
this.drawerModal = true
|
if(this.clickFlag){
|
||||||
|
this.drawerModal = true
|
||||||
|
}else{
|
||||||
|
this.$message.warning('公开征求意见未结束,无法操作')
|
||||||
|
}
|
||||||
},
|
},
|
||||||
checkedRole (data) {
|
checkedRole (data) {
|
||||||
changeAssigneeNew({
|
changeAssigneeNew({
|
||||||
@@ -539,42 +552,49 @@
|
|||||||
},
|
},
|
||||||
//保存事件
|
//保存事件
|
||||||
handleSave() {
|
handleSave() {
|
||||||
this.saveLoading = true;
|
if(this.clickFlag){
|
||||||
let _formData = new FormData();
|
this.saveLoading = true;
|
||||||
let json = this.form;
|
let _formData = new FormData();
|
||||||
json.data = this.data;
|
let json = this.form;
|
||||||
_formData.append("id", this.bpnId || "");
|
json.data = this.data;
|
||||||
_formData.append("prcType", "3");
|
_formData.append("id", this.bpnId || "");
|
||||||
_formData.append("taskIds", this.taskIds);
|
_formData.append("prcType", "3");
|
||||||
_formData.append("json", JSON.stringify({
|
_formData.append("taskIds", this.taskIds);
|
||||||
form: json,
|
_formData.append("json", JSON.stringify({
|
||||||
commentText5: this.commentText5
|
form: json,
|
||||||
}));
|
commentText5: this.commentText5
|
||||||
saveTaskForPub(_formData).then(res => {
|
}));
|
||||||
this.saveLoading = false;
|
saveTaskForPub(_formData).then(res => {
|
||||||
this.$message.success("保存成功");
|
this.saveLoading = false;
|
||||||
this.bpnId = res.result;
|
this.$message.success("保存成功");
|
||||||
}).catch(e => {
|
this.bpnId = res.result;
|
||||||
this.saveLoading = false;
|
}).catch(e => {
|
||||||
});
|
this.saveLoading = false;
|
||||||
|
});
|
||||||
|
}else{
|
||||||
|
this.$message.warning('公开征求意见未结束,无法操作')
|
||||||
|
}
|
||||||
},
|
},
|
||||||
handleSubmit() {
|
handleSubmit() {
|
||||||
let a = 0
|
let a = 0
|
||||||
for (let b = 0; b < this.data.length;b++) {
|
for (let b = 0; b < this.data.length;b++) {
|
||||||
if (this.data[b].state === '3' && !this.data[b].cause) {
|
if (this.data[b].state === '3' && !this.data[b].cause) {
|
||||||
a++
|
a++
|
||||||
|
}
|
||||||
|
if(!this.data[b].sourceType){
|
||||||
|
this.data[b].sourceType = '定向'
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
if (a > 0) {
|
||||||
if (a > 0) {
|
this.$message.warning('请输入不上报原因')
|
||||||
this.$message.warning('请输入不上报原因')
|
return;
|
||||||
return;
|
}
|
||||||
}
|
this.isSubmit = true;
|
||||||
this.isSubmit = true;
|
|
||||||
var json = this.json;
|
var json = this.json;
|
||||||
json.oldinfo = this.oldData;
|
json.oldinfo = this.oldData;
|
||||||
json.commentText = this.commentText5;
|
json.commentText = this.commentText5;
|
||||||
json.introduce = true;
|
json.introduce = true;
|
||||||
this.$http.post("lawss/activiti/completeTask", {
|
this.$http.post("lawss/activiti/completeTask", {
|
||||||
json: JSON.stringify(json),
|
json: JSON.stringify(json),
|
||||||
taskId: this.taskIds,
|
taskId: this.taskIds,
|
||||||
userId: this.$store.getters.userInfo.userId
|
userId: this.$store.getters.userInfo.userId
|
||||||
@@ -586,6 +606,41 @@
|
|||||||
this.isSubmit = false;
|
this.isSubmit = false;
|
||||||
});
|
});
|
||||||
},
|
},
|
||||||
|
// handleSubmit() {
|
||||||
|
// if(this.clickFlag){
|
||||||
|
// let a = 0
|
||||||
|
// for (let b = 0; b < this.data.length;b++) {
|
||||||
|
// if (this.data[b].state === '3' && !this.data[b].cause) {
|
||||||
|
// a++
|
||||||
|
// }
|
||||||
|
// if(!this.data[b].sourceType){
|
||||||
|
// this.data[b].sourceType = '定向'
|
||||||
|
// }
|
||||||
|
// }
|
||||||
|
// if (a > 0) {
|
||||||
|
// this.$message.warning('请输入不上报原因')
|
||||||
|
// return;
|
||||||
|
// }
|
||||||
|
// this.isSubmit = true;
|
||||||
|
// var json = this.json;
|
||||||
|
// json.oldinfo = this.oldData;
|
||||||
|
// json.commentText = this.commentText5;
|
||||||
|
// json.introduce = true;
|
||||||
|
// this.$http.post("lawss/activiti/completeTask", {
|
||||||
|
// json: JSON.stringify(json),
|
||||||
|
// taskId: this.taskIds,
|
||||||
|
// userId: this.$store.getters.userInfo.userId
|
||||||
|
// }, {}, res => {
|
||||||
|
// if (res.success) {
|
||||||
|
// this.$message.success("提交成功");
|
||||||
|
// this.$router.push("/processCenter");
|
||||||
|
// }
|
||||||
|
// this.isSubmit = false;
|
||||||
|
// });
|
||||||
|
// }else{
|
||||||
|
// this.$message.warning('公开征求意见未结束,无法操作')
|
||||||
|
// }
|
||||||
|
// },
|
||||||
getData() {
|
getData() {
|
||||||
return new Promise((resolve, reject) => {
|
return new Promise((resolve, reject) => {
|
||||||
inboundLiaisonDetail({
|
inboundLiaisonDetail({
|
||||||
@@ -613,6 +668,15 @@
|
|||||||
this.json = data;
|
this.json = data;
|
||||||
this.getItemList(data.standId,this.form.textValue)
|
this.getItemList(data.standId,this.form.textValue)
|
||||||
this.data = newArr
|
this.data = newArr
|
||||||
|
this.$http.get('slrs/sar-public-idea-all/checkIsShow', {
|
||||||
|
endTime: this.form.endTime
|
||||||
|
}, {}, res => {
|
||||||
|
if (res.message === '1') {
|
||||||
|
this.clickFlag = false
|
||||||
|
} else {
|
||||||
|
this.clickFlag = true
|
||||||
|
}
|
||||||
|
})
|
||||||
if (data.introduce) {
|
if (data.introduce) {
|
||||||
} else {
|
} else {
|
||||||
this.$http.get("slrs/sar-public-idea-all/getPublicIdea", {
|
this.$http.get("slrs/sar-public-idea-all/getPublicIdea", {
|
||||||
@@ -624,6 +688,7 @@
|
|||||||
item.responUser = item.userId
|
item.responUser = item.userId
|
||||||
item.state = '1'
|
item.state = '1'
|
||||||
item.source = '2'
|
item.source = '2'
|
||||||
|
item.sourceType = '公开'
|
||||||
this.data.push(item);
|
this.data.push(item);
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
|
|||||||
@@ -261,22 +261,28 @@ export default {
|
|||||||
if (item.passInfo !== 0) {
|
if (item.passInfo !== 0) {
|
||||||
this.passInfo = JSON.parse(JSON.stringify(item)).passInfo
|
this.passInfo = JSON.parse(JSON.stringify(item)).passInfo
|
||||||
let fileData = JSON.parse(JSON.stringify(item)).dockUserList
|
let fileData = JSON.parse(JSON.stringify(item)).dockUserList
|
||||||
for (let i = 0; i<fileData.length; i++) {
|
this.dataList = fileData[0].standardInfoList
|
||||||
if (fileData[i].name.slice(0,fileData[i].name.indexOf('(')) === this.$store.getters.userInfo.userName) {
|
this.standardInfoList = this.dataList
|
||||||
this.dataList = fileData[0].standardInfoList
|
this.textarea = JSON.parse(JSON.stringify(item)).textarea
|
||||||
this.standardInfoList = this.dataList
|
/* 注释掉的代码 是因为后端已经分配过数据 前端不需要再做处理*/
|
||||||
this.textarea = JSON.parse(JSON.stringify(item)).textarea
|
// for (let i = 0; i<fileData.length; i++) {
|
||||||
}
|
// if (fileData[i].name.slice(0,fileData[i].name.indexOf('(')) === this.$store.getters.userInfo.userName) {
|
||||||
}
|
// this.dataList = fileData[0].standardInfoList
|
||||||
|
// this.standardInfoList = this.dataList
|
||||||
|
// this.textarea = JSON.parse(JSON.stringify(item)).textarea
|
||||||
|
// }
|
||||||
|
// }
|
||||||
} else {
|
} else {
|
||||||
let fileData = JSON.parse(JSON.stringify(item)).dockUserList
|
let fileData = JSON.parse(JSON.stringify(item)).dockUserList
|
||||||
for (let i = 0; i<fileData.length; i++) {
|
this.dataList = fileData[0].standardInfoList
|
||||||
if (fileData[i].name.slice(0,fileData[i].name.indexOf('(')) === this.$store.getters.userInfo.userName) {
|
this.standardInfoList = this.dataList
|
||||||
this.dataList = fileData[i].standardInfoList
|
// for (let i = 0; i<fileData.length; i++) {
|
||||||
this.standardInfoList = this.dataList
|
// if (fileData[i].name.slice(0,fileData[i].name.indexOf('(')) === this.$store.getters.userInfo.userName) {
|
||||||
// this.textarea = JSON.parse(JSON.stringify(item)).commentText
|
// this.dataList = fileData[0].standardInfoList
|
||||||
}
|
// this.standardInfoList = this.dataList
|
||||||
}
|
// // this.textarea = JSON.parse(JSON.stringify(item)).commentText
|
||||||
|
// }
|
||||||
|
// }
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
},
|
},
|
||||||
|
|||||||
@@ -1413,6 +1413,15 @@ export default {
|
|||||||
this.commentText = mes.commentText;
|
this.commentText = mes.commentText;
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
if (this.$route.query.row) {
|
||||||
|
let data = this.$route.query.row
|
||||||
|
this.qdform.projectId = data.id
|
||||||
|
this.qdform.projectName = data.projectName
|
||||||
|
this.qdform.projectNumber = data.projectNumber
|
||||||
|
this.qdform.detailedListName = data.projectGroup
|
||||||
|
this.qdform.endTime = data.projectEndDate
|
||||||
|
this.getStandData(this.qdform.projectId)
|
||||||
|
}
|
||||||
// 查询各下拉框数据
|
// 查询各下拉框数据
|
||||||
this.$http.get("sys/dictype/getDicTypeListCode", "", {
|
this.$http.get("sys/dictype/getDicTypeListCode", "", {
|
||||||
_this: this,
|
_this: this,
|
||||||
|
|||||||
@@ -503,16 +503,16 @@
|
|||||||
<el-form-item :label="standLabelNum" class="add-form-item">
|
<el-form-item :label="standLabelNum" class="add-form-item">
|
||||||
<el-input
|
<el-input
|
||||||
v-if="sarAccessInfo.dataSource === 'FOREIGN_STAND' || sarAccessInfo.dataSource === 'INLAND_STAND'"
|
v-if="sarAccessInfo.dataSource === 'FOREIGN_STAND' || sarAccessInfo.dataSource === 'INLAND_STAND'"
|
||||||
v-model="sarAccessInfo.standNumber"
|
v-model="sarAccessInfo.seniorStandNumber"
|
||||||
placeholder="请输入标准号"/>
|
:placeholder="'请输入' + standLabelNum"/>
|
||||||
<el-input
|
<el-input
|
||||||
v-if="sarAccessInfo.dataSource === 'FOREIGN_LAWS'"
|
v-if="sarAccessInfo.dataSource === 'FOREIGN_LAWS'"
|
||||||
v-model="sarAccessInfo.lawsNumber"
|
v-model="sarAccessInfo.seniorLawsNumber"
|
||||||
placeholder="请输入政策编号"/>
|
:placeholder="'请输入' + standLabelNum"/>
|
||||||
<el-input
|
<el-input
|
||||||
v-else-if="sarAccessInfo.dataSource === 'BUSINESS'"
|
v-else-if="sarAccessInfo.dataSource === 'BUSINESS'"
|
||||||
v-model="sarAccessInfo.standCode"
|
v-model="sarAccessInfo.seniorStandCode"
|
||||||
placeholder="请输入标准号"/>
|
:placeholder="'请输入' + standLabelNum"/>
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
|
|
||||||
<el-form-item v-if="sarAccessInfo.dataSource === 'BUSINESS'" label="文本状态" class="add-form-item">
|
<el-form-item v-if="sarAccessInfo.dataSource === 'BUSINESS'" label="文本状态" class="add-form-item">
|
||||||
@@ -569,7 +569,7 @@
|
|||||||
</el-col>
|
</el-col>
|
||||||
<el-col :span="12">
|
<el-col :span="12">
|
||||||
<el-form-item :label="standLabelName" class="add-form-item">
|
<el-form-item :label="standLabelName" class="add-form-item">
|
||||||
<el-input v-model="sarAccessInfo.standName" placeholder="请输入标准名称"></el-input>
|
<el-input v-model="sarAccessInfo.standName" :placeholder="'请输入' + standLabelName"></el-input>
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
<el-form-item label="是否纳入认证清单" class="add-form-item">
|
<el-form-item label="是否纳入认证清单" class="add-form-item">
|
||||||
<el-select v-model="sarAccessInfo.isRelateAccess" clearable placeholder="根据是否纳入标准清单查找">
|
<el-select v-model="sarAccessInfo.isRelateAccess" clearable placeholder="根据是否纳入标准清单查找">
|
||||||
@@ -845,9 +845,14 @@ export default {
|
|||||||
id: '',
|
id: '',
|
||||||
standName: '',
|
standName: '',
|
||||||
standNumber: '',
|
standNumber: '',
|
||||||
|
lawsNumber: '',
|
||||||
standCode: '', // 政策编号
|
standCode: '', // 政策编号
|
||||||
textStatus: '',
|
textStatus: '',
|
||||||
|
|
||||||
|
seniorStandNumber: '',
|
||||||
|
seniorLawsNumber: '',
|
||||||
|
seniorStandCode: '',
|
||||||
|
|
||||||
textStatusBuss: '',
|
textStatusBuss: '',
|
||||||
CLLX: '',
|
CLLX: '',
|
||||||
SYRZ: '',
|
SYRZ: '',
|
||||||
@@ -1032,7 +1037,7 @@ export default {
|
|||||||
}*/
|
}*/
|
||||||
this.sarAccessInfo = formData
|
this.sarAccessInfo = formData
|
||||||
this.showQueryMore = false
|
this.showQueryMore = false
|
||||||
this.selectLawsStands()
|
this.selectLawsStands(1)
|
||||||
},
|
},
|
||||||
|
|
||||||
// 删除上传的文件
|
// 删除上传的文件
|
||||||
@@ -1212,8 +1217,8 @@ export default {
|
|||||||
this.$refs.searchTable.clearSelection()
|
this.$refs.searchTable.clearSelection()
|
||||||
this.$message.warning('请勿添加重复数据')
|
this.$message.warning('请勿添加重复数据')
|
||||||
} else {
|
} else {
|
||||||
this.sarAccessInfoLists.push(item)
|
this.sarAccessInfoList.push(item)
|
||||||
this.sarAccessInfoLists.forEach(item => {
|
this.sarAccessInfoList.forEach(item => {
|
||||||
if (item.lawsNumber) {
|
if (item.lawsNumber) {
|
||||||
item.standNumber = item.lawsNumber
|
item.standNumber = item.lawsNumber
|
||||||
}
|
}
|
||||||
@@ -1254,7 +1259,7 @@ export default {
|
|||||||
// this.$refs.accessTypeSelect.clearSelection()
|
// this.$refs.accessTypeSelect.clearSelection()
|
||||||
this.$refs.entryTable.clearSelection()
|
this.$refs.entryTable.clearSelection()
|
||||||
this.$refs.searchTable.clearSelection()
|
this.$refs.searchTable.clearSelection()
|
||||||
this.sarAccessInfoLists.forEach(item => {
|
this.sarAccessInfoList.forEach(item => {
|
||||||
if (item.nylx === '[]') {
|
if (item.nylx === '[]') {
|
||||||
item.nylx = ''
|
item.nylx = ''
|
||||||
}
|
}
|
||||||
@@ -1268,7 +1273,7 @@ export default {
|
|||||||
item.sycpx = ''
|
item.sycpx = ''
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
this.sarAccessInfoList = this.sarAccessInfoLists
|
// this.sarAccessInfoList = this.sarAccessInfoLists
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
} else {
|
} else {
|
||||||
@@ -1508,9 +1513,20 @@ export default {
|
|||||||
}
|
}
|
||||||
})
|
})
|
||||||
},
|
},
|
||||||
pageInfo() {
|
pageInfo(type) {
|
||||||
if (this.sarAccessInfo.dataSource === 'INLAND_STAND' || this.sarAccessInfo.dataSource === 'FOREIGN_STAND') {
|
if (this.sarAccessInfo.dataSource === 'INLAND_STAND' || this.sarAccessInfo.dataSource === 'FOREIGN_STAND') {
|
||||||
StandardsInfoPage((this.sarAccessInfo)).then(res => {
|
if (type === 1) {
|
||||||
|
delete this.sarAccessInfo.standNumber
|
||||||
|
delete this.sarAccessInfo.lawsNumber
|
||||||
|
delete this.sarAccessInfo.standCode
|
||||||
|
}
|
||||||
|
console.log('this.sarAccessInfo===' , this.sarAccessInfo)
|
||||||
|
StandardsInfoPage(type === 1 ? ({...this.sarAccessInfo, standNumber: this.sarAccessInfo.seniorStandNumber, lawsNumber: this.sarAccessInfo.seniorLawsNumber, standCode: this.sarAccessInfo.seniorStandCode}) : (this.sarAccessInfo)).then(res => {
|
||||||
|
// if (type === 1) {
|
||||||
|
// this.sarAccessInfo.standNumber = ''
|
||||||
|
// this.sarAccessInfo.lawsNumber = ''
|
||||||
|
// this.sarAccessInfo.standCode = ''
|
||||||
|
// }
|
||||||
this.sarAccessInfoSearchList = res.data.list
|
this.sarAccessInfoSearchList = res.data.list
|
||||||
this.sarAccessInfoSearchList.forEach(item => {
|
this.sarAccessInfoSearchList.forEach(item => {
|
||||||
if (item.standYear === null) {
|
if (item.standYear === null) {
|
||||||
@@ -1544,20 +1560,20 @@ export default {
|
|||||||
})
|
})
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
// 查询数据搜索 table 数据
|
// 查询数据搜索 table 数据 type === 1为高级搜索
|
||||||
selectLawsStands() {
|
selectLawsStands(type) {
|
||||||
if (this.sarAccessInfo.dataSource === 'INLAND_STAND') {
|
if (this.sarAccessInfo.dataSource === 'INLAND_STAND') {
|
||||||
this.sarAccessInfo.standType = 'INLAND'
|
this.sarAccessInfo.standType = 'INLAND'
|
||||||
this.pageInfo()
|
this.pageInfo(type)
|
||||||
} else if (this.sarAccessInfo.dataSource === 'FOREIGN_STAND') {
|
} else if (this.sarAccessInfo.dataSource === 'FOREIGN_STAND') {
|
||||||
this.sarAccessInfo.standType = 'FOREIGN'
|
this.sarAccessInfo.standType = 'FOREIGN'
|
||||||
this.pageInfo()
|
this.pageInfo(type)
|
||||||
} else if (this.sarAccessInfo.dataSource === 'FOREIGN_LAWS') {
|
} else if (this.sarAccessInfo.dataSource === 'FOREIGN_LAWS') {
|
||||||
this.sarAccessInfo.standType = 'LAWS'
|
this.sarAccessInfo.standType = 'LAWS'
|
||||||
this.pageInfo()
|
this.pageInfo(type)
|
||||||
} else if (this.sarAccessInfo.dataSource === 'BUSINESS') {
|
} else if (this.sarAccessInfo.dataSource === 'BUSINESS') {
|
||||||
this.sarAccessInfo.standType = 'BUSINESS'
|
this.sarAccessInfo.standType = 'BUSINESS'
|
||||||
this.pageInfo()
|
this.pageInfo(type)
|
||||||
}
|
}
|
||||||
|
|
||||||
},
|
},
|
||||||
|
|||||||
@@ -1341,7 +1341,7 @@ export default {
|
|||||||
handleProcess(row) {
|
handleProcess(row) {
|
||||||
// 项目清单确认流程
|
// 项目清单确认流程
|
||||||
this.$router.push({
|
this.$router.push({
|
||||||
name: 'xmqdqrStep1-4',
|
name: 'xmqdqrStep1',
|
||||||
query: {
|
query: {
|
||||||
row
|
row
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -79,7 +79,7 @@
|
|||||||
</div>
|
</div>
|
||||||
</transition>
|
</transition>
|
||||||
<div class="effect">
|
<div class="effect">
|
||||||
<el-button v-if="ideaKey" type="primary" class="common-button-primary" size="mini" @click="selectStandardPro('add')" v-btn-permission="'bb5501f4461476b330cbbc3c6f22780a'">
|
<el-button v-if="ideaKey" type="primary" class="common-button-primary" size="mini" @click="selectStandardPro('add')" v-btn-permission="''">
|
||||||
添加
|
添加
|
||||||
</el-button>
|
</el-button>
|
||||||
<el-button type="primary" class="common-button-primary" size="mini" @click="exportAll" v-btn-permission="'5af38c3aaad325741045c4db44e6850e'">导出</el-button>
|
<el-button type="primary" class="common-button-primary" size="mini" @click="exportAll" v-btn-permission="'5af38c3aaad325741045c4db44e6850e'">导出</el-button>
|
||||||
|
|||||||
Reference in New Issue
Block a user