fix : 流程图位置更换
This commit is contained in:
@@ -12,6 +12,17 @@
|
|||||||
</el-input>
|
</el-input>
|
||||||
<el-button v-if="isChooseAll" @click="chooseAll">全选</el-button>
|
<el-button v-if="isChooseAll" @click="chooseAll">全选</el-button>
|
||||||
<el-button v-else @click="cancelAll">不全选</el-button>
|
<el-button v-else @click="cancelAll">不全选</el-button>
|
||||||
|
<el-checkbox-group v-model="checkBtn" @change="handleChange">
|
||||||
|
<el-checkbox label="全选" value="1" />
|
||||||
|
<el-checkbox label="Option B" value="Value B" />
|
||||||
|
<el-checkbox label="Option C" value="Value C" />
|
||||||
|
<el-checkbox label="disabled" value="Value disabled" disabled />
|
||||||
|
<el-checkbox
|
||||||
|
label="selected and disabled"
|
||||||
|
value="Value selected and disabled"
|
||||||
|
disabled
|
||||||
|
/>
|
||||||
|
</el-checkbox-group>
|
||||||
<!-- 人员选择 -->
|
<!-- 人员选择 -->
|
||||||
<el-empty :image-size="100" description="似乎没有数据" v-show="dataList.length === 0"/>
|
<el-empty :image-size="100" description="似乎没有数据" v-show="dataList.length === 0"/>
|
||||||
<el-scrollbar style="height:87%;">
|
<el-scrollbar style="height:87%;">
|
||||||
@@ -75,9 +86,8 @@ const props = defineProps({
|
|||||||
type: Boolean
|
type: Boolean
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
const radio = ref(0);
|
const checkBtn=ref(1)
|
||||||
const isChooseAll = ref(true);
|
const isChooseAll = ref(true);
|
||||||
const chooseId = ref(0);
|
|
||||||
let selectItem = reactive({
|
let selectItem = reactive({
|
||||||
type: -1,
|
type: -1,
|
||||||
value: "0"
|
value: "0"
|
||||||
@@ -90,8 +100,6 @@ const filterText = ref("");
|
|||||||
const dataList = ref([]);
|
const dataList = ref([]);
|
||||||
const defaultChecked = ref([]);
|
const defaultChecked = ref([]);
|
||||||
const tree = ref([]);
|
const tree = ref([]);
|
||||||
const isSearch = ref(false);
|
|
||||||
const expandedKeys = ref([]);
|
|
||||||
const defaultProps = {
|
const defaultProps = {
|
||||||
value: "value",
|
value: "value",
|
||||||
label: "label",
|
label: "label",
|
||||||
|
|||||||
@@ -125,8 +125,8 @@
|
|||||||
<el-button type="primary" @click="handleAdd" link style="font-size: 18px">添加一行</el-button>
|
<el-button type="primary" @click="handleAdd" link style="font-size: 18px">添加一行</el-button>
|
||||||
</div>
|
</div>
|
||||||
<div class="approval-record">
|
<div class="approval-record">
|
||||||
<div style="display: flex;align-items: center;margin-bottom: 20px">
|
<div style="display: flex;align-items: center;justify-content: flex-end;">
|
||||||
<baseTitle title="流程图"></baseTitle>
|
<div class="base-title">流程图</div>
|
||||||
<el-switch
|
<el-switch
|
||||||
v-model="changeDiagram"
|
v-model="changeDiagram"
|
||||||
style="--el-switch-on-color: #13ce66; --el-switch-off-color:#BEA266;margin-left: 10px"
|
style="--el-switch-on-color: #13ce66; --el-switch-off-color:#BEA266;margin-left: 10px"
|
||||||
|
|||||||
@@ -80,8 +80,8 @@
|
|||||||
</template>
|
</template>
|
||||||
</fvTable>
|
</fvTable>
|
||||||
<div class="approval-record">
|
<div class="approval-record">
|
||||||
<div style="display: flex;align-items: center;margin-bottom: 20px">
|
<div style="display: flex;align-items: center;justify-content: flex-end;">
|
||||||
<baseTitle title="流程图"></baseTitle>
|
<div class="base-title">流程图</div>
|
||||||
<el-switch
|
<el-switch
|
||||||
v-model="changeDiagram"
|
v-model="changeDiagram"
|
||||||
style="--el-switch-on-color: #13ce66; --el-switch-off-color:#BEA266;margin-left: 10px"
|
style="--el-switch-on-color: #13ce66; --el-switch-off-color:#BEA266;margin-left: 10px"
|
||||||
@@ -89,6 +89,7 @@
|
|||||||
</div>
|
</div>
|
||||||
<process-diagram-viewer mode="view" v-if="processDiagramViewer&&changeDiagram"/>
|
<process-diagram-viewer mode="view" v-if="processDiagramViewer&&changeDiagram"/>
|
||||||
</div>
|
</div>
|
||||||
|
<div style="width: 100%;height: 30px"></div>
|
||||||
<div class="oper-page-btn">
|
<div class="oper-page-btn">
|
||||||
<el-button color="#DED0B2" v-if="routerName==='Requirement/add'" @click="handleSubmit(demandForm)">提交</el-button>
|
<el-button color="#DED0B2" v-if="routerName==='Requirement/add'" @click="handleSubmit(demandForm)">提交</el-button>
|
||||||
<el-button color="#DED0B2" v-else @click="handleResubmit">重新提交</el-button>
|
<el-button color="#DED0B2" v-else @click="handleResubmit">重新提交</el-button>
|
||||||
|
|||||||
@@ -237,8 +237,8 @@
|
|||||||
@getOtherFile="getOtherFile" :showFileList="true" :formData="formData"
|
@getOtherFile="getOtherFile" :showFileList="true" :formData="formData"
|
||||||
:preview="name === 'Summary/edit'"/>
|
:preview="name === 'Summary/edit'"/>
|
||||||
<div class="approval-record">
|
<div class="approval-record">
|
||||||
<div style="display: flex;align-items: center;margin-bottom: 20px">
|
<div style="display: flex;align-items: center;justify-content: flex-end;">
|
||||||
<baseTitle title="流程图"></baseTitle>
|
<div class="base-title">流程图</div>
|
||||||
<el-switch
|
<el-switch
|
||||||
v-model="changeDiagram"
|
v-model="changeDiagram"
|
||||||
style="--el-switch-on-color: #13ce66; --el-switch-off-color:#BEA266;margin-left: 10px"
|
style="--el-switch-on-color: #13ce66; --el-switch-off-color:#BEA266;margin-left: 10px"
|
||||||
|
|||||||
@@ -13,8 +13,8 @@
|
|||||||
@getOtherFile="getOtherFile" :showFileList="true" :formData="formData"
|
@getOtherFile="getOtherFile" :showFileList="true" :formData="formData"
|
||||||
:preview="name === 'Phase/edit'"/>
|
:preview="name === 'Phase/edit'"/>
|
||||||
<div class="approval-record">
|
<div class="approval-record">
|
||||||
<div style="display: flex;align-items: center;margin-bottom: 20px">
|
<div style="display: flex;align-items: center;justify-content: flex-end;">
|
||||||
<baseTitle title="流程图"></baseTitle>
|
<div class="base-title">流程图</div>
|
||||||
<el-switch
|
<el-switch
|
||||||
v-model="changeDiagram"
|
v-model="changeDiagram"
|
||||||
style="--el-switch-on-color: #13ce66; --el-switch-off-color:#BEA266;margin-left: 10px"
|
style="--el-switch-on-color: #13ce66; --el-switch-off-color:#BEA266;margin-left: 10px"
|
||||||
|
|||||||
@@ -27,8 +27,8 @@
|
|||||||
</template>
|
</template>
|
||||||
</fvTable>
|
</fvTable>
|
||||||
<div class="approval-record">
|
<div class="approval-record">
|
||||||
<div style="display: flex;align-items: center;margin-bottom: 20px">
|
<div style="display: flex;align-items: center;justify-content: flex-end;">
|
||||||
<baseTitle title="流程图"></baseTitle>
|
<div class="base-title">流程图</div>
|
||||||
<el-switch
|
<el-switch
|
||||||
v-model="changeDiagram"
|
v-model="changeDiagram"
|
||||||
style="--el-switch-on-color: #13ce66; --el-switch-off-color:#BEA266;margin-left: 10px"
|
style="--el-switch-on-color: #13ce66; --el-switch-off-color:#BEA266;margin-left: 10px"
|
||||||
|
|||||||
Reference in New Issue
Block a user