Tripartite Entanglement In Quantum Open Systems