You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
34 lines
738 B
Plaintext
34 lines
738 B
Plaintext
new Vue({
|
|
el: '#zupu-Default',
|
|
data: {
|
|
puxiAddShow: false,
|
|
list: [],
|
|
},
|
|
methods: {
|
|
inte: function () {
|
|
|
|
var ens = new Entities("BP.ZHOU.JiaPus");
|
|
ens.RetrieveAll();
|
|
ens = ens.TurnToArry();
|
|
console.log(ens)
|
|
this.list = ens;
|
|
|
|
|
|
},
|
|
savePx: function () {
|
|
var en = new Entity("BP.ZHOU.JiaPu");
|
|
en.CopyForm();
|
|
en.Insert();
|
|
layer.msg('添加成功', { time: 1000 })
|
|
this.inte();
|
|
},
|
|
treeVeiw: function (No) {
|
|
location.href = "Treeview.htm?No="+No
|
|
}
|
|
|
|
},
|
|
mounted: function () {
|
|
this.inte()
|
|
}
|
|
|
|
}) |