平台件 法规清单认证清单按钮权限修改
This commit is contained in:
+44
-44
@@ -196,28 +196,28 @@
|
||||
:prop="'dataList.'+index+'.dutyTerritory'"
|
||||
:rules="[{ required: true, message: $t('areaOfResponsibility') + $t('cannotEmpty'), trigger: 'change'},]"
|
||||
>
|
||||
<a-select :placeholder="$t('PleaseSelect')+$t('areaOfResponsibility')"
|
||||
class="box-input"
|
||||
optionFilterProp="label"
|
||||
mode="multiple"
|
||||
@change="dutyHandleChange(index)"
|
||||
:getPopupContainer="triggerNode=> triggerNode.parentNode"
|
||||
v-model="item.dutyTerritory">
|
||||
<a-select-option v-for="(val, key) in item.dutyTerritoryList"
|
||||
:key="key"
|
||||
:label="val.itemText"
|
||||
:value="val.itemValue">
|
||||
<span style="display: inline-block;width: 100%" :title=" val.itemText ">
|
||||
{{ val.itemText }}
|
||||
</span>
|
||||
</a-select-option>
|
||||
</a-select>
|
||||
<!-- <j-dict-select-tag class="box-input" v-model="item.dutyTerritory"-->
|
||||
<!-- @input="handleInput('dataList.'+index+'.dutyTerritory')"-->
|
||||
<!-- @changeQuery="dutyHandleChange(index)"-->
|
||||
<!-- :placeholder="$t('PleaseSelect')+$t('areaOfResponsibility')"-->
|
||||
<!-- :type="'select'"-->
|
||||
<!-- :triggerChange="false" :dictCode="'duty_territory'"/>-->
|
||||
<!-- <a-select :placeholder="$t('PleaseSelect')+$t('areaOfResponsibility')"-->
|
||||
<!-- class="box-input"-->
|
||||
<!-- optionFilterProp="label"-->
|
||||
<!-- mode="multiple"-->
|
||||
<!-- @change="dutyHandleChange(index)"-->
|
||||
<!-- :getPopupContainer="triggerNode=> triggerNode.parentNode"-->
|
||||
<!-- v-model="item.dutyTerritory">-->
|
||||
<!-- <a-select-option v-for="(val, key) in item.dutyTerritoryList"-->
|
||||
<!-- :key="key"-->
|
||||
<!-- :label="val.itemText"-->
|
||||
<!-- :value="val.itemValue">-->
|
||||
<!-- <span style="display: inline-block;width: 100%" :title=" val.itemText ">-->
|
||||
<!-- {{ val.itemText }}-->
|
||||
<!-- </span>-->
|
||||
<!-- </a-select-option>-->
|
||||
<!-- </a-select>-->
|
||||
<j-dict-select-tag class="box-input" v-model="item.dutyTerritory"
|
||||
@input="handleInput('dataList.'+index+'.dutyTerritory')"
|
||||
@changeQuery="dutyHandleChange(index)"
|
||||
:placeholder="$t('PleaseSelect')+$t('areaOfResponsibility')"
|
||||
:type="'select'"
|
||||
:triggerChange="false" :dictCode="'duty_territory'"/>
|
||||
</a-form-model-item>
|
||||
</div>
|
||||
</a-col>
|
||||
@@ -460,28 +460,28 @@
|
||||
<a-form-model-item class="itemModel-multi"
|
||||
:prop="'dutyTerritory'"
|
||||
>
|
||||
<a-select :placeholder="$t('PleaseSelect')+$t('areaOfResponsibility')"
|
||||
class="box-input"
|
||||
optionFilterProp="label"
|
||||
mode="multiple"
|
||||
@change="handleChange"
|
||||
:getPopupContainer="triggerNode=> triggerNode.parentNode"
|
||||
v-model="formInline.dutyTerritory">
|
||||
<a-select-option v-for="(item, key) in dutyTerritoryList"
|
||||
:key="key"
|
||||
:label="item.itemText"
|
||||
:value="item.itemValue">
|
||||
<span style="display: inline-block;width: 100%" :title=" item.itemText ">
|
||||
{{ item.itemText }}
|
||||
</span>
|
||||
</a-select-option>
|
||||
</a-select>
|
||||
<!-- <j-dict-select-tag class="box-input" v-model="formInline.dutyTerritory"-->
|
||||
<!-- @input="handleInput('dutyTerritory')"-->
|
||||
<!-- @changeQuery="handleChange"-->
|
||||
<!-- :placeholder="$t('PleaseSelect')+$t('areaOfResponsibility')"-->
|
||||
<!-- :type="'select'"-->
|
||||
<!-- :triggerChange="false" :dictCode="'duty_territory'"/>-->
|
||||
<!-- <a-select :placeholder="$t('PleaseSelect')+$t('areaOfResponsibility')"-->
|
||||
<!-- class="box-input"-->
|
||||
<!-- optionFilterProp="label"-->
|
||||
<!-- mode="multiple"-->
|
||||
<!-- @change="handleChange"-->
|
||||
<!-- :getPopupContainer="triggerNode=> triggerNode.parentNode"-->
|
||||
<!-- v-model="formInline.dutyTerritory">-->
|
||||
<!-- <a-select-option v-for="(item, key) in dutyTerritoryList"-->
|
||||
<!-- :key="key"-->
|
||||
<!-- :label="item.itemText"-->
|
||||
<!-- :value="item.itemValue">-->
|
||||
<!-- <span style="display: inline-block;width: 100%" :title=" item.itemText ">-->
|
||||
<!-- {{ item.itemText }}-->
|
||||
<!-- </span>-->
|
||||
<!-- </a-select-option>-->
|
||||
<!-- </a-select>-->
|
||||
<j-dict-select-tag class="box-input" v-model="formInline.dutyTerritory"
|
||||
@input="handleInput('dutyTerritory')"
|
||||
@changeQuery="handleChange"
|
||||
:placeholder="$t('PleaseSelect')+$t('areaOfResponsibility')"
|
||||
:type="'select'"
|
||||
:triggerChange="false" :dictCode="'duty_territory'"/>
|
||||
</a-form-model-item>
|
||||
</div>
|
||||
</a-col>
|
||||
|
||||
+26
-131
@@ -110,7 +110,7 @@
|
||||
</div>
|
||||
|
||||
<!-- 保存-->
|
||||
<div @click="preservationClick(1)" v-if="roleSwitchingCode == 2 || roleSwitchingCode == 0"
|
||||
<div @click="preservationClick(1)" v-if="roleSwitchingCode == 2 || roleSwitchingCode == 1"
|
||||
class="operator-text">
|
||||
<a-icon type="check-circle"/>
|
||||
{{ $t('preservation') }}
|
||||
@@ -123,7 +123,7 @@
|
||||
</div>
|
||||
|
||||
<!-- 批量设置-->
|
||||
<div @click="BatchSettingClick($t('BatchSetting'))" v-if="roleSwitchingCode == 0 || roleSwitchingCode == 2"
|
||||
<div @click="BatchSettingClick($t('BatchSetting'))" v-if="roleSwitchingCode == 1 || roleSwitchingCode == 2"
|
||||
class="operator-text">
|
||||
<a-icon type="setting"/>
|
||||
{{ $t('BatchSetting') }}
|
||||
@@ -136,13 +136,6 @@
|
||||
<a-icon type="profile"/>
|
||||
{{ $t('CertificationDirectory') }}
|
||||
</div>
|
||||
<!-- 带入相关人员-->
|
||||
<div @click="bringInRelevantPersonnelClick"
|
||||
v-if="roleSwitchingCode == 0 || roleSwitchingCode == 2"
|
||||
class="operator-text">
|
||||
<a-icon type="user"/>
|
||||
{{ $t('bringInRelevantPersonnel') }}
|
||||
</div>
|
||||
<!-- 修改配置-->
|
||||
<div @click="BatchSettingClick($t('changeSetting'))" v-if="roleSwitchingCode == 20 || roleSwitchingCode == 21"
|
||||
class="operator-text">
|
||||
@@ -168,21 +161,21 @@
|
||||
<div>
|
||||
<!-- 添加-->
|
||||
<div @click="handleAdd"
|
||||
v-if="roleSwitchingCode == 0 || roleSwitchingCode == 2"
|
||||
v-if="roleSwitchingCode == 1 || roleSwitchingCode == 2"
|
||||
class="operator-text-title">
|
||||
<a-icon type="plus"/>
|
||||
{{ $t('add') }}
|
||||
</div>
|
||||
<!-- 添加配置-->
|
||||
<div @click="addConfigurationClick"
|
||||
v-if="roleSwitchingCode == 0 || roleSwitchingCode == 2"
|
||||
v-if="roleSwitchingCode == 1 || roleSwitchingCode == 2"
|
||||
class="operator-text-title">
|
||||
<a-icon type="plus"/>
|
||||
{{ $t('addConfiguration') }}
|
||||
</div>
|
||||
<!-- 模板下载-->
|
||||
<div @click="handleModule"
|
||||
v-if="roleSwitchingCode == 0 || roleSwitchingCode == 2"
|
||||
v-if="roleSwitchingCode == 1 || roleSwitchingCode == 2"
|
||||
class="operator-text-title">
|
||||
<a-icon type="download"/>
|
||||
{{ $t('templateDownload') }}
|
||||
@@ -190,21 +183,21 @@
|
||||
|
||||
<!-- 导出-->
|
||||
<div @click="handleExport"
|
||||
v-if="roleSwitchingCode == 0 || roleSwitchingCode == 2 || roleSwitchingCode == 20 || roleSwitchingCode == 21"
|
||||
v-if="roleSwitchingCode == 1 || roleSwitchingCode == 2 || roleSwitchingCode == 20 || roleSwitchingCode == 21"
|
||||
class="operator-text-title">
|
||||
<a-icon type="export" :rotate="-90"/>
|
||||
{{ $t('export') }}
|
||||
</div>
|
||||
|
||||
<!-- 导入-->
|
||||
<div class="operator-text-title" v-if="roleSwitchingCode == 0 || roleSwitchingCode == 2">
|
||||
<div class="operator-text-title" v-if="roleSwitchingCode == 1 || roleSwitchingCode == 2">
|
||||
<ImportFile :url="url" :projectLibraryId=$route.query.id :isTrue="true" :accept="'.zip'"
|
||||
@getList="getPersonnelList"/>
|
||||
</div>
|
||||
|
||||
<!-- 批量删除-->
|
||||
<div @click="handleDel"
|
||||
v-if="roleSwitchingCode == 0 || roleSwitchingCode == 2"
|
||||
v-if="roleSwitchingCode == 1 || roleSwitchingCode == 2"
|
||||
class="operator-text-title">
|
||||
<a-icon type="delete"/>
|
||||
{{ $t('BatchDelete') }}
|
||||
@@ -212,7 +205,7 @@
|
||||
|
||||
<!-- 流程重置-->
|
||||
<div @click="processResetClick"
|
||||
v-if="roleSwitchingCode == 0 || roleSwitchingCode == 2"
|
||||
v-if="roleSwitchingCode == 1 || roleSwitchingCode == 2"
|
||||
class="operator-text-title">
|
||||
<a-icon type="file-search"/>
|
||||
{{ $t('processReset') }}
|
||||
@@ -220,21 +213,15 @@
|
||||
</div>
|
||||
</template>
|
||||
<div class="operator-text" style="position: relative"
|
||||
v-if="roleSwitchingCode == 0 || roleSwitchingCode == 2">
|
||||
v-if="roleSwitchingCode == 1 || roleSwitchingCode == 2">
|
||||
<span style="position: absolute;left: -13px;top: -4px">...</span>{{ $t('more') }}
|
||||
</div>
|
||||
</a-popconfirm>
|
||||
</div>
|
||||
<div style="margin-top: 1px;float:right;">
|
||||
|
||||
<!-- 发布-->
|
||||
<div @click="releaseClick" v-if="roleSwitchingCode == 0" class="operator-text">
|
||||
<a-icon type="check-circle"/>
|
||||
{{ $t('release') }}
|
||||
</div>
|
||||
|
||||
<!-- 撤回-->
|
||||
<div @click="withdrawClick" v-if="roleSwitchingCode == 0" class="operator-text">
|
||||
<div @click="withdrawClick" v-if="roleSwitchingCode == 1 || roleSwitchingCode == 2" class="operator-text">
|
||||
<a-icon type="rollback"/>
|
||||
{{ $t('withdraw') }}
|
||||
</div>
|
||||
@@ -305,7 +292,7 @@
|
||||
</div>
|
||||
|
||||
<!-- 催办-->
|
||||
<div @click="questionClick" v-if="roleSwitchingCode == 0 || roleSwitchingCode == 2 || roleSwitchingCode == 20"
|
||||
<div @click="questionClick" v-if="roleSwitchingCode == 1 || roleSwitchingCode == 2 || roleSwitchingCode == 20"
|
||||
class="operator-text">
|
||||
<a-icon type="sound"/>
|
||||
{{ $t('question') }}
|
||||
@@ -334,7 +321,7 @@
|
||||
</span>
|
||||
<span slot="operation" slot-scope="text,record">
|
||||
<a class="text-operation"
|
||||
v-if="roleSwitchingCode == 0 || roleSwitchingCode == 2"
|
||||
v-if="roleSwitchingCode == 1 || roleSwitchingCode == 2"
|
||||
@click="edit(record)">
|
||||
{{ $t('edit') }}
|
||||
</a>
|
||||
@@ -343,7 +330,7 @@
|
||||
{{ $t('history') }}
|
||||
</a>
|
||||
<a class="text-operation"
|
||||
v-if="roleSwitchingCode == 0 || roleSwitchingCode == 2"
|
||||
v-if="roleSwitchingCode == 1 || roleSwitchingCode == 2"
|
||||
@click="deleteLib(record)">
|
||||
{{ $t('deleteLib') }}
|
||||
</a>
|
||||
@@ -400,7 +387,7 @@
|
||||
</span>
|
||||
<span slot="reportNo" slot-scope="text,record">
|
||||
<a-input class="box-input-index"
|
||||
v-if="roleSwitchingCode == 2 || roleSwitchingCode == 0"
|
||||
v-if="roleSwitchingCode == 2 || roleSwitchingCode == 1"
|
||||
:maxLength="200"
|
||||
onkeyup="this.value=this.value.replace(/(^\s+)|(\s+$)/g, '')"
|
||||
v-model.trim="record.reportNumber"
|
||||
@@ -409,7 +396,7 @@
|
||||
</span>
|
||||
<span slot="productModel" slot-scope="text,record">
|
||||
<a-input class="box-input-index"
|
||||
v-if="roleSwitchingCode == 2 || roleSwitchingCode == 0"
|
||||
v-if="roleSwitchingCode == 2 || roleSwitchingCode == 1"
|
||||
:maxLength="200"
|
||||
onkeyup="this.value=this.value.replace(/(^\s+)|(\s+$)/g, '')"
|
||||
v-model.trim="record.productModel"
|
||||
@@ -418,22 +405,13 @@
|
||||
</span>
|
||||
<span slot="nameOfManufacturer" slot-scope="text,record">
|
||||
<a-input class="box-input-index"
|
||||
v-if="roleSwitchingCode == 2 || roleSwitchingCode == 0"
|
||||
v-if="roleSwitchingCode == 2 || roleSwitchingCode == 1"
|
||||
:maxLength="200"
|
||||
onkeyup="this.value=this.value.replace(/(^\s+)|(\s+$)/g, '')"
|
||||
v-model.trim="record.productionEnterpriseName"
|
||||
:placeholder="$t('PleaseEnter')+$t('nameOfManufacturer')"/>
|
||||
<span v-else>{{text}}</span>
|
||||
</span>
|
||||
<div slot="CertificationProgress" slot-scope="text,result">
|
||||
<span class="box-content-Progress box-content-cou"
|
||||
:style="{'width':long=='zh-cn'?'116px' : '148px'}"
|
||||
:class="CertificationColor[result.certificationProgress]"
|
||||
@click="CertificationProgressClick(result)"
|
||||
>
|
||||
{{result.certificationProgress_dictText ? result.certificationProgress_dictText : $t('toBeStarted')}}
|
||||
</span>
|
||||
</div>
|
||||
<span slot="deliverableTemplate" slot-scope="text,result">
|
||||
<span class="viewFile"
|
||||
@click="viewFileClick(result.deliverableTemplate)"
|
||||
@@ -842,15 +820,6 @@
|
||||
ellipsis: true,
|
||||
scopedSlots: { customRender: 'nameOfManufacturer' }
|
||||
},
|
||||
{
|
||||
title: this.$t('CertificationProgress'),
|
||||
align: 'left',
|
||||
dataIndex: 'certificationProgress',
|
||||
sorter: true,
|
||||
width: localStorage.getItem('language') == 'zh-cn' ? 180 : 200,
|
||||
ellipsis: true,
|
||||
scopedSlots: { customRender: 'CertificationProgress' }
|
||||
},
|
||||
{
|
||||
title: this.$t('operation'),
|
||||
align: 'left',
|
||||
@@ -914,10 +883,10 @@
|
||||
columns.splice(i, 1)
|
||||
i--
|
||||
}
|
||||
if (columns[i].title == this.$t('CertificationProgress')) {
|
||||
columns.splice(i, 1)
|
||||
i--
|
||||
}
|
||||
// if (columns[i].title == this.$t('CertificationProgress')) {
|
||||
// columns.splice(i, 1)
|
||||
// i--
|
||||
// }
|
||||
}
|
||||
}
|
||||
return columns
|
||||
@@ -1011,7 +980,7 @@
|
||||
},
|
||||
onChange(page, pageSize) {
|
||||
this.pageNo = page
|
||||
if (this.roleSwitchingCode == 2 || this.roleSwitchingCode == 0) {
|
||||
if (this.roleSwitchingCode == 2 || this.roleSwitchingCode == 1) {
|
||||
this.preservationClick()
|
||||
}
|
||||
this.getList()
|
||||
@@ -1019,7 +988,7 @@
|
||||
SizeChange(page, pageSize) {
|
||||
this.pageNo = 1
|
||||
this.pageSize = pageSize
|
||||
if (this.roleSwitchingCode == 2 || this.roleSwitchingCode == 0) {
|
||||
if (this.roleSwitchingCode == 2 || this.roleSwitchingCode == 1) {
|
||||
this.preservationClick()
|
||||
}
|
||||
this.getList()
|
||||
@@ -1094,6 +1063,8 @@
|
||||
return
|
||||
}
|
||||
this.dataSource = res.result.records || []
|
||||
// this.selectedRowKeys = this.dataSource.map(item => item.id)
|
||||
// console.log(this.selectedRowKeys)
|
||||
this.dataSource.forEach(value => {
|
||||
if (value.flowStatusName == '清单待校核') {
|
||||
value.flowStatusName = '任务待发起'
|
||||
@@ -1263,52 +1234,6 @@
|
||||
dateChange(item) {
|
||||
this.formInline[item.db_field_name] = this.formInline[item.db_field_name] ? moment(this.formInline[item.db_field_name]).format('YYYY-MM-DD') : ''
|
||||
},
|
||||
releaseClick() {
|
||||
// this.listTitle = this.$t('Deadline')
|
||||
// if (this.selectedRowKeysList.length < 1) {
|
||||
// this.$message.warning(this.$t('selectLeastOne'))
|
||||
// } else {
|
||||
// this.visible = true
|
||||
// }
|
||||
if (this.selectedRowKeys && this.selectedRowKeys.length > 0) {
|
||||
let ids = []
|
||||
let notConditions = []
|
||||
for (let i = 0; i < this.selectedRowKeysList.length; i++) {
|
||||
if ((this.selectedRowKeysList[i].flowStatus == 'List to be released' &&
|
||||
this.selectedRowKeysList[i].deliverableType == '1635545748968783874') ||
|
||||
(this.selectedRowKeysList[i].flowStatus == 'Certification returned' &&
|
||||
this.selectedRowKeysList[i].deliverableType == '1635545748968783874')) {
|
||||
ids.push(this.selectedRowKeysList[i].id)
|
||||
} else if ((this.selectedRowKeysList[i].flowStatus == 'List to be released' &&
|
||||
this.selectedRowKeysList[i].endTime) ||
|
||||
(this.selectedRowKeysList[i].flowStatus == 'Certification returned' &&
|
||||
this.selectedRowKeysList[i].endTime)) {
|
||||
ids.push(this.selectedRowKeysList[i].id)
|
||||
} else {
|
||||
notConditions.push(this.selectedRowKeysList[i].inspectionItem)
|
||||
}
|
||||
}
|
||||
let data = ''
|
||||
if (notConditions && notConditions.length > 0) {
|
||||
data = this.$t('inspectionItems') + '"' + notConditions.join('、') + '"' + this.$t('conditionsNotMet') + ',' + this.$t('onlyDataListReleasedAndCertificationReturnCanSelected')
|
||||
}
|
||||
if (ids && ids.length > 0) {
|
||||
// this.releaseData(ids, notConditions, data)
|
||||
let query = {
|
||||
ids: ids,
|
||||
notConditions: notConditions,
|
||||
data: data,
|
||||
dutyDueDate: 'inventoryVerifyEndTime',
|
||||
title: this.$t('release')
|
||||
}
|
||||
this.$refs.deadlineFormRef.getData(JSON.parse(JSON.stringify(query)))
|
||||
} else {
|
||||
this.failedMessage(data)
|
||||
}
|
||||
} else {
|
||||
this.$message.warning(this.$t('selectLeastOne'))
|
||||
}
|
||||
},
|
||||
deadlineDataForm(val, formInline) {
|
||||
if (val.title == this.$t('release')) {
|
||||
this.releaseData(val.ids, val.notConditions, val.data, formInline)
|
||||
@@ -1466,7 +1391,7 @@
|
||||
let ids = []
|
||||
let notConditions = []
|
||||
let data = ''
|
||||
if (this.roleSwitchingCode == 0) {
|
||||
if (this.roleSwitchingCode == 1 || this.roleSwitchingCode == 2) {
|
||||
for (let i = 0; i < this.selectedRowKeysList.length; i++) {
|
||||
if (this.selectedRowKeysList[i].flowStatus == 'List to be checked' ||
|
||||
this.selectedRowKeysList[i].flowStatus == 'Certification returned' ||
|
||||
@@ -1856,11 +1781,6 @@
|
||||
deliveryChange() {
|
||||
this.preservationClick()
|
||||
},
|
||||
CertificationProgressClick(val) {
|
||||
let item = JSON.parse(JSON.stringify(val))
|
||||
item.roleCode = this.roleSwitchingCode
|
||||
this.$refs.TaskListModelRef.getData(item, this.$t('CertificationProgress'))
|
||||
},
|
||||
//发起流程
|
||||
initiatingProcessClick(value, prompt) {
|
||||
if (this.selectedRowKeys && this.selectedRowKeys.length > 0) {
|
||||
@@ -2283,31 +2203,6 @@
|
||||
this.$message.warning(this.$t('selectLeastOne'))
|
||||
}
|
||||
},
|
||||
bringInRelevantPersonnelClick(){
|
||||
let _this = this
|
||||
// if (this.selectedRowKeys && this.selectedRowKeys.length > 0) {
|
||||
this.$confirm({
|
||||
content: _this.$t('confirmBringInRelevantPersonnel'),
|
||||
onOk() {
|
||||
// let selectedRowKeys = JSON.parse(JSON.stringify(_this.selectedRowKeys))
|
||||
postAction('/project/projectCertificationInventoryEO/matchRelevantPeople', {
|
||||
// ids: selectedRowKeys.join(','),
|
||||
projectLibraryId: _this.$route.query.id
|
||||
}).then((res) => {
|
||||
if (res.success) {
|
||||
_this.$message.success(_this.$t('OperationSuccessful'))
|
||||
_this.selectedRowKeys = []
|
||||
_this.getList()
|
||||
} else {
|
||||
_this.$message.warning(_this.$t('operationFailed'))
|
||||
}
|
||||
})
|
||||
}
|
||||
})
|
||||
// } else {
|
||||
// this.$message.warning(this.$t('selectLeastOne'))
|
||||
// }
|
||||
},
|
||||
}
|
||||
}
|
||||
</script>
|
||||
|
||||
+9
-19
@@ -1,3 +1,4 @@
|
||||
<!--平台件-->
|
||||
<template>
|
||||
<a-card :bordered="false">
|
||||
<!-- <div class="header-text">-->
|
||||
@@ -133,18 +134,13 @@
|
||||
<!-- 重置流程(数据迁移)-->
|
||||
<!-- </div>-->
|
||||
<!-- 调取-->
|
||||
<div @click="transferClick" class="operator-text" v-if="this.roleSwitchingCode == '0'">
|
||||
<div @click="transferClick" class="operator-text" v-if="this.roleSwitchingCode == '1' || this.roleSwitchingCode == '2'">
|
||||
<a-icon type="profile"/>
|
||||
{{ $t('Transfer') }}
|
||||
</div>
|
||||
<!-- 带入相关人员-->
|
||||
<div class="operator-text" @click="bringInRelevantPersonnelClick" v-if="this.roleSwitchingCode == '0'">
|
||||
<a-icon type="user"/>
|
||||
{{ $t('bringInRelevantPersonnel') }}
|
||||
</div>
|
||||
<!-- 批量设置-->
|
||||
<div class="operator-text" @click="batSettingClick"
|
||||
v-if="this.roleSwitchingCode == '0' || this.roleSwitchingCode == '1'">
|
||||
v-if="this.roleSwitchingCode == '2' || this.roleSwitchingCode == '1'">
|
||||
<a-icon type="setting"/>
|
||||
{{ $t('BatchSetting') }}
|
||||
</div>
|
||||
@@ -199,7 +195,7 @@
|
||||
{{ $t('toResubmit') }}
|
||||
</div>
|
||||
<!-- 更多-->
|
||||
<a-popconfirm overlayClassName="popconfirm" placement="bottomRight" v-if="this.roleSwitchingCode == '0'">
|
||||
<a-popconfirm overlayClassName="popconfirm" placement="bottomRight" v-if="this.roleSwitchingCode == '2' || this.roleSwitchingCode == '1'">
|
||||
<template slot="title" id="popconfirm">
|
||||
<div>
|
||||
<!-- 添加-->
|
||||
@@ -279,14 +275,8 @@
|
||||
<a-icon type="export" :rotate="-90"/>
|
||||
{{ $t('export') }}
|
||||
</div>
|
||||
<!-- 发布-->
|
||||
<div class="operator-text" @click="initiateListConfirmationcClick('清单')"
|
||||
v-if="this.roleSwitchingCode == '0'">
|
||||
<a-icon type="solution"/>
|
||||
{{ $t('release') }}
|
||||
</div>
|
||||
<!-- 撤回-->
|
||||
<div class="operator-text" @click="withdrawnClick" v-if="this.roleSwitchingCode == '0'">
|
||||
<div class="operator-text" @click="withdrawnClick" v-if="this.roleSwitchingCode == '2' || this.roleSwitchingCode == '1'">
|
||||
<a-icon type="rollback"/>
|
||||
{{ $t('withdraw') }}
|
||||
</div>
|
||||
@@ -302,7 +292,7 @@
|
||||
</div>
|
||||
<!-- 催办-->
|
||||
<div class="operator-text" @click="questionClick"
|
||||
v-if="this.roleSwitchingCode == '0' || this.roleSwitchingCode == '1' || this.roleSwitchingCode == '30'">
|
||||
v-if="this.roleSwitchingCode == '2' || this.roleSwitchingCode == '1' || this.roleSwitchingCode == '30'">
|
||||
<a-icon type="sound"/>
|
||||
{{ $t('question') }}
|
||||
</div>
|
||||
@@ -324,7 +314,7 @@
|
||||
>
|
||||
<span slot="operation" slot-scope="text,record">
|
||||
<a class="text-operation"
|
||||
v-if="roleSwitchingCode == 0 || roleSwitchingCode == 1"
|
||||
v-if="roleSwitchingCode == 2 || roleSwitchingCode == 1"
|
||||
@click="edit(record)">
|
||||
{{ $t('edit') }}
|
||||
</a>
|
||||
@@ -334,7 +324,7 @@
|
||||
<!-- {{ $t('view') }}-->
|
||||
<!-- </a>-->
|
||||
<a class="text-operation"
|
||||
v-if="roleSwitchingCode == 0"
|
||||
v-if="roleSwitchingCode == 2 || roleSwitchingCode == 1"
|
||||
@click="deleteLib(record)">
|
||||
{{ $t('deleteLib') }}
|
||||
</a>
|
||||
@@ -1566,7 +1556,7 @@
|
||||
},
|
||||
columns() {
|
||||
let columnResult = JSON.parse(JSON.stringify(this.columnsAll))
|
||||
if (this.roleSwitchingCode == 0 || this.roleSwitchingCode == 1) {
|
||||
if (this.roleSwitchingCode == 2 || this.roleSwitchingCode == 1) {
|
||||
} else {
|
||||
for (var i = 0; i < columnResult.length; i++) {
|
||||
if (columnResult[i].title === this.$t('operation')) {
|
||||
|
||||
-233
@@ -1,233 +0,0 @@
|
||||
<template>
|
||||
<a-drawer
|
||||
:title="$t('Transfer')"
|
||||
:maskClosable="false"
|
||||
:width="1000"
|
||||
placement="right"
|
||||
:closable="true"
|
||||
@close="handleCancel"
|
||||
:visible="visible"
|
||||
style="height: 100%;overflow: auto;padding-bottom: 53px;">
|
||||
<div style="margin-bottom: 60px">
|
||||
<a-table
|
||||
:components="drag(columns,'columns')"
|
||||
:columns="columns"
|
||||
rowKey="id"
|
||||
:scroll="{x: 800}"
|
||||
:data-source="dataList"
|
||||
:pagination="false"
|
||||
:row-selection="{ selectedRowKeys: selectedRowKeys, onChange: onSelectChange,columnTitle:' ' }"
|
||||
:loading="loading">
|
||||
|
||||
</a-table>
|
||||
<div class="page" v-if="dataList.length > 0">
|
||||
<a-pagination
|
||||
:show-total="total => $t('total')+` ${total} `+$t('strip')"
|
||||
show-quick-jumper
|
||||
show-size-changer
|
||||
:page-size.sync="pageSize"
|
||||
:total="total"
|
||||
:current="pageNo"
|
||||
@change="onChange"
|
||||
@showSizeChange="SizeChange"
|
||||
/>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="drawer-bootom-button">
|
||||
<a-button @click="handleCancel" style="margin-right: 16px">{{$t('cancel')}}</a-button>
|
||||
<a-button @click="handleSubmit(undefined)" type="primary" :loading="confirmLoading">{{$t('determine')}}</a-button>
|
||||
</div>
|
||||
</a-drawer>
|
||||
</template>
|
||||
|
||||
<script>
|
||||
import { getAction, postAction } from '@/api/manage'
|
||||
import { ResizeHeader, ResizeColumnProvide } from '@/mixins/header'
|
||||
|
||||
export default {
|
||||
name: 'transferList',
|
||||
components: {},
|
||||
props: ['url'],
|
||||
mixins: [ResizeHeader, ResizeColumnProvide],
|
||||
data() {
|
||||
return {
|
||||
visible: false,
|
||||
queryParam: {},
|
||||
confirmLoading: false,
|
||||
selectedRowKeys: [],
|
||||
columns: [
|
||||
{
|
||||
title: this.$t('projectVersion'),
|
||||
dataIndex: 'projectName',
|
||||
align: 'left',
|
||||
ellipsis: true,
|
||||
width: 235
|
||||
},
|
||||
{
|
||||
title: this.$t('Listcreationtime'),
|
||||
dataIndex: 'createTime',
|
||||
align: 'left',
|
||||
ellipsis: true,
|
||||
},
|
||||
],
|
||||
dataList: [],
|
||||
content: [],
|
||||
loading: false,
|
||||
pageNo: 1,
|
||||
pageSize: 10,
|
||||
total: 0
|
||||
}
|
||||
},
|
||||
mounted() {
|
||||
|
||||
},
|
||||
methods: {
|
||||
transferModel() {
|
||||
this.visible = true
|
||||
this.queryParam = {}
|
||||
this.selectedRowKeys = []
|
||||
this.replacePage()
|
||||
},
|
||||
searchQuery() {
|
||||
this.pageNo = 1
|
||||
this.replacePage()
|
||||
},
|
||||
searchReset() {
|
||||
this.pageNo = 1
|
||||
this.queryParam = {}
|
||||
this.replacePage()
|
||||
},
|
||||
onChange(page, pageSize) {
|
||||
this.pageNo = page
|
||||
this.replacePage()
|
||||
},
|
||||
SizeChange(page, pageSize) {
|
||||
this.pageNo = 1
|
||||
this.pageSize = pageSize
|
||||
this.replacePage()
|
||||
},
|
||||
replacePage() {
|
||||
let query = {
|
||||
projectId: this.$route.query.id,
|
||||
pageNo: this.pageNo,
|
||||
pageSize: this.pageSize,
|
||||
...this.queryParam
|
||||
}
|
||||
this.loading = true
|
||||
getAction('/project/projectRxswinEO/getOnePage', query).then((res) => {
|
||||
if (res.success) {
|
||||
this.dataList = res.result.records || []
|
||||
this.total = res.result.total
|
||||
this.loading = false
|
||||
} else {
|
||||
this.loading = false
|
||||
}
|
||||
})
|
||||
},
|
||||
onSelectChange(value) {
|
||||
this.selectedRowKeys = value
|
||||
if (this.selectedRowKeys.length > 1) {
|
||||
this.selectedRowKeys.shift()
|
||||
}
|
||||
},
|
||||
handleCancel() {
|
||||
this.visible = false
|
||||
},
|
||||
handleSubmit(flag) {
|
||||
if (this.selectedRowKeys && this.selectedRowKeys.length > 0) {
|
||||
this.confirmLoading = true
|
||||
let selectedRowKeys = JSON.parse(JSON.stringify(this.selectedRowKeys))
|
||||
this.confirmLoading = false
|
||||
this.$emit('transferListForm',selectedRowKeys.join(','))
|
||||
this.selectedRowKeys = []
|
||||
// postAction(this.url.addModel, {
|
||||
// dummyInventoryBaseId: selectedRowKeys.join(','),
|
||||
// projectLibraryId: this.$route.query.id,
|
||||
// flag: flag
|
||||
// }).then((res) => {
|
||||
// if (res.success) {
|
||||
// this.confirmLoading = false
|
||||
// this.$message.success(this.$t('OperationSuccessful'))
|
||||
// this.visible = false
|
||||
// this.selectedRowKeys = []
|
||||
// this.$emit('transferListForm')
|
||||
// } else {
|
||||
// if (res.message == '该虚拟清单的维护清单中没有数据,是否需要添加') {
|
||||
// this.confirmLoading = false
|
||||
// this.getAdd()
|
||||
// return
|
||||
// }
|
||||
// this.$message.warning(this.$t('operationFailed'))
|
||||
// this.confirmLoading = false
|
||||
// }
|
||||
// })
|
||||
} else {
|
||||
this.$message.warning(this.$t('selectLeastOne'))
|
||||
}
|
||||
},
|
||||
getAdd() {
|
||||
let _this = this
|
||||
this.$confirm({
|
||||
content: _this.$t('TheDoesNotContainData'),
|
||||
onOk() {
|
||||
_this.handleSubmit('1')
|
||||
}
|
||||
})
|
||||
}
|
||||
}
|
||||
}
|
||||
</script>
|
||||
|
||||
<style scoped>
|
||||
.page {
|
||||
text-align: right;
|
||||
margin-top: 20px;
|
||||
}
|
||||
|
||||
.drawer-bootom-button {
|
||||
position: absolute;
|
||||
bottom: 0;
|
||||
z-index: 100;
|
||||
width: 100%;
|
||||
border-top: 1px solid #e8e8e8;
|
||||
padding: 10px 16px;
|
||||
text-align: right;
|
||||
left: 0;
|
||||
background: #fff;
|
||||
border-radius: 0 0 2px 2px;
|
||||
}
|
||||
|
||||
.box-title-text {
|
||||
line-height: 1.4;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
margin-bottom: 10px;
|
||||
}
|
||||
|
||||
.title-text {
|
||||
width: 20%;
|
||||
min-width: 110px;
|
||||
color: #000F16;
|
||||
display: inline-block;
|
||||
font-weight: 500;
|
||||
font-size: 14px;
|
||||
margin-right: 16px;
|
||||
margin-top: 3px;
|
||||
text-align: right;
|
||||
white-space: nowrap;
|
||||
overflow: hidden;
|
||||
text-overflow: ellipsis;
|
||||
}
|
||||
|
||||
.box-input {
|
||||
display: inline-block;
|
||||
width: 70%;
|
||||
height: 38px;
|
||||
margin-top: 2px;
|
||||
}
|
||||
|
||||
.box-button {
|
||||
height: 38px;
|
||||
}
|
||||
</style>
|
||||
-370
@@ -1,370 +0,0 @@
|
||||
<template>
|
||||
<a-drawer
|
||||
:title="$t('Transfer')"
|
||||
:maskClosable="false"
|
||||
:width="1100"
|
||||
placement="right"
|
||||
:closable="true"
|
||||
@close="handleCancel"
|
||||
:visible="visible"
|
||||
style="height: 100%;overflow: auto;padding-bottom: 53px;">
|
||||
<div style="margin-bottom: 60px">
|
||||
<div class="table-page-search-wrapper">
|
||||
<a-form layout="inline" @keyup.enter.native="searchQuery">
|
||||
<a-row :gutter="24">
|
||||
<a-col :md="12" :sm="8">
|
||||
<div class="box-title-text-search">
|
||||
<div class="title-text-search" :title="$t('standard')">
|
||||
<span>{{$t('standard')}}</span>
|
||||
</div>
|
||||
<a-input class="box-input-search" allowClear :placeholder="$t('PleaseEnter') + $t('standard')"
|
||||
v-model="queryParam.serialNumber"></a-input>
|
||||
</div>
|
||||
</a-col>
|
||||
|
||||
<template v-if="toggleSearchStatus">
|
||||
<a-col :md="12" :sm="8">
|
||||
<div class="box-title-text-search">
|
||||
<div class="title-text-search" :title="$t('theme')">
|
||||
<span>{{$t('theme')}}</span>
|
||||
</div>
|
||||
<a-input class="box-input-search" allowClear :placeholder="$t('PleaseEnter') + $t('theme')"
|
||||
v-model="queryParam.theme"></a-input>
|
||||
</div>
|
||||
</a-col>
|
||||
<a-col :md="12" :sm="8">
|
||||
<div class="box-title-text-search">
|
||||
<div class="title-text-search" :title="'RXSWIN'">
|
||||
<span>RXSWIN</span>
|
||||
</div>
|
||||
<a-input class="box-input-search" allowClear :placeholder="$t('PleaseEnter') + 'RXSWIN'"
|
||||
v-model="queryParam.rxswin"></a-input>
|
||||
</div>
|
||||
</a-col>
|
||||
<!-- <a-col :md="12" :sm="8">-->
|
||||
<!-- <div class="box-title-text-search">-->
|
||||
<!-- <div class="title-text-search" :title="$t('Correspondingversion')">-->
|
||||
<!-- <span>{{$t('Correspondingversion')}}</span>-->
|
||||
<!-- </div>-->
|
||||
<!-- <a-select :placeholder="$t('PleaseSelect')+$t('Correspondingversion')"-->
|
||||
<!-- allowClear-->
|
||||
<!-- show-search-->
|
||||
<!-- class="box-input-search"-->
|
||||
<!-- optionFilterProp="label"-->
|
||||
<!-- showSearch-->
|
||||
<!-- :autoClearSearchValue="false"-->
|
||||
<!-- :getPopupContainer="triggerNode=> triggerNode.parentNode"-->
|
||||
<!-- v-model="queryParam.version">-->
|
||||
<!-- <a-select-option v-for="(item, key) in firstLevelDutyTerritoryList"-->
|
||||
<!-- :key="key"-->
|
||||
<!-- :label="item.key"-->
|
||||
<!-- :value="item.key">-->
|
||||
<!-- <span style="display: inline-block;width: 100%" :title=" item.key ">-->
|
||||
<!-- {{ item.key }}-->
|
||||
<!-- </span>-->
|
||||
<!-- </a-select-option>-->
|
||||
<!-- </a-select>-->
|
||||
<!-- </div>-->
|
||||
<!-- </a-col>-->
|
||||
</template>
|
||||
<span style="float: right;overflow: hidden;margin-right: 11px;margin-bottom: 20px"
|
||||
class="table-page-search-submitButtons">
|
||||
<a @click="handleToggleSearch">
|
||||
{{ !toggleSearchStatus ? $t('open') : $t('away') }}
|
||||
<a-icon :type="toggleSearchStatus ? 'up' : 'down'"/>
|
||||
</a>
|
||||
<a-button class="box-button-search" style="margin-left: 8px"
|
||||
@click="searchReset">{{$t('reset')}}</a-button>
|
||||
<a-button class="box-button-search" style="margin-left: 8px" type="primary" @click="searchQuery">{{$t('query')}}</a-button>
|
||||
</span>
|
||||
</a-row>
|
||||
</a-form>
|
||||
</div>
|
||||
<a-table
|
||||
:columns="columns"
|
||||
rowKey="id"
|
||||
:scroll="{x: 800,y:'calc(100vh - 330px)'}"
|
||||
:data-source="dataList"
|
||||
:pagination="false"
|
||||
:row-selection="{ selectedRowKeys: selectedRowKeys, onChange: onSelectChange }"
|
||||
:loading="loading">
|
||||
|
||||
</a-table>
|
||||
<div class="page" v-if="dataList.length > 0">
|
||||
<a-pagination
|
||||
:show-total="total => $t('total')+` ${total} `+$t('strip')"
|
||||
show-quick-jumper
|
||||
show-size-changer
|
||||
:page-size.sync="pageSize"
|
||||
:total="total"
|
||||
:current="pageNo"
|
||||
@change="onChange"
|
||||
@showSizeChange="SizeChange"
|
||||
/>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="drawer-bootom-button">
|
||||
<a-button @click="handleCancel" style="margin-right: 16px">{{$t('cancel')}}</a-button>
|
||||
<a-button @click="handleSubmit(undefined)" type="primary" :loading="confirmLoading">{{$t('submit')}}</a-button>
|
||||
</div>
|
||||
</a-drawer>
|
||||
</template>
|
||||
|
||||
<script>
|
||||
import { getAction, postAction } from '@/api/manage'
|
||||
import globalAdvancedQuery from '@/components/globalAdvancedQuery/index'
|
||||
|
||||
export default {
|
||||
name: 'transferList',
|
||||
components: {
|
||||
globalAdvancedQuery
|
||||
},
|
||||
props: ['url'],
|
||||
data() {
|
||||
return {
|
||||
toggleSearchStatus: false,
|
||||
visible: false,
|
||||
queryParam: {},
|
||||
confirmLoading: false,
|
||||
selectedRowKeys: [],
|
||||
columns: [
|
||||
{
|
||||
title: this.$t('standard'),
|
||||
align: 'left',
|
||||
dataIndex: 'serialNumber',
|
||||
ellipsis: true,
|
||||
sorter:true,
|
||||
width: 170
|
||||
},
|
||||
{
|
||||
title: this.$t('theme'),
|
||||
align: 'left',
|
||||
dataIndex: 'theme',
|
||||
ellipsis: true,
|
||||
sorter:true,
|
||||
width: 300
|
||||
},
|
||||
{
|
||||
title: 'RXSWIN',
|
||||
align: 'left',
|
||||
dataIndex: 'rxswin',
|
||||
ellipsis: true,
|
||||
sorter:true,
|
||||
width: 170
|
||||
},
|
||||
{
|
||||
title: this.$t('Correspondingversion'),
|
||||
align: 'left',
|
||||
dataIndex: 'version',
|
||||
ellipsis: true,
|
||||
sorter:true,
|
||||
width: 170
|
||||
},
|
||||
],
|
||||
dataList: [],
|
||||
content: [],
|
||||
loading: false,
|
||||
dummyInventoryBaseId:'',
|
||||
pageNo: 1,
|
||||
pageSize: 10,
|
||||
total: 0
|
||||
}
|
||||
},
|
||||
mounted() {
|
||||
|
||||
},
|
||||
methods: {
|
||||
transferModel(id) {
|
||||
this.visible = true
|
||||
this.projectId = id
|
||||
this.queryParam = {}
|
||||
this.selectedRowKeys = []
|
||||
this.replacePage()
|
||||
},
|
||||
handleToggleSearch() {
|
||||
this.toggleSearchStatus = !this.toggleSearchStatus
|
||||
},
|
||||
searchQuery() {
|
||||
this.pageNo = 1
|
||||
this.replacePage()
|
||||
},
|
||||
searchReset() {
|
||||
this.pageNo = 1
|
||||
this.queryParam = {}
|
||||
this.replacePage()
|
||||
},
|
||||
onChange(page, pageSize) {
|
||||
this.pageNo = page
|
||||
this.replacePage()
|
||||
},
|
||||
SizeChange(page, pageSize) {
|
||||
this.pageNo = 1
|
||||
this.pageSize = pageSize
|
||||
this.replacePage()
|
||||
},
|
||||
replacePage() {
|
||||
let query = {
|
||||
pageNo: this.pageNo,
|
||||
pageSize: this.pageSize,
|
||||
...this.queryParam,
|
||||
projectId: this.projectId
|
||||
}
|
||||
this.loading = true
|
||||
getAction('/project/projectRxswinEO/getTwoPage', query).then((res) => {
|
||||
if (res.success) {
|
||||
this.dataList = res.result.records || []
|
||||
this.loading = false
|
||||
} else {
|
||||
this.loading = false
|
||||
}
|
||||
})
|
||||
},
|
||||
onSelectChange(value) {
|
||||
this.selectedRowKeys = value
|
||||
// if (this.selectedRowKeys.length > 1) {
|
||||
// this.selectedRowKeys.shift()
|
||||
// }
|
||||
},
|
||||
handleCancel() {
|
||||
this.visible = false
|
||||
},
|
||||
handleSubmit(flag) {
|
||||
if (this.selectedRowKeys && this.selectedRowKeys.length > 0) {
|
||||
this.confirmLoading = true
|
||||
let selectedRowKeys = JSON.parse(JSON.stringify(this.selectedRowKeys))
|
||||
getAction('/project/projectRxswinEO/iSExist', {
|
||||
projectId: this.$route.query.id,
|
||||
// projectLibraryId: this.$route.query.id,
|
||||
ids: selectedRowKeys.join(','),
|
||||
}).then((res) => {
|
||||
if (res.success) {
|
||||
this.confirmLoading = false
|
||||
// this.$message.success(this.$t('OperationSuccessful'))
|
||||
if(res.result == 'YES'){
|
||||
let _this = this
|
||||
this.$confirm({
|
||||
content: _this.$t('AlreadyExists'),
|
||||
onOk() {
|
||||
getAction('/project/projectRxswinEO/addBatch', {
|
||||
ids: selectedRowKeys.join(','),
|
||||
flag:'YES',
|
||||
projectId: _this.$route.query.id,
|
||||
}).then((res) => {
|
||||
if (res.success) {
|
||||
_this.$message.success(_this.$t('OperationSuccessful'))
|
||||
_this.visible = false
|
||||
_this.$emit('transferListFormHomo')
|
||||
} else {
|
||||
_this.$message.warning(res.message)
|
||||
}
|
||||
})
|
||||
},
|
||||
onCancel() {
|
||||
_this.visible = false
|
||||
_this.$emit('transferListFormHomo')
|
||||
}
|
||||
})
|
||||
}else{
|
||||
this.visible = false
|
||||
this.$message.success(this.$t('OperationSuccessful'))
|
||||
this.$emit('transferListFormHomo')
|
||||
}
|
||||
this.selectedRowKeys = []
|
||||
} else {
|
||||
this.$message.warning(this.$t('operationFailed'))
|
||||
this.confirmLoading = false
|
||||
}
|
||||
})
|
||||
} else {
|
||||
this.$message.warning(this.$t('selectLeastOne'))
|
||||
}
|
||||
},
|
||||
}
|
||||
}
|
||||
</script>
|
||||
|
||||
<style scoped>
|
||||
.page {
|
||||
text-align: right;
|
||||
margin-top: 20px;
|
||||
}
|
||||
|
||||
.drawer-bootom-button {
|
||||
position: absolute;
|
||||
bottom: 0;
|
||||
z-index: 100;
|
||||
width: 100%;
|
||||
border-top: 1px solid #e8e8e8;
|
||||
padding: 10px 16px;
|
||||
text-align: right;
|
||||
left: 0;
|
||||
background: #fff;
|
||||
border-radius: 0 0 2px 2px;
|
||||
}
|
||||
|
||||
.box-title-text {
|
||||
line-height: 1.4;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
margin-bottom: 10px;
|
||||
}
|
||||
|
||||
.title-text {
|
||||
width: 20%;
|
||||
min-width: 110px;
|
||||
color: #000F16;
|
||||
display: inline-block;
|
||||
font-weight: 500;
|
||||
font-size: 14px;
|
||||
margin-right: 16px;
|
||||
margin-top: 3px;
|
||||
text-align: right;
|
||||
white-space: nowrap;
|
||||
overflow: hidden;
|
||||
text-overflow: ellipsis;
|
||||
}
|
||||
|
||||
.box-input {
|
||||
display: inline-block;
|
||||
width: 70%;
|
||||
height: 38px;
|
||||
margin-top: 2px;
|
||||
}
|
||||
|
||||
.box-button {
|
||||
height: 38px;
|
||||
}
|
||||
.box-title-text-search {
|
||||
line-height: 1.4;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
margin-bottom: 10px;
|
||||
}
|
||||
|
||||
.title-text-search {
|
||||
width: 110px;
|
||||
color: #000F16;
|
||||
display: inline-block;
|
||||
font-weight: 500;
|
||||
font-size: 14px;
|
||||
margin-right: 16px;
|
||||
margin-top: 3px;
|
||||
text-align: right;
|
||||
white-space: nowrap;
|
||||
overflow: hidden;
|
||||
text-overflow: ellipsis;
|
||||
}
|
||||
|
||||
.box-input-search {
|
||||
display: inline-block;
|
||||
width: calc(100% - 100px);
|
||||
height: 38px;
|
||||
margin-top: 2px;
|
||||
}
|
||||
|
||||
.box-button-search {
|
||||
height: 38px;
|
||||
/*margin-top: 2px;*/
|
||||
}
|
||||
</style>
|
||||
Reference in New Issue
Block a user