Commit 2e92d9e1 by lichengming

修改了开土制备拖拽

parent 93840e39
<template> <template>
<div> <div>
<Modal v-model="showModal" width="100" class="full-screen zIndex-1200"> <Modal v-model="showModal" v-drag width="100" class="full-screen zIndex-1200">
<div slot="header">设备管理</div> <div slot="header">设备管理</div>
<div> <div>
<Collapse @on-result-change="_optionResult" left-title="仪器类别" right-title="已选仪器" left-width="15"> <Collapse @on-result-change="_optionResult" left-title="仪器类别" right-title="已选仪器" left-width="15">
......
<template> <template>
<div> <div>
<Modal v-model="showModal" width="1200"> <Modal v-model="showModal" v-drag width="1200">
<p slot="header"> <p slot="header">
{{ modalTitle }} {{ modalTitle }}
</p> </p>
......
<template> <template>
<div> <div>
<Modal v-model="showModal" width="1180" class="modal-footer-none"> <Modal v-model="showModal" v-drag width="1180" class="modal-footer-none">
<p slot="header"> <p slot="header">
{{ modalTitle }} {{ modalTitle }}
</p> </p>
...@@ -28,7 +28,7 @@ ...@@ -28,7 +28,7 @@
<!-- 表格 --> <!-- 表格 -->
<Col span="24"> <Col span="24">
<PTVXETableHeight ref="pageTable" :table-height="tableHeight" :form-id="formId" :loading="true" <PTVXETableHeight ref="pageTable" :table-height="tableHeight" :form-id="formId" :loading="true"
:get-page="getPage" :icon-msg="iconMsg" select-data @on-result-change="_tableResultChange"> :get-page="getPage" :icon-msg="iconMsg" select-data is-edit @on-result-change="_tableResultChange">
<vxe-table-column <vxe-table-column
v-for="item in pageColumns" v-for="item in pageColumns"
:key="item.key" :key="item.key"
...@@ -37,14 +37,18 @@ ...@@ -37,14 +37,18 @@
:width="item.width?item.width:200" :width="item.width?item.width:200"
:fixed="item.fixed?item.fixed:undefined" :fixed="item.fixed?item.fixed:undefined"
:edit-render="item.editCell?{autofocus: 'input'}:null" sortable> :edit-render="item.editCell?{autofocus: 'input'}:null" sortable>
<template slot-scope="scope"> <template v-slot:edit="scope">
<div v-if="item.key==='describeDetail'" @click.stop="_handleRow(scope)"> <div v-if="item.key==='describeDetail'" @click.stop="_handleRow(scope)">
<!-- <el-input v-model="scope.row.describeDetail" @change="_inputChange(scope.row)" placeholder="请输入土质描述详情">-->
<!-- </el-input>-->
<Input :value="scope.row.describeDetail" @change.native="_inputChange($event.target.value,scope.row)"></Input> <Input :value="scope.row.describeDetail" @change.native="_inputChange($event.target.value,scope.row)"></Input>
</div> </div>
<div v-else-if="item.key==='remark'" @click.stop="_handleRow(scope)"> <div v-else-if="item.key==='remark'" @click.stop="_handleRow(scope)">
<el-input v-model="scope.row.remark" @change="_remarkChange(scope.row)"></el-input> <el-input v-model="scope.row.remark" @change="_remarkChange(scope.row)"></el-input>
</div> </div>
<div v-else> </template>
<template slot-scope="scope">
<div v-if>
{{ scope.row[item.key] }} {{ scope.row[item.key] }}
</div> </div>
</template> </template>
......
<template> <template>
<div> <div>
<Modal v-model="showModal" width="800" class="modal-footer-none full-screen"> <Modal v-model="showModal" v-drag width="800" class="modal-footer-none full-screen">
<div slot="header">{{modalTitle}}</div> <div slot="header">{{modalTitle}}</div>
<div> <div>
<Form id="index-right-form" :label-width="80" inline onsubmit="return false"> <Form id="index-right-form" :label-width="80" inline onsubmit="return false">
...@@ -77,7 +77,7 @@ export default { ...@@ -77,7 +77,7 @@ export default {
this.aptitudeItemInfo = data this.aptitudeItemInfo = data
this.formObj = this.$resetFields(this.formObj) this.formObj = this.$resetFields(this.formObj)
this.id = data.id this.id = data.id
this.modalTitle = data.name + ' 查看采集数据' this.modalTitle = data.name + ' 查看采集文件'
this.showModal = true this.showModal = true
this._page() this._page()
}, },
......
<template> <template>
<div> <div>
<Modal v-model="showModal" width="100" class="modal-footer-none full-screen"> <Modal v-model="showModal" v-drag width="100" class="modal-footer-none full-screen">
<div slot="header">{{modalTitle}}</div> <div slot="header">{{modalTitle}}</div>
<div> <div>
<Form id="index-right-form" :label-width="80" inline onsubmit="return false"> <Form id="index-right-form" :label-width="80" inline onsubmit="return false">
......
<template> <template>
<div> <div>
<Modal v-model="showModal" width="800" class="modal-footer-none full-screen"> <Modal v-model="showModal" v-drag width="800" class="modal-footer-none full-screen">
<div slot="header">{{modalTitle}}</div> <div slot="header">{{modalTitle}}</div>
<div> <div>
<Form id="index-right-form" :label-width="80" inline onsubmit="return false"> <Form id="index-right-form" :label-width="80" inline onsubmit="return false">
......
<template> <template>
<div> <div>
<Modal v-model="showModal" width="100" class="modal-footer-none full-screen"> <Modal v-model="showModal" v-drag width="100" class="modal-footer-none full-screen">
<div slot="header">{{modalTitle}}</div> <div slot="header">{{modalTitle}}</div>
<div> <div>
<Form id="index-right-form" :label-width="80" inline onsubmit="return false"> <Form id="index-right-form" :label-width="80" inline onsubmit="return false">
......
<template> <template>
<div> <div>
<Modal v-model="showModal" :mask-closable="false" @on-visible-change="_visibleChange" width="900"> <Modal v-model="showModal" v-drag :mask-closable="false" @on-visible-change="_visibleChange" width="900">
<p slot="header">{{modalTitle}}</p> <p slot="header">{{modalTitle}}</p>
<div> <div>
<Form ref="formObj" :id="formId" :model="formObj" :rules="ruleValidate" :label-width="100" inline> <Form ref="formObj" :id="formId" :model="formObj" :rules="ruleValidate" :label-width="100" inline>
......
<template> <template>
<div> <div>
<Modal v-model="showModal" :mask-closable="false" width="90" class="zIndex-1000 full-screen"> <Modal v-model="showModal" v-drag :mask-closable="false" width="90" class="zIndex-1000 full-screen">
<p slot="header">制备详情</p> <p slot="header">制备详情</p>
<Row> <Row>
<!--操作--> <!--操作-->
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment