commit
This commit is contained in:
@@ -26,8 +26,9 @@
|
|||||||
icon-class="icon-tree"
|
icon-class="icon-tree"
|
||||||
:check-strictly="true"
|
:check-strictly="true"
|
||||||
:current-node-key="nodeKeyId"
|
:current-node-key="nodeKeyId"
|
||||||
node-key="id"
|
node-key="name"
|
||||||
:filter-node-method="filterNode"
|
:filter-node-method="filterNode"
|
||||||
|
:default-checked-keys="nodeList"
|
||||||
highlight-current
|
highlight-current
|
||||||
:auto-expand-parent="true"
|
:auto-expand-parent="true"
|
||||||
show-checkbox
|
show-checkbox
|
||||||
|
|||||||
@@ -686,6 +686,7 @@
|
|||||||
this.plForm.complianceState = ''
|
this.plForm.complianceState = ''
|
||||||
this.plForm.newData = ''
|
this.plForm.newData = ''
|
||||||
this.plForm.onlineData = ''
|
this.plForm.onlineData = ''
|
||||||
|
this.plForm.applyArctic = ''
|
||||||
this.modalshowflag = true
|
this.modalshowflag = true
|
||||||
} else {
|
} else {
|
||||||
this.$message.warning('请选择要编辑的数据')
|
this.$message.warning('请选择要编辑的数据')
|
||||||
|
|||||||
@@ -5497,8 +5497,6 @@ export default {
|
|||||||
this.sarStandardsInfoEO['ZRGCS'] = nameList;
|
this.sarStandardsInfoEO['ZRGCS'] = nameList;
|
||||||
},
|
},
|
||||||
choiceZRBM(type, title, id) {
|
choiceZRBM(type, title, id) {
|
||||||
|
|
||||||
|
|
||||||
this.nodeListZRBM = []
|
this.nodeListZRBM = []
|
||||||
this.nodeListZRBM.push(id)
|
this.nodeListZRBM.push(id)
|
||||||
this.drawerTitle = title
|
this.drawerTitle = title
|
||||||
|
|||||||
@@ -258,30 +258,40 @@
|
|||||||
</el-form-item>
|
</el-form-item>
|
||||||
<el-form-item label="起草责任单位" style="width: 100%; margin-right:10px" class="add-form-item" prop="unit" :class="DrawerType === 'see' ? 'form-item-disabled' : ''">
|
<el-form-item label="起草责任单位" style="width: 100%; margin-right:10px" class="add-form-item" prop="unit" :class="DrawerType === 'see' ? 'form-item-disabled' : ''">
|
||||||
<div style="display: flex;justify-content: space-between;align-items: center;">
|
<div style="display: flex;justify-content: space-between;align-items: center;">
|
||||||
<el-tooltip v-if="addForm.unit" class="item" effect="dark" :content="addForm.unit" placement="top-start">
|
<el-input
|
||||||
<el-input
|
:key="addForm.unit"
|
||||||
:disabled="DrawerType === 'see'"
|
:config="addForm"
|
||||||
clearable
|
clearable
|
||||||
v-model="addForm.unit"
|
v-model="addForm.unit"
|
||||||
placeholder="选择或输入起草单位">
|
placeholder="请选择起草责任单位"
|
||||||
</el-input>
|
@click.native="choiceZRBM(addForm.unit)">
|
||||||
</el-tooltip>
|
</el-input>
|
||||||
<div v-else>
|
|
||||||
<el-input
|
<!-- <el-tooltip v-if="addForm.unit" class="item" effect="dark" :content="addForm.unit" placement="top-start">-->
|
||||||
:disabled="DrawerType === 'see'"
|
<!-- <el-input-->
|
||||||
clearable
|
<!-- :disabled="DrawerType === 'see'"-->
|
||||||
v-model="addForm.unit"
|
<!-- clearable-->
|
||||||
placeholder="选择或输入起草单位">
|
<!-- v-model="addForm.unit"-->
|
||||||
</el-input>
|
|
||||||
</div>
|
<!-- placeholder="选择或输入起草单位">-->
|
||||||
<div>
|
<!-- </el-input>-->
|
||||||
<el-button
|
<!-- </el-tooltip>-->
|
||||||
:disabled="DrawerType === 'see'"
|
<!-- <div v-else>-->
|
||||||
size="mini"
|
<!-- <el-input-->
|
||||||
type="primary"
|
<!-- :disabled="DrawerType === 'see'"-->
|
||||||
@click="QCDWClick"
|
<!-- clearable-->
|
||||||
class="common-button-primary">手动查找</el-button>
|
<!-- v-model="addForm.unit"-->
|
||||||
</div>
|
<!-- placeholder="选择或输入起草单位">-->
|
||||||
|
<!-- </el-input>-->
|
||||||
|
<!-- </div>-->
|
||||||
|
<!-- <div>-->
|
||||||
|
<!-- <el-button-->
|
||||||
|
<!-- :disabled="DrawerType === 'see'"-->
|
||||||
|
<!-- size="mini"-->
|
||||||
|
<!-- type="primary"-->
|
||||||
|
<!-- @click="QCDWClick"-->
|
||||||
|
<!-- class="common-button-primary">手动查找</el-button>-->
|
||||||
|
<!-- </div>-->
|
||||||
</div>
|
</div>
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
</el-form>
|
</el-form>
|
||||||
@@ -340,6 +350,12 @@
|
|||||||
</el-button>
|
</el-button>
|
||||||
</div>
|
</div>
|
||||||
</el-dialog>
|
</el-dialog>
|
||||||
|
<Mechanism-tree
|
||||||
|
is-title="选择起草责任部门"
|
||||||
|
:is-visible.sync="modalshowflagZRBM"
|
||||||
|
:nodeList="nodeListZRBM"
|
||||||
|
@checkedRole="drawerCheckZRBM"
|
||||||
|
/>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</template>
|
</template>
|
||||||
@@ -350,6 +366,9 @@
|
|||||||
components: {},
|
components: {},
|
||||||
data() {
|
data() {
|
||||||
return {
|
return {
|
||||||
|
modalshowflagZRBM: false,
|
||||||
|
nodeListZRBM: [],
|
||||||
|
|
||||||
QCDWmodal: false,
|
QCDWmodal: false,
|
||||||
QCDWValue: [],
|
QCDWValue: [],
|
||||||
QCDWList: [],
|
QCDWList: [],
|
||||||
@@ -425,6 +444,24 @@
|
|||||||
props: {},
|
props: {},
|
||||||
watch: {},
|
watch: {},
|
||||||
methods: {
|
methods: {
|
||||||
|
drawerCheckZRBM (data) {
|
||||||
|
let list = ''
|
||||||
|
for (let a = 0; a < data.length; a++) {
|
||||||
|
if (list.length > 0) {
|
||||||
|
list += ','
|
||||||
|
list += data[a].name
|
||||||
|
} else {
|
||||||
|
list = data[a].name
|
||||||
|
}
|
||||||
|
}
|
||||||
|
this.addForm.unit = list
|
||||||
|
this.modalshowflagZRBM = false
|
||||||
|
},
|
||||||
|
choiceZRBM(id) {
|
||||||
|
this.nodeListZRBM = []
|
||||||
|
this.nodeListZRBM = id.split(',')
|
||||||
|
this.modalshowflagZRBM = true
|
||||||
|
},
|
||||||
QCDWOK () {
|
QCDWOK () {
|
||||||
let arr1 = []
|
let arr1 = []
|
||||||
if (this.addForm.unit) {
|
if (this.addForm.unit) {
|
||||||
|
|||||||
Reference in New Issue
Block a user