修改禅道已知bug
This commit is contained in:
+1
-1
@@ -10,7 +10,7 @@
|
|||||||
:visible="visible"
|
:visible="visible"
|
||||||
style="height: 100%;overflow: auto;padding-bottom: 53px;">
|
style="height: 100%;overflow: auto;padding-bottom: 53px;">
|
||||||
<div class="table-operator-right">
|
<div class="table-operator-right">
|
||||||
<div @click="handleExport" class="operator-text">
|
<div @click="handleExport" v-if="formInline.createBy == userInfoQuery.username" class="operator-text">
|
||||||
<a-icon type="export" :rotate="-90"/>
|
<a-icon type="export" :rotate="-90"/>
|
||||||
{{$t('export')}}
|
{{$t('export')}}
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
+6
-4
@@ -172,12 +172,14 @@
|
|||||||
align: 'center',
|
align: 'center',
|
||||||
dataIndex: 'serial_number',
|
dataIndex: 'serial_number',
|
||||||
width: 170,
|
width: 170,
|
||||||
|
ellipsis: true,
|
||||||
scopedSlots: { customRender: 'serial_number' }
|
scopedSlots: { customRender: 'serial_number' }
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
title: this.$t('title'),
|
title: this.$t('title'),
|
||||||
align: 'center',
|
align: 'center',
|
||||||
dataIndex: 'title',
|
dataIndex: 'title',
|
||||||
|
ellipsis: true,
|
||||||
width: 170,
|
width: 170,
|
||||||
scopedSlots: { customRender: 'titleName' }
|
scopedSlots: { customRender: 'titleName' }
|
||||||
},
|
},
|
||||||
@@ -298,13 +300,13 @@
|
|||||||
this.formInline[item] = this.formInline[item] ? moment(this.formInline[item]).format('YYYY-MM-DD') : ''
|
this.formInline[item] = this.formInline[item] ? moment(this.formInline[item]).format('YYYY-MM-DD') : ''
|
||||||
},
|
},
|
||||||
getUUID() {
|
getUUID() {
|
||||||
var str=[];
|
var str = []
|
||||||
var Chars='0123456789abcdefghijklmnopqrstuvwxyz';
|
var Chars = '0123456789abcdefghijklmnopqrstuvwxyz'
|
||||||
for (var i = 0; i < 36; i++) {
|
for (var i = 0; i < 36; i++) {
|
||||||
str[i] = Chars.substr(Math.floor(Math.random() * 16), 1)
|
str[i] = Chars.substr(Math.floor(Math.random() * 16), 1)
|
||||||
}
|
}
|
||||||
str[0]=str[8]=str[13]=str[18]=str[23]='-';
|
str[0] = str[8] = str[13] = str[18] = str[23] = '-'
|
||||||
return str.join("")
|
return str.join('')
|
||||||
},
|
},
|
||||||
submit() {
|
submit() {
|
||||||
this.$refs.ruleForm.validate(valid => {
|
this.$refs.ruleForm.validate(valid => {
|
||||||
|
|||||||
@@ -92,6 +92,9 @@
|
|||||||
:row-selection="{ selectedRowKeys: selectedRowKeys, onChange: onSelectChange }"
|
:row-selection="{ selectedRowKeys: selectedRowKeys, onChange: onSelectChange }"
|
||||||
:columns="columns"
|
:columns="columns"
|
||||||
>
|
>
|
||||||
|
<span slot="serialNumber" :title="text" slot-scope="text,result">
|
||||||
|
<span>{{text}}</span>
|
||||||
|
</span>
|
||||||
<span slot="operation" slot-scope="text,record">
|
<span slot="operation" slot-scope="text,record">
|
||||||
<a class="text-operation" @click="viewProcessClick(record)">{{$t('viewProcess')}}</a>
|
<a class="text-operation" @click="viewProcessClick(record)">{{$t('viewProcess')}}</a>
|
||||||
<a class="text-operation" v-if="record.gatherResult == 'Completed'"
|
<a class="text-operation" v-if="record.gatherResult == 'Completed'"
|
||||||
@@ -157,7 +160,8 @@
|
|||||||
align: 'center',
|
align: 'center',
|
||||||
dataIndex: 'serialNumber',
|
dataIndex: 'serialNumber',
|
||||||
ellipsis: true,
|
ellipsis: true,
|
||||||
width: 170
|
width: 170,
|
||||||
|
scopedSlots: { customRender: 'serialNumber' }
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
title: this.$t('title'),
|
title: this.$t('title'),
|
||||||
|
|||||||
+2
@@ -250,12 +250,14 @@
|
|||||||
align: 'center',
|
align: 'center',
|
||||||
dataIndex: 'serial_number',
|
dataIndex: 'serial_number',
|
||||||
width: 170,
|
width: 170,
|
||||||
|
ellipsis: true,
|
||||||
scopedSlots: { customRender: 'serial_number' }
|
scopedSlots: { customRender: 'serial_number' }
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
title: this.$t('title'),
|
title: this.$t('title'),
|
||||||
align: 'center',
|
align: 'center',
|
||||||
dataIndex: 'title',
|
dataIndex: 'title',
|
||||||
|
ellipsis: true,
|
||||||
width: 170,
|
width: 170,
|
||||||
scopedSlots: { customRender: 'titleName' }
|
scopedSlots: { customRender: 'titleName' }
|
||||||
},
|
},
|
||||||
|
|||||||
Reference in New Issue
Block a user