Merge remote-tracking branch 'origin/dev_third_stage' into dev_third_stage

This commit is contained in:
wangzhijiang
2022-07-14 15:15:25 +08:00
2 changed files with 11 additions and 6 deletions
@@ -46,15 +46,15 @@
<!-- 认证工程师 --> <!-- 认证工程师 -->
<span <span
v-if='record.state == "待发起收集" || record.state == "工程接口人退回"'> v-if='record.state == "待发起收集" || record.state == "工程接口人退回"'>
<span <span :title='record.dataValue'
@click='ondataValueTobe(record)'>{{ (record.dataValue == null || record.dataValue == 'undefined')? '--': record.dataValue }}</span> @click='ondataValueTobe(record)'>{{ (record.dataValue == null || record.dataValue == 'undefined')? '--': record.dataValue }}</span>
</span> </span>
<span v-else> <span v-else>
<span @click='dataValueTobe(record)'>{{ (record.dataValue == null || record.dataValue == 'undefined')? '--': record.dataValue }}</span> <span :title='record.dataValue' @click='dataValueTobe(record)'>{{ (record.dataValue == null || record.dataValue == 'undefined')? '--': record.dataValue }}</span>
</span> </span>
</span> </span>
<span v-else> <span v-else>
<span @click='dataValueTobe(record)'>{{ (record.dataValue == null || record.dataValue == 'undefined')? '--': record.dataValue }}</span> <span :title='record.dataValue' @click='dataValueTobe(record)'>{{ (record.dataValue == null || record.dataValue == 'undefined')? '--': record.dataValue }}</span>
</span> </span>
</span> </span>
@@ -438,7 +438,7 @@
if (res.data.success) { if (res.data.success) {
_this.$message.success(_this.$t('OperationSuccessful')) _this.$message.success(_this.$t('OperationSuccessful'))
_this.areaVisiblezr = false _this.areaVisiblezr = false
this.getTableList() this.getLoginUserType()
} else { } else {
_this.$message.warning(_this.$t('operationFailed')) _this.$message.warning(_this.$t('operationFailed'))
} }
@@ -637,6 +637,7 @@
console.log(pagination, filters, sorter, 'iiiiiiiiiiiiiiiii') console.log(pagination, filters, sorter, 'iiiiiiiiiiiiiiiii')
}, },
getTableListReset() { getTableListReset() {
this.formInline = {}
let params = { let params = {
paramsManifestId: this.$route.query.id, paramsManifestId: this.$route.query.id,
pageNo: this.pageNo, pageNo: this.pageNo,
@@ -608,6 +608,8 @@
}, },
mounted() { mounted() {
this.GetgetLoginUserType() this.GetgetLoginUserType()
console.log(this.currentPersonRole)
// this.LoginUserType()
setTimeout(() => { setTimeout(() => {
if (this.currentPersonRole == 'dre') { if (this.currentPersonRole == 'dre') {
this.handlePreservation() this.handlePreservation()
@@ -1183,6 +1185,7 @@
let itemIn = Object.keys(selectedRowKeysValue[i]) let itemIn = Object.keys(selectedRowKeysValue[i])
for (let j = 0; j < itemIn.length; j++) { for (let j = 0; j < itemIn.length; j++) {
if (itemIn[j] !== 'sdt') { if (itemIn[j] !== 'sdt') {
console.log(selectedRowKeysValue[i][itemIn[j]])
if (selectedRowKeysValue[i][itemIn[j]] instanceof Object && !(selectedRowKeysValue[i][itemIn[j]] instanceof Array)) { if (selectedRowKeysValue[i][itemIn[j]] instanceof Object && !(selectedRowKeysValue[i][itemIn[j]] instanceof Array)) {
postDateobj[itemIn[j]] = selectedRowKeysValue[i][itemIn[j]] postDateobj[itemIn[j]] = selectedRowKeysValue[i][itemIn[j]]
for (let k = 0; k < selectedRowKeysValue[i][itemIn[j]].list.length; k++) { for (let k = 0; k < selectedRowKeysValue[i][itemIn[j]].list.length; k++) {
@@ -1436,9 +1439,10 @@
this.$refs.CollectionTabel.getTableList() this.$refs.CollectionTabel.getTableList()
}, },
searchReset() { searchReset() {
this.formInline = {}
this.$refs.CollectionTabel.getTableListReset() this.$refs.CollectionTabel.getTableListReset()
this.$refs.globalAdvancedQueryRef.resetLine() this.$refs.globalAdvancedQueryRef.handleReset()
this.$refs.globalAdvancedQueryRef.emitCallback() // this.$refs.globalAdvancedQueryRef.emitCallback()
}, },
// 批量删除 -- 与下发收集一致 // 批量删除 -- 与下发收集一致
handleDelJurisdiction() { handleDelJurisdiction() {