|
@@ -188,8 +188,8 @@
|
|
|
</el-dialog>
|
|
|
<myMessage :messTit='messTit' @closeMessage="processDel" :centerDialogVisible="delVisible"
|
|
|
v-if="delVisible"></myMessage>
|
|
|
- <myMessage :messTit='oaTitle' @closeMessage="processOa" :centerDialogVisible="oaVisible"
|
|
|
- v-if="oaVisible"></myMessage>
|
|
|
+ <myMessageNew :messTit='oaTitle' @closeMessage="processOa" :centerDialogVisible="oaVisible"
|
|
|
+ v-if="oaVisible" yesBtnName="是" noBtnName="否"></myMessageNew>
|
|
|
</div>
|
|
|
</fullscreen>
|
|
|
</template>
|
|
@@ -198,6 +198,7 @@
|
|
|
import pForm from "../../../components/p-form";
|
|
|
import toolList from "../../../components/toolList";
|
|
|
import myMessage from "../../../components/myMessage.vue";
|
|
|
+import myMessageNew from "../../../components/myMessageNew.vue";
|
|
|
import deptTreeUserNew from "../../../components/deptTreeUserNew.vue"
|
|
|
|
|
|
export default {
|
|
@@ -205,6 +206,7 @@ export default {
|
|
|
pForm,
|
|
|
toolList,
|
|
|
myMessage,
|
|
|
+ myMessageNew,
|
|
|
deptTreeUserNew,
|
|
|
},
|
|
|
data() {
|
|
@@ -722,11 +724,26 @@ export default {
|
|
|
this.menuStatus = true;
|
|
|
this.loading = false;
|
|
|
},
|
|
|
+ getUrlKey(name) {
|
|
|
+ return (
|
|
|
+ decodeURIComponent(
|
|
|
+ (new RegExp("[?|&]" + name + "=" + "([^&;]+?)(&|#|;|$)").exec(
|
|
|
+ location.href
|
|
|
+ ) || [, ""])[1].replace(/\+/g, "%20")
|
|
|
+ ) || null
|
|
|
+ );
|
|
|
+ },
|
|
|
},
|
|
|
mounted() {
|
|
|
this.woNo = this.$route.query.woNo
|
|
|
if (this.woNo != null) {
|
|
|
this.processWoNo();
|
|
|
+ } else {
|
|
|
+ this.woNo = this.getUrlKey("id")//获取地址栏参数
|
|
|
+ console.log(this.woNo);
|
|
|
+ if (this.woNo != null) {
|
|
|
+ this.processWoNo();
|
|
|
+ }
|
|
|
}
|
|
|
this.getList({}, 1);
|
|
|
this.getTreeData();
|